Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_wechat
Commits
8a669adc
Commit
8a669adc
authored
May 21, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
0117dda4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
login.vue
components/login/login.vue
+2
-0
noLogin.vue
components/noLogin/noLogin.vue
+2
-0
cleanManage.vue
pages/cleanManage/cleanManage.vue
+2
-2
index.vue
pages/useCoupon/index.vue
+1
-0
No files found.
components/login/login.vue
View file @
8a669adc
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
this
.
$refs
.
popupPhone
.
close
()
this
.
$refs
.
popupPhone
.
close
()
},
},
onGetPhoneNumber
(
e
){
onGetPhoneNumber
(
e
){
if
(
e
.
detail
.
errMsg
!==
"getPhoneNumber:ok"
)
return
;
let
that
=
this
;
let
that
=
this
;
this
.
phoneCode
=
e
.
detail
.
code
;
this
.
phoneCode
=
e
.
detail
.
code
;
wx
.
login
({
wx
.
login
({
...
@@ -85,6 +86,7 @@
...
@@ -85,6 +86,7 @@
phoneCode
:
this
.
phoneCode
,
phoneCode
:
this
.
phoneCode
,
type
:
"routine"
,
type
:
"routine"
,
}).
then
(
res
=>
{
}).
then
(
res
=>
{
uni
.
hideLoading
();
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
uni
.
setStorage
({
uni
.
setStorage
({
...
...
components/noLogin/noLogin.vue
View file @
8a669adc
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
})
})
},
},
onGetPhoneNumber
(
e
){
onGetPhoneNumber
(
e
){
if
(
e
.
detail
.
errMsg
!==
"getPhoneNumber:ok"
)
return
;
let
that
=
this
;
let
that
=
this
;
this
.
phoneCode
=
e
.
detail
.
code
;
this
.
phoneCode
=
e
.
detail
.
code
;
wx
.
login
({
wx
.
login
({
...
@@ -55,6 +56,7 @@
...
@@ -55,6 +56,7 @@
phoneCode
:
this
.
phoneCode
,
phoneCode
:
this
.
phoneCode
,
type
:
"routine"
,
type
:
"routine"
,
}).
then
(
res
=>
{
}).
then
(
res
=>
{
uni
.
hideLoading
();
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
uni
.
setStorageSync
(
'tokenHeaders'
,
"Authori-zation"
)
uni
.
setStorage
({
uni
.
setStorage
({
...
...
pages/cleanManage/cleanManage.vue
View file @
8a669adc
...
@@ -125,7 +125,7 @@ import moment from "@/common/moment";
...
@@ -125,7 +125,7 @@ import moment from "@/common/moment";
1
:
"#e51771"
,
1
:
"#e51771"
,
2
:
"#aaaaaa"
,
2
:
"#aaaaaa"
,
3
:
"#EE8A1A"
,
3
:
"#EE8A1A"
,
4
:
"#
ff49ef
"
,
4
:
"#
EE8A1A
"
,
5
:
"#ff0000"
,
5
:
"#ff0000"
,
6
:
"#999999"
,
6
:
"#999999"
,
},
},
...
@@ -153,7 +153,7 @@ import moment from "@/common/moment";
...
@@ -153,7 +153,7 @@ import moment from "@/common/moment";
{
{
label
:
"保洁中"
,
label
:
"保洁中"
,
status
:
4
,
status
:
4
,
color
:
"#
ff49ef
"
color
:
"#
EE8A1A
"
}
}
],
],
cleanStatusEnum
:{},
cleanStatusEnum
:{},
...
...
pages/useCoupon/index.vue
View file @
8a669adc
...
@@ -135,6 +135,7 @@
...
@@ -135,6 +135,7 @@
})
})
},
},
onLoading
(
d
)
{
onLoading
(
d
)
{
console
.
log
(
d
,
"d"
);
getUseCoupon
(
d
).
then
(
res
=>
{
getUseCoupon
(
d
).
then
(
res
=>
{
if
(
res
.
statusCode
==
200
)
{
if
(
res
.
statusCode
==
200
)
{
if
(
res
.
data
&&
res
.
data
.
data
.
length
)
{
if
(
res
.
data
&&
res
.
data
.
data
.
length
)
{
...
...
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