Commit d869c435 authored by Mac's avatar Mac

1

parent 4b693209
......@@ -363,7 +363,7 @@
that.sharejump();//4-9新加
}
//4-11这里暂时不能使用
// wx.getUserProfile({//4-9修改 不使用getUserInfo 会造成获取回来的微信默认名称和头像
// wx.getUserInfo({//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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment