maintain.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. <template>
  2. <view class="box">
  3. <view class="top" :style="{background:'#'+themeColor}">
  4. <view class="inputBox">
  5. <view class="ibLeft" @click="goCkcar">
  6. <image class="ibCarIcon" v-if="carInfo.brandLogo" :src="carInfo.brandLogo" mode=""></image>
  7. <image class="ibCarIcon" v-else src="../../static/timg/nocar.png" mode=""></image>
  8. <view class="ibCarBox">
  9. <view class="ibCar">{{carInfo.brand?carInfo.brand:''}}&nbsp;{{carInfo.series?carInfo.series:''}}</view>
  10. <image src="../../static/img2/xia.png" mode="" class="xiaIcon"></image>
  11. </view>
  12. </view>
  13. <view class="ibRight">
  14. <image src="../../static/img2/gl.png" mode="" class="glIcon"></image>
  15. <input type="text" placeholder="暂无填写" class="glInput"/>
  16. <image src="../../static/img2/xia.png" mode="" class="xiaIcon"></image>
  17. </view>
  18. </view>
  19. <view class="msBox">
  20. <view class="msLine">
  21. <image class="msIcon" src="../../static/img2/zp.png" mode=""></image>
  22. <view class="msTxt">正品保障</view>
  23. </view>
  24. <view class="msLine">
  25. <image class="msIcon" src="../../static/img2/jp.png" mode=""></image>
  26. <view class="msTxt">精准适配</view>
  27. </view>
  28. <view class="msLine">
  29. <image class="msIcon" src="../../static/img2/shwy.png" mode=""></image>
  30. <view class="msTxt">售后无忧</view>
  31. </view>
  32. <view class="msLine">
  33. <image class="msIcon" src="../../static/img2/zyfw.png" mode=""></image>
  34. <view class="msTxt">专业服务</view>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 适配推荐 -->
  39. <view class="spBox">
  40. <view class="spTop">
  41. <view class="spTitle">适配推荐</view>
  42. <view class="spMs">
  43. <span>保养记录</span>
  44. <span style="padding: 0 10rpx;"> | </span>
  45. <span>保养手册</span>
  46. </view>
  47. </view>
  48. <view class="znBox">
  49. <view class="znCont">
  50. <view class="znCar">智能推荐-{{carInfo.brand?carInfo.brand:''}}&nbsp;{{carInfo.series?carInfo.series:''}}</view>
  51. <view>
  52. <image class="hxIcon" src="../../static/img2/hx.png" mode=""></image>
  53. </view>
  54. <view class="znMs">超期不保养,会影响汽车性能!</view>
  55. </view>
  56. </view>
  57. <!-- 套餐-->
  58. <view class="lineBox">
  59. <view class="line"
  60. @click="goItem(item)" v-for="(item,index) in list">
  61. <view class="lineTop">
  62. <image class="lineImg" v-if="item.mainImgUrl" :src="item.mainImgUrl" mode=""></image>
  63. <image class="lineImg" v-else src="../../static/timg/noimg.png" mode=""></image>
  64. <view class="lineNameBox">
  65. <view class="goodsName">{{item.title}}</view>
  66. <view class="goodsMs">{{item.remarks}}</view>
  67. <view class="goodsKbox">
  68. <view class="goosK1" v-if="item.showOilType">{{item.showOilType}}</view>
  69. <view class="goosK2" v-if="item.showOilLevel">{{item.showOilLevel}}</view>
  70. <view class="goosK2" v-if="item.showFit">{{item.showFit}}</view>
  71. </view>
  72. <view class="bfb">有91.4%的车主选择本商品</view>
  73. </view>
  74. </view>
  75. <view class="tcBox">
  76. <view class="tcLine" :class="{lineActive:v.select}"
  77. @click.stop="selectItem(v,item)" v-for="(v,i) in item.packageItems">
  78. <view class="tcTitle">
  79. <view class="tcName">{{v.title}}</view>
  80. <view class="tcNameTs" v-if="v.count>1">{{v.count}}次更划算</view>
  81. </view>
  82. <view class="tcprice">
  83. <span class="tcSpan1">¥</span>
  84. <span class="tcSpan2">{{v.price}}</span>
  85. <span class="tcSpan3">/次</span>
  86. <span class="tcSpan3" style="padding-left: 10rpx;">¥{{v.money}}</span>
  87. <!-- <span class="tcSpan3" style="padding-left: 10rpx;">2次</span>
  88. <span class="tcSpan1">¥588</span> -->
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. <view style="height: 220rpx;"></view>
  95. </view>
  96. <view class="bottom">
  97. <view class="kaBox">
  98. <view class="ka">
  99. <view class="kaLeft">
  100. <image class="vipIcon" src="../../static/img2/vip.png" mode=""></image>
  101. <view class="kaMS">开通权益卡 可享受更多优惠服务</view>
  102. </view>
  103. <view class="kaRight">去开卡></view>
  104. </view>
  105. </view>
  106. <view class="bottomView">
  107. <view class="bLeft" @click="qingdan">
  108. <view class="bLeftImgBox">
  109. <image class="qingdanIcon" src="../../static/img2/qingdan.png" mode=""></image>
  110. <view class="qdTxt">清单</view>
  111. <view class="qdNum" v-if="qdNum">{{qdNum}}</view>
  112. </view>
  113. <view>
  114. <view class="bottomprice">
  115. <span class="bSpan1">¥</span>
  116. <span class="bSpan2">{{totalPrice}}</span>
  117. </view>
  118. <view class="byh">
  119. <span class="bspan3">已优惠</span>
  120. <span class="bspan4"> ¥0</span>
  121. </view>
  122. </view>
  123. </view>
  124. <view class="bottomBtn commonBtn" @click="goSubmit">立即购买</view>
  125. </view>
  126. </view>
  127. <!-- 提交订单弹框-->
  128. <view class="tkBox" v-if="tkShow">
  129. <view class="tkCont">
  130. <view class="tkTop">
  131. <image class="tkImg" v-if="itemDefault.mainImgUrl" :src="itemDefault.mainImgUrl" mode=""></image>
  132. <image class="tkImg" v-else src="../../static/timg/noimg.png" mode=""></image>
  133. <view class="tkNameBox">
  134. <view class="tkName">{{itemDefault.goodsname}}</view>
  135. <view class="goodsPrice">
  136. <view class="goodsPrice2">¥</view>
  137. <view class="goodsPrice3">{{itemDefault.money}}</view>
  138. <view class="goodsPrice4" >原价:¥{{itemDefault.crossedPrice}}</view>
  139. </view>
  140. </view>
  141. <image @click="qdTkclose" class="chahao" src="../../static/img2/chahao.png" mode=""></image>
  142. </view>
  143. <view class="buyLine">
  144. <view class="buyTitle">商品规格</view>
  145. <view class="buyData">
  146. <view class="goodsGuige activeGuige" style="margin-right: 24rpx;">{{itemDefault.title}}</view>
  147. <!-- <view class="goodsGuige">保养套餐卡</view> -->
  148. </view>
  149. </view>
  150. <view class="buyLine">
  151. <view class="buyTitle">商品数量</view>
  152. <view class="buyData">
  153. <view class="numJsbox">
  154. <view class="numJj" @click="calculation(1)">-</view>
  155. <view class="goodsnum">
  156. <input type="number" value="" v-model="goodsnum" class="goodsnumInput"/>
  157. </view>
  158. <view class="numJj" @click="calculation(2)">+</view>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="tkBottom">
  163. <view class="tkBottomBtn commonBtn" @click="goSubmit">立即购买</view>
  164. </view>
  165. </view>
  166. </view>
  167. <!-- 提交订单弹框-->
  168. </view>
  169. </template>
  170. <script>
  171. export default {
  172. components: {
  173. },
  174. data() {
  175. return {
  176. themeColor:'',
  177. ext:'',
  178. goodsnum:1,
  179. tkShow:false,
  180. carInfo:'',
  181. list:[],
  182. totalPrice:0,
  183. itemDefault:'',
  184. lineItem:'',
  185. maintainProjectID:'',
  186. qdNum:'',
  187. }
  188. },
  189. onLoad(opt) {
  190. this.ext = this.$common.getExtStoreId();
  191. this.themeColor = uni.getStorageSync("themeColor");
  192. uni.setNavigationBarColor({
  193. frontColor: "#000000",
  194. backgroundColor: '#' + this.themeColor
  195. })
  196. this.carInfo=this.$store.state.carInfo;
  197. console.log(this.carInfo)
  198. this.maintainProjectID=opt.maintainProjectID
  199. if(this.carInfo){
  200. this.getRecommend()
  201. }else{
  202. uni.showToast({
  203. title: '请先添加车辆',
  204. icon:'none',
  205. duration: 3000
  206. });
  207. }
  208. },
  209. onShow() {
  210. var car =uni.getStorageSync("byCar")
  211. if(car){
  212. this.carInfo=car;
  213. this.getRecommend()
  214. }
  215. },
  216. methods: {
  217. qingdan(){
  218. this.tkShow=true;
  219. },
  220. qdTkclose(){
  221. this.tkShow=false
  222. },
  223. selectItem(v,item){
  224. this.list.forEach(item=>{
  225. item.packageItems.forEach(v=>{
  226. v.select=false
  227. })
  228. })
  229. v.select=true
  230. this.totalPrice=v.money
  231. this.itemDefault=v
  232. this.lineItem=item
  233. this.qdNum=1
  234. this.itemDefault.goodsname=this.lineItem.title
  235. this.itemDefault.itemId=this.lineItem.id
  236. this.itemDefault.mainImgUrl=this.lineItem.mainImgUrl
  237. },
  238. goCkcar(){
  239. uni.navigateTo({
  240. url:'../user/addCar/cailist?type=5'
  241. })
  242. },
  243. goItem(item){
  244. uni.removeStorageSync('byCar');
  245. uni.navigateTo({
  246. url:'maintainItem?maintainId='+item.id+'&isRecommend='+item.isRecommend
  247. })
  248. },
  249. goSubmit(){
  250. if(this.itemDefault){
  251. this.itemDefault.goodsnum=this.goodsnum
  252. this.itemDefault.goodsname=this.lineItem.title
  253. this.itemDefault.itemId=this.lineItem.id
  254. this.itemDefault.mainImgUrl=this.lineItem.mainImgUrl
  255. uni.setStorage({
  256. key: 'itemDefault',
  257. data: this.itemDefault,
  258. success: function () {
  259. uni.navigateTo({
  260. url:'maintainSubmit'
  261. })
  262. }
  263. });
  264. }else{
  265. uni.showToast({
  266. title: '请选择商品规格',
  267. icon:'none',
  268. duration: 3000
  269. });
  270. }
  271. },
  272. getRecommend(){
  273. uni.showLoading({
  274. title: '加载中'
  275. })
  276. this.$http('open-apply/get-recommend', {
  277. carId:this.carInfo.id,
  278. bizId:this.maintainProjectID
  279. }, 'GET').then(res => {
  280. uni.hideLoading();
  281. res.data.data.forEach(item=>{
  282. item.packageItems.forEach(v=>{
  283. v.select=false
  284. })
  285. })
  286. this.list=res.data.data
  287. //this.list=this.list.concat(this.list)
  288. })
  289. },
  290. calculation(type){
  291. if(type==1){
  292. if(this.goodsnum>1){
  293. this.goodsnum--
  294. }
  295. }else{
  296. console.log("+++")
  297. this.goodsnum++
  298. }
  299. },
  300. }
  301. }
  302. </script>
  303. <style scoped lang="less">
  304. .box {
  305. width: 100vw;
  306. min-height: 100vh;
  307. background: #F4F4F4;
  308. }
  309. .tkBox{
  310. width: 100vw;height: 100vh;background: rgba(0,0,0,0.5);
  311. position: fixed;left: 0;top: 0;
  312. }
  313. .tkCont{
  314. width: 750rpx;
  315. height: 611rpx;
  316. background: #FFFFFF;
  317. border-radius: 28rpx 28rpx 0rpx 0rpx;
  318. position: absolute;
  319. left: 0;bottom: 0;
  320. padding-bottom: constant(safe-area-inset-bottom);
  321. padding-bottom: env(safe-area-inset-bottom);
  322. }
  323. .top{
  324. height: 170rpx;
  325. padding: 40rpx 24rpx;
  326. }
  327. .inputBox{
  328. background: rgba(255,255,255,0.5);
  329. border-radius: 38rpx;line-height: 42rpx;
  330. border: 2rpx solid #FFFFFF;
  331. padding: 18rpx 30rpx;font-size: 26rpx;color: #222222;
  332. display: flex;justify-content: space-between;
  333. }
  334. .xiaIcon{
  335. width: 12rpx;height: 9rpx;margin-top: 18rpx;margin-left: 10rpx;
  336. }
  337. .ibCarIcon{
  338. height: 42rpx;width: 42rpx;
  339. }
  340. .glIcon{
  341. width: 34rpx;height: 34rpx;margin-top: 6rpx;
  342. }
  343. .ibLeft{
  344. display: flex;
  345. }
  346. .ibRight{
  347. display: flex;
  348. }
  349. .ibCarBox{
  350. display: flex;padding-left: 10rpx;
  351. }
  352. .glInput{
  353. width: 120rpx;line-height: 42rpx;height: 42rpx;
  354. padding-left: 10rpx;
  355. }
  356. .msIcon{
  357. width: 20rpx;height: 20rpx;margin-top: 4rpx;
  358. }
  359. .msTxt{
  360. font-weight: 500;margin-left: 12rpx;
  361. font-size: 20rpx;
  362. color: #A77102;
  363. }
  364. .msLine{
  365. display: flex;line-height: 28rpx;
  366. }
  367. .msBox{
  368. display: flex;justify-content: space-between;padding-top: 24rpx;
  369. padding-left: 30rpx;padding-right: 30rpx;
  370. }
  371. .spBox{
  372. background: linear-gradient( 180deg, #FFFFFF 0%, #F4F4F4 50%);
  373. border-radius: 23rpx;
  374. padding: 24rpx 20rpx 0 24rpx;
  375. margin-top: -50rpx;
  376. padding-bottom: constant(safe-area-inset-bottom);
  377. padding-bottom: env(safe-area-inset-bottom);
  378. }
  379. .spTop{
  380. display: flex;justify-content: space-between;line-height: 40rpx;
  381. padding-bottom: 16rpx;
  382. }
  383. .spTitle{
  384. font-weight: 500;
  385. font-size: 28rpx;
  386. color: #222222;
  387. }
  388. .spMs{
  389. font-size: 24rpx;
  390. color: #666666;
  391. }
  392. .znBox{
  393. height: 200rpx;
  394. background: #FDC856;
  395. border-radius: 21rpx;
  396. }
  397. .znCont{
  398. background: url('http://dmsphoto.66km.com.cn/thFiles/A88B34CF-1BEB-4E0F-8C0B-E6FD2C858B73.png') no-repeat;
  399. background-size: 100% 100%;
  400. height: 148rpx;
  401. }
  402. .hxIcon{
  403. height: 4rpx;width: 360rpx;
  404. margin-left: 18rpx;margin-top: 20rpx;
  405. display: block;
  406. }
  407. .znMs{
  408. font-size: 24rpx;
  409. color: #FFFFFF;
  410. line-height: 33rpx;
  411. padding-left: 18rpx;padding-top: 16rpx;
  412. }
  413. .znCar{
  414. font-weight: 500;padding-left: 18rpx;
  415. font-size: 32rpx;padding-top: 24rpx;
  416. color: #8C5E24;
  417. line-height: 45rpx;
  418. }
  419. .line{
  420. background: #FFFFFF;padding: 24rpx;
  421. border-radius: 16rpx;margin-bottom: 20rpx;
  422. padding-bottom: 4rpx;
  423. }
  424. .lineImg{
  425. width: 162rpx;
  426. height: 162rpx;
  427. border-radius: 16rpx;
  428. }
  429. .lineTop{
  430. display: flex;
  431. }
  432. .lineBox{
  433. margin-top: -52rpx;
  434. }
  435. .goodsKbox{
  436. display: flex;flex-wrap: wrap;
  437. }
  438. .goosK1 {
  439. height: 25rpx;line-height: 25rpx;padding: 0 8rpx;
  440. border: 1rpx solid #EC0F0A;font-size: 18rpx;
  441. color: #EC0F0A;margin-right: 10rpx;
  442. }
  443. .goosK2{
  444. height: 25rpx;line-height: 25rpx;padding: 0 8rpx;color: #000000;
  445. border: 1rpx solid #FCD903;font-size: 18rpx;
  446. }
  447. .goodsName{
  448. font-weight: 500;
  449. font-size: 28rpx;
  450. color: #222222;
  451. line-height: 40rpx;
  452. }
  453. .goodsMs{
  454. font-weight: 400;padding-top: 5rpx;
  455. font-size: 20rpx;padding-bottom: 10rpx;
  456. color: #8B8B8B;
  457. line-height: 28rpx;
  458. }
  459. .bfb{
  460. font-size: 20rpx;padding-top: 10rpx;
  461. color: #FFD804;
  462. line-height: 28rpx;
  463. }
  464. .lineNameBox{
  465. padding-left: 20rpx; width: 500rpx;
  466. }
  467. .tcLine{
  468. background: #F5F5F5;
  469. border-radius: 14rpx;
  470. border: 1px solid #E0E0E0;
  471. width: 316rpx;
  472. height: 138rpx;
  473. margin-bottom: 20rpx;
  474. }
  475. .tcName{
  476. font-weight: 500;
  477. font-size: 28rpx;
  478. color: #435B6E;
  479. line-height: 40rpx;
  480. padding-left: 25rpx;padding-top: 24rpx;
  481. white-space: nowrap; /* 确保文本在一行内显示 */
  482. overflow: hidden; /* 超出容器部分隐藏 */
  483. text-overflow: ellipsis;
  484. max-width: 170rpx;
  485. }
  486. .tcTitle{
  487. display: flex;
  488. }
  489. .tcprice{
  490. padding-top: 4rpx;font-size: 20rpx;
  491. color: #666666;padding-left: 25rpx;
  492. }
  493. .tcSpan2{
  494. font-size: 34rpx;
  495. color: #000000;
  496. }
  497. .tcSpan3{
  498. font-size: 20rpx;
  499. color: #000000;
  500. }
  501. .tcNameTs{
  502. width: 99rpx;margin-top: 30rpx;margin-left: 10rpx;
  503. height: 25rpx;
  504. background: #FE0200;
  505. text-align: center;
  506. line-height: 26rpx;
  507. font-size: 18rpx;
  508. color: #FFFFFF;
  509. }
  510. .tcBox{
  511. display: flex;justify-content: space-between;
  512. padding-top: 26rpx;flex-wrap: wrap;
  513. }
  514. .bottom{
  515. width: 100%;
  516. height: 186rpx;
  517. position: fixed;
  518. bottom: 0rpx;
  519. padding-bottom: constant(safe-area-inset-bottom);
  520. padding-bottom: env(safe-area-inset-bottom);
  521. background: #FFFFFF;
  522. }
  523. .kaBox{
  524. height: 70rpx;
  525. }
  526. .bottomView{
  527. background: #FFFFFF;
  528. }
  529. .vipIcon{
  530. width: 47rpx;height: 45rpx;
  531. }
  532. .ka{
  533. display: flex;justify-content: space-between;
  534. background: #FEE0B9;
  535. padding: 12rpx 20rpx;
  536. }
  537. .kaLeft{
  538. display: flex;line-height: 45rpx;
  539. }
  540. .kaMS{
  541. font-size: 22rpx;
  542. color: #666666;padding-left: 15rpx;
  543. }
  544. .kaRight{
  545. line-height: 45rpx;font-size: 22rpx;
  546. color: #A26D4F;
  547. }
  548. .bottomBtn{
  549. width: 223rpx;
  550. height: 86rpx;
  551. background: #FCD903;
  552. border-radius: 43rpx;
  553. line-height: 86rpx;
  554. text-align: center;
  555. font-size: 32rpx;
  556. color: #110B01;
  557. }
  558. .bottomView{
  559. display: flex;justify-content: space-between;
  560. padding: 15rpx 30rpx;
  561. }
  562. .qingdanIcon{
  563. width: 40rpx;height: 45rpx;
  564. }
  565. .bLeft{
  566. display: flex;
  567. }
  568. .bLeftImgBox{
  569. position: relative;text-align: center;padding-top: 12rpx;
  570. }
  571. .qdNum{
  572. position: absolute;
  573. width: 22rpx;
  574. height: 22rpx;
  575. background: #EC0F0A;
  576. text-align: center;line-height: 22rpx;
  577. font-size: 16rpx;
  578. color: #FFFFFF;
  579. top: 0rpx;
  580. right: -8rpx;
  581. border-radius: 50%;
  582. }
  583. .qdTxt{
  584. font-size: 20rpx;
  585. color: #666666;
  586. line-height: 28rpx;
  587. }
  588. .bottomprice{
  589. padding-left: 38rpx;
  590. font-weight: 600;
  591. font-size: 20rpx;padding-top: 12rpx;
  592. color: #EC0F0A;line-height: 45rpx;
  593. }
  594. .byh{
  595. padding-left: 38rpx;
  596. font-size: 20rpx;
  597. color: #666666;
  598. line-height: 28rpx;
  599. }
  600. .bspan4{
  601. color: #EC0F0A;
  602. }
  603. .bSpan2{
  604. font-weight: 500;
  605. font-size: 34rpx;
  606. color: #EC0F0A;
  607. line-height: 45rpx;
  608. }
  609. .goodsPrice{
  610. display: flex;
  611. }
  612. .goodsPrice1{
  613. font-size: 24rpx;
  614. font-weight: 400;
  615. color: #EC0F0A;
  616. padding-top: 14rpx;
  617. padding-right: 14rpx;
  618. }
  619. .goodsPrice2{
  620. font-size: 28rpx;
  621. font-weight: 400;
  622. color: #EC0F0A;
  623. padding-top: 10rpx;
  624. }
  625. .goodsPrice3{
  626. font-size: 40rpx;
  627. font-weight: 500;
  628. color: #EC0F0A;
  629. }
  630. .goodsPrice4{
  631. font-size: 24rpx;
  632. font-weight: 400;
  633. color: #999999;
  634. padding-top: 14rpx;
  635. /* text-decoration:line-through; */
  636. padding-left: 10rpx;
  637. }
  638. .tkTop{
  639. display: flex;padding: 40rpx 24rpx;
  640. }
  641. .tkImg{
  642. width: 160rpx;
  643. height: 160rpx;border-radius: 13rpx;
  644. }
  645. .tkName{
  646. font-size: 30rpx;
  647. color: #222222;
  648. line-height: 42rpx;
  649. }
  650. .tkNameBox{
  651. padding-left: 24rpx;width: 500rpx;
  652. }
  653. .chahao{
  654. width: 22rpx;height: 22rpx;padding-top: 10rpx;
  655. }
  656. .buyLine{
  657. display: flex;justify-content: space-between;
  658. padding: 20rpx 24rpx;font-size: 26rpx;
  659. color: #666E80;
  660. }
  661. .buyBOx{
  662. background: #FFFFFF;margin-top: 20rpx;
  663. }
  664. .buyData{
  665. color: #222222;display: flex;
  666. }
  667. .goodsGuige{
  668. width: 150rpx;
  669. height: 50rpx;line-height: 50rpx;
  670. background: #F6F6F6;
  671. border-radius: 5rpx;
  672. font-size: 24rpx;
  673. color: #222222;text-align: center;
  674. }
  675. .activeGuige{
  676. width: 146rpx;
  677. height: 46rpx;line-height: 46rpx;
  678. border: 2rpx solid #FF0035;
  679. border-radius: 5rpx;
  680. font-size: 24rpx;
  681. color: #FF0035;text-align: center;
  682. }
  683. .numJsbox{
  684. display: flex;
  685. }
  686. .buyCont{
  687. position: absolute;
  688. left: 0;
  689. bottom: 0;
  690. width: 750rpx;
  691. height: 688rpx;
  692. background: #FFFFFF;
  693. border-radius: 26rpx 26rpx 0px 0px;
  694. }
  695. .buyNumBox{
  696. padding: 30rpx;
  697. padding-top: 10rpx;
  698. padding-bottom: 70rpx;
  699. }
  700. .buyContCh{
  701. position: absolute;
  702. top: 53rpx;
  703. right: 36rpx;
  704. width: 36rpx;
  705. height: 36rpx;
  706. }
  707. .goodsnum{
  708. width: 44rpx;
  709. height: 44rpx;
  710. background: #F4F5F7;
  711. line-height: 44rpx;
  712. text-align: center;
  713. font-weight: 500;
  714. color: #333333;
  715. font-size: 24rpx;
  716. margin: 0 4rpx;
  717. border-left:1px solid #C0C0C0;
  718. border-right:1px solid #C0C0C0;
  719. }
  720. .goodsnumInput{
  721. width: 44rpx;
  722. height: 44rpx;
  723. background: #FFFFFF;
  724. line-height: 44rpx;
  725. text-align: center;
  726. font-weight: 500;
  727. color: #333333;
  728. font-size: 24rpx;
  729. }
  730. .numJj{
  731. width: 44rpx;
  732. height: 44rpx;
  733. background: #ffffff;
  734. border-radius: 0px 6rpx 6rpx 0px;
  735. text-align: center;
  736. line-height: 44rpx;
  737. font-size: 32rpx;
  738. color: #999999;
  739. }
  740. .numJsbox{
  741. border: 1px solid #C0C0C0;
  742. border-radius: 6rpx;
  743. }
  744. .tkBottomBtn{
  745. width: 661rpx;text-align: center;
  746. height: 86rpx;line-height: 86rpx;
  747. /* background: #FCD903; */
  748. border-radius: 43rpx;
  749. font-size: 32rpx;
  750. color: #110B01;
  751. }
  752. .tkBottom{
  753. width: 750rpx;
  754. height: 146rpx;
  755. background: #FFFFFF;
  756. box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
  757. padding-bottom: constant(safe-area-inset-bottom);
  758. padding-bottom: env(safe-area-inset-bottom);
  759. display: flex;justify-content: center;align-items: center;
  760. position: absolute;left: 0;bottom: 0;
  761. }
  762. .lineActive{
  763. border: 1px solid #FE0200;
  764. background: #FFF7F7;
  765. }
  766. </style>