酒店桌布为微信小程序
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.

93 lines
1.4 KiB

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="$utils.navigateTo('/index/cart')">
  17. <uv-icon
  18. size="40rpx"
  19. name="shopping-cart"></uv-icon>
  20. <view class="">
  21. 购物车
  22. </view>
  23. </view>
  24. <view class="btn"
  25. @click="$emit('submit')">
  26. {{ submiitTitle }}
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. name:"submit",
  33. props : {
  34. submiitTitle : {
  35. default : '立即租赁',
  36. type : String,
  37. }
  38. },
  39. data() {
  40. return {
  41. }
  42. },
  43. methods: {
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. .submit{
  49. position: fixed;
  50. bottom: 0;
  51. left: 0;
  52. width: 100vw;
  53. background-color: #fff;
  54. height: 100rpx;
  55. display: flex;
  56. justify-content: center;
  57. align-items: center;
  58. font-size: 24rpx;
  59. .btn{
  60. background: $uni-color;
  61. width: 600rpx;
  62. height: 80rpx;
  63. color: #fff;
  64. border-radius: 40rpx;
  65. font-size: 28rpx;
  66. }
  67. view{
  68. width: 100rpx;
  69. margin: 0 10rpx;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. flex-direction: column;
  74. }
  75. .share{
  76. display: flex;
  77. justify-content: center;
  78. align-items: center;
  79. flex-direction: column;
  80. font-size: 24rpx;
  81. margin: 0;
  82. padding: 0;
  83. background-color: #fff;
  84. &::after{
  85. border: none;
  86. }
  87. }
  88. }
  89. </style>