gcz 4 anos atrás
pai
commit
10ba0c459a

+ 1 - 1
pages/center/index.vue

@@ -37,7 +37,7 @@
 	export default {
 		data() {
 			return {
-				pic:'https://uviewui.com/common/logo.png',
+				pic:'/static/img/default-avatar.png',
 				userInfo:[],
 				code:null,
 				

+ 1 - 1
pages/center/phoneLogin/phoneLogin.vue

@@ -15,7 +15,7 @@
 			<view class="hint">
 				登录代表同意
 				<text class="link">隐私政策,</text>
-				并授权使用您的账号信息(如昵称、头像、收地址)以便您统一管理
+				并授权使用您的账号信息(如昵称、头像、收地址)以便您统一管理
 			</view>
 		</view>
 		<u-toast ref="uToast" />

+ 6 - 6
pages/index/index.scss

@@ -18,18 +18,18 @@ page{background-color: $my-page-bg-color;}
 }
 .content-nav{
 	display: flex;
-	justify-content: space-around;
+	justify-content: space-between;
 	align-items: center;
 	.content-nav-item{
 		.content-nav-item-icon-wrap{
-			width: 77rpx;
-			height: 75rpx;
+			width: 95rpx;
+			height: 95rpx;
 			margin: 0 auto 13rpx;
-			border-radius: 30rpx;
-			background: linear-gradient(163deg, #FFCC60 0%, #FF9221 100%);;
+			// border-radius: 30rpx;
+			// background: linear-gradient(163deg, #FFCC60 0%, #FF9221 100%);
 		}
 		.content-nav-item-icon-text{
-			font-size: 22rpx;
+			font-size: 28rpx;
 			font-weight: 500;
 			color: #5A5A5A;
 			line-height: 1;

+ 4 - 4
pages/index/index.vue

@@ -18,25 +18,25 @@
 			<view class="content-nav" slot="body">
 				<view class="content-nav-item" @click="openPage('pages/center/order/order')">
 					<view class="content-nav-item-icon-wrap">
-						<u-image src="../../static/img/index-content-nav-01.png" width="77rpx" height="75rpx" mode="heightFix"></u-image>
+						<u-image src="../../static/img/index-content-nav-01.png" width="95rpx" height="95rpx" mode="heightFix"></u-image>
 					</view>
 					<view class="content-nav-item-icon-text">停车缴费</view>
 				</view>
 				<view class="content-nav-item" @click="$refs.uToast.show({title: '建设中'})">
 					<view class="content-nav-item-icon-wrap">
-						<u-image src="../../static/img/index-content-nav-02.png" width="77rpx" height="75rpx" mode="heightFix"></u-image>
+						<u-image src="../../static/img/index-content-nav-02.png" width="95rpx" height="95rpx" mode="heightFix"></u-image>
 					</view>
 					<view class="content-nav-item-icon-text">优惠活动</view>
 				</view>
 				<view class="content-nav-item" @click="openPage('pages/myCars/myCars')">
 					<view class="content-nav-item-icon-wrap">
-						<u-image src="../../static/img/index-content-nav-03.png" width="77rpx" height="75rpx" mode="heightFix"></u-image>
+						<u-image src="../../static/img/index-content-nav-03.png" width="95rpx" height="95rpx" mode="heightFix"></u-image>
 					</view>
 					<view class="content-nav-item-icon-text">车辆管理</view>
 				</view>
 				<view class="content-nav-item" @click="$refs.uToast.show({title: '建设中'})">
 					<view class="content-nav-item-icon-wrap">
-						<u-image src="../../static/img/index-content-nav-04.png" width="77rpx" height="75rpx" mode="heightFix"></u-image>
+						<u-image src="../../static/img/index-content-nav-04.png" width="95rpx" height="95rpx" mode="heightFix"></u-image>
 					</view>
 					<view class="content-nav-item-icon-text">我的停车</view>
 				</view>

+ 4 - 0
pages/myCars/myCars.vue

@@ -127,6 +127,10 @@
 			handlesetDefault(id){
 				this.$u.api.setDefaultCar({id:id})
 				.then(res=>{
+					this.$refs.uToast.show({
+						title: res.msg,
+						type: 'success',
+					});
 					this.handlegetMycars();
 					console.log('handlesetDefault',res)
 				}).catch(err=>{

BIN
static/img/default-avatar.png