|
|
@ -7,16 +7,17 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="priceContainer"> |
|
|
|
<view class="priceContainer"> |
|
|
|
<view class="priceCon"> |
|
|
|
<view class="priceCon"> |
|
|
|
<text>秒杀价:</text><input type="text" v-model="secondPrice" class="input" value="" placeholder="秒杀价格可低于成本价" /> |
|
|
|
<text>秒杀价:</text><input type="text" v-model="secondPrice" class="input" value="" |
|
|
|
|
|
|
|
placeholder="秒杀价格可低于成本价" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="priceTime"> |
|
|
|
<view class="priceTime"> |
|
|
|
<view class="text">秒杀区间:</view> |
|
|
|
<view class="text">秒杀区间:</view> |
|
|
|
<view class="priceDate"> |
|
|
|
<view class="priceDate"> |
|
|
|
<view class="selectTime" @click="timeShow=true"> |
|
|
|
<view class="selectTime" :style="'color: ' + (startTime?fontColor:'')" @click="timeShow=true"> |
|
|
|
{{startTime?startTime:'起始时间'}} |
|
|
|
{{startTime?startTime:'起始时间'}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<text>-</text> |
|
|
|
<text>-</text> |
|
|
|
<view class="selectTime" @click="timeShow=true"> |
|
|
|
<view class="selectTime" :style="'color: ' + (endTime?fontColor:'')" @click="timeShow=true"> |
|
|
|
{{endTime?endTime:'终止时间'}} |
|
|
|
{{endTime?endTime:'终止时间'}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -28,7 +29,8 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="priceCon"> |
|
|
|
<view class="priceCon"> |
|
|
|
<text>每人限购:</text> |
|
|
|
<text>每人限购:</text> |
|
|
|
<input type="number" style="width: 130rpx;margin-right: 15rpx;" class="input" v-model="quotaNum" placeholder="请输入" />次 |
|
|
|
<input type="number" style="width: 130rpx;margin-right: 15rpx;" class="input" v-model="quotaNum" |
|
|
|
|
|
|
|
placeholder="请输入" />次 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btnGroup"> |
|
|
|
<view class="btnGroup"> |
|
|
@ -54,9 +56,10 @@ |
|
|
|
timeShow: false, |
|
|
|
timeShow: false, |
|
|
|
startTime: '', |
|
|
|
startTime: '', |
|
|
|
endTime: '', |
|
|
|
endTime: '', |
|
|
|
secondPrice:'', |
|
|
|
secondPrice: '', |
|
|
|
secondQuota: '1', |
|
|
|
secondQuota: '1', |
|
|
|
quotaNum:'' |
|
|
|
quotaNum: '', |
|
|
|
|
|
|
|
fontColor:'#262626' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
@ -96,6 +99,10 @@ |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
|
|
::v-deep .u-btn--primary { |
|
|
|
|
|
|
|
background-color: #FF6257 !important; |
|
|
|
|
|
|
|
border-color: #FF6257; |
|
|
|
|
|
|
|
} |
|
|
|
.afterSales { |
|
|
|
.afterSales { |
|
|
|
padding: 32upx; |
|
|
|
padding: 32upx; |
|
|
|
|
|
|
|
|
|
|
@ -119,6 +126,7 @@ |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #262626; |
|
|
|
color: #262626; |
|
|
|
margin-bottom: 20rpx; |
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
text { |
|
|
|
width: 150rpx; |
|
|
|
width: 150rpx; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
@ -142,6 +150,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
.priceTime { |
|
|
|
.priceTime { |
|
|
|
margin-bottom: 20rpx; |
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
|
|
|
|
|
|
.text { |
|
|
|
.text { |
|
|
|
width: 150rpx; |
|
|
|
width: 150rpx; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|