景徳镇旅游微信小程序
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.

129 lines
2.0 KiB

9 months ago
8 months ago
8 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
  1. <template>
  2. <view class="submit">
  3. <view class=""
  4. @click="$refs.contactActionSheet.open()"
  5. v-if="!article">
  6. <button
  7. class="share">
  8. <uv-icon
  9. size="40rpx"
  10. name="chat"></uv-icon>
  11. <!-- star-fill -->
  12. <view class="">
  13. 客服
  14. </view>
  15. </button>
  16. </view>
  17. <view class=""
  18. @click="">
  19. <button
  20. class="share">
  21. <uv-icon
  22. size="40rpx"
  23. name="star"></uv-icon>
  24. <!-- star-fill -->
  25. <view class="">
  26. 收藏
  27. </view>
  28. </button>
  29. </view>
  30. <view class=""
  31. @click=""
  32. v-if="article">
  33. <button
  34. class="share">
  35. <image src="/static/image/tourGuide/f.png"
  36. style="width: 40rpx;height: 40rpx;"
  37. mode=""></image>
  38. <!-- star-fill -->
  39. <view class="">
  40. 导航
  41. </view>
  42. </button>
  43. </view>
  44. <view class=""
  45. @click="$emit('share')"
  46. v-if="!article">
  47. <button
  48. open-type="share"
  49. class="share">
  50. <uv-icon
  51. size="40rpx"
  52. name="share-square"></uv-icon>
  53. <view class="">
  54. 分享
  55. </view>
  56. </button>
  57. </view>
  58. <view class="btn"
  59. @click="$emit('submit')">
  60. {{ submiitTitle }}
  61. </view>
  62. <contactActionSheet ref="contactActionSheet"/>
  63. </view>
  64. </template>
  65. <script>
  66. import contactActionSheet from '@/components/base/contactActionSheet.vue'
  67. export default {
  68. components : {
  69. contactActionSheet,
  70. },
  71. name:"submit",
  72. props : {
  73. submiitTitle : {
  74. default : '立即购买',
  75. type : String,
  76. },
  77. article : {
  78. default : false
  79. }
  80. },
  81. data() {
  82. return {
  83. }
  84. },
  85. methods: {
  86. }
  87. }
  88. </script>
  89. <style lang="scss" scoped>
  90. .submit{
  91. position: fixed;
  92. bottom: 0;
  93. left: 0;
  94. width: 100vw;
  95. background-color: #fff;
  96. height: 100rpx;
  97. display: flex;
  98. justify-content: center;
  99. align-items: center;
  100. font-size: 24rpx;
  101. .btn{
  102. background: $uni-color;
  103. width: 600rpx;
  104. height: 80rpx;
  105. color: #fff;
  106. border-radius: 40rpx;
  107. font-size: 28rpx;
  108. }
  109. view{
  110. width: 100rpx;
  111. margin: 0 10rpx;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. flex-direction: column;
  116. }
  117. }
  118. </style>