Browse Source

修改样式

wangchao 3 năm trước cách đây
mục cha
commit
08e9c1e732
1 tập tin đã thay đổi với 7 bổ sung2 xóa
  1. 7 2
      pages/user/contractLook/inventoryCost.vue

+ 7 - 2
pages/user/contractLook/inventoryCost.vue

@@ -13,8 +13,8 @@
 					<view class="font">价值(元)</view>
 				</view>
 				<view class="goods-table-content" v-for="(item1,index1) in item.goodList">
-					<view class="font">{{item1.goodsName}}</view>
-					<view class="font">{{item1.storage}}</view>
+					<view class="font" :class="item.goodList.length>1&&index1==item.goodList.length-1?'active':''">{{item1.goodsName}}</view>
+					<view class="font" :class="item.goodList.length>1&&index1==item.goodList.length-1?'active':''">{{item1.storage}}</view>
 					<view class="font">{{item1.cost}}</view>
 				</view>
 			</view>
@@ -175,10 +175,15 @@
 </script>
 
 <style scoped lang="scss">
+	.active{
+		font-size: 32rpx;
+		font-weight: 700;
+	}
 	.modal-row {
 		display: flex;
 		justify-content: space-between;
 		padding: 10rpx 60rpx;
+		margin-top: 20rpx;
 	}
 
 	.u-radio-group {