begmoon 1 year ago
parent
commit
ca63a3c858
7 changed files with 14 additions and 10 deletions
  1. BIN
      pages/.DS_Store
  2. 2 2
      pages/apply/apply.wxml
  3. 7 4
      pages/login/user.js
  4. 1 1
      pages/message/message.wxml
  5. 2 1
      pages/signup/signup.js
  6. 1 1
      pages/user/user.wxml
  7. 1 1
      utils/api.js

BIN
pages/.DS_Store


+ 2 - 2
pages/apply/apply.wxml

@@ -39,7 +39,7 @@
         <view class="date">
           <text>自费参赛:每届{{info.player_price}}元,无需开户。</text>
           <text>免费参赛:在比赛券商开户参赛,可永久免报名费,佣金低-网速快-网上开户几分钟完成,可同时兼容同花顺-通达信,已开通创业板权限的可转签,具体操作请站内</text>
-          <navigator url="../message/message"><text class="change" >咨询顽主</text></navigator>
+          <navigator url="../message/message"><text class="change" >咨询我们</text></navigator>
           <text>
           已经取得免费参赛资格的老选手:含(开户选手,历届小组第一,倒数第一,种子选手,腰斩选手),请直接站内联系客服授权登记。</text>
         </view>
@@ -70,7 +70,7 @@
 
 <view class="title title1">3、 免费进入系统</view>
 <view class="date">在比赛合作方开户并使用,可永久免费浏览本系统,合作券商佣金低-网速快-网上开户几分钟完成,具体操作可站内
-<navigator url="../message/message"><text class="change" >咨询顽主</text></navigator>
+<navigator url="../message/message"><text class="change" >咨询我们</text></navigator>
 </view>
 <view class="title title1">4、 退款</view>
 <view class="date">游客使用系统三天内不满意,可申请退款,系统帐户收回。</view>

+ 7 - 4
pages/login/user.js

@@ -172,12 +172,15 @@ Page({
             return;
           }
 
+          var nopenid = res.data.data.openid
+          var nunionid = res.data.data.unionid
+
           _this.setData({
-            openid:res.data.data.openid,
-            unionid:res.data.data.unionid,
+            openid:nopenid,
+            unionid:nunionid,
           })
-          
-          $api.isUserLogin({openid:res.data.data.openid,unionid:res.data.data.unionid})
+          console.log(res.data.data.unionid,222)
+          $api.isUserLogin({openid:nopenid,unionid:nunionid})
           .then(res=>{
             wx.hideLoading();
             if (res.data.code != 0) {

+ 1 - 1
pages/message/message.wxml

@@ -11,7 +11,7 @@
         <view class="wz" wx:else>
             <image class="wzhead" src="../../images/wz.jpg" ></image>
             <view>
-                <text class="name">顽主</text>
+                <!-- <text class="name">顽主</text> -->
                 <view  wx:if="{{item.width > 0}}">
                   <image mode="widthFix" class="huipic" src="{{item.reply_content}}" catchtap="preview" data-urls='{{item.reply_content}}'></image>
                 </view>

+ 2 - 1
pages/signup/signup.js

@@ -110,7 +110,7 @@ Page({
           match_name:this.data.info.name
       }
       if(this.data.type == 2){
-          data.total_fee=this.data.info.player_price  
+          data.total_fee=this.data.info.player_price 
           data.signup_name=this.data.signup_name
       }
       // if (!data.match_group) {
@@ -134,6 +134,7 @@ Page({
         })
         return
       }
+      console.log(data,'aaaa')
       $api.wxpay(data).then(res=>{
           if(res.data.data.free){
             app.globalData.follow = 1

+ 1 - 1
pages/user/user.wxml

@@ -35,7 +35,7 @@
 
       <view class="list" style="padding:0 30rpx;background:#fff;">
         <navigator hover-class="none"  class="item" url="../message/message">
-            咨询顽主
+            咨询我们
               <button class="contactus"></button>
               <image mode="widthFix" src="../../images/right_icon.png"></image>
         </navigator>

+ 1 - 1
utils/api.js

@@ -6,7 +6,7 @@ const DELETE = 'DELETE';
 // wxb299e10e65157301
 // wx2938132b773c7b5a
 // const baseURL = 'https://wx.scxjc.club';
-// const baseURL = 'https://www.hunanwanzhu.com';
+// const baseURL = 'https://test.hunanwanzhu.com';
 const baseURL = 'https://api.hunanwanzhu.com';
 
 function request(method, url, data) {