hwq 3 anos atrás
pai
commit
3a1a292ebd
3 arquivos alterados com 387 adições e 412 exclusões
  1. 151 149
      manifest.json
  2. 230 260
      pages/money/wallet.vue
  3. 6 3
      pages/money/withdrawal.vue

+ 151 - 149
manifest.json

@@ -1,151 +1,153 @@
 {
-    "name" : "艺绘",
-    "appid" : "__UNI__E01ACD1",
-    "description" : "",
-    "versionName" : "1.1.7",
-    "versionCode" : 117,
-    "transformPx" : false,
-    "app-plus" : {
-        /* 5+App特有相关 */
-        "usingComponents" : true,
-        "splashscreen" : {
-            "alwaysShowBeforeRender" : true,
-            "waiting" : true,
-            "autoclose" : true,
-            "delay" : 0
-        },
-        "modules" : {
-            "Payment" : {}
-        },
-        /* 模块配置 */
-        "distribute" : {
-            /* 应用发布信息 */
-            "android" : {
-                /* android打包配置 */
-                "permissions" : [
-                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
-                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.INTERNET\"/>",
-                    "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
-                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
-                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
-                    "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
-                ],
-                "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
-            },
-            "ios" : {
-                "idfa" : false,
-                "capabilities" : {
-                    "entitlements" : {
-                        "com.apple.developer.associated-domains" : [ "applinks:static-f2ce8da9-3823-402a-bd21-675f08b3b09b.bspapp.com" ]
-                    }
-                },
-                "privacyDescription" : {
-                    "NSPhotoLibraryUsageDescription" : "使您上传个性化头像",
-                    "NSPhotoLibraryAddUsageDescription" : "使您上传个性化头像",
-                    "NSCameraUsageDescription" : "使用摄像头可以让你更好的上传个性化头像"
-                },
-                "dSYMs" : false
-            },
-            /* ios打包配置 */
-            "sdkConfigs" : {
-                "maps" : {},
-                "oauth" : {},
-                "geolocation" : {},
-                "payment" : {
-                    "alipay" : {
-                        "__platform__" : [ "ios", "android" ]
-                    }
-                },
-                "push" : {},
-                "share" : {},
-                "speech" : {},
-                "statics" : {},
-                "ad" : {}
-            },
-            "icons" : {
-                "android" : {
-                    "hdpi" : "unpackage/res/icons/72x72.png",
-                    "xhdpi" : "unpackage/res/icons/96x96.png",
-                    "xxhdpi" : "unpackage/res/icons/144x144.png",
-                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
-                },
-                "ios" : {
-                    "appstore" : "unpackage/res/icons/1024x1024.png",
-                    "ipad" : {
-                        "app" : "unpackage/res/icons/76x76.png",
-                        "app@2x" : "unpackage/res/icons/152x152.png",
-                        "notification" : "unpackage/res/icons/20x20.png",
-                        "notification@2x" : "unpackage/res/icons/40x40.png",
-                        "proapp@2x" : "unpackage/res/icons/167x167.png",
-                        "settings" : "unpackage/res/icons/29x29.png",
-                        "settings@2x" : "unpackage/res/icons/58x58.png",
-                        "spotlight" : "unpackage/res/icons/40x40.png",
-                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
-                    },
-                    "iphone" : {
-                        "app@2x" : "unpackage/res/icons/120x120.png",
-                        "app@3x" : "unpackage/res/icons/180x180.png",
-                        "notification@2x" : "unpackage/res/icons/40x40.png",
-                        "notification@3x" : "unpackage/res/icons/60x60.png",
-                        "settings@2x" : "unpackage/res/icons/58x58.png",
-                        "settings@3x" : "unpackage/res/icons/87x87.png",
-                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
-                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
-                    }
-                }
-            },
-            "splashscreen" : {
-                "androidStyle" : "default",
-                "android" : {
-                    "hdpi" : "unpackage/res/bage/480.9.png",
-                    "xhdpi" : "unpackage/res/bage/720.9.png",
-                    "xxhdpi" : "unpackage/res/bage/1080.9.png"
-                },
-                "iosStyle" : "common",
-                "ios" : {
-                    "storyboard" : "C:/Users/Administrator/Desktop/苹果/wlg.zip"
-                }
-            }
-        }
-    },
-    /* SDK配置 */
-    "quickapp" : {},
-    /* 快应用特有相关 */
-    "mp-weixin" : {
-        /* 小程序特有相关 */
-        "usingComponents" : true,
-        "appid" : "",
-        "setting" : {
-            "urlCheck" : true
-        }
-    },
-    "h5" : {
-        "title" : "s",
-        "domain" : "",
-        "router" : {
-            "base" : "/index/",
-            "mode" : "hash"
-        },
-        "devServer" : {
-            "proxy" : {
-                "/api" : {
-                    "target" : "http://www.zhejianghuiyi.art/api",
-                    // "target" : "http://bsn.frp.liuniu946.com/api",
-                    // "changeOrigin": true,
-                    "pathRewrite" : {
-                        "/api" : "" // rewrite path
-                    }
-                }
-            }
-        },
-        "sdkConfigs" : {
-            "maps" : {}
-        }
-    },
-    "_spaceID" : "f2ce8da9-3823-402a-bd21-675f08b3b09b"
+	"name": "艺绘",
+	"appid": "__UNI__E01ACD1",
+	"description": "",
+	"versionName": "1.1.8",
+	"versionCode": 118,
+	"transformPx": false,
+	"app-plus": {
+		/* 5+App特有相关 */
+		"usingComponents": true,
+		"splashscreen": {
+			"alwaysShowBeforeRender": true,
+			"waiting": true,
+			"autoclose": true,
+			"delay": 0
+		},
+		"modules": {
+			"Payment": {}
+		},
+		/* 模块配置 */
+		"distribute": {
+			/* 应用发布信息 */
+			"android": {
+				/* android打包配置 */
+				"permissions": [
+					"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
+					"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+					"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+					"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
+					"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+					"<uses-permission android:name=\"android.permission.INTERNET\"/>",
+					"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
+					"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+					"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+					"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+					"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
+				],
+				"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"]
+			},
+			"ios": {
+				"idfa": false,
+				"capabilities": {
+					"entitlements": {
+						"com.apple.developer.associated-domains": [
+							"applinks:static-f2ce8da9-3823-402a-bd21-675f08b3b09b.bspapp.com"
+						]
+					}
+				},
+				"privacyDescription": {
+					"NSPhotoLibraryUsageDescription": "使您上传个性化头像",
+					"NSPhotoLibraryAddUsageDescription": "使您上传个性化头像",
+					"NSCameraUsageDescription": "使用摄像头可以让你更好的上传个性化头像"
+				},
+				"dSYMs": false
+			},
+			/* ios打包配置 */
+			"sdkConfigs": {
+				"maps": {},
+				"oauth": {},
+				"geolocation": {},
+				"payment": {
+					"alipay": {
+						"__platform__": ["ios", "android"]
+					}
+				},
+				"push": {},
+				"share": {},
+				"speech": {},
+				"statics": {},
+				"ad": {}
+			},
+			"icons": {
+				"android": {
+					"hdpi": "unpackage/res/icons/72x72.png",
+					"xhdpi": "unpackage/res/icons/96x96.png",
+					"xxhdpi": "unpackage/res/icons/144x144.png",
+					"xxxhdpi": "unpackage/res/icons/192x192.png"
+				},
+				"ios": {
+					"appstore": "unpackage/res/icons/1024x1024.png",
+					"ipad": {
+						"app": "unpackage/res/icons/76x76.png",
+						"app@2x": "unpackage/res/icons/152x152.png",
+						"notification": "unpackage/res/icons/20x20.png",
+						"notification@2x": "unpackage/res/icons/40x40.png",
+						"proapp@2x": "unpackage/res/icons/167x167.png",
+						"settings": "unpackage/res/icons/29x29.png",
+						"settings@2x": "unpackage/res/icons/58x58.png",
+						"spotlight": "unpackage/res/icons/40x40.png",
+						"spotlight@2x": "unpackage/res/icons/80x80.png"
+					},
+					"iphone": {
+						"app@2x": "unpackage/res/icons/120x120.png",
+						"app@3x": "unpackage/res/icons/180x180.png",
+						"notification@2x": "unpackage/res/icons/40x40.png",
+						"notification@3x": "unpackage/res/icons/60x60.png",
+						"settings@2x": "unpackage/res/icons/58x58.png",
+						"settings@3x": "unpackage/res/icons/87x87.png",
+						"spotlight@2x": "unpackage/res/icons/80x80.png",
+						"spotlight@3x": "unpackage/res/icons/120x120.png"
+					}
+				}
+			},
+			"splashscreen": {
+				"androidStyle": "default",
+				"android": {
+					"hdpi": "unpackage/res/bage/480.9.png",
+					"xhdpi": "unpackage/res/bage/720.9.png",
+					"xxhdpi": "unpackage/res/bage/1080.9.png"
+				},
+				"iosStyle": "common",
+				"ios": {
+					"storyboard": "C:/Users/Administrator/Desktop/苹果/wlg.zip"
+				}
+			}
+		}
+	},
+	/* SDK配置 */
+	"quickapp": {},
+	/* 快应用特有相关 */
+	"mp-weixin": {
+		/* 小程序特有相关 */
+		"usingComponents": true,
+		"appid": "",
+		"setting": {
+			"urlCheck": true
+		}
+	},
+	"h5": {
+		"title": "s",
+		"domain": "",
+		"router": {
+			"base": "/index/",
+			"mode": "hash"
+		},
+		"devServer": {
+			"proxy": {
+				"/api": {
+					"target": "http://www.zhejianghuiyi.art/api",
+					// "target" : "http://bsn.frp.liuniu946.com/api",
+					// "changeOrigin": true,
+					"pathRewrite": {
+						"/api": "" // rewrite path
+					}
+				}
+			}
+		},
+		"sdkConfigs": {
+			"maps": {}
+		}
+	},
+	"_spaceID": "f2ce8da9-3823-402a-bd21-675f08b3b09b"
 }

