Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 37b0fe8c
authored
Aug 13, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
8f118371
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
components/HomeFrame/index.vue
components/HomeFrame/index.vue
View file @
37b0fe8
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment