gift-choice.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <!-- 礼品心选 -->
  2. <template>
  3. <view class="wrap">
  4. <image src="../../../static/bg-11.png" mode="widthFix" class="bg"></image>
  5. <view class="top-module">
  6. <view class="top-module-item" @tap="giftChoiceList">
  7. <view class="top-module-item-name">送长辈</view>
  8. <image src="../../../static/img-4.png" class="top-module-item-img" mode="aspectFill"></image>
  9. </view>
  10. <view class="top-module-item" @tap="giftChoiceList">
  11. <view class="top-module-item-name">送晚辈</view>
  12. <image src="../../../static/img-4.png" class="top-module-item-img" mode="aspectFill"></image>
  13. </view>
  14. <view class="top-module-item" @tap="giftChoiceList">
  15. <view class="top-module-item-name">送朋友</view>
  16. <image src="../../../static/img-4.png" class="top-module-item-img" mode="aspectFill"></image>
  17. </view>
  18. <view class="top-module-item" @tap="customizeGift">
  19. <view class="top-module-item-name">礼品定制</view>
  20. <image src="../../../static/img-4.png" class="top-module-item-img" mode="aspectFill"></image>
  21. </view>
  22. </view>
  23. <view class="product-list">
  24. <view class="product-item" @tap="productDetails">
  25. <view class="product-item-column2">
  26. <image src="../../../static/img-4.png" class="product-item-column2-img" mode="aspectFill"></image>
  27. <view class="product-item-column2-bottom">
  28. <view class="product-item-column-name2">冻干柠檬片 蜂蜜柠檬茶 保留鲜度96% 美白神器</view>
  29. <view class="product-item-column2-row-between">
  30. <view class="product-item-column2-price">
  31. ¥394.00
  32. <text>¥34.00</text>
  33. </view>
  34. <button type="default" class="product-item-column2-btn">
  35. <image src="../../../static/add-icon.png" mode=""></image>
  36. </button>
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="product-item" @tap="productDetails">
  42. <view class="product-item-column2">
  43. <image src="../../../static/img-4.png" class="product-item-column2-img" mode="aspectFill"></image>
  44. <view class="product-item-column2-bottom">
  45. <view class="product-item-column-name2">冻干柠檬片 蜂蜜柠檬茶 保留鲜度96% 美白神器</view>
  46. <view class="product-item-column2-row-between">
  47. <view class="product-item-column2-price">
  48. ¥394.00
  49. <text>¥34.00</text>
  50. </view>
  51. <button type="default" class="product-item-column2-btn">
  52. <image src="../../../static/add-icon.png" mode=""></image>
  53. </button>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="product-item" @tap="productDetails">
  59. <view class="product-item-column2">
  60. <image src="../../../static/img-4.png" class="product-item-column2-img" mode="aspectFill"></image>
  61. <view class="product-item-column2-bottom">
  62. <view class="product-item-column-name2">冻干柠檬片 蜂蜜柠檬茶 保留鲜度96% 美白神器</view>
  63. <view class="product-item-column2-row-between">
  64. <view class="product-item-column2-price">
  65. ¥394.00
  66. <text>¥34.00</text>
  67. </view>
  68. <button type="default" class="product-item-column2-btn">
  69. <image src="../../../static/add-icon.png" mode=""></image>
  70. </button>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </template>
  78. <script>
  79. export default {
  80. data() {
  81. return {
  82. // 跳转礼品列表、送长辈
  83. giftChoiceList(){
  84. uni.navigateTo({
  85. url:'../gift-choice-list/gift-choice-list'
  86. })
  87. },
  88. // 跳转礼品定制
  89. customizeGift(){
  90. uni.navigateTo({
  91. url:'../customize-gift/customize-gift'
  92. })
  93. },
  94. // 跳转产品详情
  95. productDetails(){
  96. uni.navigateTo({
  97. url:'../product-details/product-details'
  98. })
  99. },
  100. }
  101. },
  102. methods: {
  103. }
  104. }
  105. </script>
  106. <style scoped lang="scss">
  107. @import "./gift-choice.css";
  108. </style>