+ 230 - 260
pages/money/wallet.vue

@@ -2,58 +2,36 @@
 	<view class="content">
 		<view class="title-box">
 			<view class="yue-box">
-				<view class="yue-top">
-					我的余额(元)
-				</view>
-				<view class="yue-bottom">
-					{{money || 0}}
-				</view>
+				<view class="yue-top">我的余额(元)</view>
+				<view class="yue-bottom">{{ money || 0 }}</view>
 			</view>
 			<view class="box">
-				<view class="cz" @click="navTo('/pages/money/recharge')">
-					充值
-				</view>
-				<view class="cz" @click="navTo('/pages/money/withdrawal')">
-					提现
-				</view>
+				<view class="cz" @click="navTo('/pages/money/recharge')">充值</view>
+				<view class="cz" @click="navTo('/pages/money/withdrawal')">提现</view>
 			</view>
 		</view>
 		<view class="center-box">
 			<view class="centet-left">
-				<view class="top">
-					{{userInfo.recharge || 0}}
-				</view>
-				<view class="bottom">
-					历史充值(元)
-				</view>
+				<view class="top">{{ userInfo.recharge || 0 }}</view>
+				<view class="bottom">历史充值(元)</view>
 			</view>
 			<view class="" style="width: 2rpx;height: 54rpx;background: #EEEEEE;"></view>
 			<view class="centet-left">
