maintainSubmit.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <template>
  2. <view class="box">
  3. <view class="cont">
  4. <view class="itemBox flex">
  5. <image class="itemIMg" src="../../static/timg/noimg.png" mode=""></image>
  6. <view class="itemRight">
  7. <view class="itemName">【经济车型】全合成机油保养套餐全合成机油</view>
  8. <view class="buyType">单次购买</view>
  9. <view class="priceBox">
  10. <view class="price">¥365</view>
  11. <view class="itemNum">X1</view>
  12. </view>
  13. <view class="itemnotes">注:该商品购买后不支持线上退款</view>
  14. </view>
  15. </view>
  16. <view class="mealBox">
  17. <view class="fwlcTitle">套餐内容</view>
  18. <view class="mealTop">
  19. <view class="mealName">套餐名称</view>
  20. <view class="mealNum">数量</view>
  21. <view class="mealexpire">有效期</view>
  22. </view>
  23. <view class="mealTop2">
  24. <view class="mealName">【豪华车型】全合成机油保养套餐</view>
  25. <view class="mealNum">2</view>
  26. <view class="mealexpire">18个月</view>
  27. </view>
  28. <view class="mealXj">
  29. <view class="xjLine">
  30. <view class="xjyd"></view>
  31. <view class="xjTxt">20项检查</view>
  32. </view>
  33. <view class="xjLine">
  34. <view class="xjyd"></view>
  35. <view class="xjTxt">20美日韩车型专用保养套餐适配机油</view>
  36. </view>
  37. </view>
  38. <view class="mealMs">
  39. <view class="mealMsline">
  40. 1.本套餐不限车辆使用;
  41. 2.机油套餐包含:机油,机油滤,工时费
  42. 3.购买此套餐,共享有2次保养次数。
  43. </view>
  44. </view>
  45. </view>
  46. <view class="goodsBox">
  47. <view class="goodsline flex" style="border-bottom: 1px solid #EEEEEE;">
  48. <view class="goodsLeft">商品总价</view>
  49. <view class="goodRight">¥2084.00</view>
  50. </view>
  51. <view class="goodsline flex" >
  52. <view class="goodsLeft"></view>
  53. <view class="goodRight" style="font-size: 26rpx;font-weight: 500;">合计 <span style="color: #EC0F0A;"> ¥1085.00</span></view>
  54. </view>
  55. </view>
  56. <view class="goodsBox">
  57. <view class="goodsline flex" style="border-bottom: 1px solid #EEEEEE;">
  58. <view class="goodsLeft">支付方式</view>
  59. <view class="goodRight">线上支付</view>
  60. </view>
  61. <view class="goodsline flex" >
  62. <view class="goodsLeft">使用方式</view>
  63. <view class="goodRight" >到店使用</view>
  64. </view>
  65. </view>
  66. </view>
  67. <view style="height: 150rpx;"></view>
  68. <view class="bottom">
  69. <view class="bleft">
  70. <span>合计</span>
  71. <span>¥</span>
  72. <span style="font-weight: 500;font-size: 34rpx;color: #EC0F0A;">294</span>
  73. </view>
  74. <view class="Btn">提交订单</view>
  75. </view>
  76. </view>
  77. </template>
  78. <script>
  79. export default {
  80. components: {
  81. },
  82. data() {
  83. return {
  84. themeColor:'',
  85. ext:'',
  86. goodsnum:1,
  87. }
  88. },
  89. onLoad(opt) {
  90. this.ext = this.$common.getExtStoreId();
  91. this.themeColor = uni.getStorageSync("themeColor");
  92. },
  93. onShow() {
  94. },
  95. methods: {
  96. getAboutMember(){
  97. uni.showLoading({
  98. title: '加载中'
  99. })
  100. this.$http('miniApp2/sys/getAboutMember', {
  101. unionID:this.unionID
  102. }, 'GET').then(res => {
  103. uni.hideLoading();
  104. })
  105. },
  106. }
  107. }
  108. </script>
  109. <style scoped lang="less">
  110. .box {
  111. width: 100vw;
  112. min-height: 100vh;
  113. background: #F4F4F4;
  114. }
  115. .cont{
  116. padding: 20rpx 24rpx;
  117. }
  118. .itemBox{
  119. background: #FFFFFF;
  120. border-radius: 16rpx;padding: 24rpx;
  121. }
  122. .itemIMg{
  123. width: 180rpx;
  124. height: 180rpx;border-radius: 10rpx;
  125. }
  126. .flex{
  127. display: flex;
  128. }
  129. .itemRight{
  130. width: 450rpx;padding-left: 24rpx;
  131. }
  132. .itemName{
  133. font-weight: 500;
  134. font-size: 28rpx;
  135. color: #222222;
  136. line-height: 40rpx;
  137. }
  138. .buyType{
  139. width: 106rpx;text-align: center;
  140. height: 32rpx;line-height: 32rpx;
  141. border-radius: 5rpx;
  142. border: 1px solid #FF0035;font-size: 22rpx;
  143. color: #FF0035;
  144. margin-top: 10rpx;
  145. }
  146. .priceBox{
  147. display: flex;justify-content: space-between;padding-top: 10rpx;
  148. }
  149. .price{
  150. font-weight: 500;
  151. font-size: 36rpx;
  152. color: #222222;
  153. line-height: 50rpx;
  154. }
  155. .itemNum{
  156. font-size: 34rpx;line-height: 50rpx;
  157. color: #686868;
  158. }
  159. .itemnotes{
  160. font-size: 24rpx;padding-top: 12rpx;
  161. color: #FFC107;
  162. }
  163. .mealBox{
  164. background: #FFFFFF;
  165. padding: 20rpx 24rpx;
  166. margin-top: 20rpx;
  167. }
  168. .fwlcTitle{
  169. color: #333333;font-size: 30rpx;font-weight: 500;
  170. }
  171. .mealTop{
  172. display: flex;
  173. justify-content: space-between;
  174. height: 72rpx;
  175. line-height: 72rpx;
  176. font-weight: 500;
  177. font-size: 26rpx;
  178. color: #222222;
  179. font-size: 26rpx;
  180. padding: 0 20rpx;
  181. }
  182. .mealNum{
  183. text-align: center;
  184. width: 120rpx;
  185. }
  186. .mealexpire{
  187. text-align: center; width: 120rpx;
  188. }
  189. .mealName{
  190. width: 460rpx;
  191. }
  192. .mealTop2{
  193. display: flex;
  194. justify-content: space-between;
  195. height: 72rpx;
  196. line-height: 72rpx;
  197. font-weight: 500;
  198. font-size: 26rpx;
  199. color: #222222;
  200. font-size: 26rpx;
  201. padding: 0 20rpx;
  202. background: #FFF6DB;
  203. }
  204. .mealXj{
  205. background: #FFFCF3;
  206. }
  207. .xjLine{
  208. display: flex;
  209. font-weight: 500;
  210. font-size: 26rpx;
  211. color: #222222;
  212. padding: 20rpx 20rpx;
  213. }
  214. .xjyd{
  215. width: 8rpx;
  216. height: 8rpx;
  217. background: #FABF1B;
  218. border-radius: 50rpx;
  219. margin-top: 12rpx;
  220. margin-right: 10rpx;
  221. }
  222. .mealMs{
  223. background: #FFFFFF;
  224. padding: 20rpx;
  225. font-weight: 400;
  226. font-size: 24rpx;
  227. color: #9A9A9A;
  228. line-height: 38rpx;
  229. }
  230. .goodsBox{
  231. padding: 10rpx 18rpx;font-size: 26rpx;
  232. color: #222222;background: #FFFFFF;margin-top: 20rpx;
  233. border-radius: 16rpx;
  234. }
  235. .goodsline{
  236. justify-content: space-between;
  237. padding: 18rpx 0;
  238. }
  239. .bottom{
  240. background: #FFFFFF;
  241. display: flex;
  242. justify-content: space-between;
  243. position: fixed;
  244. width: 100%;
  245. padding:30rpx 0;
  246. /* padding-bottom: constant(safe-area-inset-bottom);
  247. padding-bottom: env(safe-area-inset-bottom); */
  248. left: 0;bottom: 0;
  249. }
  250. .bleft{
  251. font-weight: 500;
  252. font-size: 26rpx;
  253. color: #222222;
  254. line-height: 86rpx;
  255. padding-left: 50rpx;
  256. }
  257. .Btn{
  258. width: 223rpx;text-align: center;
  259. height: 86rpx;line-height: 86rpx;
  260. background: #FCD903;
  261. border-radius: 43rpx;
  262. font-size: 32rpx;
  263. color: #110B01;
  264. margin-right: 36rpx;
  265. }
  266. </style>