suizhijia 5 anni fa
parent
commit
4339d516b4
28 ha cambiato i file con 132 aggiunte e 92 eliminazioni
  1. +4
    -3
      496_dongfengqichen/app.js
  2. +3
    -3
      496_dongfengqichen/pages/component/service/index.wxml
  3. +1
    -1
      496_dongfengqichen/pages/configure/configure.js
  4. +1
    -1
      496_dongfengqichen/pages/fragmentRule/fragmentRule.js
  5. +1
    -5
      496_dongfengqichen/pages/guess/guess.js
  6. +1
    -5
      496_dongfengqichen/pages/guessPrize/guessPrize.js
  7. +1
    -5
      496_dongfengqichen/pages/guessSecond/guessSecond.js
  8. +1
    -5
      496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.js
  9. +11
    -12
      496_dongfengqichen/pages/guessSecondResult/guessSecondResult.js
  10. +7
    -7
      496_dongfengqichen/pages/index/index.wxml
  11. +1
    -1
      496_dongfengqichen/pages/luckyStar/luckyStar.js
  12. +5
    -5
      496_dongfengqichen/pages/luckyStar/luckyStar.wxml
  13. +2
    -2
      496_dongfengqichen/pages/luckyStar/luckyStar.wxss
  14. +4
    -1
      496_dongfengqichen/pages/mobileVerification/mobileVerification.js
  15. +1
    -1
      496_dongfengqichen/pages/moreType/moreType.js
  16. +10
    -1
      496_dongfengqichen/pages/myCenter/myCenter.js
  17. +26
    -6
      496_dongfengqichen/pages/myCenter/myCenter.wxml
  18. +2
    -2
      496_dongfengqichen/pages/myCenter/myCenter.wxss
  19. +1
    -1
      496_dongfengqichen/pages/perfectMsg/perfectMsg.js
  20. +3
    -2
      496_dongfengqichen/pages/placingOrder/placingOrder.js
  21. +3
    -3
      496_dongfengqichen/pages/placingOrder/placingOrder.wxml
  22. +1
    -1
      496_dongfengqichen/pages/placingOrder/placingOrder.wxss
  23. +1
    -1
      496_dongfengqichen/pages/prizeDetail/prizeDetail.js
  24. +6
    -6
      496_dongfengqichen/pages/scout/scout.js
  25. +1
    -1
      496_dongfengqichen/pages/scout/share/share.js
  26. +19
    -6
      496_dongfengqichen/pages/star/star.js
  27. +14
    -4
      496_dongfengqichen/pages/supplement/supplement.js
  28. +1
    -1
      496_dongfengqichen/pages/vrLookCar/vrLookCar.js

+ 4
- 3
496_dongfengqichen/app.js Vedi File