-				<view class="top">
-					{{userInfo.extraxt|| 0}}
-				</view>
-				<view class="bottom">
-					历史提现(元)
-				</view>
+				<view class="top">{{ userInfo.extraxt || 0 }}</view>
+				<view class="bottom">历史提现(元)</view>
 			</view>
 		</view>
-		<scroll-view class="good-content" scroll-y @scrolltolower="loadData" :style="{'height': height}">
+		<scroll-view class="good-content" scroll-y @scrolltolower="loadData" :style="{ height: height }">
 			<!-- 空白页 -->
 			<!-- <empty v-if="tabItem.loaded === true && tabItem.orderList.length === 0"></empty> -->
-		
+
 			<!-- 订单列表 -->
 			<view class="detail" v-for="item in orderList">
 				<view class="det-left">
-					<view class="det-top">
-						{{ item.title }}
-					</view>
-					<view class="det-bottom">
-						{{ item.add_time }}
-					</view>
-				</view>
-				<view class="det-right">
-					{{ (item.pm == 0 ? '-' : '+') + item.number }}
+					<view class="det-top">{{ item.title }}</view>
+					<view class="det-bottom">{{ item.add_time }}</view>
 				</view>
+				<view class="det-right">{{ (item.pm == 0 ? '-' : '+') + item.number }}</view>
 			</view>
 			<uni-load-more :status="loadingType"></uni-load-more>
 		</scroll-view>
