replace-take.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <template>
  2. <view class="replace-take-box iPhone-bottom flex-common-css box-border-box bgc-f">
  3. <view class="nav-box">
  4. <image class="bg-img" src="@/static/img/takeout/dq-bg.png" mode="scaleToFill"></image>
  5. <Nav :leftShow='false' :customNav='true' bgckgroundBox='transparent'>
  6. <template>
  7. <view slot="custom" class="align-items-center">
  8. <uni-icons type="left" size="20" @click="toBack()"></uni-icons>
  9. <view class="w-390 text-overflow-ellipsis-one fs-36 fw-400">代重庆邮电大学邮电大代重庆邮电大学邮电大</view>
  10. </view>
  11. </template>
  12. </Nav>
  13. <view class="address-box align-items-center box-border-box plr-24">
  14. <view class="address-1 flex-justify-space align-items-center">
  15. <view class="align-items-center">
  16. <image class="qu-image" src="@/static/img/takeout/qu-icon.png" mode=""></image>
  17. <view class="fw-600 fs-40">请选择站点</view>
  18. </view>
  19. <image class="address-box-right" src="@/static/img/toRight.png" mode=""></image>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="scroll-view-css list-box box-border-box plr-24">
  24. </view>
  25. <view class="shop-buttom-money box-border-box" @click="createOrder()">
  26. <view class="shop-buttom-money-1 flex-justify-space align-items-center">
  27. <image src="@/static/img/takeout/buy-icon.png" mode="scaleToFill"></image>
  28. <view class="shop-buttom-num fs-24 fc-f text-align-center">3</view>
  29. <view class="">
  30. <span class="fw-600 fs-24 fc-f">¥</span>
  31. <span class="fw-600 fs-44 fc-f">19.26</span>
  32. </view>
  33. <view class="shop-buttom-money-2 text-align-center fs-32 fc-f fw-600">去结算</view>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. import tools from "@/service/tools";
  40. export default {
  41. methods:{
  42. toBack(){
  43. tools.leftClick()
  44. },
  45. createOrder(){
  46. },
  47. }
  48. }
  49. </script>
  50. <style scoped lang="scss">
  51. .replace-take-box{
  52. .w-390{
  53. width: 390rpx;
  54. margin-left: 38rpx;
  55. }
  56. .nav-box{
  57. height: 490rpx;
  58. position: relative;
  59. .bg-img{
  60. position: absolute;
  61. top: 0;
  62. left: 0;
  63. width: 100%;
  64. height: 490rpx;
  65. // z-index: -1;
  66. }
  67. .address-box{
  68. z-index: 100;
  69. position: absolute;
  70. bottom: -64rpx;
  71. left: 24rpx;
  72. box-sizing: border-box;
  73. width: 702rpx;
  74. height: 136rpx;
  75. background: linear-gradient( 182deg, #F1F9FF 0%, #FFFFFF 100%);
  76. box-shadow: 0rpx 0rpx 40rpx 0rpx rgba(172,210,235,0.19);
  77. border-radius: 20rpx;
  78. border-image: linear-gradient(167deg, rgba(255, 255, 255, 1), rgba(208, 236, 255, 0.61)) 2 2;
  79. .address-1{
  80. width: 100%;
  81. .qu-image{
  82. width: 40rpx;
  83. height: 49rpx;
  84. margin: 10rpx 10rpx 0 0;
  85. }
  86. .address-box-right{
  87. width: 32rpx;
  88. height: 32rpx;
  89. }
  90. }
  91. }
  92. }
  93. .shop-buttom-money{
  94. width: 100%;
  95. height: 140rpx;
  96. background: rgba(255,255,255,0.8);
  97. padding: 20rpx 24rpx;
  98. .shop-buttom-money-1{
  99. width: 100%;
  100. height: 100%;
  101. background: #333333;
  102. border-radius: 200rpx;
  103. box-sizing: border-box;
  104. padding-left: 136rpx;
  105. // padding-right: 32rpx;
  106. position: relative;
  107. image{
  108. position: absolute;
  109. bottom: 0;
  110. left: 8rpx;
  111. width: 128rpx;
  112. height: 128rpx;
  113. }
  114. .shop-buttom-num{
  115. width: 32rpx;
  116. height: 32rpx;
  117. line-height: 32rpx;
  118. background: #FB3D03;
  119. border-radius: 50%;
  120. position: absolute;
  121. top: 36rpx;
  122. left: 82rpx;
  123. }
  124. .shop-buttom-money-2{
  125. width: 200rpx;
  126. height: 100rpx;
  127. line-height: 100rpx;
  128. background: #41ABF5;
  129. border-radius: 0rpx 200rpx 200rpx 0rpx;
  130. }
  131. }
  132. }
  133. .list-box{
  134. }
  135. }
  136. </style>