|
@@ -20,12 +20,12 @@
|
|
|
<input class="input-box" type="text" v-model="addr" placeholder="请输入提币地址"/>
|
|
|
<view class="from-title">数量</view>
|
|
|
<view class="flex input-tpl">
|
|
|
- <input class="input-box" type="number" v-model="num" :placeholder="'最低数量 1.0'+name"/>
|
|
|
+ <input class="input-box" type="number" v-model="num" :placeholder="'最低数量 '+less+name"/>
|
|
|
<view class="all" @click="num = money">全部</view>
|
|
|
</view>
|
|
|
<view class="all-num">可用<text>{{money *1 }}</text>{{name}}</view>
|
|
|
<view class="submit" @click="cash">确定</view>
|
|
|
- <view class="tpl-box" v-show="showText == true">提币数量在1.0-10000.0个之间,认真核对提币地址;手续费:{{data.service}}{{data.service_type}}</view>
|
|
|
+ <view class="tpl-box" v-show="showText == true">提币数量在{{less}}-10000.0个之间,认真核对提币地址;手续费:{{data.service}}{{data.service_type}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -43,7 +43,7 @@
|
|
|
code: '',
|
|
|
logo: '',
|
|
|
money:'',
|
|
|
-
|
|
|
+ less: '',
|
|
|
addr: '',
|
|
|
num: '',
|
|
|
|
|
@@ -52,11 +52,13 @@
|
|
|
};
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
+ console.log(option)
|
|
|
if (option.name) {
|
|
|
this.name = option.name;
|
|
|
this.logo = option.logo;
|
|
|
this.code = option.code;
|
|
|
this.money = option.money;
|
|
|
+ this.less = option.less;
|
|
|
}
|
|
|
this.moneyType();
|
|
|
},
|
|
@@ -81,6 +83,7 @@
|
|
|
obj.name = obj.moneyTypeList[0].name;
|
|
|
obj.code = obj.moneyTypeList[0].code;
|
|
|
obj.money = obj.moneyTypeList[0].wallet.money;
|
|
|
+ obj.less = obj.moneyTypeList[0].less;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -108,8 +111,8 @@
|
|
|
obj.$api.msg('请输入提币数量!');
|
|
|
return;
|
|
|
}
|
|
|
- if(obj.num < 1 ){
|
|
|
- obj.$api.msg('最低数量不能低于1!');
|
|
|
+ if(obj.num < obj.less ){
|
|
|
+ obj.$api.msg('最低数量不能低于'+obj.less + '!');
|
|
|
return;
|
|
|
}
|
|
|
cash({
|
|
@@ -127,6 +130,7 @@
|
|
|
this.name = options.name;
|
|
|
this.code = options.code;
|
|
|
this.money = options.wallet.money;
|
|
|
+ this.less = options.less;
|
|
|
},
|
|
|
useOutClickSide() {
|
|
|
this.$refs.easySelect.hideOptions && this.$refs.easySelect.hideOptions()
|