Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
Overview
Overview
Details
Activity
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
pseer
gxpt_wechat
Commits
4924ef47
Commit
4924ef47
authored
Jul 26, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
c0c6a222
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
6 deletions
+34
-6
myInfo_v1.vue
pages/my/myInfo_v1.vue
+0
-0
vipCreate.vue
pages/vipCreate/vipCreate.vue
+34
-6
vip.png
static/tab-bar-img/vip.png
+0
-0
vip_selected.png
static/tab-bar-img/vip_selected.png
+0
-0
No files found.
pages/my/myInfo_v1.vue
deleted
100644 → 0
View file @
c0c6a222
This diff is collapsed.
Click to expand it.
pages/vipCreate/vipCreate.vue
View file @
4924ef47
...
@@ -41,6 +41,9 @@
...
@@ -41,6 +41,9 @@
<view
v-for=
"(item,k) in rechargeConfList"
:key=
"k"
class=
"flex-col item"
<view
v-for=
"(item,k) in rechargeConfList"
:key=
"k"
class=
"flex-col item"
@
tap=
"onRechargeChange(k)"
>
@
tap=
"onRechargeChange(k)"
>
<image
class=
"amount-bg"
:src=
"assetsPath+'/vip/amount_bg.png'"
mode=
"widthFix"
></image>
<image
class=
"amount-bg"
:src=
"assetsPath+'/vip/amount_bg.png'"
mode=
"widthFix"
></image>
<view
class=
"absolute absolute-1"
>
<text>
特惠充值
</text>
</view>
<view
class=
"flex-col item-content"
:class=
"rechargeIndex === k?'active':''"
>
<view
class=
"flex-col item-content"
:class=
"rechargeIndex === k?'active':''"
>
<view
v-if=
"item.giveType.includes('1')"
class=
"preferential"
>
<view
v-if=
"item.giveType.includes('1')"
class=
"preferential"
>
<text>
送
{{
item
.
giveAmount
}}
小时
</text>
<text>
送
{{
item
.
giveAmount
}}
小时
</text>
...
@@ -85,8 +88,8 @@
...
@@ -85,8 +88,8 @@
<view
class=
"flex-3"
>
<view
class=
"flex-3"
>
<view
class=
"flex-row"
>
<view
class=
"flex-row"
>
<text
class=
"text-1"
>
¥
</text>
<text
class=
"text-1"
>
¥
</text>
<text
class=
"text-2"
>
99
.
</text>
<text
class=
"text-2"
>
{{
equityAmountList
[
0
]
}}
.
</text>
<text
class=
"text-3"
>
00
</text>
<text
class=
"text-3"
>
{{
equityAmountList
[
1
]
}}
</text>
</view>
</view>
<view
class=
"cu-btn-box"
@
tap=
"onSubmit"
>
<view
class=
"cu-btn-box"
@
tap=
"onSubmit"
>
<button
class=
"cu-btn"
<button
class=
"cu-btn"
...
@@ -100,8 +103,7 @@
...
@@ -100,8 +103,7 @@
<checkbox
class=
'round yellow'
:class=
"checked?'checked':''"
:checked=
"checked"
<checkbox
class=
'round yellow'
:class=
"checked?'checked':''"
:checked=
"checked"
value=
"checked"
style=
"transform: scale(0.6);"
></checkbox>
value=
"checked"
style=
"transform: scale(0.6);"
></checkbox>
</checkbox-group>
</checkbox-group>
<text>
我已阅读
</text><text
class=
"text-pink"
@
tap=
"onNavToRule2"
>
用户充值协议
</text><text>
,
<text>
我已阅读
</text><text
class=
"text-pink"
@
tap=
"onNavToRule2"
>
用户充值协议
</text><text>
,并同意协议内容
</text>
并同意协议内容
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -147,7 +149,7 @@
...
@@ -147,7 +149,7 @@
</view>
</view>
</view>
</view>
<view
class=
"look-prefer-nav"
>
<view
class=
"look-prefer-nav"
@
tap=
"onNavToRule3"
>
<text
class=
"text-title"
>
点击可查看权益详情
</text>
<text
class=
"text-title"
>
点击可查看权益详情
</text>
<image
class=
"img"
:src=
"assetsPath+'/vip/icon_right.png'"
mode=
"widthFix"
></image>
<image
class=
"img"
:src=
"assetsPath+'/vip/icon_right.png'"
mode=
"widthFix"
></image>
</view>
</view>
...
@@ -170,6 +172,7 @@
...
@@ -170,6 +172,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
moment
from
"@/common/moment.js"
;
import
fTabbar
from
'@/components/module/f-tabbar/f-tabbar'
;
import
fTabbar
from
'@/components/module/f-tabbar/f-tabbar'
;
import
{
import
{
equityMembersList
,
equityMembersList
,
...
@@ -200,6 +203,7 @@
...
@@ -200,6 +203,7 @@
rechargeIndex
:
0
,
rechargeIndex
:
0
,
index
:
0
,
index
:
0
,
consumerMemberStatus
:
false
,
consumerMemberStatus
:
false
,
equityAmountList
:[],
preferList
:
[{
preferList
:
[{
iconUrl
:
config
.
assetsPath
+
"/vip/p_1.png"
,
iconUrl
:
config
.
assetsPath
+
"/vip/p_1.png"
,
title
:
"会员价"
,
title
:
"会员价"
,
...
@@ -287,6 +291,8 @@
...
@@ -287,6 +291,8 @@
console
.
log
(
res
,
999999
)
console
.
log
(
res
,
999999
)
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
rows
)
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
rows
)
{
this
.
list
=
res
.
data
.
rows
this
.
list
=
res
.
data
.
rows
this
.
equityAmountList
=
Number
(
this
.
list
[
0
].
requiredAmount
).
toFixed
(
2
).
toString
().
split
(
'.'
);
console
.
log
(
this
.
equityAmountList
,
9999
)
}
}
this
.
onGetUserInfo
();
this
.
onGetUserInfo
();
})
})
...
@@ -310,6 +316,7 @@
...
@@ -310,6 +316,7 @@
this
.
checked
=
false
;
this
.
checked
=
false
;
},
},
onSubmit
()
{
onSubmit
()
{
if
(
this
.
consumerMemberStatus
)
return
;
if
(
!
this
.
checked
)
{
if
(
!
this
.
checked
)
{
uni
.
showToast
({
uni
.
showToast
({
icon
:
"none"
,
icon
:
"none"
,
...
@@ -369,6 +376,11 @@
...
@@ -369,6 +376,11 @@
url
:
"/setting/rule/rule?keyData=user_pay_protocol"
url
:
"/setting/rule/rule?keyData=user_pay_protocol"
})
})
},
},
onNavToRule3
(){
uni
.
navigateTo
({
url
:
"/setting/rule/rule?keyData=user_equity_details"
})
},
onNavToRecharge
()
{
onNavToRecharge
()
{
if
(
!
this
.
checked
)
{
if
(
!
this
.
checked
)
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -557,13 +569,29 @@
...
@@ -557,13 +569,29 @@
}
}
.list-box
{
.list-box
{
position
:
relative
;
display
:
flex
;
display
:
flex
;
flex
:
1
;
flex
:
1
;
width
:
100%
;
width
:
100%
;
padding
:
0
1%
;
padding
:
0
1%
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
.absolute-1{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
top
:
-14
upx
;
left
:
-8
upx
;
width
:
96
rpx
;
height
:
28
rpx
;
background
:
linear-gradient
(
90deg
,
#FF7800
,
#FF0000
);
border-radius
:
6
rpx
;
z-index
:
8
;
text{
font-size
:
18
rpx
;
color
:
#FFFFFF
;
}
}
.item
{
.item
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
...
...
static/tab-bar-img/vip.png
View replaced file @
c0c6a222
View file @
4924ef47
5.97 KB
|
W:
|
H:
7.61 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/tab-bar-img/vip_selected.png
View replaced file @
c0c6a222
View file @
4924ef47
8.87 KB
|
W:
|
H:
11.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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