123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <template>
- <view class="content">
- <view class="list-scroll-content" v-for="item in 3">
- <view class="main">
- <view class="main-userInfo">
- <view class="avatar">
- <image src="../../static/icon/fire.png" mode=""></image>
- </view>
- <view class="main-user-info">
- <view class="main-userName">冲冲冲</view>
- <view class="main-user-time">2022-12-20 20:52</view>
- </view>
- <view class="fenxiang flex">
- <image class="img-lj" src="../../static/icon/lj.png"></image>
- <view class="wen-lj">45612</view>
- </view>
- </view>
- <view class="text">
- <view>风平乐樱桃姜黄复合肽压片糖果套盒,轻松饱腹降 低食欲不再是梦,C天然果蔬纤维素多种果蔬纤维 满足日常膳食营养,专享价【989】</view>
- </view>
- <view class="fh-im">
- <image v-for="item in 4" class="fh-img" src="../../static/img/sp.png" mode=""></image>
- </view>
- </view>
- </view>
- <navigator url="/pages/user/release">
- <button class="butt">我要发布</button>
- </navigator>
-
- <u-tabbar activeColor="#01A6A8" inactive-color='#666666' :list="tabbar"></u-tabbar>
- </view>
-
- </template>
- <script>
- import {
- article
- } from '@/api/user.js';
- import {
- reply_list
- } from '@/api/product.js';
- import {
- article_good,
- reply_good
- } from '@/api/activity.js';
- import {
- tabbar1
- } from '@/utils/tabbar.js'; //底部导航栏
- export default {
- data() {
- return {
-
- tabbar: tabbar1,
- };
- },
- onLoad() {},
- onShow() {
- },
- onReachBottom() {},
-
- methods: {
- navTo(url) {
- uni.navigateTo({
- url
- });
- },
- }
- };
- </script>
- <style lang="scss">
- page,
- .content {
- min-height: 100%;
- height: auto;
- position: relative;
- }
- .butt {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 64rpx;
- position: fixed;
- bottom: 120rpx;
- right: 0rpx;
- color: #FFFFFF;
- font-size: 28rpx;
- background-color: #FF6F0F;
- border: none;
- border-radius: 40rpx 0% 0% 40rpx;
- }
-
- .main {
- margin: 20rpx;
- padding: 35rpx 20rpx 24rpx;
- background: #ffffff;
- width: 702rpx;
- border-radius: 30rpx;
- image {
- width: 100%;
- height: 100%;
- }
- .main-userInfo {
- display: flex;
- align-items: center;
- .avatar {
- width: 80rpx;
- height: 80rpx;
- background: #ffffff;
- border-radius: 50%;
- }
- .main-user-info {
- margin-left: 14rpx;
- line-height: 1;
- .main-userName {
- font-size: 28rpx;
- font-weight: bold;
- color: #000000;
- }
- .main-user-time {
- margin-top: 14rpx;
- font-size: 21rpx;
- font-weight: 500;
- color: #666666;
- }
- }
- .fenxiang {
- padding-left: 310rpx;
- .img-lj {
- width: 28rpx;
- height: 28rpx;
- }
- .wen-lj {
- font-size: 28rpx;
- color: #FF6F0F;
- padding-left: 10rpx;
- }
- }
- }
- .text {
- word-wrap: break-word;
- word-break: normal;
- margin: 20rpx 0rpx;
- font-size: 28rpx;
- font-weight: 500;
- color: #666666;
- }
- .fh-im {
- .fh-img {
- margin: 10rpx 21rpx 0rpx 0rpx ;
- width: 200rpx;
- height: 200rpx;
- }
- }
-
- }
- </style>
|