liguorui hace 6 años
padre
commit
7b8fbec374

BIN
img/phone2.png


+ 1 - 1
module/logs/logs.js

@@ -93,13 +93,13 @@ export const logs = {
 			    success: function (res){
 			    	//app.globalData.Authorization = res.data.authorization;
 			    	if(res.data.authorization){
-			    		_self.closeLog();
 				    	try{
 				    		wx.setStorageSync("mobile",_self.data.mobilenumber);
 				    		wx.setStorageSync("authorization",res.data.authorization);
 				    	}catch(e){
 
 				    	}
+						_self.setData({openlog:false});
 				    	_self.endTimeing();
 				    	if(typeof _self.loginback=="function"){
 				    		_self.loginback();

+ 2 - 2
pages/cardetail/cardetail.wxml

@@ -44,7 +44,7 @@
 			{{detail.name}}
 		</view>
 		<view class="cardetail_price">
-			好车价
+			好车价
 			<view class="cardetail_price_v">{{detail.price}}万</view>
 			<view class="cardetail_price_n">新车指导价:{{detail.guid_price}}万</view>
 		</view>
@@ -85,7 +85,7 @@
 			class="cardetail_shop_nav"
           	open-type="navigateTo"
 			url="../shop/shop?id={{detail.merchant_id}}"
-		>进店逛逛></navigator>
+		>进店逛逛<image src="../../img/right.png"/></navigator>
 	</view>
 	<view class="cardetail_space">
 		<view class="cardetail_space_t">基本信息</view>

+ 20 - 7
pages/cardetail/cardetail.wxss

@@ -33,10 +33,12 @@
 	height: 27rpx;
 	line-height: 27rpx;
 	color: rgba(255, 255, 255, 1);
+	/*padding: 0rpx 5rpx;*/
 	font-size: 18rpx;
 	text-align: center;
-	background-color: rgba(56, 55, 53, 0.2);
-	box-shadow: 0px 1px 2px 0px rgba(56, 55, 53, 0.2);
+	/*background-color: rgba(56, 55, 53, 0.2);*/
+	text-shadow: 0px 1px 2px #383735;
+	/*box-shadow: 0px 1px 2px 0px rgba(56, 55, 53, 0.2);*/
 }
 .cardetail_info_c{
 	height: 282rpx;
@@ -50,6 +52,7 @@
 	color: rgba(56, 55, 53, 1);
 	font-size: 32rpx;
 	text-align: center;
+	font-family: PingFangSC-Medium;
 }
 .cardetail_price{
 	margin-top:20rpx;
@@ -61,9 +64,10 @@
 }
 .cardetail_price_v{
 	display: inline;
-	color:#c5a971;
-	margin:0rpx 30rpx 0rpx 15rpx;
-	font-size: 35rpx;
+	color:#BFA368;
+	margin:0rpx 30rpx 0rpx 10rpx;
+	font-size: 42rpx;
+	font-family: PingFangSC-Medium;
 }
 .cardetail_price_n{
 	display: inline;
@@ -89,6 +93,7 @@
 	color: rgba(56, 55, 53, 1);
 	font-size: 32rpx;
 	text-align: center;
+	font-family: PingFangSC-Medium;
 }
 .cardetail_flex_name{
 	margin-top:20rpx;
@@ -110,9 +115,10 @@
 .cardetail_shop_n{
 	height: 48rpx;
 	line-height: 48rpx;
-	color: rgba(56, 55, 53, 1);
+	color: #383735;
 	font-size: 32rpx;
 	margin-top:22rpx;
+	font-family: PingFangSC-Medium;
 }
 .cardetail_shop_d{
 	height: 36rpx;
@@ -135,6 +141,11 @@
 	color: rgba(104, 104, 104, 1);
 	font-size: 24rpx;
 }
+.cardetail_shop_nav image{
+ width:22rpx;
+ height: 22rpx;
+ margin-left: 10rpx;
+}
 
 .cardetail_space{
 	background-color:white;
@@ -146,7 +157,7 @@
 	line-height: 32rpx;
 	color: rgba(104, 104, 104, 1);
 	font-size: 32rpx;
-	text-indent:10rpx;
+	text-indent:30rpx;
 	border-left:6rpx solid #FFE600;
 	margin:0rpx 40rpx;
 }
@@ -309,6 +320,7 @@
 	display: flex;
 	background-color:white;
 	text-align: center;
+	border-top: 1rpx solid #ebebeb;
 }
 .cardetail_op_collect,.cardetail_op_phone{
 	width: 136rpx;
@@ -329,6 +341,7 @@
 	line-height: 98rpx;
 	color: rgba(56, 55, 53, 1);
 	font-size: 30rpx;
+	font-family: PingFangSC-Medium;
 }
 .cardetail_op_line{
 	border-top:25rpx solid #FFE600;

+ 1 - 1
pages/shop/shop.wxml

@@ -29,7 +29,7 @@
 				data-phonenumber="{{info.phone}}"
 				bindtap="makeCall"
 			>
-				<image src="../../img/phone.png"/>{{info.phone}}
+				<image src="../../img/phone2.png"/>{{info.phone}}
 			</view>
 		</view>
 	</view>

+ 1 - 0
pages/shop/shop.wxss

@@ -31,6 +31,7 @@
 .shop_detail_address image,.shop_detail_phone image{
 	margin-top:8rpx;
 	float: left;
+  margin-right: 10rpx;
 	width:20rpx;
 	height: 20rpx;
 }

+ 4 - 1
pages/usercenter/usercenter.js

@@ -96,7 +96,10 @@ Page(Object.assign({
     this.setData({phonenumber:number});
   },
   closeLogBack:function(){
-    wx.navigateBack();
+    var number = wx.getStorageSync("mobile");
+    if(!number){
+      wx.redirectTo({url:"../index/index"});
+    }
   },
   loginback:function(){
     var number = wx.getStorageSync("mobile");

+ 1 - 1
pages/usercenter/usercenter.wxss

@@ -9,7 +9,7 @@
 	background:linear-gradient(270deg,#FFD800,#FFE600);
 	overflow: hidden;
 	padding-bottom: 20rpx;
-}y
+}
 .usercenter_top_w{
 	margin-top: 55px;
 	height: 54rpx;