Commit 12fac22dbdec72c497a1affc066e78c8057db962

Authored by 王强
1 parent 27e7a789

购好物,积分商城,兑换记录页面statusHeight高度问题处理,微调代码格式~

src/pages/pointsExchangeRecords/pointsExchangeRecords.less
@@ -164,6 +164,7 @@ @@ -164,6 +164,7 @@
164 } 164 }
165 // 占位 165 // 占位
166 .title_box_lh{ 166 .title_box_lh{
  167 + background-color: transparent;
167 height: 93px; 168 height: 93px;
168 } 169 }
169 } 170 }
170 \ No newline at end of file 171 \ No newline at end of file
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
1 <template> 1 <template>
2 -<div class="records_back">  
3 - <!-- 占位 -->  
4 - <div class="title_box_lh" :style="'padding-top: ' + (($parent.top.value)+8) + 'px'">  
5 -  
6 - </div>  
7 - <!--返回按钮-->  
8 - <div class="title_box" :style="'padding-top: ' + (($parent.top.value)+8) + 'px'" >  
9 - <div class="title"> <!--返回按钮-->  
10 - <img @click="goback"  
11 - class="goback" src="static/img/icon_back.png" />  
12 - <div class="text">兑换记录</div> 2 + <div class="records_back">
  3 +
  4 + <!--返回按钮-->
  5 + <div id="aaa" class="title_box" :style="'padding-top: ' + (($parent.top.value / 2) + 8) + 'px'" >
  6 + <div class="title">
  7 +
  8 + <!--返回按钮-->
  9 + <img @click="goback" class="goback" src="static/img/icon_back.png" />
  10 + <div class="text">兑换记录</div>
  11 + </div>
13 </div> 12 </div>
14 - </div>  
15 - <div class="com_box"  
16 - v-infinite-scroll="loadMore"  
17 - infinite-scroll-disabled="loading"  
18 - :infinite-scroll-distance="list.length">  
19 - <div @click="jumpOrderDes(item)" class="item_box" v-for="(item, index) in list" :key="index">  
20 - <img v-lazy="item.simg" src="item" alt=""/>  
21 - <div class="right">  
22 - <div class="name">  
23 - {{item.title}}  
24 - </div>  
25 - <div v-show="item.address_name && item.address_address && item.address_phone" class="address_name">  
26 - 收货人: <span> {{item.address_name}}</span> <span> {{item.address_phone}}</span> <span> {{item.address_address}}</span>  
27 - </div>  
28 -  
29 - <div v-show="item.price || item.total" class="exchange_type">  
30 - <span v-show="item.total && $route.query.type==3">{{item.total}}积分</span>  
31 - <span class="灰色" v-show="item.total && $route.query.type==7">{{item.total}}健康值</span>  
32 - <span v-show="parseInt(item.price)>0">+{{item.price}}元</span>  
33 - </div>  
34 - <div class="exchange_time">  
35 - 兑换时间 {{item.create_time*1000 | datetime('yyyy-MM-dd hh:mm:ss')}}  
36 - </div>  
37 - <div v-show="item.shop_type == 1 && !item.address_name && !item.address_address && !item.address_phone" class="btn-box">  
38 - <!-- 需要填写地址状态 -->  
39 - <!-- <div @click.stop="addAddressInfo(item)" class="btn">  
40 - 填写地址  
41 - <img src="static/img/red_right_icon.png" alt=""/>  
42 - </div> -->  
43 - <!-- 已填写地址等待发货状态 -->  
44 - <div v-show="item.sendtime && item.sendtime>0" class="look_logistics">  
45 - 查看物流 13 +
  14 + <!-- 占位 -->
  15 + <div id="bbb" class="title_box_lh" :style="'padding-top: ' + (($parent.top.value / 2) + 8) + 'px'"></div>
  16 +
  17 + <div class="com_box" v-infinite-scroll="loadMore" infinite-scroll-disabled="loading" :infinite-scroll-distance="list.length">
  18 +
  19 + <div @click="jumpOrderDes(item)" class="item_box" v-for="(item, index) in list" :key="index">
  20 + <img v-lazy="item.simg" src="item" alt="" />
  21 + <div class="right">
  22 + <div class="name">{{item.title}}</div>
  23 + <div v-show="item.address_name && item.address_address && item.address_phone" class="address_name">
  24 + 收货人: <span> {{item.address_name}}</span> <span> {{item.address_phone}}</span> <span> {{item.address_address}}</span>
  25 + </div>
  26 + <div v-show="item.price || item.total" class="exchange_type">
  27 + <span v-show="item.total && $route.query.type==3">{{item.total}}积分</span>
  28 + <span class="灰色" v-show="item.total && $route.query.type==7">{{item.total}}健康值</span>
  29 + <span v-show="parseInt(item.price)>0">+{{item.price}}元</span>
  30 + </div>
  31 + <div class="exchange_time">
  32 + 兑换时间 {{item.create_time*1000 | datetime('yyyy-MM-dd hh:mm:ss')}}
  33 + </div>
  34 + <div v-show="item.shop_type == 1 && !item.address_name && !item.address_address && !item.address_phone" class="btn-box">
  35 +
  36 + <!-- 需要填写地址状态 -->
  37 + <!-- <div @click.stop="addAddressInfo(item)" class="btn">
  38 + 填写地址
  39 + <img src="static/img/red_right_icon.png" alt=""/>
  40 + </div> -->
  41 +
  42 + <!-- 已填写地址等待发货状态 -->
  43 + <div v-show="item.sendtime && item.sendtime>0" class="look_logistics">查看物流</div>
  44 + </div>
  45 + </div>
46 </div> 46 </div>
47 - </div>  
48 </div> 47 </div>
49 - </div>  
50 - </div>  
51 - <!-- 暂无记录展示 -->  
52 - <div v-show="list.length == 0 && isCall" class="no_gift_tip">  
53 - <img src="static/img/no_gift_tip.png" alt=""/>  
54 - <div class="text">暂无兑换记录</div>  
55 - </div>  
56 - <div v-show="list.length>0 && isMore ==0" class="is_more">  
57 - 没有更多了 48 +
  49 + <!-- 暂无记录展示 -->
  50 + <div v-show="list.length == 0 && isCall" class="no_gift_tip">
  51 + <img src="static/img/no_gift_tip.png" alt=""/>
  52 + <div class="text">暂无兑换记录</div>
  53 + </div>
  54 + <div v-show="list.length>0 && isMore ==0" class="is_more">
  55 + 没有更多了
  56 + </div>
  57 +
  58 + <!-- 地址信息组件 -->
  59 + <!-- <app-address-toast ref="itemsInfo" @toUpdate="updateAddressInfo" v-show="pointsToast_control"></app-address-toast> -->
58 </div> 60 </div>
59 - <!-- 地址信息组件 -->  
60 - <!-- <app-address-toast ref="itemsInfo" @toUpdate="updateAddressInfo" v-show="pointsToast_control"></app-address-toast> -->  
61 -</div>  
62 </template> 61 </template>
63 62
64 <script> 63 <script>