|
@@ -17,7 +17,7 @@
|
|
|
<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" @scroll="toScroll">
|
|
|
<view class="list-scroll-view">
|
|
|
<view class="pubu">
|
|
|
- <view class="list" v-for="(item,index) in list" :key="index" @tap="toBuy(item.goods)">
|
|
|
+ <view class="list" v-for="(item,index) in list" :key="index" @tap="toBuy(item)">
|
|
|
<view class="img">
|
|
|
<image class="image" :src="item.goods.file&&item.goods.file.length?item.goods.file[0].url:''" mode=""></image>
|
|
|
</view>
|
|
@@ -25,8 +25,14 @@
|
|
|
<text>{{item.goods.name}}</text>
|
|
|
</view>
|
|
|
<view class="money">
|
|
|
- <text>¥</text>
|
|
|
- <text>{{item.sell_money}}</text>
|
|
|
+ <view class="money_1">
|
|
|
+ <text>¥</text><text>{{item.sell_money||0}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="money_2">
|
|
|
+ <text>¥</text><text>{{item.flow_money||0}}</text>
|
|
|
+ </view>
|
|
|
+ <!-- <text>¥</text>
|
|
|
+ <text>{{item.sell_money}}</text> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -278,12 +284,31 @@
|
|
|
}
|
|
|
|
|
|
.money {
|
|
|
- font-size: var(--font12Size);
|
|
|
- color: var(--ff0Color);
|
|
|
+ display: flex;
|
|
|
|
|
|
- text:nth-child(2) {
|
|
|
- font-size: var(--font16Size);
|
|
|
- padding: 0 0 0 1vw;
|
|
|
+ .money_1 {
|
|
|
+ color: var(--fFB1Color);
|
|
|
+ font-size: 12px;
|
|
|
+
|
|
|
+ text:last-child {
|
|
|
+ font-size: 16px;
|
|
|
+ padding: 0 0 0 1vw;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .money_2 {
|
|
|
+ font-size: 12px;
|
|
|
+ margin: 0 0 0 2vw;
|
|
|
+ color: var(--f99Color);
|
|
|
+
|
|
|
+ text {
|
|
|
+ text-decoration: line-through;
|
|
|
+ }
|
|
|
+
|
|
|
+ text:last-child {
|
|
|
+ font-size: 16px;
|
|
|
+ padding: 0 0 0 1vw;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|