|
@@ -15,10 +15,10 @@
|
|
|
<text>{{leixing}}</text>
|
|
|
<icon class="select-jt-default" />
|
|
|
</view>
|
|
|
- <view style="padding: 12px 15px;">课程剩余数量:{{kechengNumber||0}}</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>
|
|
@@ -87,6 +87,7 @@
|
|
|
} from "@/api/jiazheng.js";
|
|
|
import commonDialog from '@/components/dialog/commonDialog.vue';
|
|
|
import kechengLeixingVue from "./common/kechengLeixing.vue";
|
|
|
+ import {toast} from "@/utils/common";
|
|
|
import searchVue from "./common/search2.vue";
|
|
|
import {
|
|
|
debounce
|
|
@@ -202,9 +203,8 @@
|
|
|
},
|
|
|
toAdd(data) {
|
|
|
if (!this.addFlag) {
|
|
|
- uni.showToast({
|
|
|
- title: '课程剩余数量不足'
|
|
|
- });
|
|
|
+
|
|
|
+ toast('课程剩余数量不足')
|
|
|
return false
|
|
|
}
|
|
|
debounce(
|