|
@@ -35,7 +35,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="list-item" v-html="item.status ? '完成学分' : '学分未达标,<br/>不能申请年检'"></view>
|
|
<view class="list-item" v-html="item.status ? '完成学分' : '学分未达标,<br/>不能申请年检'"></view>
|
|
<view class="list-item">
|
|
<view class="list-item">
|
|
- <view class="button" :class="[item.isPay ? 'primary' : 'error']">
|
|
|
|
|
|
+ <view class="button" :class="[item.isPay ? 'primary' : 'error']" @click="onJiaoFei(item)">
|
|
{{item.isPay ? '已缴费' : '未缴,点击缴费'}}
|
|
{{item.isPay ? '已缴费' : '未缴,点击缴费'}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -120,6 +120,14 @@
|
|
isPay: 0
|
|
isPay: 0
|
|
},
|
|
},
|
|
])
|
|
])
|
|
|
|
+ function onJiaoFei(val) {
|
|
|
|
+ if (val.isPay) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: `/pages/geRenHuiFeiJiaoJiao/geRenHuiFeiJiaoJiao?id=${val.id}`
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
|
|
onLoad(() => {
|
|
onLoad(() => {
|
|
console.log('onLoad')
|
|
console.log('onLoad')
|
|
@@ -212,7 +220,6 @@
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
font-size: $uni-font-size-2;
|
|
font-size: $uni-font-size-2;
|
|
- line-height: 50rpx;
|
|
|
|
&:before {
|
|
&:before {
|
|
content: '•';
|
|
content: '•';
|
|
font-size: 50rpx;
|
|
font-size: 50rpx;
|