@@ -61,271 +39,263 @@
 </template>
 
 <script>
-	import { mapState, mapMutations } from 'vuex';
-	import {
-		getUserInfo
-	} from '@/api/user.js';
-	import {
-		spreadCommission,
-		userBalance
-	} from '@/api/wallet.js';
-	import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
-	import empty from '@/components/empty';
-	export default {
-		components: {
-			empty,
-			uniLoadMore
-		},
-		data() {
-			return {
-				tabCurrentIndex: 0,
-				height: '',
-				state: 0,
-				loadingType: 'more',
-				orderList: [],
-				page: 1, //当前页数
-				limit: 10 ,//每次信息条数
-				money: '',
-				cz: '',//历史充值
-				tx: '',//历史提现
-			};
-
-		},
-		onReady(res) {
-			var obj = this;
-			uni.getSystemInfo({
-				success: resu => {
-					const query = uni.createSelectorQuery();
-					query.select('.good-content').boundingClientRect();
-					query.exec(function(res) {
-						obj.height = resu.windowHeight - res[0].top + 'px';
-						console.log(obj.height)
-					});
-				},
-				fail: res => {}
+import { mapState, mapMutations } from 'vuex';
+import { getUserInfo } from '@/api/user.js';
+import { spreadCommission, userBalance } from '@/api/wallet.js';
+import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
+import empty from '@/components/empty';
+export default {
+	components: {
+		empty,
+		uniLoadMore
+	},
+	data() {
+		return {
+			tabCurrentIndex: 0,
+			height: '',
+			state: 0,
+			loadingType: 'more',
+			orderList: [],
+			page: 1, //当前页数
+			limit: 10, //每次信息条数
+			money: '',
+			cz: '', //历史充值
+			tx: '' //历史提现
+		};
+	},
+	onReady(res) {
+		var obj = this;
+		uni.getSystemInfo({
+			success: resu => {
+				const query = uni.createSelectorQuery();
+				query.select('.good-content').boundingClientRect();
+				query.exec(function(res) {
+					obj.height = resu.windowHeight - res[0].top + 'px';
+					console.log(obj.height);
+				});
+			},
+			fail: res => {}
+		});
+	},
+	onLoad() {
+		this.loadData();
+		this.getUserInfo();
+	},
+	methods: {
+		...mapState('user', ['hasLogin', 'userInfo']),
+		getUserInfo() {
+			getUserInfo().then(res => {
+				this.money = res.data.now_money * 1;
 			});
 		},
-		onLoad() {
-			this.loadData()
-			this.getUserInfo()
+		navTo(url) {
+			uni.navigateTo({
+				url
+			});
 		},
-		methods: {
-			...mapState('user', ['hasLogin', 'userInfo']),
-			getUserInfo() {
-				getUserInfo().then(res => {
-					this.money = res.data.now_money*1
-				})
-			},
-			navTo(url) {
-				uni.navigateTo({
-					url
-				})
-			},
-			//获取收入支出信息
-			async loadData(source) {
-				let obj = this
-
-				if (obj.loadingType === 'loading' || obj.loadingType === 'noMore') {
-					//防止重复加载
-					return;
-				}
-				// 修改当前对象状态为加载中
-				obj.loadingType = 'loading';
+		//获取收入支出信息
+		async loadData(source) {
+			let obj = this;
 
-				spreadCommission({
-							page: obj.page,
-							limit: obj.limit
-						},
-						obj.state
-					)
-					.then(({
-						data
-					}) => {
-						if (data.length > 0) {
-							obj.orderList = obj.orderList.concat(data[0].list);
-							console.log(obj.orderList);
-							obj.page++;
-						}
-						if (obj.limit == data.length) {
-							//判断是否还有数据, 有改为 more, 没有改为noMore
-							obj.loadingType = 'more';
-							return;
-						} else {
-							//判断是否还有数据, 有改为 more, 没有改为noMore
-							obj.loadingType = 'noMore';
-						}
-						uni.hideLoading();
-						this.$set(obj, 'loaded', true);
-					})
-					.catch(e => {
-						console.log(e);
-					});
-			},
-			//swiper 切换
-			changeTab(e) {
-				this.tabCurrentIndex = e.target.current;
-				this.loadData('tabChange');
-			},
-			//顶部tab点击
-			tabClick(index) {
-				this.tabCurrentIndex = index;
+			if (obj.loadingType === 'loading' || obj.loadingType === 'noMore') {
+				//防止重复加载
+				return;
 			}
+			// 修改当前对象状态为加载中
+			obj.loadingType = 'loading';
+
+			spreadCommission(
+				{
+					page: obj.page,
+					limit: obj.limit
+				},
+				obj.state
+			)
+				.then(({ data }) => {
+					if (data.length > 0) {
+						obj.orderList = obj.orderList.concat(data[0].list);
+						console.log(obj.orderList);
+						obj.page++;
+					}
+					if (obj.limit == data.length) {
+						//判断是否还有数据, 有改为 more, 没有改为noMore
+						obj.loadingType = 'more';
+						return;
+					} else {
+						//判断是否还有数据, 有改为 more, 没有改为noMore
+						obj.loadingType = 'noMore';
+					}
+					uni.hideLoading();
+					this.$set(obj, 'loaded', true);
+				})
+				.catch(e => {
+					console.log(e);
+				});
+		},
+		//swiper 切换
+		changeTab(e) {
+			this.tabCurrentIndex = e.target.current;
+			this.loadData('tabChange');
+		},
+		//顶部tab点击
+		tabClick(index) {
+			this.tabCurrentIndex = index;
 		}
 	}
+};
 </script>
 
 <style lang="scss">
-	page,
-	.content {
-		height: 100%;
-		width: 750rpx;
-		background: #111111;
-
-		.title-box {
-			padding-left: 30rpx;
-			// margin-top: 100rpx;
-			display: flex;
-			justify-content: space-between;
-			align-items: center;
-
-			.yue-box {
-				display: flex;
-				flex-direction: column;
-
-				.yue-top {
-					font-size: 26rpx;
-					font-family: PingFang SC;
-					font-weight: 400;
-					color: #999999;
-				}
-
-				.yue-bottom {
-					font-size: 60rpx;
-					font-family: PingFang SC;
-					font-weight: bold;
-					color: #FDD58A;
-				}
-			}
+page,
+.content {
+	height: 100%;
+	width: 750rpx;
+	// background: #111111;
 
-			.box {
-
-				.cz {
-					margin: 20rpx 0;
-					text-align: center;
-					font-size: 30rpx;
-					font-weight: bold;
-					color: #FFFFFF;
-					width: 140rpx;
-					height: 64rpx;
-					border: 2rpx solid #FFFFFF;
-					border-radius: 32rpx 0px 0px 32rpx;
-					line-height: 64rpx;
-				}
-			}
-		}
+	.title-box {
+		padding-left: 30rpx;
+		// margin-top: 100rpx;
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
 
-		.center-box {
+		.yue-box {
 			display: flex;
-			justify-content: space-around;
-			align-items: center;
-			margin: 30rpx 25rpx;
-			height: 120rpx;
-			background: #181818;
-			border-radius: 10rpx;
-
-			.centet-left {
-				display: flex;
-				flex-direction: column;
-				align-items: center;
-			}
+			flex-direction: column;
 
-			.top {
-				font-size: 32rpx;
+			.yue-top {
+				font-size: 26rpx;
+				font-family: PingFang SC;
 				font-weight: 400;
-				color: #FFFFFF;
-				line-height: 48rpx;
+				color: #999999;
 			}
 
-			.bottom {
-				font-size: 26rpx;
+			.yue-bottom {
+				font-size: 60rpx;
 				font-family: PingFang SC;
-				font-weight: 400;
-				color: #666666;
-				line-height: 48rpx;
+				font-weight: bold;
+				color: #fdd58a;
+			}
+		}
+
+		.box {
+			.cz {
+				margin: 20rpx 0;
+				text-align: center;
+				font-size: 30rpx;
+				font-weight: bold;
+				color: #ffffff;
+				width: 140rpx;
+				height: 64rpx;
+				border: 2rpx solid #ffffff;
+				border-radius: 32rpx 0px 0px 32rpx;
+				line-height: 64rpx;
 			}
 		}
 	}
 
-	.detail {
+	.center-box {
 		display: flex;
-		height: 120rpx;
-		justify-content: space-between;
+		justify-content: space-around;
 		align-items: center;
-		border-bottom: 1rpx solid #F0F0F0;
-		margin: 0 25rpx;
+		margin: 30rpx 25rpx;
+		height: 120rpx;
+		background: #181818;
+		border-radius: 10rpx;
 
-		.det-left {
+		.centet-left {
 			display: flex;
 			flex-direction: column;
+			align-items: center;
+		}
 
-			.det-top {
-				line-height: 40rpx;
-				font-size: 28rpx;
-				font-family: PingFang SC;
-				font-weight: 500;
-				color: #FFFFFF;
-			}
+		.top {
+			font-size: 32rpx;
+			font-weight: 400;
+			color: #ffffff;
+			line-height: 48rpx;
+		}
 
-			.det-bottom {
-				line-height: 40rpx;
-				font-size: 22rpx;
-				font-family: PingFang SC;
-				font-weight: 400;
-				color: #999999;
-			}
+		.bottom {
+			font-size: 26rpx;
+			font-family: PingFang SC;
+			font-weight: 400;
+			color: #666666;
+			line-height: 48rpx;
+		}
+	}
+}
+
+.detail {
+	display: flex;
+	height: 120rpx;
+	justify-content: space-between;
+	align-items: center;
+	border-bottom: 1rpx solid #f0f0f0;
+	margin: 0 25rpx;
+
+	.det-left {
+		display: flex;
+		flex-direction: column;
+
+		.det-top {
+			line-height: 40rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC;
+			font-weight: 500;
+			color: #ffffff;
 		}
 
-		.det-right {
-			font-size: 30rpx;
+		.det-bottom {
+			line-height: 40rpx;
+			font-size: 22rpx;
 			font-family: PingFang SC;
-			font-weight: bold;
-			color: #FDD58A;
+			font-weight: 400;
+			color: #999999;
 		}
 	}
 
-	.navbar {
+	.det-right {
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #fdd58a;
+	}
+}
+
+.navbar {
+	display: flex;
+	height: 40px;
+	padding: 0 5px;
+	background: #fff;
+	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
+	position: relative;
+	z-index: 10;
+
+	.nav-item {
+		flex: 1;
 		display: flex;
-		height: 40px;
-		padding: 0 5px;
-		background: #fff;
-		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
+		justify-content: center;
+		align-items: center;
+		height: 100%;
+		font-size: 15px;
+		color: $font-color-dark;
 		position: relative;
-		z-index: 10;
-
-		.nav-item {
-			flex: 1;
-			display: flex;
-			justify-content: center;
-			align-items: center;
-			height: 100%;
-			font-size: 15px;
-			color: $font-color-dark;
-			position: relative;
 
-			&.current {
-				color: $base-color;
+		&.current {
+			color: $base-color;
 
-				&:after {
-					content: '';
-					position: absolute;
-					left: 50%;
-					bottom: 0;
-					transform: translateX(-50%);
-					width: 44px;
-					height: 0;
-					border-bottom: 2px solid $base-color;
-				}
+			&:after {
+				content: '';
+				position: absolute;
+				left: 50%;
+				bottom: 0;
+				transform: translateX(-50%);
+				width: 44px;
+				height: 0;
+				border-bottom: 2px solid $base-color;
 			}
 		}
 	}
+}
 </style>

+ 6 - 3
pages/money/withdrawal.vue

@@ -154,6 +154,9 @@ export default {
 		// this.loadAli();
 		// this.loadBank();
 	},
+	onShow() {
+		this.loadData();
+	},
 	methods: {
 		...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
 		// 加载余额信息
@@ -292,7 +295,7 @@ page {
 	.butt {
 		font-size: 26rpx;
 		font-weight: normal;
-		color: #FDD58A;
+		color: #fdd58a;
 		line-height: 42rpx;
 	}
 
@@ -353,7 +356,7 @@ page {
 		}
 
 		.buttom {
-			color: #FDD58A;
+			color: #fdd58a;
 		}
 	}
 }
@@ -365,7 +368,7 @@ page {
 
 	&.up {
 		background: $bgBaseBg;
-		color: #9F570E;
+		color: #9f570e;
 	}
 	color: #ffd395;
 	display: flex;