瑶都万能墙
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.

77 lines
1.1 KiB

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