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
c43fb4b1
Commit
c43fb4b1
authored
Sep 12, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
c8097a85
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
362 additions
and
101 deletions
+362
-101
login.vue
components/login/login.vue
+8
-3
noLogin.vue
components/noLogin/noLogin.vue
+8
-3
pages.json
pages.json
+7
-0
myInfo.vue
pages/my/myInfo.vue
+178
-3
vipCreate.vue
pages/vipCreate/vipCreate.vue
+158
-89
index.vue
setting/levelDetail/index.vue
+3
-3
icon_album.png
static/icon_album.png
+0
-0
share_icon_2.png
static/share_icon_2.png
+0
-0
No files found.
components/login/login.vue
View file @
c43fb4b1
...
@@ -80,11 +80,16 @@
...
@@ -80,11 +80,16 @@
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"授权中"
title
:
"授权中"
})
})
register
(
{
let
registData
=
{
loginCode
:
res
.
code
,
loginCode
:
res
.
code
,
phoneCode
:
this
.
phoneCode
,
phoneCode
:
this
.
phoneCode
,
type
:
"routine"
,
type
:
"routine"
}).
then
(
res
=>
{
}
if
(
uni
.
getStorageSync
(
"shareUserId"
)){
registData
.
uid
=
uni
.
getStorageSync
(
"shareUserId"
);
registData
.
activityType
=
0
;
}
register
(
registData
).
then
(
res
=>
{
uni
.
hideLoading
();
uni
.
hideLoading
();
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
...
...
components/noLogin/noLogin.vue
View file @
c43fb4b1
...
@@ -51,11 +51,16 @@
...
@@ -51,11 +51,16 @@
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"授权中"
title
:
"授权中"
})
})
register
(
{
let
registData
=
{
loginCode
:
res
.
code
,
loginCode
:
res
.
code
,
phoneCode
:
this
.
phoneCode
,
phoneCode
:
this
.
phoneCode
,
type
:
"routine"
,
type
:
"routine"
}).
then
(
res
=>
{
}
if
(
uni
.
getStorageSync
(
"shareUserId"
)){
registData
.
uid
=
uni
.
getStorageSync
(
"shareUserId"
);
registData
.
activityType
=
0
;
}
register
(
registData
).
then
(
res
=>
{
uni
.
hideLoading
();
uni
.
hideLoading
();
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
...
...
pages.json
View file @
c43fb4b1
...
@@ -150,6 +150,13 @@
...
@@ -150,6 +150,13 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"设备控制"
"navigationBarTitleText"
:
"设备控制"
}
}
},
{
"path"
:
"pages/userShare/userShare"
,
"style"
:
{
"navigationBarTitleText"
:
"分享"
}
}
}
],
],
"subPackages"
:
[
"subPackages"
:
[
...
...
pages/my/myInfo.vue
View file @
c43fb4b1
...
@@ -46,6 +46,10 @@
...
@@ -46,6 +46,10 @@
<image
class=
"img"
:src=
"assetsPath+'/setting.png'"
mode=
"scaleToFill"
></image>
<image
class=
"img"
:src=
"assetsPath+'/setting.png'"
mode=
"scaleToFill"
></image>
<text
class=
"text-gray"
>
修改资料
</text>
<text
class=
"text-gray"
>
修改资料
</text>
</view>
</view>
<view
v-if=
"loginStatus"
class=
"nav-right nav-right-2"
@
tap
.
stop=
"onNavToShare"
>
<text
class=
"text-gray"
>
邀请有礼
</text>
</view>
</view>
</view>
<view
class=
"remeber-info-box"
>
<view
class=
"remeber-info-box"
>
...
@@ -279,6 +283,14 @@
...
@@ -279,6 +283,14 @@
<text
class=
"text-gray"
>
联系我们
</text>
<text
class=
"text-gray"
>
联系我们
</text>
</view>
</view>
</view>
</view>
<view
v-if=
"loginStatus"
class=
"item-box"
@
tap=
"onShareByQrcode"
>
<view
class=
"icon-img"
>
<image
:src=
"assetsPath+'/user/tool_7.png'"
mode=
"scaleToFill"
></image>
</view>
<view
class=
"text-box"
>
<text
class=
"text-gray"
>
二维码分享
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -396,11 +408,50 @@
...
@@ -396,11 +408,50 @@
</view>
</view>
</view>
</view>
</uni-popup>
</uni-popup>
<uni-popup
ref=
"popupShare"
type=
"center"
>
<view
class=
"popup-box-content popup-box-share"
>
<view
class=
"popup-box popup-box-2"
>
<view
class=
"close-box"
@
tap=
"onClose"
>
<text
class=
"cuIcon-close text-xl text-icon"
></text>
</view>
<view
class=
"title-header"
>
<text
class=
"text-title text-black text-lg text-bold"
>
分享邀请
</text>
</view>
<view
class=
"flex-col popup-content"
>
<view
class=
"share-qrcode"
>
<view
class=
"qrcode-box"
>
<tki-qrcode
ref=
"qrcode"
:cid=
"cid"
:val=
"text"
:size=
"size"
unit=
"upx"
icon=
"../../static/logo_icon.png"
:iconSize=
"iconSize"
:onval=
"true"
:loadMake=
"loadMake"
:showLoading=
"true"
@
result=
"qrR"
/>
</view>
<view
class=
"part-bottom"
>
<button
class=
"btn cu-btn bg-white"
@
tap=
"onSaveImg"
>
<image
src=
"../../static/icon_album.png"
mode=
"widthFix"
></image>
<text>
保存到相册
</text>
</button>
<button
open-type=
"share"
class=
"btn cu-btn bg-blue"
>
<image
src=
"../../static/share_icon_2.png"
mode=
"widthFix"
></image>
<text>
分享邀请
</text>
</button>
</view>
</view>
</view>
</view>
</view>
</uni-popup>
<LoginPop
ref=
"loginPop"
/>
<LoginPop
ref=
"loginPop"
/>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
tkiQrcode
from
"@/components/tki-qrcode/tki-qrcode.vue"
import
LoginPop
from
"@/components/login/login"
import
LoginPop
from
"@/components/login/login"
import
fTabbar
from
'@/components/module/f-tabbar/f-tabbar'
;
import
fTabbar
from
'@/components/module/f-tabbar/f-tabbar'
;
import
{
import
{
...
@@ -424,10 +475,19 @@
...
@@ -424,10 +475,19 @@
export
default
{
export
default
{
components
:
{
components
:
{
LoginPop
,
LoginPop
,
fTabbar
fTabbar
,
tkiQrcode
},
},
data
()
{
data
()
{
return
{
return
{
cid
:
"qrCode"
,
qrPath
:
''
,
text
:
'生成中'
,
size
:
520
,
iconSize
:
52
,
colorDark
:
'#000000'
,
loadMake
:
false
,
qrPath
:
''
,
statusBarHeight
:
this
.
statusBarHeight
,
statusBarHeight
:
this
.
statusBarHeight
,
assetsPath
:
config
.
assetsPath
,
assetsPath
:
config
.
assetsPath
,
hostUrl
:
config
.
hostUrl
,
hostUrl
:
config
.
hostUrl
,
...
@@ -490,12 +550,36 @@
...
@@ -490,12 +550,36 @@
this
.
onGetSysConfig
();
this
.
onGetSysConfig
();
this
.
onGetUserInfo
();
this
.
onGetUserInfo
();
},
},
onLoad
()
{
onLoad
(
query
)
{
console
.
log
(
query
,
"页面传递过来的参数"
)
if
(
query
.
q
)
{
const
q
=
decodeURIComponent
(
query
.
q
)
let
d
=
q
.
split
(
'?'
)
let
c
=
d
[
1
].
split
(
'&'
)
let
obj
=
{};
c
.
forEach
(
item
=>
{
let
l
=
item
.
split
(
'='
);
obj
[
l
[
0
]]
=
l
[
1
];
})
console
.
log
(
obj
,
"参数对象"
)
if
(
obj
.
uid
)
{
uni
.
setStorageSync
(
"shareUserId"
,
obj
.
uid
)
}
}
if
(
query
.
uid
)
{
uni
.
setStorageSync
(
"shareUserId"
,
query
.
uid
)
}
uni
.
hideTabBar
();
uni
.
hideTabBar
();
if
(
!
this
.
loginStatus
){
if
(
!
this
.
loginStatus
){
this
.
$refs
.
loginPop
.
open
();
this
.
$refs
.
loginPop
.
open
();
}
}
},
},
onShareAppMessage
()
{
return
{
title
:
"邀请扫码注册"
,
path
:
`/pages/my/myInfo?uid=
${
this
.
userInfo
.
id
}
`
}
},
methods
:
{
methods
:
{
onNavToLogin
(){
onNavToLogin
(){
if
(
!
this
.
loginStatus
){
if
(
!
this
.
loginStatus
){
...
@@ -743,6 +827,7 @@
...
@@ -743,6 +827,7 @@
onClose
()
{
onClose
()
{
this
.
$refs
.
popup
.
close
()
this
.
$refs
.
popup
.
close
()
this
.
$refs
.
popupPay
.
close
()
this
.
$refs
.
popupPay
.
close
()
this
.
$refs
.
popupShare
.
close
()
},
},
onNavToRecords
(
t
){
onNavToRecords
(
t
){
if
(
this
.
loginStatus
){
if
(
this
.
loginStatus
){
...
@@ -772,7 +857,35 @@
...
@@ -772,7 +857,35 @@
}
else
{
}
else
{
this
.
$refs
.
loginPop
.
open
();
this
.
$refs
.
loginPop
.
open
();
}
}
},
onNavToShare
(){
uni
.
navigateTo
({
url
:
"/pages/userShare/userShare"
})
},
qrR
(
r
)
{
console
.
log
(
r
,
"二维码路径"
)
this
.
qrPath
=
r
;
},
onShareByQrcode
(){
this
.
text
=
`https://www.coujio.com/myShare?uid=
${
this
.
userInfo
.
id
}
&act=0`
;
this
.
loadMake
=
true
;
this
.
$refs
.
popupShare
.
open
()
},
onSaveImg
()
{
uni
.
saveImageToPhotosAlbum
({
filePath
:
this
.
qrPath
,
success
:
()
=>
{
uni
.
showToast
({
icon
:
'none'
,
title
:
'保存成功'
})
},
fail
:
(
err
)
=>
{
console
.
log
(
err
,
999
)
}
}
})
},
}
}
}
}
</
script
>
</
script
>
...
@@ -846,6 +959,15 @@
...
@@ -846,6 +959,15 @@
font-size
:
30
upx
;
font-size
:
30
upx
;
}
}
}
}
.nav-right-2
{
top
:
82
upx
;
background-color
:
#E2177C
;
padding
:
10
upx
12
upx
;
border-radius
:
10
upx
;
text{
color
:
#ffffff
;
}
}
}
}
...
@@ -1395,7 +1517,6 @@
...
@@ -1395,7 +1517,6 @@
width
:
72vw
;
width
:
72vw
;
border-radius
:
36
upx
;
border-radius
:
36
upx
;
overflow
:
hidden
;
overflow
:
hidden
;
}
.popup-box-2{
.popup-box-2{
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
...
@@ -1522,4 +1643,57 @@
...
@@ -1522,4 +1643,57 @@
}
}
}
}
}
}
}
.popup-box-share
{
width
:
90vw
;
border-radius
:
12
upx
;
overflow
:
hidden
;
.popup-box-2{
background
:
#f1f1f1
;
}
}
.share-qrcode
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
width
:
100%
;
.qrcode-box
{
background-color
:
#ffffff
;
border-radius
:
12
upx
;
box-shadow
:
0
0
12
upx
#ff00ff
;
padding
:
20
upx
;
margin-top
:
24
upx
;
}
.part-bottom
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
margin
:
36
upx
0
;
width
:
100%
;
.btn
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
center
;
flex
:
1
;
height
:
88
upx
;
border-radius
:
20
upx
;
margin
:
0
20
upx
;
image
{
display
:
block
;
width
:
32
upx
;
height
:
auto
;
margin-right
:
6
upx
;
}
text
{
font-size
:
24
upx
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
pages/vipCreate/vipCreate.vue
View file @
c43fb4b1
<
template
>
<
template
>
<view
class=
"vip-create"
>
<view
class=
"vip-create"
>
<view
class=
"bg-header"
>
<view
class=
"bg-header"
>
<image
:src=
"assetsPath+'/vip/bg_header.png'"
mode=
"widthFix"
></image>
<image
:src=
"assetsPath+'/vip/bg_header
_v1
.png'"
mode=
"widthFix"
></image>
</view>
</view>
<view
class=
"content-box"
>
<view
class=
"img-box"
>
<image
:src=
"assetsPath+'/vip/bg_header_02_v1.png'"
mode=
"scaleToFill"
></image>
</view>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"bg-box-1"
>
<view
class=
"bg-box-1"
>
<view
class=
"bg-box-2"
>
<view
class=
"bg-box-2"
>
...
@@ -25,40 +30,46 @@
...
@@ -25,40 +30,46 @@
<view
class=
"flex-between action-box-list"
>
<view
class=
"flex-between action-box-list"
>
<view
class=
"part part-left"
@
tap=
"onTabChange(1)"
>
<view
class=
"part part-left"
@
tap=
"onTabChange(1)"
>
<image
v-if=
"tabIndex ==1"
:src=
"assetsPath+'/vip/btn_2_a
.png'"
class=
"active"
<image
v-if=
"tabIndex ==1"
:src=
"assetsPath+'/vip/btn_2_a_v1
.png'"
class=
"active"
mode=
"widthFix"
></image>
mode=
"widthFix"
></image>
<image
v-else
:src=
"assetsPath+'/vip/btn_2.png'"
class=
"unactive"
mode=
"widthFix"
></image>
<image
v-else
:src=
"assetsPath+'/vip/btn_2_v1.png'"
class=
"unactive"
mode=
"widthFix"
>
</image>
</view>
</view>
<view
class=
"part part-right"
@
tap=
"onTabChange(2)"
>
<view
class=
"part part-right"
@
tap=
"onTabChange(2)"
>
<image
v-if=
"tabIndex ==2"
:src=
"assetsPath+'/vip/btn_1_a
.png'"
class=
"active"
<image
v-if=
"tabIndex ==2"
:src=
"assetsPath+'/vip/btn_1_a_v1
.png'"
class=
"active"
mode=
"widthFix"
></image>
mode=
"widthFix"
></image>
<image
v-else
:src=
"assetsPath+'/vip/btn_1.png'"
class=
"unactive"
mode=
"widthFix"
></image>
<image
v-else
:src=
"assetsPath+'/vip/btn_1_v1.png'"
class=
"unactive"
mode=
"widthFix"
>
</image>
</view>
</view>
</view>
</view>
<view
v-if=
"tabIndex ==1"
class=
"list-box"
>
<view
v-if=
"tabIndex ==1"
class=
"list-box"
>
<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)"
>
:class=
"rechargeIndex === k?'active':''"
@
tap=
"onRechargeChange(k)"
>
<image
class=
"amount-bg"
:src=
"assetsPath+'/vip/amount_bg.png'"
mode=
"widthFix"
></image>
<image
v-if=
"rechargeIndex === k"
class=
"amount-bg"
:src=
"assetsPath+'/vip/cz_bg_a.png'"
mode=
"widthFix"
></image>
<image
v-else
class=
"amount-bg"
:src=
"assetsPath+'/vip/cz_bg.png'"
mode=
"widthFix"
></image>
<view
class=
"absolute absolute-1"
>
<view
class=
"absolute absolute-1"
>
<text>
特惠充值
</text>
<!--
<text>
特惠充值
</text>
-->
</view>
<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>
</view>
</view>
<view
v-else-if=
"item.giveType.includes('2')"
class=
"preferential"
>
<view
v-else-if=
"item.giveType.includes('2')"
class=
"preferential"
>
<text>
送
{{
item
.
giveDuration
}}
小时
</text>
<text>
送
{{
item
.
giveDuration
}}
小时
</text>
</view>
</view>
<view
class=
"line"
></view>
</view>
<view
class=
"absolute absolute-2"
>
<image
:src=
"assetsPath+'/vip/pre_icon.png'"
mode=
"widthFix"
></image>
</view>
<view
class=
"flex-col item-content"
>
<view
class=
"flex-col part-bottom"
>
<view
class=
"flex-col part-bottom"
>
<view
class=
"part-amount"
>
<view
class=
"flex-row amount"
>
<view
class=
"flex-row amount"
>
<text
class=
"symbol"
>
¥
</text>
<text
class=
"symbol"
>
¥
</text>
<text
class=
"num"
>
{{
item
.
rechargeAmount
}}
</text>
<text
class=
"num"
>
{{
item
.
rechargeAmount
}}
</text>
</view>
</view>
</view>
<view
class=
"tip-text"
>
<view
class=
"tip-text"
>
<text>
{{
item
.
remark
||
'充值送时长,多充多送'
}}
</text>
<text>
{{
item
.
remark
||
'充值送时长,多充多送'
}}
</text>
</view>
</view>
...
@@ -112,7 +123,7 @@
...
@@ -112,7 +123,7 @@
<text
class=
"text-3"
>
有效期:领取后1年内有效
</text>
<text
class=
"text-3"
>
有效期:领取后1年内有效
</text>
</view>
</view>
<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
<text
class=
"text-2"
>
{{
equityAmountList
.
length
?
equityAmountList
[
0
]:
'99'
}}
.
</text>
class=
"text-2"
>
{{
equityAmountList
.
length
?
equityAmountList
[
0
]:
'99'
}}
.
</text>
...
@@ -141,6 +152,13 @@
...
@@ -141,6 +152,13 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!--
<view
class=
"active-bg"
>
<image
:src=
"assetsPath+'/vip/active_bg.png'"
mode=
"widthFix"
></image>
</view>
<view
class=
"active-bg-2"
>
<image
:src=
"assetsPath+'/vip/banner2.png'"
mode=
"widthFix"
></image>
</view>
-->
<view
v-if=
"tabIndex ==1"
class=
"flex-col"
>
<view
v-if=
"tabIndex ==1"
class=
"flex-col"
>
<button
class=
"cu-btn confirm-btn"
@
tap=
"onNavToRecharge"
>
<button
class=
"cu-btn confirm-btn"
@
tap=
"onNavToRecharge"
>
...
@@ -155,6 +173,14 @@
...
@@ -155,6 +173,14 @@
</view>
</view>
</view>
</view>
<view
class=
"active-bg"
>
<image
:src=
"assetsPath+'/vip/active_bg.png'"
mode=
"widthFix"
></image>
</view>
<view
class=
"active-bg-2"
>
<image
:src=
"assetsPath+'/vip/banner2.png'"
mode=
"widthFix"
></image>
</view>
<view
v-if=
"tabIndex ==2"
class=
"bg-box-1 margin-top"
>
<view
v-if=
"tabIndex ==2"
class=
"bg-box-1 margin-top"
>
<view
class=
"bg-box-2"
>
<view
class=
"bg-box-2"
>
<view
class=
"flex-row-center title-content"
>
<view
class=
"flex-row-center title-content"
>
...
@@ -197,6 +223,8 @@
...
@@ -197,6 +223,8 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"rule-btn"
@
tap=
"onNavToRule"
>
<view
class=
"rule-btn"
@
tap=
"onNavToRule"
>
<text>
规则
</text>
<text>
规则
</text>
</view>
</view>
...
@@ -487,7 +515,8 @@
...
@@ -487,7 +515,8 @@
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
(
'.'
);
this
.
equityAmountList
=
Number
(
this
.
list
[
0
].
requiredAmount
).
toFixed
(
2
).
toString
().
split
(
'.'
);
}
}
this
.
onGetUserInfo
();
this
.
onGetUserInfo
();
})
})
...
@@ -662,28 +691,45 @@
...
@@ -662,28 +691,45 @@
.vip-create
{
.vip-create
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
width
:
100%
;
width
:
100vw
;
min-height
:
100vh
;
height
:
100vh
;
justify-content
:
center
;
.bg-header
{
.bg-header
{
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100vw
;
image
{
image
{
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100%
;
min-height
:
600
upx
;
min-height
:
400
upx
;
}
}
.content-box
{
position
:
relative
;
display
:
flex
;
flex
:
1
;
width
:
100vw
;
.img-box{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
image
{
width
:
100%
;
height
:
100%
;
}
}
}
}
}
.content
{
.content
{
position
:
relative
;
display
:
flex
;
display
:
flex
;
flex
:
1
;
flex-direction
:
column
;
flex-direction
:
column
;
width
:
100%
;
width
:
100%
;
background-color
:
#FFEABF
;
//
background-color
:
#FFEABF
;
align-items
:
center
;
align-items
:
center
;
padding
:
12
upx
0
60
upx
;
padding
:
0
0
60
upx
;
z-index
:
8
;
.bg-box-1
{
.bg-box-1
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
...
@@ -691,7 +737,7 @@
...
@@ -691,7 +737,7 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
width
:
690
upx
;
width
:
690
upx
;
min-height
:
5
96
upx
;
min-height
:
4
96
upx
;
background
:
#FFCA7E
;
background
:
#FFCA7E
;
border-radius
:
32
upx
;
border-radius
:
32
upx
;
padding
:
6px
0
;
padding
:
6px
0
;
...
@@ -807,23 +853,7 @@
...
@@ -807,23 +853,7 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
//
margin
:
42
upx
0
;
//
margin
:
42
upx
0
;
.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
;
...
@@ -837,7 +867,38 @@
...
@@ -837,7 +867,38 @@
.amount-bg
{
.amount-bg
{
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100%
;
max-height
:
240
upx
;
height
:
140
upx
;
}
.absolute-1
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
top
:
-14
upx
;
left
:
-8
upx
;
width
:
auto
;
min-width
:
80
upx
;
height
:
32
upx
;
padding
:
0
12
upx
;
background
:
linear-gradient
(
90deg
,
#FF7800
,
#FF0000
);
border-radius
:
6
upx
;
z-index
:
8
;
text
{
font-size
:
18
upx
;
color
:
#FFFFFF
;
}
}
.absolute-2
{
top
:
-16
upx
;
left
:
auto
;
right
:
-16
upx
;
width
:
64
upx
;
z-index
:
8
;
image{
width
:
100%
;
}
}
}
.item-content
{
.item-content
{
...
@@ -862,16 +923,12 @@
...
@@ -862,16 +923,12 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
height
:
33
%
;
height
:
100
%
;
text
{
text
{
margin-top
:
8
upx
;
font-weight
:
normal
;
font-weight
:
normal
;
font-size
:
28
upx
;
font-size
:
18
upx
;
color
:
#000000
;
color
:
#FFFFFF
;
background
:
linear-gradient
(
-90deg
,
#FF7800
0%
,
#FF0000
100%
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
}
}
}
}
...
@@ -882,74 +939,69 @@
...
@@ -882,74 +939,69 @@
width
:
100%
;
width
:
100%
;
}
}
.part-amount
{
display
:
flex
;
flex
:
1
;
width
:
100%
;
align-items
:
center
;
justify-content
:
center
;
}
.amount
{
.amount
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
flex-end
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
color
:
#FE3F00
;
color
:
#FE3F00
;
height
:
61%
;
.symbol
{
.symbol
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
29
upx
;
font-size
:
29
upx
;
margin-
bottom
:
1
0
upx
;
margin-
top
:
2
0
upx
;
}
}
.num
{
.num
{
font-weight
:
400
;
margin-top
:
12
upx
;
font-size
:
64
upx
;
font-weight
:
bold
;
font-size
:
42
upx
;
color
:
#000000
;
font-style
:
italic
;
background
:
linear-gradient
(
-90deg
,
#FF7800
0%
,
#FF0000
100%
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
}
}
}
}
.tip-text
{
.tip-text
{
position
:
relative
;
display
:
flex
;
display
:
flex
;
flex
:
1
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
height
:
64
upx
;
background
:
linear-gradient
(
-90deg
,
#FCD25B
,
#FA541D
);
border-radius
:
0
0
23
upx
23
upx
;
z-index
:
2
;
text
{
text
{
font-size
:
26
upx
;
font-weight
:
bolder
;
color
:
#ffffff
;
font-size
:
28
upx
;
color
:
#FF1C00
;
}
}
}
}
.active
{
background
:
linear-gradient
(
-90deg
,
#FCD25B
,
#FA541D
);
box-shadow
:
0
4
upx
12
upx
#FA541D
;
border-radius
:
12
upx
;
.amount
{
color
:
#ffffff
;
}
}
.preferential
{
.active
{
.absolute-1
{
background
:
#FFFDF4
;
border
:
1px
solid
#FF4D05
;
text
{
text
{
margin-top
:
8
upx
;
color
:
#FA5A20
;
color
:
#ffffff
;
}
background
:
#ffffff
;
}
.amount
{
.symbol{
color
:
#FFFFFF
;
}
.num
{
color
:
#FFFFFF
;
background
:
#FFFFFF
;
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
}
.part-bottom
{
.tip-text
{
background
:
linear-gradient
(
-45deg
,
#FCD25B
,
#FA541D
);
}
}
.tip-text
{
text{
color
:
#FFFFFF
;
}
}
}
}
}
}
...
@@ -1078,13 +1130,14 @@
...
@@ -1078,13 +1130,14 @@
}
}
}
}
.flex-col
{
.flex-col
{
.text-2
{
.text-2
{
color
:
#D27E1F
;
color
:
#D27E1F
;
font-size
:
32
upx
;
font-size
:
32
upx
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
}
}
.cu-btn-box
{
.cu-btn-box
{
margin-top
:
10
upx
;
margin-top
:
10
upx
;
...
@@ -1366,7 +1419,6 @@
...
@@ -1366,7 +1419,6 @@
.flex-row
{
.flex-row
{
.flex-col
{
.flex-col
{
.text-12
{
.text-12
{
width
:
77
upx
;
color
:
#000000
;
color
:
#000000
;
font-size
:
28
upx
;
font-size
:
28
upx
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -1445,4 +1497,20 @@
...
@@ -1445,4 +1497,20 @@
}
}
}
}
}
}
.active-bg
{
width
:
692
upx
;
margin
:
20
upx
auto
0
;
image{
width
:
100%
;
max-height
:
142
upx
;
}
}
.active-bg-2
{
width
:
692
upx
;
margin
:
20
upx
auto
0
;
image{
width
:
100%
;
max-height
:
218
upx
;
}
}
</
style
>
</
style
>
\ No newline at end of file
setting/levelDetail/index.vue
View file @
c43fb4b1
...
@@ -93,9 +93,9 @@
...
@@ -93,9 +93,9 @@
},
},
methods
:{
methods
:{
onTypeChange
(
i
){
onTypeChange
(
i
){
if
(
this
.
index
===
i
)
return
;
//
if(this.index === i) return;
this
.
index
=
i
;
//
this.index = i;
this
.
onLoading
();
//
this.onLoading();
},
},
onLoading
(){
onLoading
(){
memberConfigList
({
memberConfigList
({
...
...
static/icon_album.png
0 → 100644
View file @
c43fb4b1
1.63 KB
static/share_icon_2.png
0 → 100644
View file @
c43fb4b1
983 Bytes
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