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

96 lines
1.5 KiB

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