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

134 lines
2.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="submit">
  3. <view class="icon"
  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. </button>
  11. </view>
  12. <!-- <view class="icon"
  13. @click="$utils.navigateTo('/index/cart')">
  14. <button
  15. class="share">
  16. <uv-icon
  17. size="40rpx"
  18. name="shopping-cart"></uv-icon>
  19. <view class="">
  20. 购物车
  21. </view>
  22. </button>
  23. </view> -->
  24. <!-- <view class="btn"
  25. @click="$emit('submit')">
  26. {{ submiitTitle }}
  27. </view> -->
  28. <view class="submit-btn"
  29. @click="$emit('submit')">
  30. <view class="l">
  31. 立即兑换
  32. </view>
  33. <view class="r">
  34. 立即购买
  35. </view>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. name:"submit",
  42. props : {
  43. submiitTitle : {
  44. default : '立即兑换',
  45. type : String,
  46. }
  47. },
  48. data() {
  49. return {
  50. }
  51. },
  52. methods: {
  53. }
  54. }
  55. </script>
  56. <style lang="scss" scoped>
  57. .submit-btn{
  58. width: 600rpx;
  59. height: 80rpx;
  60. color: #fff;
  61. border-radius: 40rpx;
  62. font-size: 28rpx;
  63. margin: 20rpx auto;
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. border: 1rpx solid $uni-price-color;
  68. overflow: hidden;
  69. .l{
  70. flex: 1;
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. color: $uni-price-color;
  75. }
  76. .r{
  77. background: $uni-price-color;
  78. flex: 1;
  79. height: 100%;
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. }
  84. }
  85. .submit{
  86. position: fixed;
  87. bottom: 0;
  88. left: 0;
  89. width: 100vw;
  90. background-color: #fff;
  91. height: 120rpx;
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. font-size: 24rpx;
  96. .btn{
  97. background: $uni-price-color;
  98. width: 600rpx;
  99. height: 80rpx;
  100. color: #fff;
  101. border-radius: 40rpx;
  102. font-size: 28rpx;
  103. }
  104. .icon{
  105. width: 100rpx;
  106. margin: 0 10rpx;
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. flex-direction: column;
  111. }
  112. .share{
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. flex-direction: column;
  117. font-size: 24rpx;
  118. margin: 0;
  119. padding: 0;
  120. background-color: #fff;
  121. &::after{
  122. border: none;
  123. }
  124. }
  125. }
  126. </style>