Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
d869c435
Commit
d869c435
authored
Apr 12, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4b693209
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
pages/index/index.vue
+2
-2
index.vue
pages/share/index/index.vue
+1
-1
No files found.
pages/index/index.vue
View file @
d869c435
...
...
@@ -363,7 +363,7 @@
that
.
sharejump
();
//4-9新加
}
//4-11这里暂时不能使用
// wx.getUser
Profile
({//4-9修改 不使用getUserInfo 会造成获取回来的微信默认名称和头像
// wx.getUser
Info
({//4-9修改 不使用getUserInfo 会造成获取回来的微信默认名称和头像
// success: function(res) {//4-9之后的好像这里不能静默登录了需要弹出登录
// console.log(res,'getUserInfo')
// if (uni.getStorageSync("mall_UserInfo")) {
...
...
@@ -690,7 +690,7 @@
getorderPupop
(){
let
now
=
new
Date
()
let
Month
=
(
now
.
getMonth
()
+
1
)
<
10
?
'0'
+
(
now
.
getMonth
()
+
1
):
now
.
getMonth
()
+
1
let
day
=
now
.
getDate
()
<
10
?
'0'
+
now
.
getDate
():
now
.
getDate
()
+
1
let
day
=
now
.
getDate
()
<
10
?
'0'
+
now
.
getDate
():
now
.
getDate
()
let
nowtime
=
now
.
getFullYear
()
+
'-'
+
Month
+
'-'
+
day
+
' '
+
now
.
getHours
()
+
':'
+
now
.
getMinutes
()
+
':'
+
now
.
getSeconds
()
if
(
uni
.
getStorageSync
(
'order_old_time'
)){
let
oldtime
=
uni
.
getStorageSync
(
'order_old_time'
).
time
;
...
...
pages/share/index/index.vue
View file @
d869c435
...
...
@@ -320,7 +320,7 @@
if
(
openOfflineEarnings
==
1
){
//打开弹窗
let
now
=
new
Date
()
let
Month
=
(
now
.
getMonth
()
+
1
)
<
10
?
'0'
+
(
now
.
getMonth
()
+
1
):
now
.
getMonth
()
+
1
let
day
=
now
.
getDate
()
<
10
?
'0'
+
now
.
getDate
():
now
.
getDate
()
+
1
let
day
=
now
.
getDate
()
<
10
?
'0'
+
now
.
getDate
():
now
.
getDate
()
let
nowtime
=
now
.
getFullYear
()
+
'-'
+
Month
+
'-'
+
day
+
' '
+
now
.
getHours
()
+
':'
+
now
.
getMinutes
()
+
':'
+
now
.
getSeconds
()
if
(
uni
.
getStorageSync
(
'order_old_time'
)){
let
oldtime
=
uni
.
getStorageSync
(
'order_old_time'
).
time
;
...
...
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