Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
ae0c414a
Commit
ae0c414a
authored
Dec 12, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐私政策&服务条款&微信中支付宝支付
parent
a4914849
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
85 additions
and
36 deletions
+85
-36
components/clause/clause.vue
+0
-0
components/login/login.vue
+7
-27
pages.json
+10
-3
pages/application-process/applyCommon.scss
+3
-0
pages/application-process/education.vue
+1
-1
pages/commonDetail/commonDetail.vue
+2
-1
pages/orderConfirm/orderConfirm.vue
+60
-3
pages/saleCourseLists/saleCourseLists.vue
+1
-1
util/router.js
+1
-0
No files found.
components/clause/clause.vue
0 → 100644
View file @
ae0c414a
This diff is collapsed.
Click to expand it.
components/login/login.vue
View file @
ae0c414a
...
@@ -41,12 +41,12 @@
...
@@ -41,12 +41,12 @@
<view
class=
"agree"
v-if=
"loginType!='resetpw'"
>
<view
class=
"agree"
v-if=
"loginType!='resetpw'"
>
<label
class=
"radio"
@
click=
"agreeFlag=!agreeFlag"
><radio
:checked=
"agreeFlag"
/></label>
<label
class=
"radio"
@
click=
"agreeFlag=!agreeFlag"
><radio
:checked=
"agreeFlag"
/></label>
<text>
已阅读并同意
</text>
<text>
已阅读并同意
</text>
<text
class=
"file"
@
click=
"getFile(
'center',
1)"
>
服务协议
</text>
<text
class=
"file"
@
click=
"getFile(1)"
>
服务协议
</text>
<text>
和
</text>
<text>
和
</text>
<text
class=
"file"
@
click=
"getFile(
'center',
2)"
>
隐私政策
</text>
<text
class=
"file"
@
click=
"getFile(2)"
>
隐私政策
</text>
</view>
</view>
<view
class=
"login_btn"
@
click=
"loginInCheck()"
v-if=
"loginType!='resetpw'"
>
<view
class=
"login_btn"
@
click=
"loginInCheck()"
v-if=
"loginType!='resetpw'"
>
{{
loginType
==
'register'
?
'注册'
:
'登录'
}}
{{
this
.
loginType
}}
{{
agreeFlag
}}
{{
loginType
==
'register'
?
'注册'
:
'登录'
}}
</view>
</view>
<view
class=
"login_btn"
v-if=
"loginType=='resetpw'"
@
click=
"loginInCheck()"
>
<view
class=
"login_btn"
v-if=
"loginType=='resetpw'"
@
click=
"loginInCheck()"
>
保存
保存
...
@@ -69,16 +69,6 @@
...
@@ -69,16 +69,6 @@
</view>
</view>
</view>
</view>
</view>
</view>
<uni-popup
ref=
"popup"
type=
"top"
background-color=
"#fff"
>
<view
class=
"description"
>
<view
class=
""
v-if=
"fileType==1"
>
服务协议
</view>
<view
class=
""
v-if=
"fileType==2"
>
隐私政策
</view>
</view>
</uni-popup>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -111,20 +101,10 @@
...
@@ -111,20 +101,10 @@
}
}
},
},
methods
:
{
methods
:
{
getFile
(
type
,
fileType
)
{
getFile
(
type
){
// this.type = type;
uni
.
navigateTo
({
// this.fileType = fileType;
url
:
`/components/clause/clause?type=
${
type
}
`
// // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
})
// this.$refs.popup.open(type)
if
(
fileType
==
1
){
uni
.
openDocument
({
filePath
:
'../../static/file/CFFPstudy.docx'
})
}
else
{
uni
.
openDocument
({
filePath
:
'../../static/file/CFFPPrivacy.docx'
})
}
},
},
getLoginType
(){
getLoginType
(){
this
.
loginType
===
'codelogin'
?
this
.
loginType
=
'pwlogin'
:
this
.
loginType
=
'codelogin'
;
this
.
loginType
===
'codelogin'
?
this
.
loginType
=
'pwlogin'
:
this
.
loginType
=
'codelogin'
;
...
...
pages.json
View file @
ae0c414a
...
@@ -463,9 +463,16 @@
...
@@ -463,9 +463,16 @@
{
{
"navigationBarTitleText"
:
""
,
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
},
}
{
"path"
:
"components/clause/clause"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
],
//
"tabBar"
:
{
//
"tabBar"
:
{
//
"color"
:
"#7A7E83"
,
//
tab
上的文字默认颜色
//
"color"
:
"#7A7E83"
,
//
tab
上的文字默认颜色
...
...
pages/application-process/applyCommon.scss
View file @
ae0c414a
...
@@ -47,6 +47,9 @@
...
@@ -47,6 +47,9 @@
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
font-size
:
30rpx
;
font-size
:
30rpx
;
.form-control
{
width
:
50%
;
}
}
}
}
}
.contentItem
:last-child
{
.contentItem
:last-child
{
...
...
pages/application-process/education.vue
View file @
ae0c414a
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</picker>
</picker>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
毕业学校
</text>
<text>
毕业学校
{{
applyParam
.
approvalStatus
}}
</text>
<input
class=
"form-control"
v-model=
"applyParam.lastGraduateSchool"
style=
"background: #666666;"
<input
class=
"form-control"
v-model=
"applyParam.lastGraduateSchool"
style=
"background: #666666;"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
</view>
...
...
pages/commonDetail/commonDetail.vue
View file @
ae0c414a
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
readId
:
this
.
readId
?
this
.
readId
:
undefined
readId
:
this
.
readId
?
this
.
readId
:
undefined
}
}
api
[
obj
.
req
](
params
).
then
(
res
=>
{
api
[
obj
.
req
](
params
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
const
r
=
res
[
'data'
][
obj
.
result
];
const
r
=
res
[
'data'
][
obj
.
result
];
if
(
r
&&
r
.
length
>
0
){
if
(
r
&&
r
.
length
>
0
){
...
@@ -113,7 +114,7 @@
...
@@ -113,7 +114,7 @@
this
.
queryLists
(
this
.
queryLists
(
{
{
req
:
'userShareBuyList'
,
req
:
'userShareBuyList'
,
result
:
'userShare
Link
s'
,
result
:
'userShare
Buy
s'
,
id
:
'orderId'
,
id
:
'orderId'
,
children
:[
children
:[
{
no
:
1
,
name
:
'用户'
,
width
:
'30%'
,
value
:
''
,
link
:
null
,
alias
:
'buyName'
},
{
no
:
1
,
name
:
'用户'
,
width
:
'30%'
,
value
:
''
,
link
:
null
,
alias
:
'buyName'
},
...
...
pages/orderConfirm/orderConfirm.vue
View file @
ae0c414a
...
@@ -117,7 +117,15 @@
...
@@ -117,7 +117,15 @@
</view>
</view>
</uni-popup>
</uni-popup>
</view>
</view>
<view
class=
"markBox"
@
click=
"tipsFlag=false"
v-if=
"tipsFlag"
>
<view
class=
"guideImgBox"
>
<text
class=
"iconfont icon-yindaojiantou"
></text>
<view
class=
"tips"
>
<view
class=
"text-center"
>
请点击右上角菜单
</view>
<view>
因微信屏蔽支付宝的支付请求,请使用浏览器打开页面完成支付。在浏览器内支付完成后,请返回微信,到我的订单下,以检测支付结果。
</view>
</view>
</view>
</view>
</view>
</view>
</template>
</template>
...
@@ -148,7 +156,8 @@
...
@@ -148,7 +156,8 @@
charset
:
''
,
charset
:
''
,
contentType
:
''
,
contentType
:
''
,
payForm
:
''
,
payForm
:
''
,
deviceType
:
''
deviceType
:
''
,
tipsFlag
:
false
}
}
},
},
computed
:{
computed
:{
...
@@ -169,6 +178,9 @@
...
@@ -169,6 +178,9 @@
},
},
methods
:
{
methods
:
{
replaceUrl
(){
},
// 支付
// 支付
pay
(){
pay
(){
if
(
this
.
paymentBtnDisabled
){
if
(
this
.
paymentBtnDisabled
){
...
@@ -245,6 +257,12 @@
...
@@ -245,6 +257,12 @@
//#ifdef H5
//#ifdef H5
//支付宝h5支付
//支付宝h5支付
param
.
paymentType
=
2
;
param
.
paymentType
=
2
;
if
(
this
.
deviceType
==
3
){
this
.
tipsFlag
=
true
;
let
url
=
window
.
location
.
href
+
'&isRedirect=1'
;
window
.
history
.
replaceState
(
null
,
''
,
url
);
return
;
}
api
.
unifiedPay
(
param
).
then
((
res
)
=>
{
api
.
unifiedPay
(
param
).
then
((
res
)
=>
{
const
data
=
res
[
'data'
];
const
data
=
res
[
'data'
];
this
.
paymentBtnDisabled
=
false
;
this
.
paymentBtnDisabled
=
false
;
...
@@ -339,8 +357,10 @@
...
@@ -339,8 +357,10 @@
}
}
this
.
courseDetail
();
this
.
courseDetail
();
this
.
queryByUserIdFortuneStatistic
()
this
.
queryByUserIdFortuneStatistic
()
console
.
log
(
option
)
this
.
deviceType
=
common
.
checkDeviceType
();
this
.
deviceType
=
common
.
checkDeviceType
();
if
(
option
.
isRedirect
==
1
){
this
.
pay
();
}
},
},
mounted
()
{
mounted
()
{
...
@@ -577,5 +597,42 @@
...
@@ -577,5 +597,42 @@
}
}
}
}
.markBox
{
position
:
fixed
;
left
:
0
;
top
:
0
;
bottom
:
0
;
right
:
0
;
width
:
100%
;
height
:
100%
;
color
:
#fff
;
display
:
flex
;
justify-content
:
flex-end
;
z-index
:
100000
;
background
:
rgba
(
0
,
0
,
0
,
0.8
);
}
//
.iconfont
{
//
position
:
absolute
;
//
right
:
8%
;
//
font-size
:
40px
;
//
top
:
2px
;
//
font-weight
:
bold
;
//
}
.guideImgBox
{
margin
:
20px
auto
;
}
.tips
{
margin-top
:
20%
;
padding
:
0
30px
;
}
.tips
p
{
font-size
:
18px
;
margin-top
:
10px
;
text-align
:
justify
;
letter-spacing
:
1px
;
}
</
style
>
</
style
>
pages/saleCourseLists/saleCourseLists.vue
View file @
ae0c414a
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
// 查看订单详情
// 查看订单详情
viewDetail
(
item
){
viewDetail
(
item
){
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/orderDetail/orderDetail?id=
${
item
.
orderId
}
&type=drop`
url
:
`/pages/orderDetail/orderDetail?id=
${
item
}
&type=drop`
})
})
},
},
bindDateChange
:
function
(
e
)
{
bindDateChange
:
function
(
e
)
{
...
...
util/router.js
View file @
ae0c414a
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
const
whiteList
=
[
const
whiteList
=
[
'/components/login/login'
,
'/components/login/login'
,
'/pages/invitationRegister/invitationlogin'
,
'/pages/invitationRegister/invitationlogin'
,
'/components/clause/clause'
]
]
export
default
function
initApp
(){
export
default
function
initApp
(){
uni
.
addInterceptor
(
'navigateTo'
,
{
uni
.
addInterceptor
(
'navigateTo'
,
{
...
...
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