shish 5 лет назад
Родитель
Сommit
e52c700f52
1 измененных файлов с 17 добавлено и 38 удалено
  1. 17 38
      ghsApp/src/pagesStore/me/recharge.vue

+ 17 - 38
ghsApp/src/pagesStore/me/recharge.vue

@@ -1,58 +1,37 @@
 <template>
-<view>充值</view>
+<view>
+<view>充值金额</view>
+<view>
+	<view>
+		<view>¥5000</view>
+		<view>¥1000</view>
+		<view>¥800</view>
+	</view>
+	<view>
+		<view>¥500</view>
+		<view>¥100</view>
+		<view>其它金额</view>
+	</view>
+</view>
+</view>
 </template>
-
 <script>
 import AppWrapperEmpty from "@/components/app-wrapper-empty";
 import { withdrawCashList } from '@/api/store'
 import list from '@/mixins/list'
 export default {
-	name: "recharge",//提现记录
+	name: "recharge",
 	components: {
 		AppWrapperEmpty
 	},
 	mixins:[list],
 	data() {
 		return {
-			columns: [
-				{
-					name: "提现时间",
-					dataIndex: "time",
-					color: "info",
-					align: "center"
-				},
-				{
-					name: "提现金额",
-					dataIndex: "amount",
-					color: "info",
-					align: "center"
-				},
-				{
-					name: "状态",
-					dataIndex: "statusText",
-					color: "info",
-					align: "center"
-				}
-			],
+	
 		};
 	},
 	methods: {
 		async init(){
-			 uni.showLoading({
-                    title: '加载中'
-                });
-				try {
-				const res = await withdrawCashList({
-					page:this.list.page
-				})
-				res.data.list  = res.data.list.map(i=>({
-					...i,
-					statusText: i.status ==1?'待处理':i.status ==2?'处理中':'已完成'				  
-				}))
-			   this.completes(res)
-              } finally {
-                 uni.hideLoading(); 
-              }
 		}
 	},
 	async onPullDownRefresh() {