mineCollect.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!--index.wxml 我的收藏 -->
  2. <view class="container">
  3. <view class="header">
  4. <view data-id="0" bindtap="navChange" class="header_nav header_nav_left {{currentItem == 0 ? 'nav_active' : ''}}">专题</view>
  5. <view data-id="1" bindtap="navChange" class="header_nav header_nav_right {{currentItem == 1 ? 'nav_active' : ''}}">商品</view>
  6. <view class='clearfix'></view>
  7. </view>
  8. <!-- 专题 -->
  9. <view class="content {{showcont == 0 ? 'show' : ''}}">
  10. <view class="each_content_wrap">
  11. <block wx:for="{{contentList}}">
  12. <navigator url="/pages/articleInfor/articleInfor?id={{item.id}}" class="each_content">
  13. <image src="{{item.find_logo}}" class="content_img" mode='widthFix'></image>
  14. <view class='each_cont_wrap'>
  15. <view class='each_cont'>
  16. <!-- 描述 -->
  17. <view class='content_infor_wrap'>
  18. <view class='content_title'>{{item.find_name}}</view>
  19. <view class='content_intro'>{{item.find_des}}</view>
  20. </view>
  21. <!-- 浏览+关注 -->
  22. <view class="content_infor">
  23. <view class="content_infor_cont">
  24. <image src="/images/liulan_gray.png" class="content_icon"></image>
  25. <text>{{item.find_yuedu}}</text>
  26. <image src="/images/zan_gray_n.png" class="content_icon"></image>
  27. <text>{{item.find_shoucang}}</text>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </navigator>
  33. </block>
  34. </view>
  35. </view>
  36. <!-- 商品 -->
  37. <view class="content {{showcont == 1 ? 'show' : ''}}">
  38. <view class="list">
  39. <block wx:for="{{goodsList}}" wx:key="index">
  40. <navigator url="/pages/buy/buy?com_id={{item.id}}" class="list_item_wrap">
  41. <view class="list_item">
  42. <image src="{{item.commodity_logo}}" class="full_image" mode="aspectFit"/>
  43. <!-- <view class="full_img_footer">{{item.commodity_des}}</view> -->
  44. </view>
  45. <view class="full_title">{{item.commodity_name}}</view>
  46. <view class="full_price">
  47. <text class="full_price_unit">¥{{item.commodity_sale}}</text>
  48. <text class="full_price_old" decode="{{true}}">&nbsp;&nbsp;¥ {{item.commodity_cost}}&nbsp;&nbsp;</text>
  49. </view>
  50. </navigator>
  51. </block>
  52. </view>
  53. </view>
  54. </view>