xjc 3 лет назад
Родитель
Сommit
422de25321
2 измененных файлов с 11 добавлено и 11 удалено
  1. 7 7
      pages/style/style.js
  2. 4 4
      pages/style/style.wxml

+ 7 - 7
pages/style/style.js

@@ -163,13 +163,13 @@ Page({
       })
       return
     }
-    if (!form.account_img) {
-      wx.showToast({
-        title: '请上传账号截图',
-        icon: 'none'
-      })
-      return
-    }
+    // if (!form.account_img) {
+    //   wx.showToast({
+    //     title: '请上传账号截图',
+    //     icon: 'none'
+    //   })
+    //   return
+    // }
     wx.showLoading({
       title: '正在提交',
     })

+ 4 - 4
pages/style/style.wxml

@@ -39,12 +39,12 @@
 <view class="item" wx:if="{{form.is_player==1}}">
   <label>参赛金额</label>
   <view class="tags">
-      <input wx:if="{{!form.init_fund}}" type="digit" value="{{form.init_fund}}" bindinput="bindinput" placeholder-style="color:#999;" placeholder="请填写"></input>
-      <input wx:else disabled="{{true}}" style="background:#eee;" value="{{form.init_fund}}"></input>
+      <!-- <input wx:if="{{!form.init_fund}}" type="digit" value="{{form.init_fund}}" bindinput="bindinput" placeholder-style="color:#999;" placeholder="请填写"></input> -->
+      <input disabled="{{true}}" style="background:#eee;" value="{{form.init_fund}}"></input>
       <view style="color:red;font-size:23rpx;">比赛期间有资金进出请联系QQ客服除权,再提交作业</view>
   </view>
 </view>
-<view class="item">
+<!-- <view class="item">
   <label>账户截图</label>
   <view class="tags">
       <image class="account_img" wx:if='{{form.account_img}}' bindtap="preview" src="{{form.account_img}}"></image>
@@ -54,6 +54,6 @@
             上传图片
       </view>
   </view>
-</view>
+</view> -->
 <button bindtap="post" class="post_btn">确定</button>
 </view>