py 6 mesiacov pred
rodič
commit
09f64c8f7d
1 zmenil súbory, kde vykonal 12 pridanie a 6 odobranie
  1. 12 6
      pages/convert/convert-index.vue

+ 12 - 6
pages/convert/convert-index.vue

@@ -256,17 +256,18 @@
 						<blank :showBlank="list.length<=0?true:false" message="暂无数据"></blank>
 					</view>
 					<view class="bgc-F6F7FA" v-else>
-						<view class="item-box align-items-center flex-justify-space" v-for="item in 10" :key="item.id">
+						<view class="item-box align-items-center flex-justify-space" v-for="item in list" :key="item.id">
 							<view>
 								<view class="mb-8 fs-28 fw-b">兑换 {{item.money}} USDT</view>
 								<view class="fs-24">{{item.created_date}}</view>
 							</view>
-							<view class="flex-direction-column flex-justify-end">
-								<view class="fs-24"
-									:class="item.id<=3?'fc-ED930F':item.id === 4?'fc-FF3B30':'fc-27AE60'">
+							<view class="flex-direction-column flex-justify-end align-items-flex-end">
+								<view class="fs-24" :class="item.id<=3?'fc-ED930F':item.id === 4?'fc-FF3B30':'fc-27AE60'">
 									{{item.status_str}}</view>
 								<view class="fs-28 ">到账: <text class="fc-ED301D">{{item.to_money}} DAO</text></view>
-								<button type="primary">页面主操作 Normal</button>
+								<view class="but-b bgc-3489FF fs-24 text-align-center fc-f b-rad-20">
+									授权
+								</view>
 							</view>
 						</view>
 
@@ -281,6 +282,11 @@
 </template>
 
 <style scoped lang="scss">
+	.but-b{
+		width: 120rpx;
+		height: 50rpx;
+		line-height: 50rpx;
+	}
 	.flex-common-box {
 		width: 100%;
 		height: calc(100vh - 138rpx);
@@ -336,7 +342,7 @@
 
 	.item-box {
 		width: 100%;
-		height: 120rpx;
+		// height: 120rpx;
 		padding: 10rpx 20rpx;
 		box-sizing: border-box;
 		border-top: 2rpx solid #e5e5e5;