Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-customer-new-master
Commits
1e96d09e
Commit
1e96d09e
authored
Dec 23, 2024
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提示弹框
parent
ad8d8ccd
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
94 additions
and
93 deletions
+94
-93
changeTel.vue
src/pages/changeTel/changeTel.vue
+6
-6
create_order.vue
src/pages/create_order/create_order.vue
+35
-34
login.vue
src/pages/deletion/login.vue
+4
-4
editPsd.vue
src/pages/editPsd/editPsd.vue
+4
-4
edit_control.vue
src/pages/edit_control/edit_control.vue
+3
-3
edit_mail.vue
src/pages/edit_mail/edit_mail.vue
+4
-4
login.vue
src/pages/login/login.vue
+1
-1
order.vue
src/pages/order/order.vue
+13
-13
price_inquiry.vue
src/pages/price_inquiry/price_inquiry.vue
+9
-9
shareRegister.vue
src/pages/register/shareRegister.vue
+7
-7
site.vue
src/pages/site/site.vue
+3
-3
telcode.vue
src/pages/telcode/telcode.vue
+5
-5
No files found.
src/pages/changeTel/changeTel.vue
View file @
1e96d09e
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
if
(
this
.
mobile
==
''
){
if
(
this
.
mobile
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
leftTime
<
60
)
{
if
(
this
.
leftTime
<
60
)
{
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
})
})
...
@@ -176,25 +176,25 @@
...
@@ -176,25 +176,25 @@
if
(
this
.
oldMobile
==
''
){
if
(
this
.
oldMobile
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
code
==
''
){
if
(
this
.
code
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
password
==
''
){
if
(
this
.
password
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
password
,
title
:
this
.
$lang
.
lang
.
notices
.
password
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
mobile
==
''
){
if
(
this
.
mobile
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPhone
,
title
:
this
.
$lang
.
lang
.
notices
.
newPhone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
agree
){
if
(
!
this
.
agree
){
...
...
src/pages/create_order/create_order.vue
View file @
1e96d09e
...
@@ -465,7 +465,8 @@
...
@@ -465,7 +465,8 @@
<view
class=
"corder-v5-v corder-picker"
>
<view
class=
"corder-v5-v corder-picker"
>
<view
class=
"corder-v5-label"
><span
class=
"redcolor"
>
*
</span>
{{$lang.lang.create.date}}
</view>
<view
class=
"corder-v5-label"
><span
class=
"redcolor"
>
*
</span>
{{$lang.lang.create.date}}
</view>
<picker
mode=
"date"
class=
"date-picker"
:value=
"date"
:start=
"startDate"
:end=
"endDate"
@
change=
"bindDateChange"
>
<picker
mode=
"date"
class=
"date-picker"
:value=
"date"
:start=
"startDate"
:end=
"endDate"
@
change=
"bindDateChange"
>
<view
class=
"uni-input"
>
{{params.deliveryDate ? params.deliveryDate.split(" ")[0] : '请选择'}}
</view>
<view
class=
"uni-input"
>
{{params.deliveryDate ? params.deliveryDate.split(" ")[0] : $lang.lang.create.choose}}
</view>
</picker>
</picker>
<image
class=
"rgt"
src=
"../../static/img/rgt.png"
mode=
"widthFix"
></image>
<image
class=
"rgt"
src=
"../../static/img/rgt.png"
mode=
"widthFix"
></image>
</view>
</view>
...
@@ -1354,7 +1355,7 @@ export default {
...
@@ -1354,7 +1355,7 @@ export default {
that
.
isClick
=
false
that
.
isClick
=
false
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
})
})
...
@@ -1370,7 +1371,7 @@ export default {
...
@@ -1370,7 +1371,7 @@ export default {
if
(
res
.
code
!=
0
){
if
(
res
.
code
!=
0
){
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
})
})
...
@@ -1749,7 +1750,7 @@ export default {
...
@@ -1749,7 +1750,7 @@ export default {
if
(
this
.
hasConsignee
&&
!
this
.
params
.
consigneeName
){
if
(
this
.
hasConsignee
&&
!
this
.
params
.
consigneeName
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
consignee
,
title
:
this
.
$lang
.
lang
.
notices
.
consignee
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
hasConsignee
&&
!
this
.
params
.
countryCode
){
if
(
this
.
hasConsignee
&&
!
this
.
params
.
countryCode
){
...
@@ -1759,12 +1760,12 @@ export default {
...
@@ -1759,12 +1760,12 @@ export default {
if
(
this
.
hasConsignee
&&
!
this
.
params
.
consigneePhone
){
if
(
this
.
hasConsignee
&&
!
this
.
params
.
consigneePhone
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
consigneePhone
,
title
:
this
.
$lang
.
lang
.
notices
.
consigneePhone
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
/*else if(!this.params.isCargoControl && this.params.countryCode==this.config.countrySn.value[0]){
}
/*else if(!this.params.isCargoControl && this.params.countryCode==this.config.countrySn.value[0]){
return uni.showToast({
return uni.showToast({
title: this.$lang.lang.notices.foreignConsignee,
title: this.$lang.lang.notices.foreignConsignee,
icon:
'error'
,
icon:
"none"
,
})
})
}*/
}*/
...
@@ -1774,7 +1775,7 @@ export default {
...
@@ -1774,7 +1775,7 @@ export default {
if
(
!
email_reg
.
test
(
this
.
params
.
consigneeEmail
))
{
if
(
!
email_reg
.
test
(
this
.
params
.
consigneeEmail
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
noEmail
,
title
:
this
.
$lang
.
lang
.
notices
.
noEmail
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
}
}
...
@@ -1790,7 +1791,7 @@ export default {
...
@@ -1790,7 +1791,7 @@ export default {
if
(
isNotAcceptGoods
){
if
(
isNotAcceptGoods
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
isClude
,
title
:
this
.
$lang
.
lang
.
notices
.
isClude
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
...
@@ -1798,60 +1799,60 @@ export default {
...
@@ -1798,60 +1799,60 @@ export default {
if
(
!
this
.
params
.
transportId
)
{
if
(
!
this
.
params
.
transportId
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
transport
,
title
:
this
.
$lang
.
lang
.
notices
.
transport
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
// if(this.params.transportId>2&&!this.params.channelId){
// if(this.params.transportId>2&&!this.params.channelId){
// return uni.showToast({
// return uni.showToast({
// title: this.$lang.lang.notices.channel,
// title: this.$lang.lang.notices.channel,
// icon:
'error'
,
// icon:
"none"
,
// })
// })
// }
// }
if
(
this
.
params
.
lineId
==
''
||
this
.
params
.
lineId
==
null
){
if
(
this
.
params
.
lineId
==
''
||
this
.
params
.
lineId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
lined
,
title
:
this
.
$lang
.
lang
.
notices
.
lined
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
params
.
departureId
==
''
||
this
.
params
.
departureId
==
null
){
if
(
this
.
params
.
departureId
==
''
||
this
.
params
.
departureId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
startCity
,
title
:
this
.
$lang
.
lang
.
notices
.
startCity
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
params
.
objectiveId
==
''
||
this
.
params
.
objectiveId
==
null
){
if
(
this
.
params
.
objectiveId
==
''
||
this
.
params
.
objectiveId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
endCity
,
title
:
this
.
$lang
.
lang
.
notices
.
endCity
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
// if(this.params.number==''||this.params.number==null){
// if(this.params.number==''||this.params.number==null){
// return uni.showToast({
// return uni.showToast({
// title: '请输入快递单号',
// title: '请输入快递单号',
// icon:
'error'
,
// icon:
"none"
,
// })
// })
// }
// }
if
(
this
.
params
.
marks
==
''
||
this
.
params
.
marks
==
null
){
if
(
this
.
params
.
marks
==
''
||
this
.
params
.
marks
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
marksIn
,
title
:
this
.
$lang
.
lang
.
notices
.
marksIn
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
/*else if(parseFloat(this.params.marks.slice(0,1)).toString() != "NaN"){
}
/*else if(parseFloat(this.params.marks.slice(0,1)).toString() != "NaN"){
return uni.showToast({
return uni.showToast({
title: this.$lang.lang.notices.marksNum,
title: this.$lang.lang.notices.marksNum,
icon:
'error'
,
icon:
"none"
,
})
})
}*/
}*/
if
(
this
.
params
.
customsType
==
''
||
this
.
params
.
customsType
==
null
){
if
(
this
.
params
.
customsType
==
''
||
this
.
params
.
customsType
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
customsType
,
title
:
this
.
$lang
.
lang
.
notices
.
customsType
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
params
.
deliveryDate
==
''
||
this
.
params
.
deliveryDate
==
null
){
if
(
this
.
params
.
deliveryDate
==
''
||
this
.
params
.
deliveryDate
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
date
,
title
:
this
.
$lang
.
lang
.
notices
.
date
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
params
.
isCargoControl
){
if
(
this
.
params
.
isCargoControl
){
...
@@ -1883,13 +1884,13 @@ export default {
...
@@ -1883,13 +1884,13 @@ export default {
if
(
!
this
.
params
.
collectionProxy
){
if
(
!
this
.
params
.
collectionProxy
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
create
.
needCollectionAmount
,
title
:
this
.
$lang
.
lang
.
create
.
needCollectionAmount
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
!
this
.
params
.
collectionProxyCurrency
){
if
(
!
this
.
params
.
collectionProxyCurrency
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
create
.
needCollectionCurrency
,
title
:
this
.
$lang
.
lang
.
create
.
needCollectionCurrency
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
}
}
...
@@ -2275,7 +2276,7 @@ export default {
...
@@ -2275,7 +2276,7 @@ export default {
if
(
this
.
goodsModel
.
prodTitle
==
''
){
if
(
this
.
goodsModel
.
prodTitle
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
shopname
,
title
:
this
.
$lang
.
lang
.
notices
.
shopname
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
goodsModel
.
brandType
==
''
||
this
.
goodsModel
.
brandType
==
null
){
if
(
this
.
goodsModel
.
brandType
==
''
||
this
.
goodsModel
.
brandType
==
null
){
...
@@ -2293,7 +2294,7 @@ export default {
...
@@ -2293,7 +2294,7 @@ export default {
if
(
this
.
goodsModel
.
num
==
''
||
this
.
goodsModel
.
num
==
null
){
if
(
this
.
goodsModel
.
num
==
''
||
this
.
goodsModel
.
num
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
num
,
title
:
this
.
$lang
.
lang
.
notices
.
num
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
else
if
(
this
.
goodsModel
.
num
<=
0
||
Math
.
floor
(
this
.
goodsModel
.
num
)
!=
this
.
goodsModel
.
num
){
}
else
if
(
this
.
goodsModel
.
num
<=
0
||
Math
.
floor
(
this
.
goodsModel
.
num
)
!=
this
.
goodsModel
.
num
){
console
.
log
(
Math
.
floor
(
this
.
goodsModel
.
num
)
!=
this
.
goodsModel
.
num
)
console
.
log
(
Math
.
floor
(
this
.
goodsModel
.
num
)
!=
this
.
goodsModel
.
num
)
...
@@ -2304,7 +2305,7 @@ export default {
...
@@ -2304,7 +2305,7 @@ export default {
if
(
this
.
goodsModel
.
unit
==
''
||
this
.
goodsModel
.
unit
==
null
){
if
(
this
.
goodsModel
.
unit
==
''
||
this
.
goodsModel
.
unit
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
unit
,
title
:
this
.
$lang
.
lang
.
notices
.
unit
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
...
@@ -2326,7 +2327,7 @@ export default {
...
@@ -2326,7 +2327,7 @@ export default {
if
(
this
.
goodsModel
.
worth
==
''
||
this
.
goodsModel
.
worth
==
null
){
if
(
this
.
goodsModel
.
worth
==
''
||
this
.
goodsModel
.
worth
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
works
,
title
:
this
.
$lang
.
lang
.
notices
.
works
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
else
if
(
this
.
goodsModel
.
worth
<=
0
){
}
else
if
(
this
.
goodsModel
.
worth
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
...
@@ -2454,31 +2455,31 @@ export default {
...
@@ -2454,31 +2455,31 @@ export default {
if
(
!
this
.
params
.
transportId
)
{
if
(
!
this
.
params
.
transportId
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
transport
,
title
:
this
.
$lang
.
lang
.
notices
.
transport
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
// if(this.params.transportId>2&&!this.params.channelId){
// if(this.params.transportId>2&&!this.params.channelId){
// return uni.showToast({
// return uni.showToast({
// title: this.$lang.lang.notices.channel,
// title: this.$lang.lang.notices.channel,
// icon:
'error'
,
// icon:
"none"
,
// })
// })
// }
// }
if
(
this
.
params
.
departureId
==
''
||
this
.
params
.
departureId
==
null
){
if
(
this
.
params
.
departureId
==
''
||
this
.
params
.
departureId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
startCity
,
title
:
this
.
$lang
.
lang
.
notices
.
startCity
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
params
.
objectiveId
==
''
||
this
.
params
.
objectiveId
==
null
){
if
(
this
.
params
.
objectiveId
==
''
||
this
.
params
.
objectiveId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
endCity
,
title
:
this
.
$lang
.
lang
.
notices
.
endCity
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
params
.
lineId
==
''
||
this
.
params
.
lineId
==
null
){
if
(
this
.
params
.
lineId
==
''
||
this
.
params
.
lineId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
lined
,
title
:
this
.
$lang
.
lang
.
notices
.
lined
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
this
.
goodsEditIndex
=
index
this
.
goodsEditIndex
=
index
...
@@ -2555,7 +2556,7 @@ export default {
...
@@ -2555,7 +2556,7 @@ export default {
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
})
})
...
@@ -2567,19 +2568,19 @@ export default {
...
@@ -2567,19 +2568,19 @@ export default {
if
(
this
.
conForm
.
name
==
''
||
this
.
conForm
.
name
==
null
){
if
(
this
.
conForm
.
name
==
''
||
this
.
conForm
.
name
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
name
,
title
:
this
.
$lang
.
lang
.
notices
.
name
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
conForm
.
phone
==
''
||
this
.
conForm
.
phone
==
null
){
if
(
this
.
conForm
.
phone
==
''
||
this
.
conForm
.
phone
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
if
(
this
.
conForm
.
email
==
''
||
this
.
conForm
.
email
==
null
){
if
(
this
.
conForm
.
email
==
''
||
this
.
conForm
.
email
==
null
){
// return uni.showToast({
// return uni.showToast({
// title: this.$lang.lang.notices.email,
// title: this.$lang.lang.notices.email,
// icon:
'error'
,
// icon:
"none"
,
// })
// })
}
else
{
}
else
{
let
email_reg
=
/^
\w
+
((
-
\w
+
)
|
(\.\w
+
))
*
\@[
A-Za-z0-9
]
+
((\.
|-
)[
A-Za-z0-9
]
+
)
*
\.[
A-Za-z0-9
]
+$/
;
let
email_reg
=
/^
\w
+
((
-
\w
+
)
|
(\.\w
+
))
*
\@[
A-Za-z0-9
]
+
((\.
|-
)[
A-Za-z0-9
]
+
)
*
\.[
A-Za-z0-9
]
+$/
;
...
@@ -2587,7 +2588,7 @@ export default {
...
@@ -2587,7 +2588,7 @@ export default {
if
(
!
email_reg
.
test
(
this
.
conForm
.
email
))
{
if
(
!
email_reg
.
test
(
this
.
conForm
.
email
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
noEmail
,
title
:
this
.
$lang
.
lang
.
notices
.
noEmail
,
icon
:
'
error
'
,
icon
:
"
none
"
,
})
})
}
}
}
}
...
...
src/pages/deletion/login.vue
View file @
1e96d09e
...
@@ -240,21 +240,21 @@ export default {
...
@@ -240,21 +240,21 @@ export default {
if
(
this
.
mobile
==
''
)
{
if
(
this
.
mobile
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
password
==
''
&&
this
.
loginType
==
1
)
{
if
(
this
.
password
==
''
&&
this
.
loginType
==
1
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
password
,
title
:
this
.
$lang
.
lang
.
notices
.
password
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
code
==
''
&&
this
.
loginType
==
2
)
{
if
(
this
.
code
==
''
&&
this
.
loginType
==
2
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
...
@@ -288,7 +288,7 @@ export default {
...
@@ -288,7 +288,7 @@ export default {
if
(
this
.
mobile
==
''
)
{
if
(
this
.
mobile
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
leftTime
<
60
)
{
if
(
this
.
leftTime
<
60
)
{
...
...
src/pages/editPsd/editPsd.vue
View file @
1e96d09e
...
@@ -75,27 +75,27 @@
...
@@ -75,27 +75,27 @@
if
(
this
.
oldPassword
==
''
){
if
(
this
.
oldPassword
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
oldPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
oldPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
password
==
''
){
if
(
this
.
password
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
else
{
}
else
{
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
if
(
!
reg1
.
test
(
this
.
password
))
{
if
(
!
reg1
.
test
(
this
.
password
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
}
}
if
(
this
.
password2
==
''
){
if
(
this
.
password2
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
password
!=
this
.
password2
){
if
(
this
.
password
!=
this
.
password2
){
...
...
src/pages/edit_control/edit_control.vue
View file @
1e96d09e
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
if
(
this
.
password
==
''
){
if
(
this
.
password
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
else
{
}
else
{
console
.
log
(
this
.
password
)
console
.
log
(
this
.
password
)
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
if
(
!
reg1
.
test
(
this
.
password
))
{
if
(
!
reg1
.
test
(
this
.
password
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
}
}
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
if
(
this
.
password2
==
''
){
if
(
this
.
password2
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
password
!=
this
.
password2
){
if
(
this
.
password
!=
this
.
password2
){
...
...
src/pages/edit_mail/edit_mail.vue
View file @
1e96d09e
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
if
(
this
.
mail
==
''
){
if
(
this
.
mail
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
email
,
title
:
this
.
$lang
.
lang
.
notices
.
email
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
leftTime
<
60
)
{
if
(
this
.
leftTime
<
60
)
{
...
@@ -86,20 +86,20 @@
...
@@ -86,20 +86,20 @@
if
(
this
.
code
==
''
){
if
(
this
.
code
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
mail
==
''
){
if
(
this
.
mail
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
email
,
title
:
this
.
$lang
.
lang
.
notices
.
email
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
else
{
}
else
{
let
email_reg
=
/
[
a-zA-Z0-9
]
+
([
-_.
][
A-Za-zd
]
+
)
*@
([
a-zA-Z0-9
]
+
[
-.
])
+
[
A-Za-zd
]{2,5}
$/
let
email_reg
=
/
[
a-zA-Z0-9
]
+
([
-_.
][
A-Za-zd
]
+
)
*@
([
a-zA-Z0-9
]
+
[
-.
])
+
[
A-Za-zd
]{2,5}
$/
if
(
!
email_reg
.
test
(
this
.
mail
))
{
if
(
!
email_reg
.
test
(
this
.
mail
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
noEmail
,
title
:
this
.
$lang
.
lang
.
notices
.
noEmail
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
}
}
...
...
src/pages/login/login.vue
View file @
1e96d09e
...
@@ -271,7 +271,7 @@ export default {
...
@@ -271,7 +271,7 @@ export default {
if
(
this
.
code
==
''
&&
this
.
loginType
==
2
)
{
if
(
this
.
code
==
''
&&
this
.
loginType
==
2
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
...
...
src/pages/order/order.vue
View file @
1e96d09e
...
@@ -638,45 +638,45 @@
...
@@ -638,45 +638,45 @@
if
(
!
this
.
lendingFrom
.
consigneeName
){
if
(
!
this
.
lendingFrom
.
consigneeName
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
consignee
,
title
:
this
.
$lang
.
lang
.
notices
.
consignee
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
lendingFrom
.
consigneePhone
){
if
(
!
this
.
lendingFrom
.
consigneePhone
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
consigneePhone
,
title
:
this
.
$lang
.
lang
.
notices
.
consigneePhone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
lendingFrom
.
pickNum
){
if
(
!
this
.
lendingFrom
.
pickNum
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
sum
,
title
:
this
.
$lang
.
lang
.
notices
.
sum
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
lendingFrom
.
pickWeight
){
if
(
!
this
.
lendingFrom
.
pickWeight
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
weight
,
title
:
this
.
$lang
.
lang
.
notices
.
weight
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
lendingFrom
.
pickVolume
){
if
(
!
this
.
lendingFrom
.
pickVolume
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
volume
,
title
:
this
.
$lang
.
lang
.
notices
.
volume
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
lendingFrom
.
code
&&!
this
.
lendingFrom
.
controlPassword
){
if
(
!
this
.
lendingFrom
.
code
&&!
this
.
lendingFrom
.
controlPassword
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
order
.
controlNotice
,
title
:
this
.
$lang
.
lang
.
order
.
controlNotice
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
lendingFrom
.
pickNum
>
(
this
.
selectOrder
.
sumNum
-
this
.
releaseData
.
releaseNum
))
if
(
this
.
lendingFrom
.
pickNum
>
(
this
.
selectOrder
.
sumNum
-
this
.
releaseData
.
releaseNum
))
{
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
conNotice
,
title
:
this
.
$lang
.
lang
.
notices
.
conNotice
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
this
.
$refs
.
lendingNotice
.
open
()
this
.
$refs
.
lendingNotice
.
open
()
...
@@ -697,7 +697,7 @@
...
@@ -697,7 +697,7 @@
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
})
})
...
@@ -726,7 +726,7 @@
...
@@ -726,7 +726,7 @@
if
(
!
this
.
transferFrom
.
phone
){
if
(
!
this
.
transferFrom
.
phone
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newControlTel
,
title
:
this
.
$lang
.
lang
.
notices
.
newControlTel
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
this
.
transferFrom
.
dialCode
=
this
.
transferFrom
.
dialCode
||
'
86
'
,
this
.
transferFrom
.
dialCode
=
this
.
transferFrom
.
dialCode
||
'
86
'
,
...
@@ -736,7 +736,7 @@
...
@@ -736,7 +736,7 @@
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
})
})
...
@@ -745,13 +745,13 @@
...
@@ -745,13 +745,13 @@
if
(
!
this
.
transferFrom
.
name
){
if
(
!
this
.
transferFrom
.
name
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newControl
,
title
:
this
.
$lang
.
lang
.
notices
.
newControl
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
transferFrom
.
controlPassword
&&!
this
.
transferFrom
.
code
){
if
(
!
this
.
transferFrom
.
controlPassword
&&!
this
.
transferFrom
.
code
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
order
.
controlNotice
,
title
:
this
.
$lang
.
lang
.
order
.
controlNotice
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
...
@@ -807,7 +807,7 @@
...
@@ -807,7 +807,7 @@
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
})
})
...
...
src/pages/price_inquiry/price_inquiry.vue
View file @
1e96d09e
...
@@ -375,56 +375,56 @@
...
@@ -375,56 +375,56 @@
if
(
this
.
params
.
departureId
==
''
||
this
.
params
.
departureId
==
null
){
if
(
this
.
params
.
departureId
==
''
||
this
.
params
.
departureId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
startCity
,
title
:
this
.
$lang
.
lang
.
notices
.
startCity
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
params
.
objectiveId
==
''
||
this
.
params
.
objectiveId
==
null
){
if
(
this
.
params
.
objectiveId
==
''
||
this
.
params
.
objectiveId
==
null
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
endCity
,
title
:
this
.
$lang
.
lang
.
notices
.
endCity
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
prodId
){
if
(
!
this
.
params
.
prodId
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
shopname
,
title
:
this
.
$lang
.
lang
.
notices
.
shopname
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
weight
&&
this
.
params
.
weight
<=
0
){
if
(
!
this
.
params
.
weight
&&
this
.
params
.
weight
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
weight
,
title
:
this
.
$lang
.
lang
.
notices
.
weight
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
num
&&
this
.
params
.
num
<=
0
){
if
(
!
this
.
params
.
num
&&
this
.
params
.
num
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
num
,
title
:
this
.
$lang
.
lang
.
notices
.
num
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
quantity
&&
this
.
params
.
quantity
<=
0
){
if
(
!
this
.
params
.
quantity
&&
this
.
params
.
quantity
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
goodsSum
,
title
:
this
.
$lang
.
lang
.
notices
.
goodsSum
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
long
&&
this
.
params
.
long
<=
0
){
if
(
!
this
.
params
.
long
&&
this
.
params
.
long
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
long
,
title
:
this
.
$lang
.
lang
.
notices
.
long
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
wide
&&
this
.
params
.
wide
<=
0
){
if
(
!
this
.
params
.
wide
&&
this
.
params
.
wide
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
wide
,
title
:
this
.
$lang
.
lang
.
notices
.
wide
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
!
this
.
params
.
high
&&
this
.
params
.
high
<=
0
){
if
(
!
this
.
params
.
high
&&
this
.
params
.
high
<=
0
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
height
,
title
:
this
.
$lang
.
lang
.
notices
.
height
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
params
.
long
&&
this
.
params
.
wide
&&
this
.
params
.
high
){
if
(
this
.
params
.
long
&&
this
.
params
.
wide
&&
this
.
params
.
high
){
...
...
src/pages/register/shareRegister.vue
View file @
1e96d09e
...
@@ -207,7 +207,7 @@ export default {
...
@@ -207,7 +207,7 @@ export default {
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
})
})
...
@@ -216,7 +216,7 @@ export default {
...
@@ -216,7 +216,7 @@ export default {
if
(
this
.
mobile
==
''
)
{
if
(
this
.
mobile
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
leftTime
<
60
)
{
if
(
this
.
leftTime
<
60
)
{
...
@@ -245,32 +245,32 @@ export default {
...
@@ -245,32 +245,32 @@ export default {
if
(
this
.
mobile
==
''
)
{
if
(
this
.
mobile
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
code
==
''
)
{
if
(
this
.
code
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
password
==
''
)
{
if
(
this
.
password
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
password
,
title
:
this
.
$lang
.
lang
.
notices
.
password
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
passworded
==
''
)
{
if
(
this
.
passworded
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nextPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
nextPsd
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
else
{
}
else
{
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
if
(
!
reg1
.
test
(
this
.
passworded
))
{
if
(
!
reg1
.
test
(
this
.
passworded
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
}
}
...
...
src/pages/site/site.vue
View file @
1e96d09e
...
@@ -537,21 +537,21 @@ export default {
...
@@ -537,21 +537,21 @@ export default {
if
(
this
.
password
==
''
)
{
if
(
this
.
password
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
password
,
title
:
this
.
$lang
.
lang
.
notices
.
password
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
else
{
}
else
{
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
if
(
!
reg1
.
test
(
this
.
password
))
{
if
(
!
reg1
.
test
(
this
.
password
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
}
}
if
(
this
.
password2
==
''
)
{
if
(
this
.
password2
==
''
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nextPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
nextPsd
,
icon
:
'
error
'
icon
:
'
none
'
})
})
}
}
if
(
this
.
password
!=
this
.
password2
)
{
if
(
this
.
password
!=
this
.
password2
)
{
...
...
src/pages/telcode/telcode.vue
View file @
1e96d09e
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
title
:
this
.
$lang
.
lang
.
notices
.
nophone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
})
})
...
@@ -146,27 +146,27 @@
...
@@ -146,27 +146,27 @@
if
(
this
.
code
==
''
){
if
(
this
.
code
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
password
==
''
){
if
(
this
.
password
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
else
{
}
else
{
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
var
reg1
=
new
RegExp
(
'
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
'
)
if
(
!
reg1
.
test
(
this
.
password
))
{
if
(
!
reg1
.
test
(
this
.
password
))
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
}
}
if
(
this
.
password2
==
''
){
if
(
this
.
password2
==
''
){
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
title
:
this
.
$lang
.
lang
.
notices
.
newPsd
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
})
}
}
if
(
this
.
password
!=
this
.
password2
){
if
(
this
.
password
!=
this
.
password2
){
...
...
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