cmy 1 month ago
parent
commit
e4799ec1ba
3 changed files with 18 additions and 8 deletions
  1. 3 3
      manifest.json
  2. 2 2
      pages/users/user_integral/integral.vue
  3. 13 3
      pages/users/user_payment/energy.vue

+ 3 - 3
manifest.json

@@ -1,9 +1,9 @@
 {
     "name" : "神英优选",
-    "appid" : "__UNI__3F43051",
+    "appid" : "__UNI__70BC0AE",
     "description" : "神英优选商城",
-    "versionName" : "3.0.4",
-    "versionCode" : 304,
+    "versionName" : "3.0.7",
+    "versionCode" : 307,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 2 - 2
pages/users/user_integral/integral.vue

@@ -47,8 +47,8 @@
 							<view v-else>{{item.num}}</view>
 
 
-							<view class='buttom' @click='out(item)'
-								v-if="item.status==0&&modelType==2&&item.extract_num>0">立即提取</view>
+							<!-- <view class='buttom' @click='out(item)'
+								v-if="item.status==0&&modelType==2&&item.extract_num>0">立即提取</view> -->
 						</view>
 					</view>
 					<view class='loadingicon acea-row row-center-wrapper' v-if="navList[current].integralList.length>0">

+ 13 - 3
pages/users/user_payment/energy.vue

@@ -23,6 +23,12 @@
 									onKeypress="javascript:if(event.keyCode == 32)event.returnValue = false;"></input>
 							</view>
 						</view>
+						<view class='item acea-row row-between-wrapper'>
+							<view class='name'>交易账号</view>
+							<view class='input'><input placeholder='请输入交易账号' placeholder-class='placeholder'
+									name="account"></input>
+							</view>
+						</view>
 						<view class='item acea-row row-between-wrapper'>
 							<view class='name'>转换能量</view>
 							<view class='input'><input v-model="allMoney" @input='inputNum' :maxlength="moneyMaxLeng"
@@ -31,7 +37,7 @@
 						</view>
 						<view class='tip'>
 							当前可转能量值:<text class="price">{{userInfo.energy}}</text>
-							时价:<text  class="price">{{stock_price}}</text>
+							时价:<text class="price">{{stock_price}}</text>
 						</view>
 						<view class='tip'>
 							手续费:<text class="price">{{withdraw_fee}}%</text>实际到账:<text
@@ -111,8 +117,8 @@
 					this.moneyMaxLeng = 8
 				}
 				try {
-					this.true_money = +((val - val*this.withdraw_fee/100)/this.stock_price).toFixed(2);
-					console.log(this.true_money,'this.true_money');
+					this.true_money = +((val - val * this.withdraw_fee / 100) / this.stock_price).toFixed(2);
+					console.log(this.true_money, 'this.true_money');
 				} catch (e) {
 					uni.showToast({
 						title: e,
@@ -142,6 +148,10 @@
 			subCash: function(e) {
 				let that = this,
 					value = e.detail.value;
+					console.log(value,'value')
+				if (value.account.length == 0) return that.$util.Tips({
+					title: '请填写交易账户'
+				});
 				if (value.name.length == 0) return that.$util.Tips({
 					title: '请填写持卡人姓名'
 				});