Jelajahi Sumber

添加花材

shish 2 tahun lalu
induk
melakukan
0b9d8fd8ea
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      ghsApp/src/admin/item/select.vue

+ 3 - 3
ghsApp/src/admin/item/select.vue

@@ -17,14 +17,14 @@
 							<block v-for="(productItem, productIndex) in list.data" :key="productIndex">
 							<block v-for="(productItem, productIndex) in list.data" :key="productIndex">
 								<t-tr>
 								<t-tr>
 									<t-td>
 									<t-td>
-										<image :src="productItem.smallCover" style="width:90upx;height:90upx;"></image>
+										<image :src="productItem.smallCover" style="width:90upx;height:90upx;" @click="pageTo({url:'/admin/item/detail?id='+productItem.id})"></image>
 									</t-td>
 									</t-td>
 									<t-td>
 									<t-td>
-										<view style="width:230upx;text-align:left;color:black;font-size:28upx;
-										overflow: hidden; white-space: nowrap; text-overflow: ellipsis;font-weight:bold;" 
+										<view style="width:230upx;text-align:left;color:black;font-size:28upx;overflow: hidden; white-space: nowrap; text-overflow: ellipsis;font-weight:bold;" 
 										@click="pageTo({url:'/admin/item/detail?id='+productItem.id})">
 										@click="pageTo({url:'/admin/item/detail?id='+productItem.id})">
 											<text style="color:#3385ff;margin-right:3upx;" v-if="productItem.frontHide == 1">隐</text>
 											<text style="color:#3385ff;margin-right:3upx;" v-if="productItem.frontHide == 1">隐</text>
 											{{productItem.name}}
 											{{productItem.name}}
+											<view style="font-weight:normal;font-size:22upx;color:#a09999;margin-top:5upx;">剩 {{productItem.stock ? parseFloat(productItem.stock) : 0 }}</view>
 										</view>
 										</view>
 									</t-td>
 									</t-td>
 									<t-td>
 									<t-td>