소스 검색

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

tags/江西版6.1.0
meo 6 년 전
부모
커밋
fa0f4d9051
2개의 변경된 파일6개의 추가작업 그리고 8개의 파일을 삭제
  1. +6
    -5
      pages/index/index.js
  2. +0
    -3
      pages/main/index.js

+ 6
- 5
pages/index/index.js 파일 보기

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


+ 0
- 3
pages/main/index.js 파일 보기

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


불러오는 중...
취소
저장