gift-choice-list.vue 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!-- 礼品心选列表 -->
  2. <template>
  3. <view class="wrap">
  4. <view class="product-list">
  5. <view class="product-item" @tap="productDetails">
  6. <view class="product-item-column2">
  7. <image src="../../../static/img-4.png" class="product-item-column2-img" mode="aspectFill"></image>
  8. <view class="product-item-column2-bottom">
  9. <view class="product-item-column-name2">冻干柠檬片 蜂蜜柠檬茶 保留鲜度96% 美白神器</view>
  10. <view class="product-item-column2-row-between">
  11. <view class="product-item-column2-price">
  12. ¥394.00
  13. <text>¥34.00</text>
  14. </view>
  15. <button type="default" class="product-item-column2-btn">
  16. <image src="../../../static/add-icon.png" mode=""></image>
  17. </button>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="product-item" @tap="productDetails">
  23. <view class="product-item-column2">
  24. <image src="../../../static/img-4.png" class="product-item-column2-img" mode="aspectFill"></image>
  25. <view class="product-item-column2-bottom">
  26. <view class="product-item-column-name2">冻干柠檬片 蜂蜜柠檬茶 保留鲜度96% 美白神器</view>
  27. <view class="product-item-column2-row-between">
  28. <view class="product-item-column2-price">
  29. ¥394.00
  30. <text>¥34.00</text>
  31. </view>
  32. <button type="default" class="product-item-column2-btn">
  33. <image src="../../../static/add-icon.png" mode=""></image>
  34. </button>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="product-item" @tap="productDetails">
  40. <view class="product-item-column2">
  41. <image src="../../../static/img-4.png" class="product-item-column2-img" mode="aspectFill"></image>
  42. <view class="product-item-column2-bottom">
  43. <view class="product-item-column-name2">冻干柠檬片 蜂蜜柠檬茶 保留鲜度96% 美白神器</view>
  44. <view class="product-item-column2-row-between">
  45. <view class="product-item-column2-price">
  46. ¥394.00
  47. <text>¥34.00</text>
  48. </view>
  49. <button type="default" class="product-item-column2-btn">
  50. <image src="../../../static/add-icon.png" mode=""></image>
  51. </button>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. data() {
  62. return {
  63. // 跳转产品详情
  64. productDetails(){
  65. uni.navigateTo({
  66. url:'../product-details/product-details'
  67. })
  68. },
  69. }
  70. },
  71. methods: {
  72. }
  73. }
  74. </script>
  75. <style scoped lang="scss">
  76. @import "./gift-choice-list.css";
  77. </style>