Jelajahi Sumber

首页、排行榜增加作品编号

lyb 4 tahun lalu
induk
melakukan
55941b25c6
2 mengubah file dengan 8 tambahan dan 8 penghapusan
  1. 2 2
      pages/index/home.vue
  2. 6 6
      pages/rank/rank.vue

+ 2 - 2
pages/index/home.vue

@@ -52,11 +52,11 @@
 					<view class="right" style="width: 100%;">
 						<view class="flex-direction flex">
 							<view class="flex">
-								<!-- <view class="center ">
+								<view class="center ">
 									<view class="cu-tag sm  bg-tag radius margin-right-10" style="font-weight: 400;">
 										编号:{{item.productNo}}
 									</view>
-								</view> -->
+								</view>
 								<view class="center">
 									<text class="title text-cut-1">{{item.title}}</text>
 								</view>

+ 6 - 6
pages/rank/rank.vue

@@ -33,11 +33,11 @@
 							<view class="flex justify-between container" style="width: 100%;">
 								<view class="left" style="width: 95%;">
 									<view class="padding-top-20  " style="display: flex;">
-										<!-- <view class="center ">
+										<view class="center ">
 											<view class="cu-tag sm bg-tag  radius margin-right-10">
 												编号:{{item.productNo}}
 											</view>
-										</view> -->
+										</view>
 										<view class="center">
 											<text class="name text-cut-1">{{item.title}}</text>
 										</view>
@@ -88,15 +88,15 @@
 							<view class="flex justify-between container" style="width: 100%;">
 								<view class="left" style="width: 95%;">
 									<view class="flex" style="padding-top: 20rpx;width: 430rpx;">
-									<!-- 	<view class="cu-tag sm bg-tag  radius">
+										<view class="cu-tag sm bg-tag  radius">
 											编号:{{item.productNo}}
-										</view> -->
+										</view>
 										<view class="name text-cut-1" style="font-size: 28rpx;font-weight: 600;">
 											{{item.title}}
 										</view>
 									</view>
-									<view class="padding-tb-sm text-sm center"
-										style="color: #888888;justify-content: flex-start">
+									<view class="text-sm center"
+										style="color: #888888;justify-content: flex-start; padding: 10rpx 0 10rpx 0;">
 										<!-- <u-avatar :src="item.userImg?item.userImg:'/static/icon/unlogin.png'" size="56">
 										</u-avatar>
 										<text class="margin-left-10">{{item.username || '暂无信息'}}</text> -->