@@ -123,6 +123,7 @@ App({
firstData:null
},
getSecondGuessInfoV2:null,//第二轮价格竞猜结果
phonebolb:false,
},
// 获取openId
getOpenid: function (code) {
@@ -256,8 +257,8 @@ App({
},
sharePack: function () {//分享
return {
title: '',
imageUrl: "",
title: '发现宝藏小程序!玩游戏赢好礼,来一起探寻更多惊喜吧!',
imageUrl: this.globalData.urlStatic+"/newImages6/25.png",
path: "/pages/index/index"
}
},
@@ -313,7 +314,7 @@ App({
},this)
},
getBuyState: function () {//查询是否已下订
this.wxRequest(this.globalData.urlRoot + "wxPay/getBuyState", {}, res => {
this.wxRequest(this.globalData.urlRoot + "wxPay/getBuyState", {source:2}, res => {
if (res.code == 200) {
if (res.data) {
res.data.cdate = res.data.cdate ? res.data.cdate : "";

+ 3
- 3
496_dongfengqichen/pages/component/service/index.wxml Vedi File

@@ -1,8 +1,8 @@
<!--pages/component/service/index.wxml-->
<view>
<image class="serviceIcon" bindtap="maskShow" src="{{imgUrl+'/newIcon/3.png'}}"></image>
<image class="serviceIcon" wx:if="{{nowPage!=1}}" bindtap="openYuyue" style="top:376rpx;" src="{{imgUrl+'/newIcon/4.png'}}"></image>
<image class="serviceIcon" wx:if="{{!buyState && nowPage==1}}" bindtap="placingControl" style="top:376rpx;" src="{{imgUrl+'/newImages3/41.png'}}"></image>
<image class="serviceIcon" style="top:376rpx;" bindtap="maskShow" src="{{imgUrl+'/newIcon/3.png'}}"></image>
<image class="serviceIcon" wx:if="{{nowPage!=1}}" bindtap="openYuyue" src="{{imgUrl+'/newIcon/4.png'}}"></image>
<image class="serviceIcon" wx:if="{{!buyState && nowPage==1}}" bindtap="placingControl" src="{{imgUrl+'/newImages6/28.png'}}"></image>
<view wx:if="{{maskState}}" class="maskGroup" catchtouchmove="ture">
<view class="contentGroup">
<image style="width:100%;height:100%;" src="{{imgUrl+'/images/serviceBg.png'}}"></image>

+ 1
- 1
496_dongfengqichen/pages/configure/configure.js Vedi File

@@ -72,7 +72,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
},
chooseType:function(e){
if (this.data.paramesSwitchNum == e.currentTarget.dataset.type) {

+ 1
- 1
496_dongfengqichen/pages/fragmentRule/fragmentRule.js Vedi File

@@ -62,7 +62,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
},
cutPage:function(){
if (app.globalData.entered){

+ 1
- 5
496_dongfengqichen/pages/guess/guess.js Vedi File

@@ -102,11 +102,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl:this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
return app.sharePack();
},
enterLucky:function(){//每日抽奖
wx.navigateTo({

+ 1
- 5
496_dongfengqichen/pages/guessPrize/guessPrize.js Vedi File

@@ -87,11 +87,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl: this.data.imgUrl + "/versions/guessShareImg.jpg",
path: "/pages/guess/guess"
}
return app.sharePack();
},
ruleControl:function(){//规则显示控制
this.setData({

+ 1
- 5
496_dongfengqichen/pages/guessSecond/guessSecond.js Vedi File

@@ -98,11 +98,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl: this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
return app.sharePack();
},
enterLucky:function(){//每日抽奖
wx.navigateTo({

+ 1
- 5
496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.js Vedi File

@@ -105,11 +105,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl: this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
return app.sharePack();
},
enterLucky:function(){//每日抽奖
wx.navigateTo({

+ 11
- 12
496_dongfengqichen/pages/guessSecondResult/guessSecondResult.js Vedi File

@@ -116,11 +116,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl: this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
return app.sharePack();
},
ruleControl:function(){//规则显示控制
this.setData({
@@ -210,13 +206,16 @@ Page({
}
},
goLuckyStar:function(){//领取上市好礼
if(app.globalData.getBuyState.success){
wx.navigateTo({
url: '/pages/luckyStar/luckyStar',
})
}else{
this.placingControl();
}
wx.reLaunch({
url: '/pages/index/index'
})
// if(app.globalData.getBuyState.success){
// wx.navigateTo({
// url: '/pages/luckyStar/luckyStar',
// })
// }else{
// this.placingControl();
// }
},
placingControl: function () {
if (app.globalData.getBuyState){

+ 7
- 7
496_dongfengqichen/pages/index/index.wxml Vedi File

@@ -4,13 +4,13 @@
<view class="contentFrame">
<view class="newImages2-76">
<!-- <image style="width:750rpx;height:10368rpx;" src="{{imgUrl+'/newImages4/16.png'}}"></image> -->
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages5/images/newImg_01.png?v=002'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages5/images/newImg_02.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages5/images/newImg_03.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages5/images/newImg_04.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages5/images/newImg_05.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages5/images/newImg_06.png'}}"></image>
<image style="width:750rpx;height:768rpx;" src="{{imgUrl+'/newImages5/images/newImg_07.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages6/images/newImg_01.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages6/images/newImg_02.png?v=002'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages6/images/newImg_03.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages6/images/newImg_04.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages6/images/newImg_05.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages6/images/newImg_06.png'}}"></image>
<image style="width:750rpx;height:768rpx;" src="{{imgUrl+'/newImages6/images/newImg_07.png'}}"></image>
</view>
<view class="videoGroup" bindtap="playVideo">
<image class="newImages2-108" animation="{{playBtnDeg}}" src="{{imgUrl+'/newImages3/32.png'}}"></image>

+ 1
- 1
496_dongfengqichen/pages/luckyStar/luckyStar.js Vedi File

@@ -572,7 +572,7 @@ Page({
})
},
getBuyState: function () {//查询是否已下订
app.wxRequest(app.globalData.urlRoot + "wxPay/getBuyState", {}, res => {
app.wxRequest(app.globalData.urlRoot + "wxPay/getBuyState", {source:2}, res => {
if (res.code == 200) {
if (res.data) {
this.setData({

+ 5
- 5
496_dongfengqichen/pages/luckyStar/luckyStar.wxml Vedi File

@@ -56,8 +56,8 @@
<image class="gameRuleIcon" src="{{imgUrl+'/newImages/47.png'}}"></image>
<image class="gameRuleClose" wx:if="{{ruleCloseShow}}" bindtap="closeRule" src="{{imgUrl+'/star/closebtn.png'}}"></image>
<view class="gameRuleGroup">
<view style="width: 452rpx;height: 1661rpx;">
<image class="newImages48" style="width: 100%;height: 100%;" src="{{imgUrl+'/newImages5/86.png'}}"></image>
<view style="width: 464rpx;height: 1660rpx;">
<image class="newImages48" style="width: 100%;height: 100%;" src="{{imgUrl+'/newImages6/36.png'}}"></image>
</view>
<view class="gameStrat" bindtap="closeRule">
<image style="width:100%;height:100%;" src="{{imgUrl+'/btns/gameStart.png'}}"></image>
@@ -78,10 +78,10 @@
</view>
</view>
<view class="successGroup" wx:if="{{pizeTip==2}}">
<image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType2.png?v=002'}}"></image>
<image class="luckyPizeType" style="width:487rpx;height:472rpx;" src="{{imgUrl+'/newImages6/38.png'}}"></image>
<image class="gameRuleClose" bindtap="closeWindow" style="top:-5rpx;right:-5rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image>
<view class="btnsGroup" style="justify-content:{{buyState && certificationInfo?'center':'space-between'}}">
<image class="luckyBtns" bindtap="enterIndex" wx:if="{{!buyState}}" src="{{imgUrl+'/btns/luckyBtns1.png'}}"></image>
<image class="luckyBtns" bindtap="enterIndex" wx:if="{{!buyState}}" src="{{imgUrl+'/newImages6/37.png'}}"></image>
<view class="startRegister" wx:if="{{buyState || certificationInfo}}">
<image style="width:100%;height:100%;" src="{{imgUrl+'/images/luckyPizeTip2.png'}}"></image>
<button open-type="share" class="shareBtn" style="width:100%;height:100%;margin:0;padding:0;min-height:0;"></button>
@@ -109,7 +109,7 @@
</view>
<view class="downTimeGroup" wx:if="{{!isChanceShow}}">
<view class="chanceGroup">
<image class="newImages44" src="{{imgUrl+'/newImages3/36.png'}}"></image>
<image class="newImages44" src="{{imgUrl+'/newImages6/39.png'}}"></image>
<image class="newImages45" bindtap="chanceShowControl" src="{{imgUrl+'/newImages/45.png'}}"></image>
<image class="gameRuleClose" bindtap="chanceShowControl" src="{{imgUrl+'/star/closebtn.png'}}"></image>
</view>

+ 2
- 2
496_dongfengqichen/pages/luckyStar/luckyStar.wxss Vedi File

@@ -388,7 +388,7 @@ view{
.btnsGroup{
height: 110rpx;
position: absolute;
top: 301rpx;
top: 351rpx;
display: flex;
align-items: center;
justify-content: space-between;
@@ -396,7 +396,7 @@ view{
z-index: 9;
}
.luckyBtns{
width: 296rpx;
width: 305rpx;
height: 50rpx;
}
.luckyBtnsGap{

+ 4
- 1
496_dongfengqichen/pages/mobileVerification/mobileVerification.js Vedi File

@@ -187,8 +187,11 @@ Page({
})
} else {
wx.redirectTo({
url: '../scout/register/register'
url: '/pages/supplement/supplement'
})
// wx.redirectTo({
// url: '../scout/register/register'
// })
}
}else{
wx.showToast({

+ 1
- 1
496_dongfengqichen/pages/moreType/moreType.js Vedi File

@@ -61,6 +61,6 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
}
})

+ 10
- 1
496_dongfengqichen/pages/myCenter/myCenter.js Vedi File

@@ -59,7 +59,7 @@ Page({
},
parames3:{
page:1,
count:5
count:20
},
noData:false,
noData2:false,
@@ -74,6 +74,8 @@ Page({
scoutRule:false,
vipDetailShow:false,
machineShow:false,
upgradeShow:false,
starMoveShow:false,
lookPrizeDetail:false,
lookIndex:null,
buyStateCouponCode:"",
@@ -1010,6 +1012,8 @@ Page({
this.machineHide();
}else if(this.data.couponList[index].couponId=="177275"){
this.upgradeHide();
}else if(this.data.couponList[index].couponId=="179478"){
this.starMoveHide();
}
},
vipDetailHide:function(){
@@ -1027,6 +1031,11 @@ Page({
upgradeShow:!this.data.upgradeShow
})
},
starMoveHide:function(){
this.setData({
starMoveShow:!this.data.starMoveShow
})
},
cardCodeCopy:function(){
this.contentCopy(this.data.couponListCode);
},

+ 26
- 6
496_dongfengqichen/pages/myCenter/myCenter.wxml Vedi File

@@ -158,12 +158,12 @@
</view>
</scroll-view>
</view>
<scroll-view class="placingOrderGroup" wx:if="{{selectNow==4}}" scroll-y bindscrolltolower="scrolltolower3">
<view class="orderDescGroup" wx:if="{{!couponList.length && !couponListState}}">
<image class="orderDesc" src="{{imgUrl+'/newImages5/59.png'}}"></image>
<image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image>
</view>
<view class="placingOrderGroupList" wx:if="{{couponList.length}}">
<view class="orderDescGroup" wx:if="{{selectNow==4 && !couponList.length && !couponListState}}">
<image class="orderDesc" src="{{imgUrl+'/newImages6/34.png'}}"></image>
<image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image>
</view>
<scroll-view class="placingOrderGroup" wx:if="{{selectNow==4 && couponList.length}}" scroll-y bindscrolltolower="scrolltolower3">
<view class="placingOrderGroupList">
<view wx:for="{{couponList}}" wx:key="index">
<view class="placingOrder" wx:if="{{item.couponId=='175978'}}">
<view style="display:flex;align-items:center;">
@@ -195,6 +195,16 @@
</view>
<image class="orderCard" data-index="{{index}}" bindtap="vipDetailControl" src="{{imgUrl+'/newImages3/48.png'}}"></image>
</view>
<view class="placingOrder" wx:if="{{item.couponId=='179478'}}">
<view style="display:flex;align-items:center;">
<image class="orderHead" src="{{imgUrl+'/newImages6/31.png'}}" mode="aspectFit"></image>
<view style="margin-left:15rpx;margin-right:101rpx;">
<view class="cardTitle">启辰星星动豪礼卡</view>
<view class="cardCtime">{{item.cdate}}</view>
</view>
</view>
<image class="orderCard" data-index="{{index}}" bindtap="vipDetailControl" src="{{imgUrl+'/newImages3/48.png'}}"></image>
</view>
</view>
</view>
</scroll-view>
@@ -281,6 +291,16 @@
</view>
<view class="cardCode" wx:if="{{couponListCode}}" style="left:168rpx;top:480rpx;font-size:20rpx;color:white;">{{couponListCode}}<view bindtap="cardCodeCopy" class="cardCodeCopy2">复制</view></view>
</view>
<view class="prizeDesc" style="background-color:white;display:block;overflow:auto;" wx:if="{{starMoveShow}}">
<view class="titleText">查看详情</view>
<view class="lineSty"></view>
<image class="closeXieyi" bindtap="starMoveHide" src="{{imgUrl+'/images/closeXieyi.png'}}"></image>
<view style="position:relative;">
<image style="width:750rpx;height:2190rpx;" src="{{imgUrl+'/newImages6/35.png'}}"></image>
<image class="newImages3-45" bindtap="starMoveHide" src="{{imgUrl+'/newImages3/45.png'}}"></image>
</view>
<view class="cardCode" wx:if="{{couponListCode}}">{{couponListCode}}<view bindtap="cardCodeCopy" class="cardCodeCopy">复制</view></view>
</view>
</view>
<agreement bindmyevent="agreementControl" wx:if="{{agreement}}"></agreement>
<userMsg bindaddress="addressControl" wx:if="{{addressShow}}"></userMsg>

+ 2
- 2
496_dongfengqichen/pages/myCenter/myCenter.wxss Vedi File

@@ -496,8 +496,8 @@ view{
padding-bottom: 64rpx;
}
.orderDesc{
width: 634rpx;
height: 1193rpx;
width: 673rpx;
height: 1202rpx;
margin-bottom: 81rpx;
}
/* .ranksList{

+ 1
- 1
496_dongfengqichen/pages/perfectMsg/perfectMsg.js Vedi File

@@ -114,7 +114,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
},
enterLucky:function(){//每日抽奖
wx.navigateTo({

+ 3
- 2
496_dongfengqichen/pages/placingOrder/placingOrder.js Vedi File

@@ -37,7 +37,8 @@ Component({
agent_code: "",//经销商编码
agentDetail: "",//经销商详细信息
parentOpenid: app.globalData.parentOpenid,//好友openid
scene: app.globalData.sceneSource
scene: app.globalData.sceneSource,
source:2,
},
getBuyState: false,
mobileType: 2
@@ -290,7 +291,7 @@ Component({
}, this, "POST")
},
paySuccess: function (e) {//支付成功
app.wxRequest(app.globalData.urlRoot + "wxPay/paySuccess", { trade_id:e},res=>{
app.wxRequest(app.globalData.urlRoot + "wxPay/paySuccess", { source:2,trade_id:e},res=>{
if(res.code==200){
// wx.showToast({
// title: '下订成功',

+ 3
- 3
496_dongfengqichen/pages/placingOrder/placingOrder.wxml Vedi File

@@ -73,17 +73,17 @@
<view class="receiveFrame" wx:if="{{getBuyState}}">
<view class="receiveGroup">
<image class="newImages12" bindtap="closePage" src="{{imgUrl+'/newImages/12.png'}}"></image>
<image class="newImages2-1" src="{{imgUrl+'/newImages3/55.png'}}"></image>
<image class="newImages2-1" src="{{imgUrl+'/newImages6/32.png'}}"></image>
<image class="newImages2-2" bindtap="enterMycenter" src="{{imgUrl+'/newImages3/3.png'}}"></image>
<image class="newImages2-3" bindtap="enterMycenter" src="{{imgUrl+'/newImages2/3.png'}}"></image>
</view>
</view>
<view class="tipFrame" wx:if="{{tipShow}}">
<view class="tipFrame" wx:if="{{!tipShow}}">
<view class="tipGroup">
<image class="closeTip" bindtap="tipShowControl" src="{{imgUrl+'/newImages4/15.png'}}"></image>
<image class="tipGroupBg" src="{{imgUrl+'/newImages4/12.png'}}"></image>
<view class="tipGroupContent">
<image class="tipGroupContentImg" src="{{imgUrl+'/newImages5/57.png'}}"></image>
<image class="tipGroupContentImg" src="{{imgUrl+'/newImages6/33.png'}}"></image>
<image class="tipGroupContentBtn" bindtap="tipShowControl2" src="{{imgUrl+'/newImages4/14.png'}}"></image>
</view>
</view>

+ 1
- 1
496_dongfengqichen/pages/placingOrder/placingOrder.wxss Vedi File

@@ -244,7 +244,7 @@
}
.tipGroupContentImg{
width: 633rpx;
height: 1910rpx;
height: 1826rpx;
}
.tipGroupContentBtn{
width: 429rpx;

+ 1
- 1
496_dongfengqichen/pages/prizeDetail/prizeDetail.js Vedi File

@@ -72,7 +72,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
},
showTypeControl:function(e){
this.setData({

+ 6
- 6
496_dongfengqichen/pages/scout/scout.js Vedi File

@@ -81,15 +81,15 @@ Page({
getPoster:function(){
console.log(this.data.authenticationStatus);
// return;
if (this.data.authenticationStatus) {
// if (this.data.authenticationStatus) {
wx.navigateTo({
url: '../poster/poster'
})
}else{
this.setData({
authenticationShow:true
})
}
// }else{
// this.setData({
// authenticationShow:true
// })
// }
},
// getCertificationInfo: function () {//查询认证状态
// app.wxRequest(app.globalData.urlRoot + 'userInfo/getCertificationInfo', {}, res => {

+ 1
- 1
496_dongfengqichen/pages/scout/share/share.js Vedi File

@@ -107,6 +107,6 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function() {
return app.sharePack();
}
})

+ 19
- 6
496_dongfengqichen/pages/star/star.js Vedi File

@@ -66,23 +66,36 @@ Page({
phonebolb:function(_phone){
app.wxRequest(app.globalData.urlRoot + "userInfo/getCertificationInfo", {}, res => {
if (res.code == 200) {
app.globalData.phonebolb = true;
app.globalData.authenticationStatus = res.data;
if (!app.globalData.certificationInfo) {
app.globalData.certificationInfo = true;
wx.setStorageSync("certificationInfo", true);
}
app.globalData.certificationState = res.data.certificationState;
wx.navigateTo({
url: '/pages/scout/scout'
})
if(!res.data || !res.data.agentDetail){
wx.navigateTo({
url: '/pages/supplement/supplement'
})
}else{
wx.navigateTo({
url: '/pages/scout/scout'
})
}
} else if (res.code == -307){
wx.navigateTo({
url: '/pages/mobileVerification/mobileVerification'
})
} else if (res.code == -308) {
wx.navigateTo({
url: '/pages/scout/register/register'
})
if(!res.data || !res.data.agentDetail){
wx.navigateTo({
url: '/pages/supplement/supplement'
})
}else{
wx.navigateTo({
url: '/pages/scout/register/register'
})
}
}else{
this.setData({isbtn: true})
}

+ 14
- 4
496_dongfengqichen/pages/supplement/supplement.js Vedi File

@@ -88,7 +88,7 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
},
agreementState: function () {//协议
this.setData({
@@ -221,9 +221,19 @@ Page({
// wx.navigateBack({
// delta: 1,
// })
wx.redirectTo({
url: '../poster/poster',
})
// wx.redirectTo({
// url: '../poster/poster',
// })

if(app.globalData.phonebolb){
wx.redirectTo({
url: '/pages/scout/scout'
})
}else{
wx.redirectTo({
url: '/pages/scout/register/register'
})
}
}else{
wx.showToast({
title: res.msg,

+ 1
- 1
496_dongfengqichen/pages/vrLookCar/vrLookCar.js Vedi File

@@ -61,6 +61,6 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return app.sharePack();
}
})

Loading…
Annulla
Salva