景徳镇旅游微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
1.5 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="submit">
  3. <view class=""
  4. @click="$emit('share')">
  5. <button open-type="share"
  6. class="share">
  7. <uv-icon
  8. size="40rpx"
  9. name="share-square"></uv-icon>
  10. <view class="">
  11. 分享
  12. </view>
  13. </button>
  14. </view>
  15. <view class=""
  16. @click="$emit('collect')">
  17. <button
  18. class="share">
  19. <uv-icon
  20. size="40rpx"
  21. name="star"></uv-icon>
  22. <view class="">
  23. 收藏
  24. </view>
  25. </button>
  26. </view>
  27. <view class=""
  28. @click="$utils.navigateTo('/pages_order/mine/cart')">
  29. <button
  30. class="share">
  31. <uv-icon
  32. size="40rpx"
  33. name="shopping-cart"></uv-icon>
  34. <view class="">
  35. 购物车
  36. </view>
  37. </button>
  38. </view>
  39. <view class="btn"
  40. @click="$emit('submit')">
  41. {{ submiitTitle }}
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. name:"submit",
  48. props : {
  49. submiitTitle : {
  50. default : '立即购买',
  51. type : String,
  52. },
  53. detail : {
  54. default : {}
  55. }
  56. },
  57. data() {
  58. return {
  59. }
  60. },
  61. methods: {
  62. }
  63. }
  64. </script>
  65. <style lang="scss" scoped>
  66. .submit{
  67. position: fixed;
  68. bottom: 0;
  69. left: 0;
  70. width: 100vw;
  71. background-color: #fff;
  72. height: 100rpx;
  73. display: flex;
  74. justify-content: center;
  75. align-items: center;
  76. font-size: 24rpx;
  77. .btn{
  78. background: $uni-color;
  79. width: 340rpx;
  80. height: 80rpx;
  81. color: #fff;
  82. border-radius: 40rpx;
  83. font-size: 28rpx;
  84. }
  85. view{
  86. width: 100rpx;
  87. margin: 0 10rpx;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. flex-direction: column;
  92. }
  93. }
  94. </style>