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
5d1e4141
Commit
5d1e4141
authored
Jul 25, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
23b8a74c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
156 additions
and
157 deletions
+156
-157
vipPay.vue
vedio/pagesA/vipPay/vipPay.vue
+156
-157
No files found.
vedio/pagesA/vipPay/vipPay.vue
View file @
5d1e4141
<
template
>
<view
class=
"body"
>
<scroll-view
scroll-y
style=
"height: 100%;"
>
<image
style=
"width: 100%;"
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_heli_vip.png"
mode=
"widthFix"
/>
...
...
@@ -10,8 +9,10 @@
style=
"margin-top: 12rpx;margin-left: 30rpx;color: black;"
>
自动续费管理
</view>
<view
class=
"pack-box"
>
<view
class=
"pack-item"
:class=
"[
{active: index==selectedIndex}]" v-for='(item, index) in vipList'
:key='index' @click="choosePack(item, index)">
<scroll-view
scroll-x
style=
"white-space: nowrap"
>
<view
class=
"pack-item"
v-for=
'(item, index) in vipList'
:key=
'index'
@
click=
"choosePack(item, index)"
>
<view
class=
"pack-content"
:class=
"[
{active: index==selectedIndex}]">
<view
class=
"label"
>
{{
item
.
topTitle
}}
</view>
...
...
@@ -35,6 +36,8 @@
</view>
</view>
</view>
</scroll-view>
</view>
</view>
...
...
@@ -50,12 +53,9 @@
</text>
</view>
<view
class=
"section"
>
<button
class=
"apply-button"
@
click=
"handlePay"
>
立即开通
</button>
</view>
</scroll-view>
</view>
</
template
>
...
...
@@ -118,7 +118,7 @@
},
handlePay
()
{
if
(
!
this
.
checked
)
{
message
.
notify
(
"请阅读《连续订阅服务协议》与《支付协议》后勾选同意"
)
message
.
notify
(
"请阅读《连续订阅服务协议》与《支付协议》
与《河狸小故事隐私政策》
后勾选同意"
)
return
}
...
...
@@ -215,20 +215,23 @@
.pack-box
{
margin-top
:
25rpx
;
display
:
flex
;
margin-left
:
30rpx
;
flex-direction
:
row
;
align-items
:
center
;
flex-wrap
:
wrap
;
overflow-x
:
scroll
;
.pack-item
{
margin-left
:
30rpx
;
width
:
calc
(
32%
-
30rpx
);
display
:
inline-block
;
.active
{
background-color
:
#FEF8F5
;
border
:
4rpx
solid
#FDEADC
!
important
;
}
.pack-item
{
margin-bottom
:
25rpx
;
margin-right
:
30rpx
;
width
:
calc
(
31%
-
30rpx
);
.pack-content
{
width
:
100%
;
height
:
260rpx
;
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -279,9 +282,13 @@
}
.origin2
{
// width: 100rpx;
font-size
:
22rpx
;
text-align
:
center
;
color
:
#676666
;
word-wrap
:
break-word
;
word-break
:
break-all
;
white-space
:
pre-line
;
}
.label
{
...
...
@@ -317,20 +324,12 @@
bottom
:
0
;
}
.cut-down
{
position
:
absolute
;
top
:
0
;
right
:
0
;
color
:
#fff
;
background
:
#ff502f
;
font-size
:
22rpx
;
border-radius
:
15rpx
;
height
:
30rpx
;
line-height
:
30rpx
;
padding
:
0
10rpx
;
transform
:
translate
(
0
,
-50%
);
}
}
.pack-item
:last-child
{
margin-right
:
30rpx
;
}
}
.apply-button
{
...
...
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