Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_scan
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_scan
Commits
a75301cc
Commit
a75301cc
authored
Jul 30, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
97bb479d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
9 deletions
+28
-9
vipPay.vue
scan/pagesA/vipPay/vipPay.vue
+28
-9
No files found.
scan/pagesA/vipPay/vipPay.vue
View file @
a75301cc
...
...
@@ -32,7 +32,7 @@
{{
getRemark1
(
item
.
remarks
)
+
'
\
r
\
n'
+
getRemark2
(
item
.
remarks
)
}}
</view>
<view
class=
"label2"
v-if=
"index==selectedIndex&&item.firstPayPrice>0"
>
<view
class=
"label2"
v-if=
"index==selectedIndex&&item.firstPayPrice>0
.1
"
>
{{
'仅需'
+
amount
(
item
.
firstPayPrice
/
item
.
days
)
+
'元/天'
}}
</view>
</view>
...
...
@@ -48,7 +48,7 @@
</view>
<view
@
click=
"handleUnsign"
v-if=
"agreementDto"
style=
"margin-
top: 12rpx;margin-left: 3
0rpx;color: black;font-size: 36rpx;font-weight: 700;"
>
自动续费管理
style=
"margin-
left: 2
0rpx;color: black;font-size: 36rpx;font-weight: 700;"
>
自动续费管理
>
</view>
...
...
@@ -88,6 +88,12 @@
</uni-popup-dialog>
</uni-popup>
</view>
<uni-popup
type=
"center"
ref=
"select"
>
<view
class=
"text-box"
>
{{
slotParam
}}
</view>
</uni-popup>
</view>
</
template
>
...
...
@@ -113,7 +119,8 @@
os
:
'android'
,
checked
:
false
,
agreementDto
:
null
,
hintText
:
''
hintText
:
''
,
slotParam
:
''
}
},
methods
:
{
...
...
@@ -221,20 +228,26 @@
let
that
=
this
;
tt
.
createSignOrder
({
businessType
:
2
,
businessType
:
ttData
.
params
.
businessType
,
data
:
ttData
.
params
.
data
,
byteAuthorization
:
ttData
.
params
.
byteAuthorization
,
success
:
(
res
)
=>
{
tt
.
sign
({
businessType
:
2
,
businessType
:
ttData
.
params
.
businessType
,
orderId
:
res
.
authOrderId
,
success
:
(
res
)
=>
{
that
.
queryOrderStatus
(
largeType
,
ttData
.
tidStr
);
},
fail
:
(
res
)
=>
{
// this.slotParam = JSON.stringify(res);
// this.$refs.select.open('center');
}
})
},
fail
:
(
res
)
=>
{
console
.
log
(
'createSignOrdercreateSignOrder->:'
,
JSON
.
stringify
(
res
));
// this.slotParam = JSON.stringify(res);
// this.$refs.select.open('center');
// console.log('createSignOrdercreateSignOrder->:', JSON.stringify(res));
}
})
...
...
@@ -499,7 +512,7 @@
border-radius
:
50rpx
;
background
:
#e8c8ae
;
color
:
#8d5a29
;
width
:
55
0rpx
;
width
:
60
0rpx
;
margin
:
40rpx
auto
;
}
}
...
...
@@ -511,7 +524,6 @@
justify-content
:
center
;
flex-direction
:
row
;
margin
:
0
auto
;
margin-top
:
16rpx
;
}
.agreementWrp
{
...
...
@@ -535,4 +547,11 @@
color
:
darkgray
;
}
}
.text-box
{
word-break
:
break-all
;
margin
:
10rpx
;
padding
:
10rpx
;
background-color
:
white
;
color
:
black
;
}
</
style
>
\ No newline at end of file
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