Selaa lähdekoodia

[首页][修改]:[代码整理]

tags/江西版6.1.0
meo 6 vuotta sitten
vanhempi
commit
fa0f4d9051
2 muutettua tiedostoa jossa 6 lisäystä ja 8 poistoa
  1. +6
    -5
      pages/index/index.js
  2. +0
    -3
      pages/main/index.js

+ 6
- 5
pages/index/index.js Näytä tiedosto

@@ -74,13 +74,14 @@ Page({
onShow(){ onShow(){
let that = this; let that = this;
that.userLogin(); that.userLogin();
console.log("onshow-----------------------------------login")
}, },
checkuserstatus(options) { checkuserstatus(options) {
let that = this;
Http.get({
url: config.api.checkUserStatus,
data: {}
})
let that = this;
Http.get({
url: config.api.checkUserStatus,
data: {}
})
.then(res => { .then(res => {
//参与拼团 //参与拼团
if (options && options.orderGroupId) { if (options && options.orderGroupId) {


+ 0
- 3
pages/main/index.js Näytä tiedosto

@@ -315,9 +315,7 @@ Page({
*/ */
userLogin: function(couponChannelId, couponId, orderId) { userLogin: function(couponChannelId, couponId, orderId) {
var that = this; var that = this;
// 登录
that.getmemberId(app.globalData.token); that.getmemberId(app.globalData.token);
// that.checkUserCarStatus();
that.getUserInfo(); that.getUserInfo();
that.getBannerlist(); that.getBannerlist();
that.topicShow(); that.topicShow();
@@ -600,7 +598,6 @@ Page({
return { return {
title: this.data.weappShareTitle, title: this.data.weappShareTitle,
imageUrl: this.data.weappShareCoverImg, imageUrl: this.data.weappShareCoverImg,
// desc: this.data.desc,
success: function(res) { success: function(res) {
wx.showToast({ wx.showToast({
title: "分享成功", title: "分享成功",


Ladataan…
Peruuta
Tallenna