index.wxml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <navbar parameter='{{parameter}}' logoUrl="{{logoUrl}}"></navbar>
  2. <!-- 头部头像 -->
  3. <view class="navheader">
  4. <view class="navheader_a">
  5. <view class="navheader_b">
  6. <view class="navheader_avatar">
  7. <image src="{{userInfo.avatar || '/images/default_image.png'}}"></image>
  8. </view>
  9. <view class="navhead_a">
  10. <view class="nahead_p">{{userInfo.nickname || '请先登录'}}</view>
  11. <!-- <view class="nahead_p1">做一个有人情味的小卖铺~</view> -->
  12. </view>
  13. </view>
  14. <view class="navhead_p2">粉丝 <text>{{userInfo.spread_count || 0}}</text></view>
  15. </view>
  16. <view class="search" bindtap='setGoodsSearch'><text class="iconfont icon-xiazai5"></text>搜索你想要的商品</view>
  17. </view>
  18. <view class='index'>
  19. <view class='index-bg' wx:if="{{imgUrls.length}}">
  20. <swiper indicator-dots="true" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(253,136,0,0.6)" indicator-active-color="#FD8800">
  21. <block wx:for="{{imgUrls}}" wx:key>
  22. <swiper-item>
  23. <navigator url='{{item.url}}' class='slide-navigator acea-row row-between-wrapper' hover-class='none'>
  24. <image src="{{item.pic}}" class="slide-image" />
  25. </navigator>
  26. </swiper-item>
  27. </block>
  28. </swiper>
  29. </view>
  30. <!-- 正在开团、开团预告 -->
  31. <view class="group">
  32. <view class='nav acea-row row-around'>
  33. <view class='item {{orderStatus==1 ? "on": ""}}' data-status="1" bindtap="statusClick">
  34. <view>正在开团</view>
  35. </view>
  36. <view class='item {{orderStatus==0 ? "on": ""}}' data-status="0" bindtap="statusClick">
  37. <view>开团预告</view>
  38. </view>
  39. </view>
  40. <view class='list'>
  41. <view class='item' wx:for="{{orderList}}" wx:key>
  42. <navigator url='/pages/goods_details/index?id={{item.id}}' wx:if='{{orderStatus == 1}}' class="list_a" >
  43. <image src="{{item.image}}" class="list_img"></image>
  44. <view class="list_b">
  45. <view class="list_p line2">{{item.store_name}}</view>
  46. <view class="list_p1" >截团:{{item.tuan_end_time}}</view>
  47. <!-- <view class="list_p2">已售:40件<text>库存:140件</text></view> -->
  48. <view class="list_c">
  49. <view class="list_p3"><text>¥</text>{{item.now_price}}</view>
  50. <view class="list_p4"><text>¥</text>{{item.price}}</view>
  51. <view class="list_url">立即抢 <text class="iconfont icon-xiangyou"></text> </view>
  52. </view>
  53. </view>
  54. </navigator>
  55. <view class="list_a" wx:else >
  56. <image src="{{item.image}}" class="list_img"></image>
  57. <view class="list_b">
  58. <view class="list_p line2">{{item.store_name}}</view>
  59. <view class="list_p1">开团:{{item.tuan_start_time}}</view>
  60. <!-- <view class="list_p2">已售:40件<text>库存:140件</text></view> -->
  61. <view class="list_c">
  62. <view class="list_p3"><text>¥</text>{{item.now_price}}</view>
  63. <view class="list_p4"><text>¥</text>{{item.price}}</view>
  64. <!-- <view class="list_url">立即抢 <text class="iconfont icon-xiangyou"></text> </view> -->
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class='loadingicon acea-row row-center-wrapper' wx:if="{{loading}}">
  71. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  72. </view>
  73. <view class='noCart' wx:if="{{orderList.length == 0 && page > 1}}">
  74. <view class='pictrue'>
  75. <image src='/images/noShopper.png'></image>
  76. <view class="pic_p">暂无商品~</view>
  77. </view>
  78. </view>
  79. </view>
  80. <!-- <view class='wrapper' wx:if="{{bastList.length}}">
  81. <goodList bastList="{{bastList}}"></goodList>
  82. </view> -->
  83. </view>
  84. <coupon-window window='{{window}}' couponList="{{couponList}}" bind:onColse="onColse"></coupon-window>
  85. <!-- <authorize bind:onLoadFun='onLoadFun'></authorize> -->
  86. <home></home>