dry-clean.vue 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <template>
  2. <view class="dry-clean-box iPhone-bottom flex-common-css box-border-box">
  3. <Nav title='干洗'></Nav>
  4. <view class="head-box box-border-box p-24 flex-justify-space">
  5. <image src="@/static/img/my/lqzx-bg.png" mode=""></image>
  6. <view class="flex-1">
  7. <view class="display-flex mb-16">
  8. <view class="w410 fs-40 fw-600">干洗店干洗店干洗111干 干洗店干洗店</view>
  9. <view class="fs-28 fw-400 fc-41ABF5" @click="selectsShop()">【切换门店】</view>
  10. </view>
  11. <view class="display-flex">
  12. <view class="w410 fs-26 fw-400 fc-9">兴科大道252号兴科大道252号兴科大道252号</view>
  13. <view class="text-align-center" style="margin-left: auto;">
  14. <view class="">
  15. <uni-icons type="location" size="20"></uni-icons>
  16. </view>
  17. <view class="fs-26 fc-9">1km</view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="box-border-box p-24">
  23. <view class="sy-box flex-justify-space box-border-box p-16">
  24. <view class="align-items-center">
  25. <uni-icons type="help" size="20" color="#666"></uni-icons>
  26. <view class="fc-6 fs-28 ml-10">使用需知</view>
  27. </view>
  28. <image src="@/static/img/toRight.png" mode=""></image>
  29. </view>
  30. </view>
  31. <view class="common-view-css bgc-f" style="overflow: hidden;">
  32. <Menu style="height: 100%;"></Menu>
  33. </view>
  34. <view class="shop-buttom-money box-border-box" @click="openBuyCrad()">
  35. <view class="shop-buttom-money-1 flex-justify-space align-items-center">
  36. <image src="@/static/img/takeout/buy-icon.png" mode="scaleToFill"></image>
  37. <view class="shop-buttom-num fs-24 fc-f text-align-center">3</view>
  38. <view class="">
  39. <view class="">
  40. <span class="fw-600 fs-24 fc-f">¥</span>
  41. <span class="fw-600 fs-44 fc-f">19.26</span>
  42. </view>
  43. </view>
  44. <view class="shop-buttom-money-2 text-align-center fc-f fs-32 fw-600">去结算</view>
  45. </view>
  46. </view>
  47. <uni-popup ref="popupBuy" type="bottom">
  48. <view class="buy-card flex-index-css">
  49. <view class="buy-card-top box-border-box plr-32 flex-justify-space align-items-center">
  50. <view class="">
  51. <span class="fs-32 fc-3 mr-12">已选商品</span>
  52. <span class="fs-32 fc-9">(打包费<span class="fs-32 fc-FB3D03">8元</span>)</span>
  53. </view>
  54. <view class="fs-28 fw-400 fc-9 align-items-center">
  55. <view class="">
  56. <uni-icons type="trash" size="18" color="#999"></uni-icons>
  57. </view>
  58. <view class="fs-28 fw-400 fc-9">清空</view>
  59. </view>
  60. </view>
  61. <view class="scroll-view-css box-border-box p-32">
  62. <view class="buy-card-item display-flex" v-for="(item,i) in 5" :key="i">
  63. <image src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  64. <view class="flex-1">
  65. <view class="w-514 text-overflow-ellipsis-one fs-34 fw-600 mb-40">[畅销款]奥尔1良烤肉牛油拌饭拌饭[畅销款]奥尔1良烤肉牛油拌饭拌饭</view>
  66. <view class="flex-justify-space">
  67. <view class="">
  68. <span class="fs-24 fc-FB3D03 fw-400">¥</span>
  69. <span class="fs-40 fc-FB3D03 fw-b">3.99</span>
  70. </view>
  71. <view class="display-flex align-items-center">
  72. <view class="right-only-right-red fw-500 text-align-center fs-36 fc-f">-</view>
  73. <view class="right-only-right-2 text-align-center fs-28 fw-400">1</view>
  74. <view class="right-only-right-add fw-500 text-align-center fs-36 fc-f">+</view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="shop-buttom-money box-border-box" @click="createOrder()">
  81. <view class="shop-buttom-money-1 flex-justify-space align-items-center">
  82. <image src="@/static/img/takeout/buy-icon.png" mode="scaleToFill"></image>
  83. <view class="shop-buttom-num fs-24 fc-f text-align-center">3</view>
  84. <view class="">
  85. <view class="">
  86. <span class="fw-600 fs-24 fc-f">¥</span>
  87. <span class="fw-600 fs-44 fc-f">19.26</span>
  88. </view>
  89. </view>
  90. <view class="shop-buttom-money-2 text-align-center fs-32 fc-f fw-600" @click="toConfirmOrder()">去结算</view>
  91. </view>
  92. </view>
  93. </view>
  94. </uni-popup>
  95. </view>
  96. </template>
  97. <script>
  98. import Menu from './dry-mod/menu.vue';
  99. import tools from "@/service/tools";
  100. export default {
  101. components:{Menu},
  102. data(){
  103. return{
  104. }
  105. },
  106. onLoad() {
  107. },
  108. methods:{
  109. selectsShop(){
  110. uni.navigateTo({
  111. url:'/pages-buy/dry-mod/select-shop'
  112. })
  113. },
  114. openBuyCrad(){
  115. this.$refs.popupBuy.open()
  116. },
  117. createOrder(){
  118. },
  119. },
  120. }
  121. </script>
  122. <style scoped lang="scss">
  123. .dry-clean-box{
  124. background-color: #fff;
  125. .right-only-right-red{
  126. width: 44rpx;
  127. height: 44rpx;
  128. line-height: 40rpx;
  129. border-radius: 12rpx;
  130. border: 1rpx solid #41ABF5;
  131. color: #41ABF5;
  132. }
  133. .right-only-right-add{
  134. width: 44rpx;
  135. height: 44rpx;
  136. line-height: 40rpx;
  137. background: linear-gradient( 117deg, #57CAFF 0%, #41ABF5 100%);
  138. border-radius: 12rpx;
  139. }
  140. .right-only-right-2{
  141. min-width: 50rpx;
  142. }
  143. .w-514{
  144. width: 514rpx;
  145. }
  146. .w410{
  147. width: 410rpx;
  148. }
  149. .head-box{
  150. background-color: #fff;
  151. box-shadow: 0rpx 8rpx 8rpx 0rpx rgba(51,51,51,0.06);
  152. image{
  153. width: 100rpx;
  154. height: 100rpx;
  155. border-radius: 8rpx;
  156. margin-right: 18rpx;
  157. }
  158. }
  159. .sy-box{
  160. width: 100%;
  161. height: 60rpx;
  162. background: #F2F2F2;
  163. border-radius: 16rpx 16rpx 16rpx 16rpx;
  164. image{
  165. width: 32rpx;
  166. height: 32rpx;
  167. }
  168. }
  169. .shop-buttom-money{
  170. width: 100%;
  171. height: 140rpx;
  172. background: rgba(255,255,255,0.8);
  173. padding: 20rpx 24rpx;
  174. .shop-buttom-money-1{
  175. width: 100%;
  176. height: 100%;
  177. background: #333333;
  178. border-radius: 200rpx;
  179. box-sizing: border-box;
  180. padding-left: 136rpx;
  181. // padding-right: 32rpx;
  182. position: relative;
  183. image{
  184. position: absolute;
  185. bottom: 0;
  186. left: 8rpx;
  187. width: 128rpx;
  188. height: 128rpx;
  189. }
  190. .shop-buttom-num{
  191. width: 32rpx;
  192. height: 32rpx;
  193. line-height: 32rpx;
  194. background: #FB3D03;
  195. border-radius: 50%;
  196. position: absolute;
  197. top: 36rpx;
  198. left: 82rpx;
  199. }
  200. .shop-buttom-money-2{
  201. width: 200rpx;
  202. height: 100rpx;
  203. line-height: 100rpx;
  204. background: #41ABF5;
  205. border-radius: 0rpx 200rpx 200rpx 0rpx;
  206. }
  207. }
  208. }
  209. .buy-card{
  210. height: 828rpx;
  211. background-color: #fff;
  212. border-radius: 24rpx 24rpx 0rpx 0rpx;
  213. .buy-card-top{
  214. width: 100%;
  215. height: 92rpx;
  216. background: #FCF5DB;
  217. border-radius: 24rpx 24rpx 0rpx 0rpx;
  218. }
  219. .buy-card-item{
  220. width: 100%;
  221. height: 176rpx;
  222. margin-bottom: 32rpx;
  223. image{
  224. width: 152rpx;
  225. height: 152rpx;
  226. border-radius: 12rpx;
  227. margin-right: 20rpx;
  228. }
  229. }
  230. }
  231. }
  232. </style>