maintain.vue 22 KB

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