Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biz-trina5-app
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
贺双
biz-trina5-app
Commits
6be73b3b
Commit
6be73b3b
authored
Aug 07, 2025
by
刘威龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录用户隐私政策添加
parent
716b7ce7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
242 additions
and
11 deletions
+242
-11
bs-userPrivacy.vue
components/baseComponents/bs-userPrivacy/bs-userPrivacy.vue
+211
-5
pages.json
pages.json
+8
-0
login.vue
pages/login/login.vue
+23
-6
No files found.
components/baseComponents/bs-userPrivacy/bs-userPrivacy.vue
View file @
6be73b3b
This diff is collapsed.
Click to expand it.
pages.json
View file @
6be73b3b
...
...
@@ -179,6 +179,14 @@
"navigationBarTitleText"
:
"上报信息"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"shipmentReport/shipmentReport"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
]
}],
...
...
pages/login/login.vue
View file @
6be73b3b
...
...
@@ -35,8 +35,11 @@
<!-- 登录按钮 -->
<button
class=
"loginBtn font_bolder"
@
click=
"submitForm"
>
{{isVerifLogin==false ? '承运商登录' : '司机登录'}}
</button>
</view>
<!-- 用户隐私协议
<bs-userPrivacy ref="userPrivacy" />-->
<!-- -- 用户隐私协议 -->
<bs-userPrivacy
ref=
"myUserPrivacy"
style=
"margin-top: -100px;margin-left: 20px;"
/>
<view
class=
"primary-description"
>
<view
class=
"container-subTitle"
>
仅供天合合作承运商及司机登录
</view>
</view>
</view>
</template>
...
...
@@ -57,7 +60,7 @@
phone
:
''
,
//电话号码
authCode
:
''
//验证码
},
isVerifLogin
:
tru
e
,
//是否为验证码登录
isVerifLogin
:
fals
e
,
//是否为验证码登录
tips
:
'获取验证码'
,
disabled
:
false
,
//是否禁用获取验证码
}
...
...
@@ -155,6 +158,16 @@
//确认提交
submitForm
()
{
const
myUserPrivacy
=
this
.
$refs
.
myUserPrivacy
;
const
userAuth
=
myUserPrivacy
.
$data
.
userAuth
;
if
(
!
userAuth
)
{
uni
.
showToast
({
title
:
'请先详细阅读用户协议并同意授权'
,
icon
:
'none'
,
duration
:
2000
})
return
}
const
{
userName
,
password
,
phone
,
authCode
}
=
this
.
formData
if
(
!
this
.
onSubmitBeforeRule
(
userName
,
password
,
phone
,
authCode
))
return
//规则校验
let
{
projectMini
}
=
getApp
().
globalData
;
...
...
@@ -401,7 +414,7 @@
width
:
400rpx
;
height
:
300rpx
;
display
:
flex
;
margin
:
-
5
0px
0px
0px
60px
;
margin
:
-
10
0px
0px
0px
60px
;
}
.primary-description
{
font-size
:
28rpx
;
...
...
@@ -414,15 +427,19 @@
line-height
:
84rpx
;
margin
:
158rpx
0
85rpx
;
}
.container-subTitle
{
color
:
#817676
;
text-align
:
center
;
}
}
.user-info
{
width
:
100%
;
/* #ifdef MP */
margin-top
:
4
00rpx
;
margin-top
:
2
00rpx
;
/* #endif */
/* #ifdef H5 || APP-PLUS*/
margin-top
:
32
0rpx
;
margin-top
:
16
0rpx
;
/* #endif */
flex-wrap
:
wrap
;
...
...
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