articleInfor.wxml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!--articleInfor.wxml 文章详情 -->
  2. <import src="../../wxParse/wxParse.wxml"/>
  3. <view class="container">
  4. <view class="content_wrap">
  5. <!-- banner -->
  6. <view class="article_banner">
  7. <image class="article_banner_img" src="{{find_logo}}" mode="widthFix"></image>
  8. </view>
  9. <!-- 标题、描述 -->
  10. <view class="article_infor_wrap">
  11. <view class="article_title">{{find_name}}</view>
  12. <view class="article_intro">{{find_des}}</view>
  13. <view class="article_opera">
  14. <image src="../../images/liulan_gray.png" class="jingpin_icon"></image>
  15. <text>{{find_yuedu}}</text>
  16. <image src="../../images/zan_gray_n.png" class="jingpin_icon"></image>
  17. <text>{{find_shoucang}}</text>
  18. </view>
  19. <!-- 收藏 -->
  20. <view class='article_collect_wrap'>
  21. <image class="article_banner_zan" bindtap="selectZan" data-opera="{{isSelect}}" data-id="{{id}}" src="{{isSelect ? '/images/zan_gray_pre.png' : '/images/zan_gray_n.png'}} "></image>
  22. <view class='article_collect_title'>收藏</view>
  23. </view>
  24. </view>
  25. </view>
  26. <!-- 内容 -->
  27. <view class="article_cont">
  28. <template is="wxParse" data="{{wxParseData:article.nodes}}" class="article_cont_cont"/>
  29. <block wx:if="{{id1}}">
  30. <navigator url="/pages/buy/buy?com_id={{id1}}" class="article_gift clearfix">
  31. <image src="{{img1}}"></image>
  32. <view class="article_gift_infor">
  33. <view class="article_gift_title">{{cmname1}}</view>
  34. <view class="classname">
  35. <view class="article_gift_intro">{{title1}}</view>
  36. <view class="article_gif_price">
  37. <text class="new_price">¥ {{price1}}</text>
  38. <text class="old_price" decode='true'>&nbsp;&nbsp;¥{{oldPrice1}}&nbsp;&nbsp;</text>
  39. </view>
  40. </view>
  41. </view>
  42. </navigator>
  43. </block>
  44. <template is="wxParse" data="{{wxParseData:article1.nodes}}" class="article_cont_cont"/>
  45. <block wx:if="{{id2}}">
  46. <navigator url="/pages/buy/buy?com_id={{id2}}" class="article_gift clearfix">
  47. <image src="{{img2}}"></image>
  48. <view class="article_gift_infor">
  49. <view class="article_gift_title">{{cmname2}}</view>
  50. <view class="classname">
  51. <view class="article_gift_intro">{{title2}}</view>
  52. <view class="article_gif_price">
  53. <text class="new_price">¥ {{price2}}</text>
  54. <text class="old_price" decode='true'>&nbsp;&nbsp;¥{{oldPrice2}}&nbsp;&nbsp;</text>
  55. </view>
  56. </view>
  57. </view>
  58. </navigator>
  59. </block>
  60. <template is="wxParse" data="{{wxParseData:article2.nodes}}" class="article_cont_cont"/>
  61. <block wx:if="{{id3}}">
  62. <navigator url="/pages/buy/buy?com_id={{id3}}" class="article_gift clearfix">
  63. <image src="{{img3}}"></image>
  64. <view class="article_gift_infor">
  65. <view class="article_gift_title">{{cmname3}}</view>
  66. <view class="classname">
  67. <view class="article_gift_intro">{{title3}}</view>
  68. <view class="article_gif_price">
  69. <text class="new_price">¥ {{price3}}</text>
  70. <text class="old_price" decode='true'>&nbsp;&nbsp;¥{{oldPrice3}}&nbsp;&nbsp;</text>
  71. </view>
  72. </view>
  73. </view>
  74. </navigator>
  75. </block>
  76. <template is="wxParse" data="{{wxParseData:article3.nodes}}" class="article_cont_cont"/>
  77. <block wx:if="{{id4}}">
  78. <navigator url="/pages/buy/buy?com_id={{id4}}" class="article_gift clearfix">
  79. <image src="{{img4}}"></image>
  80. <view class="article_gift_infor">
  81. <view class="article_gift_title">{{cmname4}}</view>
  82. <view class="classname">
  83. <view class="article_gift_intro">{{title4}}</view>
  84. <view class="article_gif_price">
  85. <text class="new_price">¥ {{price4}}</text>
  86. <text class="old_price" decode='true'>&nbsp;&nbsp;¥{{oldPrice4}}&nbsp;&nbsp;</text>
  87. </view>
  88. </view>
  89. </view>
  90. </navigator>
  91. </block>
  92. <template is="wxParse" data="{{wxParseData:article4.nodes}}" class="article_cont_cont"/>
  93. <block wx:if="{{id5}}">
  94. <navigator url="/pages/buy/buy?com_id={{id5}}" class="article_gift clearfix">
  95. <image src="{{img5}}"></image>
  96. <view class="article_gift_infor">
  97. <view class="article_gift_title">{{cmname5}}</view>
  98. <view class="classname">
  99. <view class="article_gift_intro">{{title5}}</view>
  100. <view class="article_gif_price">
  101. <text class="new_price">¥ {{price5}}</text>
  102. <text class="old_price" decode='true'>&nbsp;&nbsp;¥{{oldPrice5}}&nbsp;&nbsp;</text>
  103. </view>
  104. </view>
  105. </view>
  106. </navigator>
  107. </block>
  108. <!--articleInfor.wxml 文章详情 -->
  109. </view>
  110. </view>
  111. <view class="modal_wrap {{hiddenmodal ? 'hidden' : ''}}">
  112. <view class="modal {{hiddenmodal ? 'hidden' : ''}}">{{modalCont}}</view>
  113. </view>
  114. <!-- 回到首页 -->
  115. <view bindtap='backIndex' class="back_btn {{showBtn ? '' : 'back_btn_hidden'}}">
  116. <image src='/images/share_back_index.png' class='back_btn_icon'></image>
  117. </view>