allGoods.skeleton.wxml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <!--
  2. 此文件为开发者工具生成,生成时间: 2022/3/11 下午5:12:52
  3. 使用方法:
  4. 在 /Users/admin/Documents/chef_project/ysc-applet/pages/tabBar/allGoods/allGoods.wxml 引入模板
  5. ```
  6. <import src="allGoods.skeleton.wxml"/>
  7. <template is="skeleton" wx-if="{{loading}}" />
  8. ```
  9. 在 /Users/admin/Documents/chef_project/ysc-applet/pages/tabBar/allGoods/allGoods.wxss 中引入样式
  10. ```
  11. @import "./allGoods.skeleton.wxss";
  12. ```
  13. 更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
  14. -->
  15. <template name="skeleton">
  16. <view class="sk-container">
  17. <view is="components/navigationBar/navigationBar">
  18. <custom-component>
  19. <view style="height:90px;">
  20. <view class="navigationBar--flex navigationBar--commonHead" style="color:#000;background-color:#FFFFFF;height:90px;">
  21. <view class="navigationBar--commonHeadWrap navigationBar--flex">
  22. <view class="navigationBar--commonHeadTextBox navigationBar--flex">
  23. <view class="navigationBar--headTitle navigationBar--line1 sk-transparent sk-text-31-8182-172 sk-text" style="background-position-x: 50%;">全部商品</view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </custom-component>
  29. </view>
  30. <view class="pageContainer">
  31. <view class="pageNavBox">
  32. <view class="pageNavFixed" style="top:90px;">
  33. <view class="navList flex-c">
  34. <view class="navItem flex-c sel" data-type="all">
  35. <view class="text sk-transparent sk-text-14-2857-525 sk-text">综合</view>
  36. </view>
  37. <view class="navItem flex-c" data-type="sales">
  38. <view class="text sk-transparent sk-text-14-2857-365 sk-text">销量</view>
  39. </view>
  40. <view class="navItem flex-c" data-type="create_time">
  41. <view class="text sk-transparent sk-text-14-2857-100 sk-text">新品</view>
  42. </view>
  43. <view class="navItem flex-c" data-type="price">
  44. <view class="text sk-transparent sk-text-14-2857-589 sk-text">价格</view>
  45. <view class="iconBox">
  46. <image class="icon t sk-image" mode="aspectFill"></image>
  47. <image class="icon sk-image" mode="aspectFill"></image>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="pageMian">
  54. <view class="goodsList">
  55. <view class="goodsItem flex" data-url="/pages/cart/pages/goodsDetail/goodsDetail?goods_id=10051">
  56. <view class="goodsImgBox">
  57. <image lazy-load="true" mode="aspectFill" class="sk-image"></image>
  58. </view>
  59. <view class="goodsInfo sk-pseudo sk-pseudo-circle">
  60. <view class="goodsTextBox">
  61. <view class="goodsName textSpill2 sk-transparent sk-text-14-2857-818 sk-text">路东专员3</view>
  62. <view class="goodsNumber sk-transparent sk-text-14-2857-925 sk-text">月销量:1.5w</view>
  63. </view>
  64. <view class="priceBox">
  65. <text class="tag sk-transparent sk-opacity">¥</text>
  66. <text class="pra sk-transparent sk-opacity">0</text>
  67. <text class="prb sk-transparent sk-text-14-2857-586 sk-text">.10</text>
  68. </view>
  69. </view>
  70. <view class="addCartBox" data-id="10051">
  71. <image class="icon sk-image" mode="aspectFill"></image>
  72. </view>
  73. </view>
  74. <view class="goodsItem flex" data-url="/pages/cart/pages/goodsDetail/goodsDetail?goods_id=10069">
  75. <view class="goodsImgBox">
  76. <image lazy-load="true" mode="aspectFill" class="sk-image"></image>
  77. </view>
  78. <view class="goodsInfo sk-pseudo sk-pseudo-circle">
  79. <view class="goodsTextBox">
  80. <view class="goodsName textSpill2 sk-transparent sk-text-14-2857-184 sk-text">公明腊肠--winter2</view>
  81. <view class="goodsNumber sk-transparent sk-text-14-2857-876 sk-text">月销量:5731</view>
  82. </view>
  83. <view class="priceBox">
  84. <text class="tag sk-transparent sk-opacity">¥</text>
  85. <text class="pra sk-transparent sk-opacity">1</text>
  86. <text class="prb sk-transparent sk-text-14-2857-616 sk-text">.00</text>
  87. </view>
  88. </view>
  89. <view class="addCartBox" data-id="10069">
  90. <image class="icon sk-image" mode="aspectFill"></image>
  91. </view>
  92. </view>
  93. <view class="goodsItem flex" data-url="/pages/cart/pages/goodsDetail/goodsDetail?goods_id=10068">
  94. <view class="goodsImgBox">
  95. <image lazy-load="true" mode="aspectFill" class="sk-image"></image>
  96. </view>
  97. <view class="goodsInfo sk-pseudo sk-pseudo-circle">
  98. <view class="goodsTextBox">
  99. <view class="goodsName textSpill2 sk-transparent sk-text-14-2857-726 sk-text">公明腊肠--winter1</view>
  100. <view class="goodsNumber sk-transparent sk-text-14-2857-458 sk-text">月销量:5071</view>
  101. </view>
  102. <view class="priceBox">
  103. <text class="tag sk-transparent sk-opacity">¥</text>
  104. <text class="pra sk-transparent sk-opacity">0</text>
  105. <text class="prb sk-transparent sk-text-14-2857-817 sk-text">.20</text>
  106. </view>
  107. </view>
  108. <view class="addCartBox" data-id="10068">
  109. <image class="icon sk-image" mode="aspectFill"></image>
  110. </view>
  111. </view>
  112. <view class="goodsItem flex" data-url="/pages/cart/pages/goodsDetail/goodsDetail?goods_id=10115">
  113. <view class="goodsImgBox">
  114. <image lazy-load="true" mode="aspectFill" class="sk-image"></image>
  115. </view>
  116. <view class="goodsInfo sk-pseudo sk-pseudo-circle">
  117. <view class="goodsTextBox">
  118. <view class="goodsName textSpill2 sk-transparent sk-text-14-2857-75 sk-text">summer公明腊肠优惠套餐更改1</view>
  119. <view class="goodsNumber sk-transparent sk-text-14-2857-183 sk-text">月销量:1139</view>
  120. </view>
  121. <view class="priceBox">
  122. <text class="tag sk-transparent sk-opacity">¥</text>
  123. <text class="pra sk-transparent sk-text-14-2857-996 sk-text">120</text>
  124. <text class="prb sk-transparent sk-text-14-2857-354 sk-text">.50</text>
  125. </view>
  126. </view>
  127. <view class="addCartBox" data-id="10115">
  128. <image class="icon sk-image" mode="aspectFill"></image>
  129. </view>
  130. </view>
  131. <view class="goodsItem flex" data-url="/pages/cart/pages/goodsDetail/goodsDetail?goods_id=10066">
  132. <view class="goodsImgBox">
  133. <image lazy-load="true" mode="aspectFill" class="sk-image"></image>
  134. </view>
  135. <view class="goodsInfo sk-pseudo sk-pseudo-circle">
  136. <view class="goodsTextBox">
  137. <view class="goodsName textSpill2 sk-transparent sk-text-14-2857-61 sk-text">公明腊肠--SUMMER20</view>
  138. <view class="goodsNumber sk-transparent sk-text-14-2857-159 sk-text">月销量:1096</view>
  139. </view>
  140. <view class="priceBox">
  141. <text class="tag sk-transparent sk-opacity">¥</text>
  142. <text class="pra sk-transparent sk-text-14-2857-825 sk-text">10</text>
  143. <text class="prb sk-transparent sk-text-14-2857-245 sk-text">.00</text>
  144. </view>
  145. </view>
  146. <view class="addCartBox" data-id="10066">
  147. <image class="icon sk-image" mode="aspectFill"></image>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </view>
  153. </view>
  154. </template>