tireDetail.vue 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301
  1. <template>
  2. <view class="box">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'商品详情'"></homenav>
  4. <view class="spwBox">
  5. <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
  6. <swiper-item v-for="(item,index) in 3">
  7. <view class="swiper-item">
  8. <img mode="aspectFit" src="http://dmsphoto.66km.com.cn/thFiles/339E5DB5-F727-4F0F-AD41-1A2EBAB73883.png" alt="" class="swiper-itemImg" >
  9. </view>
  10. </swiper-item>
  11. </swiper>
  12. </view>
  13. <view class="shopCont">
  14. <view style="display: flex;padding-left: 24rpx;">
  15. <view class="biaoqian">4条到手单价</view>
  16. <!-- <view v-if="itemDefault.salesLabel==2" class="biaoqian">促销价</view>
  17. <view v-if="itemDefault.salesLabel==3" class="biaoqian">特价</view>
  18. <view v-if="itemDefault.salesLabel==4" class="biaoqian">限量抢购</view>
  19. <view v-if="itemDefault.salesLabel==5" class="biaoqian">{{itemDefault.salesLabelCustom}}</view> -->
  20. </view>
  21. <view class="shopCtop">
  22. <view class="goodsPrice" >
  23. <view class="goodsPrice2">¥</view>
  24. <view class="goodsPrice3" >294.90</view>
  25. <view class="goodsPrice4" style="padding-left: 10rpx;">优惠前:
  26. <span class="goodsPrice41">¥666</span>
  27. </view>
  28. </view>
  29. <button open-type="share" class="shareBox" >
  30. <view class="shareTxt">分享</view>
  31. <image class="shareIcon" src="../../static/timg/share.png" mode=""></image>
  32. </button>
  33. <!-- <view class="shareBox" >
  34. </view> -->
  35. </view>
  36. <view class="nameBox">
  37. <view class="shipei">适配</view>
  38. <view class="goodsName">
  39. 路博(ROADBOSS)轮胎 195/65R5 91H HP601
  40. </view>
  41. </view>
  42. <view class="goodsMSBox" >
  43. <!-- <view class="goodsMs" v-if="detail.showOilType">机油类型|{{detail.showOilType}}</view>
  44. <view class="goodsMs" v-if="detail.showOilLevel">机油等级|{{detail.showOilLevel}}</view>
  45. <view class="goodsMs" v-if="detail.showFit">适配粘度|{{detail.showFit}}</view> -->
  46. <view class="goodsMs" v-for="(item,index) in 4">标签</view>
  47. </view>
  48. <!-- <view class="timeBox">
  49. <view class="itemTime" v-if="detail.validityType==1">套餐有效期:{{detail.validityTime}}</view>
  50. <view class="sell" v-if="itemDefault.showSalesCount==1">
  51. <span>已售:</span><span style="color: #FFC107;">{{itemDefault.dummyCount}}</span>
  52. </view>
  53. </view> -->
  54. <view class="topGuigeBox">
  55. <view class="topGuigeLeft">
  56. <image src="../../static/img2/duihao.png" mode="" class="duihaoImg"></image>
  57. <span>品牌·规格·花纹·载重系数</span>
  58. </view>
  59. <image src="../../static/img2/hjt.png" mode="" class="jtImg1" style="margin-top: 6rpx;"></image>
  60. </view>
  61. </view>
  62. <!-- 促销-->
  63. <view class="promotion">
  64. <view class="promotionLeft">
  65. <view class="promotionTitle">促销</view>
  66. <view class="promotionBox">
  67. <view class="promotionLine" v-for="(item,index) in 5">
  68. <view class="chu">赠</view>
  69. <view class="promotionLineTxt">3年换新保障x1</view>
  70. </view>
  71. </view>
  72. </view>
  73. <image src="../../static/img2/hjt.png" mode="" class="jtImg1"></image>
  74. </view>
  75. <!-- 促销-->
  76. <view class="buyBOx">
  77. <view class="buyLine" @click="ckCar" style="padding-bottom: 8rpx;">
  78. <view class="buyTitle">已选车型</view>
  79. <view class="buyData" style="display: flex;">
  80. <view class="carModelLine"> {{carInfo.carModel?carInfo.carModel:'请选择车辆'}}</view>
  81. <image class="jtIcon" src="../../static/img2/byjt.png" mode=""></image>
  82. </view>
  83. </view>
  84. <view class="carTis" v-if="isRecommend!='true'">此轮胎可能与爱车不适配</view>
  85. <view class="buyLine" style="padding: 12rpx 24rpx;"><!-- -->
  86. <view class="buyTitle" style="line-height: 44rpx;">商品数量</view>
  87. <view class="buyData">
  88. <view class="numJsbox">
  89. <view class="numJj" @click="calculation(1)">-</view>
  90. <view class="goodsnum">
  91. <input type="number" value="" v-model="goodsnum" class="goodsnumInput"/>
  92. </view>
  93. <view class="numJj" @click="calculation(2)">+</view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="buyLine">
  98. <view class="buyTitle">服务方式</view>
  99. <view class="buyData">到店使用</view>
  100. </view>
  101. <view class="buyLine" style="padding-bottom: 8rpx;">
  102. <view class="buyTitle">服务门店</view>
  103. <view class="buyData" v-if="itemDefault.packTimeShopName=='全部'">全部门店</view>
  104. <view @click="keyongFn" class="buyData " style="display: flex;" v-else>{{itemDefault.packTimeShopName.split(',').length}}个门店可用
  105. <image src="../../static/img2/byjt.png" mode="" class="hjt"></image>
  106. </view>
  107. </view>
  108. <view class="buyLine" style="padding-bottom: 10rpx;">
  109. <view class="buyTitle">商品库存</view>
  110. <view class="buyData" >
  111. <view class="carModelLine"> 有货/门店 </view>
  112. </view>
  113. </view>
  114. <view class="carTis" style="color: #797979;padding-bottom: 10rpx;">当天23:59分之前下单,次日内即可进店</view>
  115. </view>
  116. <!-- 购买流程-->
  117. <view class="gmlc">
  118. <view class="gmlcTitle">购买流程</view>
  119. <view>
  120. <image class="gmlcImg" src="http://dmsphoto.66km.com.cn/thFiles/0BF3F1DB-8B56-488A-9BCB-663517985E9A.png" mode="widthFix"></image>
  121. </view>
  122. </view>
  123. <view class="mealBox" v-if="itemDefault.content">
  124. <view class="fwlcTitle">套餐内容</view>
  125. <rich-text :nodes="itemDefault.content" style="background: #fff;"></rich-text>
  126. <!-- <view class="mealTop">
  127. <view class="mealName">套餐名称</view>
  128. <view class="mealNum">数量</view>
  129. <view class="mealexpire">有效期</view>
  130. </view>
  131. <view class="mealTop2">
  132. <view class="mealName">【豪华车型】全合成机油保养套餐</view>
  133. <view class="mealNum">2</view>
  134. <view class="mealexpire">18个月</view>
  135. </view>
  136. <view class="mealXj">
  137. <view class="xjLine">
  138. <view class="xjyd"></view>
  139. <view class="xjTxt">20项检查</view>
  140. </view>
  141. <view class="xjLine">
  142. <view class="xjyd"></view>
  143. <view class="xjTxt">20美日韩车型专用保养套餐适配机油</view>
  144. </view>
  145. </view>
  146. <view class="mealMs">
  147. <view class="mealMsline">
  148. 1.本套餐不限车辆使用;
  149. 2.机油套餐包含:机油,机油滤,工时费
  150. 3.购买此套餐,共享有2次保养次数。
  151. </view>
  152. </view> -->
  153. </view>
  154. <!-- 商品详情 -->
  155. <view class="goodsDetail" v-if="detail.detailContent">
  156. <view class="goodsDetailTitle">商品详情</view>
  157. <!-- <view v-html="info.details" style="background: #fff;"></view> -->
  158. <rich-text :nodes="detail.detailContent" style="background: #fff;"></rich-text>
  159. </view>
  160. <view class="bottomTianc"></view>
  161. <view class="bottom">
  162. <view class="bleft" @click="makePhoneCall(showSetting.tel)">
  163. <image class="kefuIcon" src="../../static/img2/kefu.png" mode=""></image>
  164. <view style="text-align: center;font-size: 20rpx;color: #110B01;">客服</view>
  165. </view>
  166. <view class="Btn commonBtn" @click="submitFn">立即购买</view>
  167. </view>
  168. <!-- 提交订单弹框-->
  169. <view class="tkBox" v-if="tkShow" @click="closeTk">
  170. <view class="tkCont" @click.stop="">
  171. <view class="tkTop">
  172. <image class="tkImg" v-if="itemDefaultTk.mainImgUrl" :src="itemDefaultTk.mainImgUrl" mode="" ></image>
  173. <image class="tkImg" v-else src="../../static/timg/noimg.png" mode="" ></image>
  174. <view class="tkNameBox">
  175. <view class="tkName"> <span class="isRecommend">适配</span>
  176. <span class="tkltName">路博(ROADBOSS)轮胎 195/65R5 91H HP601</span>
  177. </view>
  178. <view style="display: flex;padding-bottom: 24rpx;">
  179. <view class="biaoqian">4条到手单价</view>
  180. </view>
  181. <view class="goodsPrice">
  182. <view class="goodsPrice2">¥</view>
  183. <view class="goodsPrice3">299</view>
  184. <view class="goodsPrice4">
  185. <span style="color: #EC0F0A;">/条</span>
  186. <span class="goodsPrice41">优惠前¥399</span>
  187. </view>
  188. </view>
  189. </view>
  190. <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
  191. </view>
  192. <view class="buyNumBox">
  193. <view class="buyNumTitle">购买数量</view>
  194. <view class="buyNumLineBox">
  195. <view class="buyNumline" :class="{buyNumlineActive:buyNum==1}" @click="bugNumFn(1)">1条</view>
  196. <view class="buyNumline" :class="{buyNumlineActive:buyNum==2}" @click="bugNumFn(2)">2条</view>
  197. <view class="buyNumline" :class="{buyNumlineActive:buyNum==3}" @click="bugNumFn(3)">3条</view>
  198. <view class="buyNumline" :class="{buyNumlineActive:buyNum==4}" @click="bugNumFn(4)">4条</view>
  199. </view>
  200. </view>
  201. <view class="buyTkline">
  202. <view class="buyTklineLeft">服务方式</view>
  203. <view class="buyTklineRight">到店服务</view>
  204. </view>
  205. <view class="buyTkline">
  206. <view class="buyTklineLeft">门店地址</view>
  207. <view class="buyTklineRight">
  208. <span>更换门店</span>
  209. <image src="../../static/img2/hjt.png" mode="" class="jtImg1"></image>
  210. </view>
  211. </view>
  212. <view class="buyShopBox">
  213. <view class="buyShop">
  214. <view class="buyShopTop">
  215. <view class="buyShopTleft">
  216. <view class="shopbq">距离最近</view>
  217. <view class="buyshopName">兰考中山大道店</view>
  218. </view>
  219. <view class="buyShopTRgiht">
  220. <image src="/static/timg/icon_checked@2x.png" mode="" class="duihao"></image>
  221. </view>
  222. </view>
  223. <view class="buyShopCont">
  224. <image src="/static/timg/noimg.png" class="buyShopContImg"></image>
  225. <view class="buyShopContAdress">河南省开封市兰考县中山大道路河南省开封市</view>
  226. <view class="buyShopJl">3306.9km</view>
  227. </view>
  228. </view>
  229. </view>
  230. <view class="tkBottom">
  231. <view class="tkBottomBtn commonBtn" @click="goSubmit">立即购买</view>
  232. </view>
  233. </view>
  234. </view>
  235. <!-- 提交订单弹框-->
  236. <!-- 门店列表-->
  237. <view class="tkBox" v-if="keyongShow" @click="keyongClose">
  238. <view class="tkCont2">
  239. <view class="tkTOp2">
  240. <view class="chahao"></view>
  241. <view class="kymd">可用门店</view>
  242. <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
  243. </view>
  244. <view class="keyongBOx">
  245. <view class="keyongLine" v-for="(item,index) in itemDefault.packTimeShopName.split(',')">
  246. {{item}}
  247. </view>
  248. </view>
  249. </view>
  250. </view>
  251. <!-- 产品弹框-->
  252. <view class="tkBox canpinTkBox" v-if="canpinShow">
  253. <view class="tkCont2 canpinTk">
  254. <view class="tkTOp2">
  255. <view class="chahao"></view>
  256. <view class="kymd">产品参数</view>
  257. <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
  258. </view>
  259. <view class="canpinBox">
  260. <view class="canpinLine">
  261. <view class="canpinLineLeft">轮胎规格</view>
  262. <view class="canpinRgiht">215/50 R18</view>
  263. </view>
  264. <view class="canpinLine">
  265. <view class="canpinLineLeft">速度级别</view>
  266. <view class="canpinRgiht">215/50 R18</view>
  267. </view>
  268. <view class="canpinLine">
  269. <view class="canpinLineLeft">载重系数</view>
  270. <view class="canpinRgiht">96</view>
  271. </view>
  272. <view class="canpinLine">
  273. <view class="canpinLineLeft">花纹</view>
  274. <view class="canpinRgiht">96</view>
  275. </view>
  276. <view class="canpinLine">
  277. <view class="canpinLineLeft">轮箍直径</view>
  278. <view class="canpinRgiht">96</view>
  279. </view>
  280. <view class="canpinLine">
  281. <view class="canpinLineLeft">横截面宽度</view>
  282. <view class="canpinRgiht">96</view>
  283. </view>
  284. <view class="canpinLine">
  285. <view class="canpinLineLeft">扁平比</view>
  286. <view class="canpinRgiht">96</view>
  287. </view>
  288. <view class="canpinLine">
  289. <view class="canpinLineLeft">品牌</view>
  290. <view class="canpinRgiht">96</view>
  291. </view>
  292. <view class="canpinLine">
  293. <view class="canpinLineLeft">商品编码</view>
  294. <view class="canpinRgiht" style="display: flex;">
  295. <span>TTMTP20240570001</span>
  296. <image src="../../static/img2/copy.png" mode="" class="copyIcon"></image>
  297. </view>
  298. </view>
  299. <view class="canpinLine">
  300. <view class="canpinLineLeft">DOT</view>
  301. <view class="canpinRgiht">-</view>
  302. </view>
  303. </view>
  304. </view>
  305. </view>
  306. <!-- 产品弹框-->
  307. <!-- 促销介绍-->
  308. <view class="tkBox cktk" v-if="cxShow">
  309. <view class="tkCont2">
  310. <view class="tkTOp2">
  311. <view class="chahao"></view>
  312. <view class="kymd">促销介绍</view>
  313. <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
  314. </view>
  315. <view class="keyongBOx">
  316. <view class="promotionBox cktkLineBox">
  317. <view class="promotionLine " v-for="(item,index) in 5">
  318. <view class="chu">赠</view>
  319. <view class="promotionLineTxt">3年换新保障x1</view>
  320. </view>
  321. </view>
  322. </view>
  323. </view>
  324. </view>
  325. <!-- 促销介绍-->
  326. </view>
  327. </template>
  328. <script>
  329. import homenav from "../../components/homenav/nav.vue"
  330. export default {
  331. components: {
  332. homenav
  333. },
  334. data() {
  335. return {
  336. themeColor:'',
  337. ext:'',
  338. goodsnum:1,
  339. details:'11233',
  340. maintainId:'',
  341. detail:'',
  342. itemDefault:'',
  343. carInfo:'',
  344. userInfo:'',
  345. isRecommend:'',
  346. tkShow:false,
  347. keyongShow:false,
  348. showSetting:'',
  349. iStatusBarHeight:'',
  350. itemDefaultTk:'',
  351. canpinShow:false,
  352. cxShow:false,
  353. buyNum:'',
  354. }
  355. },
  356. onLoad(opt) {
  357. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  358. this.ext = this.$common.getExtStoreId();
  359. this.themeColor = uni.getStorageSync("themeColor");
  360. this.maintainId=opt.maintainId
  361. this.carInfo=this.$store.state.carInfo;
  362. this.userInfo=this.$store.state.userInfo;
  363. this.isRecommend=opt.isRecommend
  364. //console.log("this.isRecommend=="+this.isRecommend)
  365. if(this.userInfo){
  366. this.getdetail()
  367. this.getInfo()
  368. }else{
  369. this.$common.automaticlogin().then(val => {
  370. this.userInfo=this.$store.state.userInfo;
  371. this.getdetail()
  372. this.getInfo()
  373. })
  374. }
  375. },
  376. onShow() {
  377. var car =uni.getStorageSync("byCar")
  378. if(car){
  379. this.carInfo=car;
  380. this.getdetail()
  381. this.isRecommend=false
  382. }
  383. },
  384. methods: {
  385. bugNumFn(num){
  386. this.buyNum=num
  387. },
  388. makePhoneCall(tel){
  389. uni.makePhoneCall({
  390. phoneNumber: tel,
  391. });
  392. },
  393. getInfo(){
  394. this.$http('openreservation/getInfo', {
  395. lat: '',
  396. lng: '',
  397. }, 'GET').then(res => {
  398. this.showSetting=res.data.showSetting
  399. })
  400. },
  401. ckCar(){
  402. uni.navigateTo({
  403. url:'../user/addCar/cailist?type=5'
  404. })
  405. },
  406. goodsGuige(item){
  407. this.itemDefault=item
  408. this.itemDefault.mainImgUrl=this.detail.openMaintainImgUrls[0]
  409. this.itemDefaultTk=this.itemDefault
  410. },
  411. goodsGuige2(item){
  412. this.itemDefaultTk=item
  413. this.itemDefaultTk.mainImgUrl=this.detail.openMaintainImgUrls[0]
  414. },
  415. goSubmit(){
  416. uni.navigateTo({
  417. url:'tireSubmit'
  418. })
  419. },
  420. closeTk(){
  421. this.tkShow=false
  422. },
  423. keyongClose(){
  424. this.keyongShow=false;
  425. },
  426. keyongFn(){
  427. this.keyongShow=true;
  428. },
  429. submitFn(){
  430. /* if(!this.carInfo){
  431. uni.showToast({
  432. title: '请先选择车辆',
  433. icon:'none',
  434. duration: 3000
  435. });
  436. return false
  437. } */
  438. this.tkShow=true
  439. },
  440. calculation(type){
  441. if(type==1){
  442. if(this.goodsnum>1){
  443. this.goodsnum--
  444. }
  445. }else{
  446. console.log("+++")
  447. this.goodsnum++
  448. }
  449. },
  450. getdetail(){
  451. uni.showLoading({
  452. title: '加载中'
  453. })
  454. this.$http('openMaintain/detail/'+this.maintainId, {
  455. /* maintainId:this.maintainId */
  456. }, 'GET').then(res => {
  457. uni.hideLoading();
  458. this.detail=res.data
  459. this.detail.packageItems.forEach(item=>{
  460. if(item.isDefault==1){
  461. this.itemDefault=item
  462. this.itemDefault.mainImgUrl=this.detail.openMaintainImgUrls[0]
  463. if(item.isShow==1){
  464. this.itemDefaultTk=item
  465. }
  466. }
  467. if(item.content){
  468. item.content=item.content.replace(/\<img/gi, '<img style="max-width:100% !important;height:auto" ');
  469. }
  470. })
  471. if(this.detail.detailContent){
  472. this.detail.detailContent=this.detail.detailContent.replace(/\<img/gi, '<img style="max-width:100% !important;height:auto" ');
  473. }
  474. })
  475. },
  476. },
  477. onShareAppMessage(res) {
  478. var img='';
  479. if(this.detail.openMaintainImgUrls.length>0){
  480. img=this.detail.openMaintainImgUrls[0]
  481. }
  482. return {
  483. title: this.detail.title,
  484. imageUrl:img,
  485. path: 'pages/subPack/maintainItem?maintainId=' + this.maintainId+'&isRecommend='+this.isRecommend+'&shareId='+this.userInfo.openId,
  486. success(res){
  487. uni.showToast({
  488. title:'分享成功'
  489. })
  490. },
  491. fail(res){
  492. uni.showToast({
  493. title:'分享失败',
  494. icon:'none',
  495. duration: 3000
  496. })
  497. }
  498. }
  499. },
  500. }
  501. </script>
  502. <style scoped lang="less">
  503. .box {
  504. width: 100vw;
  505. min-height: 100vh;
  506. background: #F4F4F4;
  507. }
  508. .jtImg1{
  509. width: 10rpx;height: 20rpx;
  510. }
  511. .topGuigeBox{
  512. display: flex;justify-content: space-between;
  513. padding: 20rpx 24rpx;
  514. font-size: 24rpx;
  515. color: #828282;
  516. }
  517. .shipei{
  518. background: #57C73D;
  519. border-radius: 4rpx;
  520. width: 52rpx;
  521. height: 32rpx;
  522. line-height: 32rpx;
  523. font-size: 22rpx;
  524. color: #FFFFFF;
  525. text-align: center;
  526. margin-top: 6rpx;
  527. margin-right: 8rpx;
  528. }
  529. .goodsName{
  530. width: 580rpx;
  531. }
  532. .nameBox{
  533. display: flex; padding: 20rpx 24rpx;
  534. }
  535. .swiper{
  536. width: 750rpx;
  537. height: 700rpx;
  538. background: #FFFFFF;
  539. /* border-bottom: 1px solid #EEEEEE; */
  540. }
  541. .swiper-item{
  542. width: 750rpx;
  543. height: 700rpx;
  544. }
  545. .swiper-itemImg{
  546. width: 750rpx;
  547. height: 700rpx;
  548. }
  549. .goodsPrice{
  550. display: flex;
  551. }
  552. .goodsPrice1{
  553. font-size: 24rpx;
  554. font-weight: 400;
  555. color: #EC0F0A;
  556. padding-top: 14rpx;
  557. padding-right: 14rpx;
  558. }
  559. .goodsPrice2{
  560. font-size: 28rpx;
  561. font-weight: 400;
  562. color: #EC0F0A;
  563. padding-top: 16rpx;
  564. }
  565. .goodsPrice3{
  566. font-size: 44rpx;
  567. font-weight: 500;
  568. color: #EC0F0A;
  569. }
  570. .goodsPrice4{
  571. font-size: 24rpx;
  572. font-weight: 400;
  573. color: #999999;
  574. padding-top: 20rpx;
  575. }
  576. .goodsPrice41{
  577. text-decoration:line-through; padding-left: 10rpx;
  578. }
  579. .Sold{
  580. font-weight: 400;
  581. color: #999999;
  582. font-size: 24rpx;
  583. padding-top: 18rpx;
  584. }
  585. .goodsName{
  586. font-size: 30rpx;
  587. line-height: 42rpx;
  588. font-weight: 500;
  589. color: #333333;
  590. padding-top: 0;
  591. }
  592. .goodsMd{
  593. font-weight: 400;
  594. color: #999999;
  595. font-size: 26rpx;
  596. padding: 0 24rpx;
  597. padding-bottom: 20rpx;
  598. }
  599. .shopCont{
  600. background: #FFFFFF;
  601. }
  602. .shopCtop{
  603. display: flex;
  604. padding: 20rpx 24rpx 6rpx 20rpx;
  605. justify-content: space-between;
  606. background: #FFFFFF;
  607. }
  608. .goodsMSBox{
  609. display: flex;padding-left: 24rpx;
  610. }
  611. .goodsMs{
  612. font-size: 18rpx;
  613. color: #FF063A;
  614. padding: 2rpx 8rpx;
  615. border-radius: 6rpx;
  616. border: 1rpx solid #FF063A;
  617. margin-right: 16rpx;
  618. }
  619. .timeBox{
  620. display: flex;justify-content: space-between;
  621. padding: 20rpx 24rpx;
  622. font-size: 26rpx;
  623. color: #666E80;
  624. }
  625. .shareIcon{
  626. width: 33rpx;height: 33rpx;margin-left: 10rpx;
  627. }
  628. .shareBox{
  629. display: flex;font-size: 24rpx;
  630. color: #666666;padding-top: 6rpx;
  631. line-height: 33rpx;
  632. }
  633. .jtIcon{
  634. margin-top: 8rpx;
  635. width: 12rpx;
  636. height: 22rpx;
  637. margin-left: 6rpx;
  638. }
  639. .buyLine{
  640. display: flex;justify-content: space-between;
  641. padding: 15rpx 24rpx;font-size: 26rpx;
  642. color: #666E80;
  643. }
  644. .buyBOx{
  645. background: #FFFFFF;margin-top: 20rpx;
  646. padding: 15rpx 0;
  647. }
  648. .buyData{
  649. color: #222222;display: flex;
  650. }
  651. .goodsGuige{
  652. /* width: 150rpx; */
  653. height: 50rpx;line-height: 50rpx;
  654. background: #F6F6F6;
  655. border-radius: 5rpx;
  656. font-size: 24rpx;
  657. color: #222222;text-align: center;
  658. margin-left: 24rpx;
  659. padding: 0 20rpx;
  660. display: inline-block;
  661. }
  662. .activeGuige{
  663. /* width: 146rpx; */
  664. height: 46rpx;line-height: 46rpx;
  665. border: 2rpx solid #FF0035;
  666. border-radius: 5rpx;
  667. font-size: 24rpx;
  668. color: #FF0035;text-align: center;
  669. background: #ffffff;
  670. }
  671. .numJsbox{
  672. display: flex;overflow: hidden;
  673. }
  674. .buyCont{
  675. position: absolute;
  676. left: 0;
  677. bottom: 0;
  678. width: 750rpx;
  679. height: 688rpx;
  680. background: #FFFFFF;
  681. border-radius: 26rpx 26rpx 0px 0px;
  682. }
  683. .buyContCh{
  684. position: absolute;
  685. top: 53rpx;
  686. right: 36rpx;
  687. width: 36rpx;
  688. height: 36rpx;
  689. }
  690. .goodsnum{
  691. width: 44rpx;
  692. height: 44rpx;
  693. background: #F4F5F7;
  694. line-height: 44rpx;
  695. text-align: center;
  696. font-weight: 500;
  697. color: #333333;
  698. font-size: 24rpx;
  699. margin: 0 4rpx;
  700. border-left:1px solid #dddddd;
  701. border-right:1px solid #dddddd;
  702. }
  703. .goodsnumInput{
  704. width: 44rpx;
  705. height: 44rpx;
  706. background: #FFFFFF;
  707. line-height: 44rpx;
  708. text-align: center;
  709. font-weight: 500;
  710. color: #333333;
  711. font-size: 24rpx;
  712. }
  713. .numJj{
  714. width: 44rpx;
  715. height: 44rpx;
  716. background: #ffffff;
  717. border-radius: 0px 6rpx 6rpx 0px;
  718. text-align: center;
  719. line-height: 44rpx;
  720. font-size: 32rpx;
  721. color: #999999;
  722. }
  723. .numJsbox{
  724. border: 1px solid #dddddd;
  725. border-radius: 6rpx;
  726. }
  727. .mealBox{
  728. background: #FFFFFF;
  729. padding: 20rpx 24rpx;
  730. margin-top: 20rpx;
  731. font-size: 26rpx;
  732. }
  733. .fwlcTitle{
  734. font-size: 26rpx;padding-bottom: 24rpx;
  735. color: #666E80;
  736. }
  737. .mealTop{
  738. display: flex;
  739. justify-content: space-between;
  740. height: 72rpx;
  741. line-height: 72rpx;
  742. font-weight: 500;
  743. font-size: 26rpx;
  744. color: #222222;
  745. font-size: 26rpx;
  746. padding: 0 20rpx;
  747. }
  748. .mealNum{
  749. text-align: center;
  750. width: 120rpx;
  751. }
  752. .mealexpire{
  753. text-align: center; width: 120rpx;
  754. }
  755. .mealName{
  756. width: 460rpx;
  757. }
  758. .mealTop2{
  759. display: flex;
  760. justify-content: space-between;
  761. height: 72rpx;
  762. line-height: 72rpx;
  763. font-weight: 500;
  764. font-size: 26rpx;
  765. color: #222222;
  766. font-size: 26rpx;
  767. padding: 0 20rpx;
  768. background: #FFF6DB;
  769. }
  770. .mealXj{
  771. background: #FFFCF3;
  772. }
  773. .xjLine{
  774. display: flex;
  775. font-weight: 500;
  776. font-size: 26rpx;
  777. color: #222222;
  778. padding: 20rpx 20rpx;
  779. }
  780. .xjyd{
  781. width: 8rpx;
  782. height: 8rpx;
  783. background: #FABF1B;
  784. border-radius: 50rpx;
  785. margin-top: 12rpx;
  786. margin-right: 10rpx;
  787. }
  788. .mealMs{
  789. background: #FFFFFF;
  790. padding: 20rpx;
  791. font-weight: 400;
  792. font-size: 24rpx;
  793. color: #9A9A9A;
  794. line-height: 38rpx;
  795. }
  796. .goodsDetailTitle{
  797. font-size: 26rpx;
  798. color: #666E80;
  799. background: #FFFFFF;
  800. padding-bottom: 24rpx;
  801. }
  802. .goodsDetail{
  803. padding: 20rpx;
  804. background: #FFFFFF;
  805. font-size: 26rpx;
  806. margin-top: 20rpx;
  807. }
  808. .goodsDetail img{
  809. width: 750rpx;
  810. }
  811. .goodsDetail image{
  812. width: 750rpx;
  813. }.bottom{
  814. background: #FFFFFF;
  815. display: flex;
  816. justify-content: space-between;
  817. position: fixed;
  818. width: 100%;
  819. padding:30rpx 0;
  820. padding-bottom: constant(safe-area-inset-bottom);
  821. padding-bottom: env(safe-area-inset-bottom);
  822. left: 0;bottom: 0;
  823. box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
  824. }
  825. .bleft{
  826. font-weight: 500;
  827. color: #222222;
  828. padding-left: 50rpx;
  829. }
  830. .Btn{
  831. width: 532rpx;text-align: center;
  832. height: 86rpx;line-height: 86rpx;
  833. /* background: #FCD903; */
  834. border-radius: 43rpx;
  835. font-size: 32rpx;
  836. color: #110B01;
  837. margin-right: 36rpx;
  838. }
  839. .kefuIcon{
  840. width: 50rpx;height: 50rpx;
  841. }
  842. .bottomTianc{
  843. height: 160rpx;
  844. padding-bottom: constant(safe-area-inset-bottom);
  845. padding-bottom: env(safe-area-inset-bottom);
  846. }
  847. .carTis{
  848. color: #EC0F0A;font-size: 20rpx;
  849. text-align: right;
  850. padding-right: 24rpx;
  851. }
  852. .guigeBox{
  853. /* height: 50rpx; */
  854. height: 52rpx;
  855. width: 500rpx;
  856. overflow: hidden;
  857. }
  858. .guigeBox2{
  859. flex-wrap: nowrap;justify-content: flex-end;white-space: nowrap;
  860. height: 50rpx;
  861. }
  862. .tkBox{
  863. width: 100vw;height: 100vh;background: rgba(0,0,0,0.5);
  864. position: fixed;left: 0;top: 0;
  865. z-index: 11;
  866. }
  867. .tkCont{
  868. width: 750rpx;
  869. height: 910rpx;
  870. background: #FFFFFF;
  871. border-radius: 28rpx 28rpx 0rpx 0rpx;
  872. position: absolute;
  873. left: 0;bottom: 0;
  874. padding-bottom: constant(safe-area-inset-bottom);
  875. padding-bottom: env(safe-area-inset-bottom);
  876. }
  877. .tkCont2{
  878. width: 750rpx;
  879. height:50vh;
  880. background: #FFFFFF;
  881. border-radius: 28rpx 28rpx 0rpx 0rpx;
  882. position: absolute;
  883. left: 0;bottom: 0;
  884. padding-bottom: constant(safe-area-inset-bottom);
  885. padding-bottom: env(safe-area-inset-bottom);
  886. overflow-y: auto;
  887. }
  888. .tkTop{
  889. display: flex;padding: 40rpx 24rpx 30rpx 24rpx;
  890. padding-bottom: 25rpx;
  891. }
  892. .tkImg{
  893. width: 160rpx;
  894. height: 160rpx;border-radius: 13rpx;
  895. }
  896. .tkName{
  897. text-overflow: -o-ellipsis-lastline;
  898. overflow: hidden;
  899. text-overflow: ellipsis;
  900. display: -webkit-box;
  901. -webkit-line-clamp: 2;
  902. line-clamp: 2;
  903. -webkit-box-orient: vertical;
  904. }
  905. .tkNameBox{
  906. padding-left: 24rpx;width: 496rpx;
  907. }
  908. .chahao{
  909. width: 22rpx;height: 22rpx;padding-top: 10rpx;
  910. padding-left: 4rpx;
  911. }
  912. .buyLine{
  913. display: flex;justify-content: space-between;
  914. padding: 15rpx 24rpx;font-size: 26rpx;
  915. color: #666E80;
  916. }
  917. .buyBOx{
  918. background: #FFFFFF;margin-top: 20rpx;
  919. }
  920. .buyData{
  921. color: #222222;display: flex;
  922. }
  923. .carModelLine{
  924. max-width: 560rpx;
  925. white-space: nowrap; /* 确保文本在一行内显示 */
  926. overflow: hidden; /* 超出容器部分隐藏 */
  927. text-overflow: ellipsis
  928. }
  929. .activeGuige{
  930. /* width: 146rpx; */
  931. height: 46rpx;line-height: 46rpx;
  932. border: 2rpx solid #FF0035;
  933. border-radius: 5rpx;
  934. font-size: 24rpx;
  935. color: #FF0035;text-align: center;
  936. background: #ffffff;
  937. font-weight: 500;
  938. }
  939. .numJsbox{
  940. display: flex;
  941. }
  942. .buyCont{
  943. position: absolute;
  944. left: 0;
  945. bottom: 0;
  946. width: 750rpx;
  947. height: 688rpx;
  948. background: #FFFFFF;
  949. border-radius: 26rpx 26rpx 0px 0px;
  950. }
  951. .buyNumBox{
  952. padding: 30rpx;
  953. padding-top: 10rpx;
  954. padding-bottom: 30rpx;
  955. }
  956. .buyContCh{
  957. position: absolute;
  958. top: 53rpx;
  959. right: 36rpx;
  960. width: 36rpx;
  961. height: 36rpx;
  962. }
  963. .tkBottomBtn{
  964. width: 661rpx;text-align: center;
  965. height: 86rpx;line-height: 86rpx;
  966. /* background: #FCD903; */
  967. border-radius: 43rpx;
  968. font-size: 32rpx;
  969. color: #110B01;
  970. }
  971. .tkBottom{
  972. width: 750rpx;
  973. padding-top: 30rpx;
  974. background: #FFFFFF;
  975. box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
  976. padding-bottom: constant(safe-area-inset-bottom);
  977. padding-bottom: env(safe-area-inset-bottom);
  978. display: flex;justify-content: center;align-items: center;
  979. position: absolute;left: 0;bottom: 0;
  980. }
  981. .tkTOp2{
  982. display: flex;justify-content: space-between;
  983. font-size: 30rpx;
  984. padding: 30rpx;
  985. }
  986. .keyongLine{
  987. padding: 16rpx 24rpx;
  988. font-size: 26rpx;
  989. border-bottom: 1px solid #eaeaea;
  990. }
  991. .mealBox img{
  992. width: 100%;
  993. }
  994. .mealBox image{
  995. width: 100%;
  996. }
  997. .goodsDetail image{
  998. width: 100%;
  999. }
  1000. .goodsDetail img{
  1001. width: 100%;
  1002. }
  1003. .hjt{
  1004. width: 12rpx;height: 24rpx;
  1005. margin-top: 8rpx;margin-left: 10rpx;
  1006. }
  1007. button::after{
  1008. border: none;
  1009. }
  1010. button{
  1011. position: relative;
  1012. display: block;
  1013. margin-left: 0;
  1014. margin-right: 0;
  1015. padding-left: 0px;
  1016. padding-right: 0px;
  1017. box-sizing: border-box;
  1018. // font-size: 18px;
  1019. text-align: center;
  1020. text-decoration: none;
  1021. // line-height: 1;
  1022. line-height: 1.35;
  1023. // border-radius: 5px;
  1024. -webkit-tap-highlight-color: transparent;
  1025. overflow: hidden;
  1026. color: #000000;
  1027. background-color: #fff;
  1028. height: 100%;
  1029. }
  1030. .biaoqian{
  1031. background: #FF0035;
  1032. border-radius: 24rpx 24rpx 25rpx 0rpx;
  1033. padding: 4rpx 16rpx;
  1034. font-size: 22rpx;
  1035. color: #FFFFFF;
  1036. margin-top: 24rpx;
  1037. margin-bottom: -15rpx;
  1038. }
  1039. .tkNameBox .biaoqian{
  1040. margin-top: 16rpx;margin-bottom: -18rpx;
  1041. }
  1042. .duihaoImg{
  1043. width: 24rpx;height: 24rpx;
  1044. margin-top: 4rpx;
  1045. margin-right: 6rpx;
  1046. }
  1047. .topGuigeLeft{
  1048. display: flex;
  1049. }
  1050. .promotion{
  1051. background: #ffffff;margin-top: 20rpx;display: flex;justify-content: space-between;
  1052. padding: 36rpx 24rpx;
  1053. }
  1054. .promotionLeft{
  1055. display: flex;
  1056. }
  1057. .chu{
  1058. width: 28rpx;
  1059. height: 28rpx;
  1060. border-radius: 3rpx;
  1061. border: 1rpx solid #FF063A;
  1062. text-align: center;
  1063. line-height: 28rpx;
  1064. font-size: 16rpx;
  1065. color: #FF063A;
  1066. }
  1067. .promotionLineTxt{
  1068. font-size: 24rpx;
  1069. color: #222222;
  1070. line-height: 30rpx;
  1071. padding-left: 20rpx;
  1072. }
  1073. .promotionLine{
  1074. display: flex;padding-bottom: 10rpx;
  1075. }
  1076. .promotionTitle{
  1077. font-size: 24rpx;
  1078. color: #828282;
  1079. width: 100rpx;
  1080. }
  1081. .gmlcImg{
  1082. width: 100%;
  1083. }
  1084. .gmlc{
  1085. background: #ffffff;margin-top: 20rpx;
  1086. padding: 30rpx 24rpx;
  1087. }
  1088. .gmlcTitle{
  1089. font-weight: 400;
  1090. font-size: 26rpx;
  1091. color: #666E80;
  1092. line-height: 37rpx;
  1093. padding-bottom: 25rpx;
  1094. }
  1095. .copyIcon{
  1096. width: 30rpx;height: 30rpx;
  1097. margin-top: 4rpx;margin-left: 6rpx;
  1098. }
  1099. .canpinLine{
  1100. display: flex;justify-content: space-between;font-size: 24rpx;
  1101. color: #666E80;border-bottom: 1px solid #DCDCDC;
  1102. padding: 24rpx 0;
  1103. }
  1104. .canpinRgiht{
  1105. color: #222222;
  1106. }
  1107. .canpinBox{
  1108. padding: 0 20rpx 40rpx 20rpx;
  1109. }
  1110. .canpinTkBox .canpinTk{
  1111. height: 60vh;
  1112. }
  1113. .cktkLineBox .promotionLine{
  1114. padding-left: 15rpx;
  1115. padding-bottom: 30rpx;
  1116. }
  1117. .isRecommend{
  1118. font-size: 20rpx;
  1119. background: #57C73D;
  1120. height: 30rpx;
  1121. padding: 0 6rpx;
  1122. border-radius: 6rpx;
  1123. color: #fff;
  1124. margin-top: 2rpx;
  1125. /* margin-right: 10rpx; */
  1126. }
  1127. .tkltName{
  1128. font-size: 28rpx;
  1129. color: #222222;
  1130. line-height: 40rpx;
  1131. padding-left: 8rpx;
  1132. }
  1133. .buyNumLineBox{
  1134. display: flex;justify-content: space-between;
  1135. }
  1136. .buyNumline{
  1137. width: 149rpx;
  1138. height: 50rpx;
  1139. background: #F6F6F6;
  1140. border-radius: 25rpx;
  1141. font-size: 24rpx;
  1142. color: #222222;
  1143. line-height: 50rpx;text-align: center;
  1144. }
  1145. .buyNumTitle{
  1146. font-size: 26rpx;
  1147. color: #666E80;
  1148. padding-bottom: 8rpx;
  1149. }
  1150. .buyTkline{
  1151. display: flex;justify-content: space-between;
  1152. font-size: 26rpx;
  1153. color: #666E80;
  1154. padding: 15rpx 24rpx;
  1155. }
  1156. .buyTklineRight{
  1157. font-size: 26rpx;
  1158. color: #222222;
  1159. display: flex;
  1160. }
  1161. .buyTklineRight .jtImg1{
  1162. margin-top: 10rpx;
  1163. margin-left: 6rpx;
  1164. }
  1165. .buyShopBox{
  1166. padding: 0 24rpx;
  1167. }
  1168. .duihao{
  1169. width: 28rpx;height: 28rpx;
  1170. }
  1171. .buyShopTRgiht{
  1172. display: flex;
  1173. align-items: center;
  1174. }
  1175. .buyShop{
  1176. background: #F9F9F9;
  1177. border-radius:6rpx;
  1178. }
  1179. .buyShopTop{
  1180. display: flex;justify-content: space-between;
  1181. padding: 16rpx 22rpx;
  1182. background: #F9EFF0;
  1183. }
  1184. .shopbq{
  1185. color: #FF063A;font-size: 22rpx;
  1186. border-radius: 6rpx;
  1187. border: 1rpx solid #FF063A;
  1188. padding: 0rpx 6rpx;
  1189. height: 30rpx;line-height: 30rpx;
  1190. margin-top: 4rpx;
  1191. }
  1192. .buyShopTleft{
  1193. display: flex;
  1194. }
  1195. .buyshopName{
  1196. font-size: 26rpx;
  1197. color: #222222;
  1198. line-height: 37rpx;
  1199. padding-left: 8rpx;
  1200. }
  1201. .buyShopCont{
  1202. display: flex;
  1203. padding: 22rpx;
  1204. }
  1205. .buyShopContImg{
  1206. width: 102rpx;
  1207. height: 102rpx;
  1208. border-radius: 6rpx;
  1209. }
  1210. .buyShopContAdress{
  1211. font-weight: 400;
  1212. font-size: 22rpx;
  1213. color: #666E80;
  1214. line-height: 34rpx;
  1215. width: 440rpx;
  1216. padding-left: 12rpx;
  1217. }
  1218. .buyShopJl{
  1219. font-size: 22rpx;
  1220. color: #666E80; line-height: 34rpx;
  1221. width: 110rpx;
  1222. text-align: right;
  1223. }
  1224. .buyNumlineActive{
  1225. border-radius: 25rpx;
  1226. border: 1rpx solid #FF0035;
  1227. color: #FF0035;
  1228. background: #ffffff;
  1229. height: 48rpx;
  1230. line-height: 48rpx;width: 147rpx;
  1231. }
  1232. </style>