Commit 37b0fe8c by 李伟康

提交

1 parent 8f118371
......@@ -279,7 +279,6 @@ export default {
},
backHome () {
this.showHome = true
console.log(this.$refs.pointRef)
Promise.resolve().then(() => {
this.$refs.pointRef?.$refs?.centerRef?.init && this.$refs.pointRef.$refs.centerRef.init()
})
......@@ -298,7 +297,6 @@ export default {
this.pointComponentName = name
},
handleOperation (val, data) {
console.log(val, data, 'val, data')
const { type } = val;
// 提取公共的webview设置逻辑
......@@ -326,9 +324,6 @@ export default {
if (!setWebviewStyleWithRetry()) {
// 如果未成功,继续重试
setTimeout(retrySetWebviewStyle, 50);
} else {
// 成功设置样式,结束循环
console.log('Webview样式设置成功');
}
};
......@@ -372,9 +367,7 @@ export default {
},
// 学习中心修改阅读状态,打开后才修改
async getStudyCenterRead (id) {
console.log(id, 'getStudyCenterRead')
const res = await uni.$api.commonApi.getStudyCenterRead({ id })
console.log(res)
},
showReadCountTips (res) {
......@@ -405,7 +398,7 @@ export default {
this.$emit('start')
},
async entranceClick (item) {
if (item.name != 'DailyReport' && (await this.checkDailyReport() || await this.inspectionOfProhibitionBill())) return
// if (item.name != 'DailyReport' && (await this.checkDailyReport() || await this.inspectionOfProhibitionBill())) return
uni.navigateTo({
url: `/pages/boutique/tool/index?componentName=${item.name}`
})
......@@ -594,6 +587,9 @@ export default {
}
.tool-box {
height: calc(100% - #{toRpx(712)});
.content-box{
margin: 0 toRpx(48);
}
}
}
.content-right {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!