铝交易,微信公众号
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.

78 lines
1.2 KiB

8 months ago
5 months ago
8 months ago
5 months ago
8 months ago
5 months ago
8 months ago
5 months ago
8 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. z-index: 99;
  57. .btn{
  58. background: $uni-color;
  59. width: 600rpx;
  60. height: 80rpx;
  61. color: #fff;
  62. border-radius: 40rpx;
  63. font-size: 28rpx;
  64. }
  65. view{
  66. width: 100rpx;
  67. margin: 0 10rpx;
  68. display: flex;
  69. justify-content: center;
  70. align-items: center;
  71. flex-direction: column;
  72. }
  73. }
  74. </style>