样式修改
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
<u-popup :show="youhuiShow" :round="10" @close="closePup">
|
||||
<view class="tanchu">
|
||||
<view class="dp_title">请选择优惠券</view>
|
||||
<view v-if="list.length > 0">
|
||||
<view style="max-height: 40vh;overflow-y: scroll;" :class="youhuiIndex === index ? 'youhuiItem youItem_style' : 'youhuiItem'"
|
||||
<template v-if="list.length > 0" >
|
||||
<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)">
|
||||
<view style="width: 25%;color:#fd6004;text-align: center;">
|
||||
<text>¥</text>
|
||||
@@ -41,17 +42,18 @@
|
||||
</template>
|
||||
</view>
|
||||
<br clear="both">
|
||||
</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>
|
||||
<!-- <view style="font-size: 20rpx;color: #aaa;margin-top: 30rpx;">* 每笔订单只能使用一张优惠价</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>
|
||||
<u-divider text="暂无可用优惠券哦"></u-divider>
|
||||
</view>
|
||||
|
||||
@@ -343,7 +343,7 @@
|
||||
</template>
|
||||
<template
|
||||
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>
|
||||
</template>
|
||||
<template
|
||||
@@ -1491,7 +1491,7 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
if(index+1<=this.currentStudyNumber){
|
||||
if(index+1<=this.currentStudyNumber || this.currentStudyNumber == 0){
|
||||
uni.navigateTo({
|
||||
url: `/pages/miniClass/taskDetail?id=${item.id}&classState=${this.thisClass.state}`
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user