Commit 37b0fe8c by 李伟康

提交

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