Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
uniapp_vedio
Commits
02b1a1d4
Commit
02b1a1d4
authored
Aug 13, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
302c195a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
32 deletions
+2
-32
banner.vue
vedio/components/banner/banner.vue
+0
-30
bookcity.vue
vedio/components/bookcity/bookcity.vue
+1
-1
vipPay.vue
vedio/pagesA/vipPay/vipPay.vue
+1
-1
No files found.
vedio/components/banner/banner.vue
View file @
02b1a1d4
...
@@ -17,11 +17,6 @@
...
@@ -17,11 +17,6 @@
}
from
"../../common/services/index.js"
}
from
"../../common/services/index.js"
import
BookshelfBookItem
from
'../../common/models/BookshelfBookItem.js'
;
import
BookshelfBookItem
from
'../../common/models/BookshelfBookItem.js'
;
import
SystemInfoMixin
from
"../../common/mixins/system-info-mixin.js"
import
SystemInfoMixin
from
"../../common/mixins/system-info-mixin.js"
import
{
watchUserInfoChange
,
removeUserInfoChangeWatch
}
from
"../../common/services/userServices.js"
;
export
default
{
export
default
{
mixins
:
[
SystemInfoMixin
],
mixins
:
[
SystemInfoMixin
],
data
()
{
data
()
{
...
@@ -29,34 +24,9 @@
...
@@ -29,34 +24,9 @@
bannerList
:
[]
bannerList
:
[]
};
};
},
},
onReady
()
{
// this.initHeight();
// 监听用户变动
watchUserInfoChange
((
info
)
=>
{
if
(
info
.
userInfo
)
{
this
.
initData
();
}
},
this
)
},
onShow
()
{},
onUnload
()
{
// 移除监听
removeUserInfoChangeWatch
(
this
);
},
methods
:
{
methods
:
{
show
()
{
// 监听用户变动
watchUserInfoChange
((
info
)
=>
{
if
(
info
.
userInfo
)
{
this
.
initData
();
}
},
this
)
},
handleBanner
(
e
)
{
handleBanner
(
e
)
{
gotoBookContentPage
(
e
.
id
,
e
.
shortis
)
gotoBookContentPage
(
e
.
id
,
e
.
shortis
)
},
hide
()
{
},
},
initData
()
{
initData
()
{
this
.
refreshList
();
this
.
refreshList
();
...
...
vedio/components/bookcity/bookcity.vue
View file @
02b1a1d4
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
}
}
},
this
)
},
this
)
this
.
refreshList
()
//
this.refreshList()
},
},
onShow
()
{},
onShow
()
{},
onUnload
()
{
onUnload
()
{
...
...
vedio/pagesA/vipPay/vipPay.vue
View file @
02b1a1d4
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</view>
</view>
<view
class=
"agreementWrp"
>
<view
class=
"agreementWrp"
>
<checkbox-group
@
change=
"checkboxChange"
style=
"width: 50rpx;"
>
<checkbox-group
@
change=
"checkboxChange"
style=
"width: 50rpx;
margin-right: 10rpx;
"
>
<checkbox
:checked=
"checked"
style=
"transform:scale(0.9)"
>
<checkbox
:checked=
"checked"
style=
"transform:scale(0.9)"
>
</checkbox>
</checkbox>
</checkbox-group>
</checkbox-group>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment