wangguoyu 1 月之前
父节点
当前提交
2f73ddef23
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pages/admin/Jiazheng/kechengBind.vue

+ 3 - 1
pages/admin/Jiazheng/kechengBind.vue

@@ -15,8 +15,10 @@
 				<text>{{leixing}}</text>
 				<icon class="select-jt-default" />
 			</view>
+					<view style="padding: 12px 15px;">课程剩余数量:{{kechengNumber||0}}</view>
 		</view>
 		<view class="kc-bind-scroll-view scroll-top-border" v-if="current ==0">
+		
 			<uni-list class="admin-list-box">
 				<uni-list-item v-for="item in list" class="admin-list-item-box">
 					<template v-slot:body>
@@ -39,7 +41,6 @@
 		</view>
 		<view class="kc-notbind-scroll-view scroll-top-border" v-if="current ==1">
 			<uni-list class="admin-list-box">
-				<view style="padding: 12px 15px;">课程剩余数量:{{kechengNumber||0}}</view>
 				<uni-list-item v-for="item in listYx" class="admin-list-item-box">
 					<template v-slot:body>
 
@@ -219,6 +220,7 @@
 				jiazhengKcAdd(req).then(res => {
 					if (res.code == 0) {
 						this.getList()
+						this.chaxunNumber()
 						uni.showToast({
 							title: '添加成功',
 							icon: 'success'