maintain.vue 17 KB

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