样式修改
This commit is contained in:
@@ -4,8 +4,9 @@
|
|||||||
<u-popup :show="youhuiShow" :round="10" @close="closePup">
|
<u-popup :show="youhuiShow" :round="10" @close="closePup">
|
||||||
<view class="tanchu">
|
<view class="tanchu">
|
||||||
<view class="dp_title">请选择优惠券</view>
|
<view class="dp_title">请选择优惠券</view>
|
||||||
<view v-if="list.length > 0">
|
<template v-if="list.length > 0" >
|
||||||
<view style="max-height: 40vh;overflow-y: scroll;" :class="youhuiIndex === index ? 'youhuiItem youItem_style' : 'youhuiItem'"
|
<view style="max-height:40vh;overflow-y: scroll;">
|
||||||
|
<view :class="youhuiIndex === index ? 'youhuiItem youItem_style' : 'youhuiItem'"
|
||||||
v-for="(item,index) in list" :key="index" @click="choseYouhui(index)">
|
v-for="(item,index) in list" :key="index" @click="choseYouhui(index)">
|
||||||
<view style="width: 25%;color:#fd6004;text-align: center;">
|
<view style="width: 25%;color:#fd6004;text-align: center;">
|
||||||
<text>¥</text>
|
<text>¥</text>
|
||||||
@@ -41,17 +42,18 @@
|
|||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
<br clear="both">
|
<br clear="both">
|
||||||
</view>
|
</view>
|
||||||
<view class="btnBox flex_box flex_between">
|
|
||||||
<view class="" style="width: 48%;">
|
|
||||||
<button type="default" @click="confirmCoupon('none')">不使用优惠券</button>
|
|
||||||
</view>
|
|
||||||
<view class="" style="width: 48%;">
|
|
||||||
<button type="primary" @click="confirmCoupon()">选好了</button>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<!-- <view style="font-size: 20rpx;color: #aaa;margin-top: 30rpx;">* 每笔订单只能使用一张优惠价</view> -->
|
<!-- <view style="font-size: 20rpx;color: #aaa;margin-top: 30rpx;">* 每笔订单只能使用一张优惠价</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
<view class="btnBox flex_box flex_between">
|
||||||
|
<view class="" style="width: 48%;">
|
||||||
|
<button type="default" @click="confirmCoupon('none')">不使用优惠券</button>
|
||||||
|
</view>
|
||||||
|
<view class="" style="width: 48%;">
|
||||||
|
<button type="primary" @click="confirmCoupon()">选好了</button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
<view class="" v-else>
|
<view class="" v-else>
|
||||||
<u-divider text="暂无可用优惠券哦"></u-divider>
|
<u-divider text="暂无可用优惠券哦"></u-divider>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -343,7 +343,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-if="!item.reply && thisClass.state == '1'">
|
v-if="!item.reply && thisClass.state == '1'">
|
||||||
<text class="no" v-if="index+1<=currentStudyNumber">未提交答案 点击开始答题</text>
|
<text class="no" v-if="index+1 <= currentStudyNumber || currentStudyNumber == 0">未提交答案 点击开始答题</text>
|
||||||
<text class="no" v-else style="color: #a0a1a7;">暂未开始学习</text>
|
<text class="no" v-else style="color: #a0a1a7;">暂未开始学习</text>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
@@ -1491,7 +1491,7 @@
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(index+1<=this.currentStudyNumber){
|
if(index+1<=this.currentStudyNumber || this.currentStudyNumber == 0){
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/miniClass/taskDetail?id=${item.id}&classState=${this.thisClass.state}`
|
url: `/pages/miniClass/taskDetail?id=${item.id}&classState=${this.thisClass.state}`
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user