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
981e4b6c
Commit
981e4b6c
authored
Jul 29, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加解约页面
parent
6754431d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
120 additions
and
8 deletions
+120
-8
pages.json
scan/pages.json
+8
-0
unsign.vue
scan/pagesA/unsign/unsign.vue
+104
-0
vipPay.vue
scan/pagesA/vipPay/vipPay.vue
+8
-8
No files found.
scan/pages.json
View file @
981e4b6c
...
@@ -42,6 +42,14 @@
...
@@ -42,6 +42,14 @@
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
"navigationBarTextStyle"
:
"black"
}
}
},
{
"path"
:
"unsign/unsign"
,
"style"
:
{
"navigationStyle"
:
"default"
,
"navigationBarTitleText"
:
"解约"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
}
}]
}]
},
{
},
{
"root"
:
"pagesC"
,
"root"
:
"pagesC"
,
...
...
scan/pagesA/unsign/unsign.vue
0 → 100644
View file @
981e4b6c
<
template
>
<view
class=
"body"
>
<text
style=
"margin-left: 40rpx;margin-top: 50rpx;font-size: 36rpx;"
>
续费管理
</text>
<view
class=
"unsign-head"
>
<view
style=
"position: absolute;z-index: 10;width: 100%;padding-top: 30rpx;"
>
<text
style=
"margin-left: 50rpx;font-size: 30rpx;"
>
{{
agreementData
.
topText
}}
</text>
<view
class=
"section"
>
<view>
下次扣款日期
</view>
<view>
{{
agreementData
.
nextDay
}}
</view>
</view>
<view
class=
"section"
>
<view>
下次扣款金额
</view>
<view>
{{
agreementData
.
balance
}}
</view>
</view>
<view
class=
"section"
>
<view>
支付方式
</view>
<view>
微信
</view>
</view>
<text
class=
"unsignbutton"
@
click=
"unsign"
>
取消自动续费
</text>
</view>
<image
:src=
"bgImg"
mode=
"widthFix"
style=
"position: absolute;width: 100%;"
></image>
</view>
</view>
</
template
>
<
script
>
import
common
from
'@/mixins/common'
;
import
{
navigateBack
,
message
,
alert
,
}
from
'@/utils/fun.js'
;
const
app
=
getApp
();
export
default
{
name
:
'unsign'
,
mixins
:
[
common
],
data
()
{
return
{
agreementData
:
{},
bgImg
:
'https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_sign.png'
};
},
onLoad
(
options
)
{
this
.
agreementData
=
JSON
.
parse
(
decodeURIComponent
(
options
.
params
));
},
methods
:
{
unsign
()
{
this
.
post
({
url
:
'/vip/unSign'
,
showLoading
:
false
,
success
:
({
data
})
=>
{
message
.
notify
(
'已取消自动签约'
)
setTimeout
(()
=>
{
navigateBack
()
},
1000
)
}
});
}
}
};
</
script
>
<
style
lang=
"scss"
>
@import
'@/scss/uni.scss'
;
.body
{
background-color
:
whitesmoke
;
color
:
#74380C
;
}
.unsign-head
{
margin-left
:
3%
;
margin-top
:
5%
;
width
:
94%
;
position
:
relative
;
.section
{
margin
:
30rpx
50rpx
;
display
:
flex
;
justify-content
:
space-between
;
}
.unsignbutton
{
border
:
1rpx
solid
#E6985D
;
padding
:
6rpx
20rpx
;
border-radius
:
3rpx
;
text-align
:
center
;
color
:
#763904
;
font-size
:
26rpx
;
position
:
absolute
;
right
:
50rpx
;
}
}
</
style
>
\ No newline at end of file
scan/pagesA/vipPay/vipPay.vue
View file @
981e4b6c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<scroll-view
scroll-y
style=
"height: 100%;"
>
<scroll-view
scroll-y
style=
"height: 100%;"
>
<image
style=
"width: 100%;margin-top: 10rpx;margin-bottom: 10rpx;"
<image
style=
"width: 100%;margin-top: 10rpx;margin-bottom: 10rpx;"
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg
_scan/img/ic_vip_banner
.png"
mode=
"widthFix"
/>
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg
/img/bg_heli_vip
.png"
mode=
"widthFix"
/>
<view
class=
"section"
>
<view
class=
"section"
>
...
@@ -309,13 +309,13 @@
...
@@ -309,13 +309,13 @@
that
.
paySuccess
(
largeType
);
that
.
paySuccess
(
largeType
);
}
}
});
});
},
},
checkboxChange
(
e
)
{
checkboxChange
(
e
)
{
if
(
e
.
detail
.
value
.
length
>
0
)
{
if
(
e
.
detail
.
value
.
length
>
0
)
{
this
.
checked
=
true
this
.
checked
=
true
}
else
{
}
else
{
this
.
checked
=
false
this
.
checked
=
false
}
}
},
},
handleUnsign
()
{
handleUnsign
()
{
if
(
this
.
agreementDto
)
{
if
(
this
.
agreementDto
)
{
...
...
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