Commit a7d2884d authored by youjie's avatar youjie

no message

parent cdf6d6b5
...@@ -72,10 +72,10 @@ ...@@ -72,10 +72,10 @@
line == end[0] && index == end[1] ? '#111' : '', line == end[0] && index == end[1] ? '#111' : '',
color: line == end[0] && index == end[1] ? '#FFFFFF' : '', color: line == end[0] && index == end[1] ? '#FFFFFF' : '',
}"> }">
<view style="padding-top: 2px; padding-bottom: 2px;color:#FF3166" <view style="padding-top: 2px; padding-bottom: 2px;">
:style="{'opacity':priceStauts.length>0&&priceStauts[line][index].price>0?'1':'0'}"> <text style="color:#FF3166;font-size: 22upx;" :style="{'opacity':priceStauts[line][index].remainNum>0?'1':'0'}">余:{{ priceStauts[line][index].remainNum }}</text>
<!-- {{item}} --> <template v-if="priceStauts[line][index].price == -1">售罄</template>
{{ priceStauts.length>0&&priceStauts[line][index].price>0?'¥'+priceStauts[line][index].price:'-' }} <template v-if="priceStauts[line][index].price == -2">候补</template>
</view> </view>
<!-- <view class="select-style" v-if="line == start[0] && index == start[1]">最早</view> <!-- <view class="select-style" v-if="line == start[0] && index == start[1]">最早</view>
<view class="select-style" v-if="line == end[0] && index == end[1]">最晚</view> --> <view class="select-style" v-if="line == end[0] && index == end[1]">最晚</view> -->
...@@ -84,10 +84,8 @@ ...@@ -84,10 +84,8 @@
<view> <view>
{{item}} {{item}}
</view> </view>
<view style="color:#FF3166" :style="{'opacity':priceStauts[line][index].remainNum>0?'1':'0'}">余:{{ priceStauts[line][index].remainNum }}</view> <view style="color:#FF3166" :style="{'opacity':priceStauts.length>0&&priceStauts[line][index].price>0?'1':'0'}">¥{{ priceStauts[line][index].price }}</view>
</view> </view>
<view v-if="priceStauts[line][index].price == -1">售罄</view>
<view v-if="priceStauts[line][index].price == -2">候补</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -260,7 +258,7 @@ ...@@ -260,7 +258,7 @@
const query = uni.createSelectorQuery().in(this); const query = uni.createSelectorQuery().in(this);
query.selectAll('.select-style').boundingClientRect((rects) => { query.selectAll('.select-style').boundingClientRect((rects) => {
const top = rects[0].top-(that.scrollHeight) - 100 const top = rects[0].top-(that.scrollHeight) - 20
that.scrollTop = top>0?top:0 that.scrollTop = top>0?top:0
}).exec(); }).exec();
}, },
...@@ -720,8 +718,8 @@ ...@@ -720,8 +718,8 @@
} }
.section>.item>.day>.day-list { .section>.item>.day>.day-list {
margin-top: 30upx; margin-top: 0upx;
margin-bottom: 30upx; margin-bottom: 0upx;
min-height: 100upx; min-height: 100upx;
max-height: 180upx; max-height: 180upx;
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment