作者 “关晓峰”

style

@@ -23,8 +23,8 @@ @@ -23,8 +23,8 @@
23 </view> 23 </view>
24 </view> 24 </view>
25 <view class="listBox_cont"> 25 <view class="listBox_cont">
26 - <p class="tips" style="border-right: 1px solid #00000042; padding: 0 8rpx;">{{info.year || ''}}</p>  
27 - <p class="tips" style="border-right: 1px solid #00000042; padding: 0 8rpx;">{{(info.hours || '0') + '小时'}}</p> 26 + <p class="tips" style="border-right: 1px solid #00000042; padding: 0 8rpx;" v-if="info.year">{{info.year || ''}}</p>
  27 + <p class="tips" style="border-right: 1px solid #00000042; padding: 0 8rpx;" v-if="info.hours">{{(info.hours || '0') + '小时'}}</p>
28 <p class="tips" style="padding: 0 8rpx;">{{info.category.name}}</p> 28 <p class="tips" style="padding: 0 8rpx;">{{info.category.name}}</p>
29 </view> 29 </view>
30 <image src="../../static/image/2.png" style="width: 164rpx; height: 44rpx;" mode="" v-if="info.is_license == 1"> 30 <image src="../../static/image/2.png" style="width: 164rpx; height: 44rpx;" mode="" v-if="info.is_license == 1">
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 </view> 35 </view>
36 </view> 36 </view>
37 37
38 - <view class=" flexBox" > 38 + <view class=" flexBox" :style="isBtn ? 'align-items: baseline;' : '' " >
39 <view class="tips" v-if="isBtn" style="width: 70%;"> 39 <view class="tips" v-if="isBtn" style="width: 70%;">
40 {{info.province}} {{info.province !=='' ? '-' : ''}} {{info.city}} {{(info.city !=='' && !isBtn) ? '-' : ''}} <text v-if="!isBtn">距您{{info.distance || '0'}}km</text> 40 {{info.province}} {{info.province !=='' ? '-' : ''}} {{info.city}} {{(info.city !=='' && !isBtn) ? '-' : ''}} <text v-if="!isBtn">距您{{info.distance || '0'}}km</text>
41 </view> 41 </view>
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 <image src="../../static/sell/173.png" class="imgS" mode=""></image> 57 <image src="../../static/sell/173.png" class="imgS" mode=""></image>
58 </view> 58 </view>
59 <view class=""> 59 <view class="">
60 - <button share="circle" class="btnS" @click="goGuess">去估价 >></button> 60 + <button share="circle" class="btnS" style="display: flex; align-items: center;" @click="goGuess"> <text style="color: #2F67D3;">去估价</text> <image src="../../static/asd.png" style="width: 40rpx; height: 40rpx;margin-left: 4rpx;"></image></button>
61 </view> 61 </view>
62 </view> 62 </view>
63 <view class="content" @click="goMy"> 63 <view class="content" @click="goMy">
@@ -67,7 +67,7 @@ @@ -67,7 +67,7 @@
67 </view> 67 </view>
68 <u-scroll-list v-if="list && myList.length>0"> 68 <u-scroll-list v-if="list && myList.length>0">
69 <view class=""> 69 <view class="">
70 - <view class="flexBox"> 70 + <view class="flexBox" >
71 <view v-for="item in myList"> 71 <view v-for="item in myList">
72 <view class="items"> 72 <view class="items">
73 <view class="imgBox" style="position: relative;"> 73 <view class="imgBox" style="position: relative;">
@@ -79,13 +79,13 @@ @@ -79,13 +79,13 @@
79 出售 79 出售
80 </view> 80 </view>
81 </view> 81 </view>
82 - <view class=""> 82 + <view class="" style="width: 65%;">
83 <p class="oneh" style=" color: #000000e6;font-size: 28rpx;font-weight: 400;"> 83 <p class="oneh" style=" color: #000000e6;font-size: 28rpx;font-weight: 400;">
84 {{item.category.name + item.brand.name + item.xinghao.name}}</p> 84 {{item.category.name + item.brand.name + item.xinghao.name}}</p>
85 <view class="flexBox" style="margin: 8rpx 0 24rpx 0;"> 85 <view class="flexBox" style="margin: 8rpx 0 24rpx 0;">
86 - <p class="font" style="border-right: 1px solid #00000042; padding: 0 8rpx;"> 86 + <p class="font" style="border-right: 1px solid #00000042; padding: 0 8rpx;" v-if="item.year">
87 {{item.year || ''}}</p> 87 {{item.year || ''}}</p>
88 - <p class="font" style="border-right: 1px solid #00000042; padding: 0 8rpx;"> 88 + <p class="font" style="border-right: 1px solid #00000042; padding: 0 8rpx;" v-if="item.hours">
89 {{(item.hours || '0') + '小时'}}</p> 89 {{(item.hours || '0') + '小时'}}</p>
90 <p class="font" style="padding: 0 8rpx;">{{item.brand.name}}</p> 90 <p class="font" style="padding: 0 8rpx;">{{item.brand.name}}</p>
91 91
@@ -95,7 +95,7 @@ @@ -95,7 +95,7 @@
95 - {{item.city}}</p> 95 - {{item.city}}</p>
96 <p class="oneh" 96 <p class="oneh"
97 style=" color: #e63d27ff;font-weight: 600;font-size: 32rpx;width: 15vw;"> 97 style=" color: #e63d27ff;font-weight: 600;font-size: 32rpx;width: 15vw;">
98 - **</p> 98 + **{{item.category.price_unit}}/{{item.category.day_unit}}</p>
99 </view> 99 </view>
100 </view> 100 </view>
101 101
@@ -340,7 +340,7 @@ @@ -340,7 +340,7 @@
340 color: #2f67d3ff; 340 color: #2f67d3ff;
341 font-size: 32rpx; 341 font-size: 32rpx;
342 font-weight: 700; 342 font-weight: 700;
343 - margin-left: 32rpx; 343 + margin-left: 24rpx;
344 } 344 }
345 345
346 .top { 346 .top {
@@ -91,7 +91,7 @@ @@ -91,7 +91,7 @@
91 </image> 91 </image>
92 <p style=" color: #000000e6;font-size: 32rpx;font-weight: 500;">设备亮点</p> 92 <p style=" color: #000000e6;font-size: 32rpx;font-weight: 500;">设备亮点</p>
93 </view> 93 </view>
94 - <view class="fBox" style=""> 94 + <view class="fBox" style="padding: 24rpx;">
95 {{info.bright}} 95 {{info.bright}}
96 </view> 96 </view>
97 </view> 97 </view>
@@ -466,7 +466,7 @@ @@ -466,7 +466,7 @@
466 } 466 }
467 467
468 .fBox { 468 .fBox {
469 - width: 654rpx; 469 + // width: 654rpx;
470 min-height: 168rpx; 470 min-height: 168rpx;
471 border-radius: 12rpx; 471 border-radius: 12rpx;
472 border: 1rpx solid #fff5e6ff; 472 border: 1rpx solid #fff5e6ff;

959 字节