|
|
@@ -6,26 +6,34 @@
|
|
|
<text style="font-size: 60rpx;">¥{{total}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view v-if="list" class="card" v-for="(item,index) in list" :key="index">
|
|
|
- <view class="left">
|
|
|
- <view>
|
|
|
- 活动名称:
|
|
|
- <text class="text-red">{{item.activityName}}</text>
|
|
|
+ <block v-for="(item,index) in list" :key="index">
|
|
|
+ <view v-if="list" class="container">
|
|
|
+ <view class="card">
|
|
|
+ <view class="left">
|
|
|
+ <view>
|
|
|
+ 活动名称:
|
|
|
+ <text class="text-red">{{item.activityName}}</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ 可用热力:
|
|
|
+ <text class="text-red">{{item.usableHotValue}}</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ 可提余额:
|
|
|
+ <text class="text-red">¥{{item.usableCash}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="right">
|
|
|
+ <u-number-box v-model="withdrawList[index].totalCash" :positive-integer="false" :index="index" :min="0" :max="max(item.usableCash)" :input-width="100" :input-height="60"></u-number-box>
|
|
|
+ <text class="padding-left-sm text-red">元</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- 可用热力:
|
|
|
- <text class="text-red">{{item.usableHotValue}}</text>
|
|
|
+ <view class="flex align-center padding-right-sm">
|
|
|
+ <view>提现密码:</view>
|
|
|
+ <u-input v-model="password" type="password" :password-icon="true" placeholder="请输入提现密码" :clearable="false" />
|
|
|
</view>
|
|
|
- <view>
|
|
|
- 可提余额:
|
|
|
- <text class="text-red">¥{{item.usableCash}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="right">
|
|
|
- <u-number-box v-model="withdrawList[index].totalCash" :positive-integer="false" :index="index" :min="0" :max="max(item.usableCash)" :input-width="100" :input-height="60"></u-number-box>
|
|
|
- <text class="padding-left-sm text-red">元</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </block>
|
|
|
<view class="" style="height: 140rpx;"></view>
|
|
|
<view
|
|
|
class="footer-fixed flex align-center justify-end padding bg-white"
|
|
|
@@ -37,6 +45,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import md5Libs from "uview-ui/libs/function/md5";
|
|
|
export default {
|
|
|
computed:{
|
|
|
max(){
|
|
|
@@ -59,6 +68,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ password: '',
|
|
|
userId:'',
|
|
|
list:[],
|
|
|
withdrawList:[]
|
|
|
@@ -112,26 +122,29 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
- .card{
|
|
|
+ .container {
|
|
|
margin: 15rpx;
|
|
|
padding: 15rpx;
|
|
|
border-radius: 12rpx;
|
|
|
background-color: #FFFFFF;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- .left{
|
|
|
+ .card{
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ .left{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ view{
|
|
|
+ padding: 7rpx 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- view{
|
|
|
- padding: 7rpx 0;
|
|
|
+ .right{
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .right{
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
}
|
|
|
+
|
|
|
</style>
|