Compare commits
6 Commits
8259195eca
...
6fddc1cb4a
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fddc1cb4a | |||
| 32c625ab2a | |||
| 2fd84c57e0 | |||
| ddb8bf6cab | |||
| 03e031ac81 | |||
| 2b208f5dd6 |
@@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
// launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
|
|
||||||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
|
|
||||||
"version" : "0.0",
|
|
||||||
"configurations" : [
|
|
||||||
{
|
|
||||||
"app" : {
|
|
||||||
"launchtype" : "remote"
|
|
||||||
},
|
|
||||||
"app-plus" : {
|
|
||||||
"launchtype" : "remote"
|
|
||||||
},
|
|
||||||
"default" : {
|
|
||||||
"launchtype" : "local"
|
|
||||||
},
|
|
||||||
"h5" : {
|
|
||||||
"launchtype" : "remote"
|
|
||||||
},
|
|
||||||
"mp-weixin" : {
|
|
||||||
"launchtype" : "local"
|
|
||||||
},
|
|
||||||
"provider" : "aliyun",
|
|
||||||
"type" : "uniCloud"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"playground" : "custom",
|
|
||||||
"type" : "uni-app:app-ios"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"playground" : "custom",
|
|
||||||
"type" : "uni-app:app-android"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"playground" : "standard",
|
|
||||||
"type" : "uni-app:app-ios_simulator"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -2,6 +2,7 @@ let baseUrl = "";
|
|||||||
let socketUrl = "";
|
let socketUrl = "";
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// 开发环境
|
// 开发环境
|
||||||
|
// baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试
|
||||||
baseUrl = "https://api.nuttyreading.com/"; //线上正式'
|
baseUrl = "https://api.nuttyreading.com/"; //线上正式'
|
||||||
// baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
// baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||||
} else if (process.env.NODE_ENV === 'production') {
|
} else if (process.env.NODE_ENV === 'production') {
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"src" : "图片路径"
|
"src" : "图片路径"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versionName" : "2.0.43",
|
"versionName" : "2.0.47",
|
||||||
"versionCode" : 2043,
|
"versionCode" : 2047,
|
||||||
"sassImplementationName" : "node-sass",
|
"sassImplementationName" : "node-sass",
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler" : "uni-app",
|
||||||
@@ -63,6 +63,7 @@
|
|||||||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
||||||
|
"",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
||||||
@@ -70,6 +71,8 @@
|
|||||||
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
||||||
|
"<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/>",
|
||||||
|
"<uses-permission android:name=\"android.permission.READ_MEDIA_IMAGES\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
|
"<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>",
|
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>",
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -24,7 +24,7 @@
|
|||||||
"extraneous": true
|
"extraneous": true
|
||||||
},
|
},
|
||||||
"../edu-core": {
|
"../edu-core": {
|
||||||
"version": "1.0.7",
|
"version": "1.0.10",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {}
|
"devDependencies": {}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -519,6 +519,17 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
<u-modal
|
||||||
|
:show="presaleRemarkModalShow"
|
||||||
|
title="提示"
|
||||||
|
:content="presaleRemarkModalContent"
|
||||||
|
:showCancelButton="true"
|
||||||
|
confirmText="继续购买"
|
||||||
|
cancelText="取消"
|
||||||
|
@confirm="handlePresaleRemarkConfirm"
|
||||||
|
@cancel="handlePresaleRemarkCancel"
|
||||||
|
@close="handlePresaleRemarkCancel"
|
||||||
|
></u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -616,6 +627,9 @@
|
|||||||
|
|
||||||
orderModalShowInfo: {},
|
orderModalShowInfo: {},
|
||||||
orderModalShow: false,
|
orderModalShow: false,
|
||||||
|
presaleRemarkModalShow: false,
|
||||||
|
presaleRemarkModalContent: "",
|
||||||
|
presaleRemarkModalResolve: null,
|
||||||
payType: 1,
|
payType: 1,
|
||||||
freightNum: 0,
|
freightNum: 0,
|
||||||
addressData: {
|
addressData: {
|
||||||
@@ -1350,6 +1364,62 @@
|
|||||||
this.content = this.remark;
|
this.content = this.remark;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
openPresaleRemarkModal(content) {
|
||||||
|
this.presaleRemarkModalContent = content;
|
||||||
|
this.presaleRemarkModalShow = true;
|
||||||
|
return new Promise((resolve) => {
|
||||||
|
this.presaleRemarkModalResolve = resolve;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
handlePresaleRemarkConfirm() {
|
||||||
|
this.presaleRemarkModalShow = false;
|
||||||
|
if (this.presaleRemarkModalResolve) {
|
||||||
|
const resolve = this.presaleRemarkModalResolve;
|
||||||
|
this.presaleRemarkModalResolve = null;
|
||||||
|
resolve(true);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handlePresaleRemarkCancel() {
|
||||||
|
this.presaleRemarkModalShow = false;
|
||||||
|
if (this.presaleRemarkModalResolve) {
|
||||||
|
const resolve = this.presaleRemarkModalResolve;
|
||||||
|
this.presaleRemarkModalResolve = null;
|
||||||
|
resolve(false);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async checkPresaleRemark() {
|
||||||
|
if (this.pageType != "goods") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
const productIds = this.goodsDataList
|
||||||
|
.map((e) => e.productId)
|
||||||
|
.filter((id) => id)
|
||||||
|
.join(",");
|
||||||
|
if (!productIds || !this.urlList.presaleRemark) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
const res = await this.$http.request({
|
||||||
|
url: `${this.urlList.presaleRemark}`,
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
productIds,
|
||||||
|
},
|
||||||
|
header: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
},
|
||||||
|
});
|
||||||
|
const remark =
|
||||||
|
res && typeof res.remark == "string" ? res.remark.trim() : "";
|
||||||
|
if (!remark) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return await this.openPresaleRemarkModal(remark);
|
||||||
|
} catch (error) {
|
||||||
|
console.log("presaleRemark error:", error);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
},
|
||||||
async goBuyJie() {
|
async goBuyJie() {
|
||||||
if (this.pageType == "vip") {
|
if (this.pageType == "vip") {
|
||||||
if (this.radioValue != "1") {
|
if (this.radioValue != "1") {
|
||||||
@@ -1457,6 +1527,11 @@
|
|||||||
});
|
});
|
||||||
thisproduct = thisproduct.join(",");
|
thisproduct = thisproduct.join(",");
|
||||||
}
|
}
|
||||||
|
const passPresaleRemark = await this.checkPresaleRemark();
|
||||||
|
if (!passPresaleRemark) {
|
||||||
|
this.buyingFlag = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
this.historyOrderInfo &&
|
this.historyOrderInfo &&
|
||||||
thisproduct == this.historyOrderInfo.product &&
|
thisproduct == this.historyOrderInfo.product &&
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<CommonCourseVideo
|
<CommonCourseVideo
|
||||||
:video-list="videoArray"
|
:video-list="videoArray"
|
||||||
:current-index="currentCateIndex !== null ? currentCateIndex : 0"
|
:current-index="currentCateIndex !== null ? currentCateIndex : 0"
|
||||||
:course="{courseTitle:options.navTitle, chapterTitle: curriculumData.title}"
|
:course="{courseTitle:options.navTitle, chapterTitle: curriculumData.title, catalogueId: curriculumData.catalogueId || '', courseId: curriculumData.courseId || options.courseId || ''}"
|
||||||
:cover="options.curriculumImgUrl || ''"
|
:cover="options.curriculumImgUrl || ''"
|
||||||
:http="$http"
|
:http="$http"
|
||||||
/>
|
/>
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
<view class="page-body">
|
<view class="page-body">
|
||||||
<view class='wrapper'>
|
<view class='wrapper'>
|
||||||
<view class="editor-wrapper">
|
<view class="editor-wrapper">
|
||||||
<editor @input="editorIput" id="editor" class="ql-container" placeholder="请输入您的见解..."
|
<editor @input="editorIput" id="editor" class="ql-container" placeholder="请您一次性提交答题内容,提交后会进入评分流程"
|
||||||
show-img-size show-img-toolbar show-img-resize
|
show-img-size show-img-toolbar show-img-resize
|
||||||
@statuschange="onStatusChange" :read-only="readOnly"
|
@statuschange="onStatusChange" :read-only="readOnly"
|
||||||
@ready="onEditorReady">
|
@ready="onEditorReady">
|
||||||
@@ -934,9 +934,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.u-grid-list {
|
// .u-grid-list {
|
||||||
// height: 40rpx;
|
// // height: 40rpx;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.searchList {
|
.searchList {
|
||||||
.item {
|
.item {
|
||||||
@@ -1133,7 +1133,8 @@
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
@include theme('btn_bg') color: #fff;
|
@include theme('btn_bg');
|
||||||
|
color: #fff;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
@@ -1236,11 +1237,11 @@
|
|||||||
// align-items: center;
|
// align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headImage {
|
// .headImage {
|
||||||
// height: 400rpx !important;
|
// // height: 400rpx !important;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.commonDetailPage {}
|
// .commonDetailPage {}
|
||||||
|
|
||||||
.curriulum_box {
|
.curriulum_box {
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
@@ -1263,9 +1264,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.titleItem {
|
// /deep/.titleItem {
|
||||||
// width: calc(100% - 120rpx) !important;
|
// // width: calc(100% - 120rpx) !important;
|
||||||
}
|
// }
|
||||||
|
|
||||||
/deep/.scroll-view-item:nth-child(2n-1) {
|
/deep/.scroll-view-item:nth-child(2n-1) {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
@@ -1396,7 +1397,7 @@
|
|||||||
width: calc(100% - 150rpx) !important;
|
width: calc(100% - 150rpx) !important;
|
||||||
|
|
||||||
.aui-text-danger {
|
.aui-text-danger {
|
||||||
display: inline-block;
|
// display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1308,7 +1308,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
const joinedText = this.textList.join('/');
|
const joinedText = this.textList.join('/');
|
||||||
this.goBuyTitle = '购买'+joinedText+'VIP,即可畅享更多专属权益';
|
this.goBuyTitle = '购买'+joinedText+'VIP,即可畅享更多专属权益(不包含论坛)';
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -132,6 +132,7 @@ export default {
|
|||||||
list: "app/phone.do?getCourseDetail_new",
|
list: "app/phone.do?getCourseDetail_new",
|
||||||
initPrepareOrder: "common/buyOrder/initPrepareOrder",
|
initPrepareOrder: "common/buyOrder/initPrepareOrder",
|
||||||
buyOrder: "book/buyOrder/placeOrder",
|
buyOrder: "book/buyOrder/placeOrder",
|
||||||
|
presaleRemark: "book/buyOrder/presaleRemark",
|
||||||
curriculumInfo: "app/phone.do?getCourseInfo",
|
curriculumInfo: "app/phone.do?getCourseInfo",
|
||||||
detailInfo: "app/phoneDoctor.do?getTaiHuClassInfo_new",
|
detailInfo: "app/phoneDoctor.do?getTaiHuClassInfo_new",
|
||||||
userInfo: "common/user/getUserInfo",
|
userInfo: "common/user/getUserInfo",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,12 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="userInfoBox" style="margin-left: 20rpx;">
|
<view class="userInfoBox" style="margin-left: 20rpx;">
|
||||||
<template>
|
<template>
|
||||||
<view class="name">{{ userMes.nickname ? userMes.nickname : "未设置" }}</view>
|
<view class="name">
|
||||||
|
{{ userMes.nickname ? userMes.nickname : "未设置" }}
|
||||||
|
<text v-if="userMes.profile" class="user-profile">({{userMes.profile}})</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<!-- <u-tag v-if="userMes.profile" :text="userMes.profile" size="mini" plain plainFill type="success"></u-tag> -->
|
||||||
</template>
|
</template>
|
||||||
<template v-if="userMes.tel">
|
<template v-if="userMes.tel">
|
||||||
<view class="phone">手机号:({{ userMes.tel }})</view>
|
<view class="phone">手机号:({{ userMes.tel }})</view>
|
||||||
@@ -41,6 +46,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
<u-tag v-if="userMes.todayWatch" :text="userMes.todayWatch" size="mini" plain plainFill type="success" class="watch-time"></u-tag>
|
||||||
|
<u-tag v-if="userMes.totalWatch" :text="userMes.totalWatch" size="mini" plain plainFill class="watch-time"></u-tag>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -128,13 +139,14 @@
|
|||||||
<view class="xiugai boxShadow box_fillet">
|
<view class="xiugai boxShadow box_fillet">
|
||||||
<common-list :dataList="pageList" @hancleClick="handleClickTab" label="name">
|
<common-list :dataList="pageList" @hancleClick="handleClickTab" label="name">
|
||||||
<template slot="rightSlot" slot-scope="slotProps">
|
<template slot="rightSlot" slot-scope="slotProps">
|
||||||
<text
|
<text
|
||||||
class="fdButtonBox aui-text-success"
|
v-if="slotProps.row.contentType&&slotProps.row.contentType == 'hufen'&&hufenNumber>0"
|
||||||
v-if="slotProps.row.contentType&&slotProps.row.contentType == 'hufen'&&hufenNumber>0"
|
class="fdButtonBox aui-text-success"
|
||||||
style="line-height: 40rpx; font-size: 40rpx;color: #258feb;float: right;"
|
style="line-height: 40rpx; font-size: 40rpx;color: #258feb;float: right;"
|
||||||
>{{ hufenNumber }}<text style="font-size: 30rpx;margin-left: 4rpx;">湖分</text></text
|
>
|
||||||
>
|
{{ hufenNumber }}<text style="font-size: 30rpx;margin-left: 4rpx;">湖分</text>
|
||||||
</template>
|
</text>
|
||||||
|
</template>
|
||||||
</common-list>
|
</common-list>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -483,6 +495,9 @@
|
|||||||
if (this.userInfo.id != undefined) {
|
if (this.userInfo.id != undefined) {
|
||||||
this.$http.post("common/user/getUserInfo").then((res) => {
|
this.$http.post("common/user/getUserInfo").then((res) => {
|
||||||
this.userMes = res.result;
|
this.userMes = res.result;
|
||||||
|
this.userMes.profile = res.des || '';
|
||||||
|
this.userMes.todayWatch = res.todayWatch || '';
|
||||||
|
this.userMes.totalWatch = res.totalWatch || '';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -636,15 +651,23 @@
|
|||||||
|
|
||||||
view {
|
view {
|
||||||
.name {
|
.name {
|
||||||
width: 100%;
|
width: 90%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #6990c7 !important;
|
color: #6990c7 !important;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-profile{
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-weight: normal;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phone {
|
.phone {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #6990c7 !important;
|
color: #6990c7 !important;
|
||||||
|
margin: 6rpx 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.per_user_img {
|
.per_user_img {
|
||||||
@@ -654,6 +677,12 @@
|
|||||||
margin-left: 10rpx;
|
margin-left: 10rpx;
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.watch-time {
|
||||||
|
margin-top: 6rpx;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 10rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -46,9 +46,9 @@
|
|||||||
<view class="in">
|
<view class="in">
|
||||||
<view class="uni-textarea">
|
<view class="uni-textarea">
|
||||||
<textarea v-show="false" placeholder-style="font-size:26rpx" v-model="form.content"
|
<textarea v-show="false" placeholder-style="font-size:26rpx" v-model="form.content"
|
||||||
auto-height placeholder="请输入内容" />
|
auto-height placeholder="请您一次性提交答题内容,提交后会进入评分流程" />
|
||||||
<view class="editor-wrapper">
|
<view class="editor-wrapper">
|
||||||
<editor @input="editorIput" id="editor" class="ql-container" placeholder="请输入内容..." show-img-size
|
<editor @input="editorIput" id="editor" class="ql-container" placeholder="请您一次性提交答题内容,提交后会进入评分流程" show-img-size
|
||||||
show-img-toolbar show-img-resize @statuschange="onStatusChange"
|
show-img-toolbar show-img-resize @statuschange="onStatusChange"
|
||||||
:read-only="readOnly" @ready="onEditorReady">
|
:read-only="readOnly" @ready="onEditorReady">
|
||||||
</editor>
|
</editor>
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
<view class="in">
|
<view class="in">
|
||||||
<view class="uni-textarea">
|
<view class="uni-textarea">
|
||||||
<textarea placeholder-style="font-size:26rpx" v-model="form.content" maxlength="-1"
|
<textarea placeholder-style="font-size:26rpx" v-model="form.content" maxlength="-1"
|
||||||
auto-height placeholder="请输入内容" />
|
auto-height placeholder="请您一次性提交答题内容,提交后会进入评分流程" />
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -642,11 +642,16 @@ export default {
|
|||||||
//存储的需要固定分类
|
//存储的需要固定分类
|
||||||
this.fixed = uni.getStorageSync("fixed");
|
this.fixed = uni.getStorageSync("fixed");
|
||||||
//固定分类
|
//固定分类
|
||||||
if (this.fixed) {
|
if (this.currentIndex === null || this.currentIndex === undefined) {
|
||||||
this.curseClick(this.currentItem, this.currentIndex);
|
|
||||||
} else {
|
|
||||||
this.currentIndex = 0;
|
this.currentIndex = 0;
|
||||||
this.currentItem = null;
|
}
|
||||||
|
if (
|
||||||
|
this.fixed &&
|
||||||
|
this.currentItem &&
|
||||||
|
this.currentIndex !== null &&
|
||||||
|
this.currentIndex !== undefined
|
||||||
|
) {
|
||||||
|
this.curseClick(this.currentItem, this.currentIndex);
|
||||||
}
|
}
|
||||||
uni.hideTabBar();
|
uni.hideTabBar();
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
|
|||||||
Reference in New Issue
Block a user