Browse Source

修改 样式问题。

liguorui 6 years ago
parent
commit
408b72f769

+ 4 - 9
module/caritem/caritem.wxml

@@ -17,8 +17,7 @@
         <navigator 
           open-type="navigateTo"
           url="../cardetail/cardetail?id={{car.id}}" 
-          class="caritem_time_i">
-          {{car.licensetime}}年上牌 | {{car.mileage}}万公里
+          class="caritem_time_i">{{car.licensetime}}年上牌 | {{car.mileage}}万公里
         </navigator>
         <navigator 
           wx:if='{{car.store_id}}'
@@ -26,22 +25,18 @@
           catchtap=""
           url="../shop/shop?id={{car.store_id}}"
           class="caritem_store"
-        >
-          {{car.store_name}}
-        </navigator>
+        >{{car.store_name}}</navigator>
       </view>
       <navigator 
         open-type="navigateTo"
         url="../cardetail/cardetail?id={{car.id}}" 
-        class="caritem_p">
-        {{car.sale_price}}万 
+        class="caritem_p">{{car.sale_price}}万 
         <image class="caritem_p_img" src="../../img/placard.png"/>
       </navigator>
       <navigator 
         open-type="navigateTo"
         url="../cardetail/cardetail?id={{car.id}}" 
-        class="caritem_guide_p">
-        新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
+        class="caritem_guide_p">新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
       </navigator>
     </view>
   </view>

+ 4 - 0
module/caritem/caritem.wxss

@@ -32,6 +32,7 @@
   font-size: 26rpx;
   text-align: left;
   font-family: PingFangSC-Medium,NotoSansHans-Medium;
+  float:left;
 }
 .caritem_time{
   height: 30rpx;
@@ -39,6 +40,7 @@
   color: rgba(135, 135, 135, 1);
   font-size: 20rpx;
   text-align: left;
+  float:left;
   display: flex;
 }
 .caritem_time_i{
@@ -66,6 +68,7 @@
   color: rgba(33, 36, 37, 1);
   font-size: 28rpx;
   font-family: PingFangSC-Semibold,NotoSansHans-Blod;
+  float:left;
 }
 .caritem_p_img{
   width: 20rpx;
@@ -77,6 +80,7 @@
   color: rgba(104, 104, 104, 1);
   font-size: 22rpx;
   text-align: left;
+  float:left;
 }
 .caritem_guidep{
   display: inline;

+ 4 - 8
module/caritem/collectcaritem.wxml

@@ -13,23 +13,19 @@
         url="../cardetail/cardetail?id={{car.id}}"
         class="caritem_t"
       >{{car.title?car.title:'--'}}</navigator>
-      <view class="caritem_time">
-        {{car.licensetime}}上牌 | {{car.mileage}}万公里
+      <view class="caritem_time">{{car.licensetime}}上牌 | {{car.mileage}}万公里
         <navigator 
           open-type="navigateTo"
           catchtap=""
           url="../shop/shop?id={{car.store_id}}"
           class="caritem_store"
-        >
-          {{car.store_name}}
+        >{{car.store_name}}
         </navigator>
       </view>
-      <view class="caritem_p">
-        {{car.sale_price}}万
+      <view class="caritem_p">{{car.sale_price}}万
         <image class="caritem_p_img" src="../../img/placard.png"/>
       </view>
-      <view class="caritem_guide_p">
-        新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
+      <view class="caritem_guide_p">新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
         <image class="delete_collect" bindtap="deleteCollect" data-id="{{car.id}}" data-ind="{{index}}" src="../../img/delete.png"/>
       </view>
     </view>

+ 2 - 4
module/logs/logs.wxml

@@ -7,11 +7,9 @@
 		bindtap="closeLog"
 		src="../../img/close.png"
 	/>
-	<view class="logs_welcome">
-		欢迎来到第一好车
+	<view class="logs_welcome">欢迎来到第一好车
 	</view>
-	<view class="logs_welcome_withoutlog">
-		无需注册,急速登录
+	<view class="logs_welcome_withoutlog">无需注册,急速登录
 	</view>
 	<input 
 		class="logs_phone_num"

+ 1 - 1
module/search/search.wxml

@@ -41,7 +41,7 @@
               </view>
           </block> 
         </view>
-        <view 
+        <view
           style="display: {{keylist.length==0?'inline-block':'none'}}" 
           class="search_input_holderw">
           搜索

+ 8 - 6
pages/cardetail/cardetail.wxml

@@ -55,8 +55,7 @@
 		</view>
 	</view>
 	<view class="cardetail_info_c">
-		<view class="cardetail_t">
-			{{detail.name}}
+		<view class="cardetail_t">{{detail.name}}
 		</view>
 		<view class="cardetail_price">
 			好车价:
@@ -152,8 +151,7 @@
 			class="cardetail_describe_op {{desopen?'cardetail_describe_opactive':''}}" src = "../../img/right.png"/>
 		<view 
 			style="{{desopen?'height:auto':''}}"
-			class="cardetail_describe">
-			{{detail.car_condition}}
+			class="cardetail_describe">{{detail.car_condition}}
 		</view>
 	</view>
 	<view
@@ -229,8 +227,12 @@
 		</view>
 	</view>
 	<view class="no_more">——没有更多——</view>
-	<view class="cardetail_op_list_space"></view>
-	<view class="cardetail_op_list">
+	<view 
+		style="height: {{footerheight}}rpx"
+		class="cardetail_op_list_space"></view>
+	<view 		
+		style="height: {{footerheight}}rpx"
+		class="cardetail_op_list">
 		<view 
 			class="cardetail_op_collect"
 			bindtap="collectCar"			

+ 0 - 2
pages/cardetail/cardetail.wxss

@@ -376,14 +376,12 @@
 }
 
 .cardetail_op_list_space{
-	height: 120rpx;
 }
 .cardetail_op_list{
 	position: fixed;
 	left:0rpx;
 	bottom:0rpx;
 	width: 100%;
-	height: 120rpx;
 	display: flex;
 	background-color:white;
 	text-align: center;

+ 2 - 4
pages/index/cardetail.wxml

@@ -11,11 +11,9 @@
       <view 
         class="car_t"
       >{{car.title?car.title:'--'}}</view>
-      <view class="car_time">
-        {{car.licensetime}}年上牌|{{car.mileage}}万公里
+      <view class="car_time">{{car.licensetime}}年上牌|{{car.mileage}}万公里
       </view>
-      <view class="car_p">
-        售价:{{car.sale_price}}万
+      <view class="car_p">售价:{{car.sale_price}}万
       </view>
       <view class="car_characteristic">
         <block wx:for="{{car.tag}}" wx:key="{{index}}">