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

122 lines
1.8 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="submit">
  3. <view class=""
  4. @click=""
  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. </view>
  63. </template>
  64. <script>
  65. export default {
  66. name:"submit",
  67. props : {
  68. submiitTitle : {
  69. default : '立即购买',
  70. type : String,
  71. },
  72. article : {
  73. default : false
  74. }
  75. },
  76. data() {
  77. return {
  78. }
  79. },
  80. methods: {
  81. }
  82. }
  83. </script>
  84. <style lang="scss" scoped>
  85. .submit{
  86. position: fixed;
  87. bottom: 0;
  88. left: 0;
  89. width: 100vw;
  90. background-color: #fff;
  91. height: 100rpx;
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. font-size: 24rpx;
  96. .btn{
  97. background: $uni-color;
  98. width: 600rpx;
  99. height: 80rpx;
  100. color: #fff;
  101. border-radius: 40rpx;
  102. font-size: 28rpx;
  103. }
  104. view{
  105. width: 100rpx;
  106. margin: 0 10rpx;
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. flex-direction: column;
  111. }
  112. }
  113. </style>