|
|
@@ -1,15 +1,10 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
- <view class="goback-box" @click="toBack">
|
|
|
- <image class="goback" src="../../static/img/fanhui.png" mode=""></image>
|
|
|
- </view>
|
|
|
+ <view class="goback-box" @click="toBack"><image class="goback" src="../../static/img/fanhui.png" mode=""></image></view>
|
|
|
<view class="header">转账</view>
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
<view class="list-box">
|
|
|
- <view class="img">
|
|
|
- <image src="../../static/img/zhuanzhang-bg.png" mode=""></image>
|
|
|
- </view>
|
|
|
+ <view class="img"><image src="../../static/img/zhuanzhang-bg.png" mode=""></image></view>
|
|
|
<view class="list flex">
|
|
|
<view class="flex_item list-item">
|
|
|
<image :src="logo"></image>
|
|
|
@@ -44,7 +39,7 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { goPay, trade,wallet } from '@/api/finance.js';
|
|
|
+import { goPay, trade, wallet } from '@/api/finance.js';
|
|
|
import selectss from '@/components/select.vue';
|
|
|
export default {
|
|
|
components: {
|
|
|
@@ -84,8 +79,17 @@ export default {
|
|
|
arr.forEach(e => {
|
|
|
ar.push(data.back[e]);
|
|
|
});
|
|
|
- obj.moneyTypeList = ar;
|
|
|
- console.log(obj.moneyTypeList)
|
|
|
+
|
|
|
+ obj.moneyTypeList = ar.filter(e => {
|
|
|
+ console.log(e);
|
|
|
+ if(e.can_trade == 1){
|
|
|
+ return e;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ return ;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ console.log(obj.moneyTypeList);
|
|
|
if (obj.logo == '') {
|
|
|
obj.logo = obj.moneyTypeList[0].LOGO;
|
|
|
obj.name = obj.moneyTypeList[0].name;
|
|
|
@@ -139,9 +143,9 @@ export default {
|
|
|
useOutClickSide() {
|
|
|
this.$refs.easySelect.hideOptions && this.$refs.easySelect.hideOptions();
|
|
|
},
|
|
|
- toBack(){
|
|
|
+ toBack() {
|
|
|
uni.navigateBack({
|
|
|
- delta: 1
|
|
|
+ delta: 1
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
@@ -231,7 +235,7 @@ page {
|
|
|
}
|
|
|
}
|
|
|
.submit {
|
|
|
- background: linear-gradient(90deg, #60BAB0, #60BAB0, #45969B);
|
|
|
+ background: linear-gradient(90deg, #60bab0, #60bab0, #45969b);
|
|
|
margin-top: 160rpx;
|
|
|
color: #ffffff;
|
|
|
text-align: center;
|
|
|
@@ -248,30 +252,30 @@ page {
|
|
|
}
|
|
|
}
|
|
|
.goback-box {
|
|
|
- position: absolute;
|
|
|
- left: 18rpx;
|
|
|
- top: 0;
|
|
|
- height: 80rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
- .goback {
|
|
|
- z-index: 100;
|
|
|
- width: 34rpx;
|
|
|
- height: 34rpx;
|
|
|
- }
|
|
|
- .header {
|
|
|
- color: #FFFFFF;
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- top: 0;
|
|
|
- width: 100%;
|
|
|
- height: 80rpx;
|
|
|
- font-size: 32rpx;
|
|
|
- font-weight: 700;
|
|
|
- z-index: 99;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
+ position: absolute;
|
|
|
+ left: 18rpx;
|
|
|
+ top: 0;
|
|
|
+ height: 80rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.goback {
|
|
|
+ z-index: 100;
|
|
|
+ width: 34rpx;
|
|
|
+ height: 34rpx;
|
|
|
+}
|
|
|
+.header {
|
|
|
+ color: #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 80rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ font-weight: 700;
|
|
|
+ z-index: 99;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
</style>
|