12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301 |
- <template>
- <view class="box">
- <homenav :iStatusBarHeight="iStatusBarHeight" :title="'商品详情'"></homenav>
- <view class="spwBox">
- <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
- <swiper-item v-for="(item,index) in 3">
- <view class="swiper-item">
- <img mode="aspectFit" src="http://dmsphoto.66km.com.cn/thFiles/339E5DB5-F727-4F0F-AD41-1A2EBAB73883.png" alt="" class="swiper-itemImg" >
-
- </view>
- </swiper-item>
-
- </swiper>
- </view>
- <view class="shopCont">
- <view style="display: flex;padding-left: 24rpx;">
- <view class="biaoqian">4条到手单价</view>
- <!-- <view v-if="itemDefault.salesLabel==2" class="biaoqian">促销价</view>
- <view v-if="itemDefault.salesLabel==3" class="biaoqian">特价</view>
- <view v-if="itemDefault.salesLabel==4" class="biaoqian">限量抢购</view>
- <view v-if="itemDefault.salesLabel==5" class="biaoqian">{{itemDefault.salesLabelCustom}}</view> -->
-
- </view>
-
- <view class="shopCtop">
- <view class="goodsPrice" >
- <view class="goodsPrice2">¥</view>
- <view class="goodsPrice3" >294.90</view>
- <view class="goodsPrice4" style="padding-left: 10rpx;">优惠前:
- <span class="goodsPrice41">¥666</span>
- </view>
- </view>
- <button open-type="share" class="shareBox" >
- <view class="shareTxt">分享</view>
- <image class="shareIcon" src="../../static/timg/share.png" mode=""></image>
- </button>
- <!-- <view class="shareBox" >
-
-
- </view> -->
- </view>
- <view class="nameBox">
- <view class="shipei">适配</view>
- <view class="goodsName">
- 路博(ROADBOSS)轮胎 195/65R5 91H HP601
- </view>
- </view>
-
- <view class="goodsMSBox" >
- <!-- <view class="goodsMs" v-if="detail.showOilType">机油类型|{{detail.showOilType}}</view>
- <view class="goodsMs" v-if="detail.showOilLevel">机油等级|{{detail.showOilLevel}}</view>
- <view class="goodsMs" v-if="detail.showFit">适配粘度|{{detail.showFit}}</view> -->
- <view class="goodsMs" v-for="(item,index) in 4">标签</view>
- </view>
- <!-- <view class="timeBox">
- <view class="itemTime" v-if="detail.validityType==1">套餐有效期:{{detail.validityTime}}</view>
- <view class="sell" v-if="itemDefault.showSalesCount==1">
- <span>已售:</span><span style="color: #FFC107;">{{itemDefault.dummyCount}}</span>
- </view>
- </view> -->
- <view class="topGuigeBox">
- <view class="topGuigeLeft">
- <image src="../../static/img2/duihao.png" mode="" class="duihaoImg"></image>
- <span>品牌·规格·花纹·载重系数</span>
- </view>
- <image src="../../static/img2/hjt.png" mode="" class="jtImg1" style="margin-top: 6rpx;"></image>
- </view>
- </view>
- <!-- 促销-->
- <view class="promotion">
- <view class="promotionLeft">
- <view class="promotionTitle">促销</view>
- <view class="promotionBox">
- <view class="promotionLine" v-for="(item,index) in 5">
- <view class="chu">赠</view>
- <view class="promotionLineTxt">3年换新保障x1</view>
- </view>
- </view>
- </view>
- <image src="../../static/img2/hjt.png" mode="" class="jtImg1"></image>
- </view>
- <!-- 促销-->
-
-
- <view class="buyBOx">
- <view class="buyLine" @click="ckCar" style="padding-bottom: 8rpx;">
- <view class="buyTitle">已选车型</view>
- <view class="buyData" style="display: flex;">
- <view class="carModelLine"> {{carInfo.carModel?carInfo.carModel:'请选择车辆'}}</view>
-
- <image class="jtIcon" src="../../static/img2/byjt.png" mode=""></image>
- </view>
- </view>
- <view class="carTis" v-if="isRecommend!='true'">此轮胎可能与爱车不适配</view>
- <view class="buyLine" style="padding: 12rpx 24rpx;"><!-- -->
- <view class="buyTitle" style="line-height: 44rpx;">商品数量</view>
- <view class="buyData">
- <view class="numJsbox">
- <view class="numJj" @click="calculation(1)">-</view>
- <view class="goodsnum">
- <input type="number" value="" v-model="goodsnum" class="goodsnumInput"/>
- </view>
- <view class="numJj" @click="calculation(2)">+</view>
- </view>
- </view>
- </view>
- <view class="buyLine">
- <view class="buyTitle">服务方式</view>
- <view class="buyData">到店使用</view>
- </view>
- <view class="buyLine" style="padding-bottom: 8rpx;">
- <view class="buyTitle">服务门店</view>
- <view class="buyData" v-if="itemDefault.packTimeShopName=='全部'">全部门店</view>
- <view @click="keyongFn" class="buyData " style="display: flex;" v-else>{{itemDefault.packTimeShopName.split(',').length}}个门店可用
- <image src="../../static/img2/byjt.png" mode="" class="hjt"></image>
- </view>
- </view>
- <view class="buyLine" style="padding-bottom: 10rpx;">
- <view class="buyTitle">商品库存</view>
- <view class="buyData" >
- <view class="carModelLine"> 有货/门店 </view>
-
- </view>
- </view>
- <view class="carTis" style="color: #797979;padding-bottom: 10rpx;">当天23:59分之前下单,次日内即可进店</view>
- </view>
- <!-- 购买流程-->
- <view class="gmlc">
- <view class="gmlcTitle">购买流程</view>
- <view>
- <image class="gmlcImg" src="http://dmsphoto.66km.com.cn/thFiles/0BF3F1DB-8B56-488A-9BCB-663517985E9A.png" mode="widthFix"></image>
- </view>
- </view>
-
- <view class="mealBox" v-if="itemDefault.content">
- <view class="fwlcTitle">套餐内容</view>
- <rich-text :nodes="itemDefault.content" style="background: #fff;"></rich-text>
- <!-- <view class="mealTop">
- <view class="mealName">套餐名称</view>
- <view class="mealNum">数量</view>
- <view class="mealexpire">有效期</view>
- </view>
- <view class="mealTop2">
- <view class="mealName">【豪华车型】全合成机油保养套餐</view>
- <view class="mealNum">2</view>
- <view class="mealexpire">18个月</view>
- </view>
- <view class="mealXj">
- <view class="xjLine">
- <view class="xjyd"></view>
- <view class="xjTxt">20项检查</view>
- </view>
- <view class="xjLine">
- <view class="xjyd"></view>
- <view class="xjTxt">20美日韩车型专用保养套餐适配机油</view>
- </view>
- </view>
- <view class="mealMs">
- <view class="mealMsline">
- 1.本套餐不限车辆使用;
- 2.机油套餐包含:机油,机油滤,工时费
- 3.购买此套餐,共享有2次保养次数。
- </view>
- </view> -->
- </view>
-
- <!-- 商品详情 -->
- <view class="goodsDetail" v-if="detail.detailContent">
- <view class="goodsDetailTitle">商品详情</view>
- <!-- <view v-html="info.details" style="background: #fff;"></view> -->
- <rich-text :nodes="detail.detailContent" style="background: #fff;"></rich-text>
- </view>
-
- <view class="bottomTianc"></view>
-
- <view class="bottom">
- <view class="bleft" @click="makePhoneCall(showSetting.tel)">
- <image class="kefuIcon" src="../../static/img2/kefu.png" mode=""></image>
- <view style="text-align: center;font-size: 20rpx;color: #110B01;">客服</view>
- </view>
- <view class="Btn commonBtn" @click="submitFn">立即购买</view>
- </view>
-
-
-
- <!-- 提交订单弹框-->
- <view class="tkBox" v-if="tkShow" @click="closeTk">
- <view class="tkCont" @click.stop="">
- <view class="tkTop">
- <image class="tkImg" v-if="itemDefaultTk.mainImgUrl" :src="itemDefaultTk.mainImgUrl" mode="" ></image>
- <image class="tkImg" v-else src="../../static/timg/noimg.png" mode="" ></image>
- <view class="tkNameBox">
- <view class="tkName"> <span class="isRecommend">适配</span>
- <span class="tkltName">路博(ROADBOSS)轮胎 195/65R5 91H HP601</span>
- </view>
- <view style="display: flex;padding-bottom: 24rpx;">
- <view class="biaoqian">4条到手单价</view>
-
-
- </view>
- <view class="goodsPrice">
- <view class="goodsPrice2">¥</view>
- <view class="goodsPrice3">299</view>
- <view class="goodsPrice4">
- <span style="color: #EC0F0A;">/条</span>
- <span class="goodsPrice41">优惠前¥399</span>
-
- </view>
- </view>
-
- </view>
- <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
- </view>
- <view class="buyNumBox">
- <view class="buyNumTitle">购买数量</view>
- <view class="buyNumLineBox">
- <view class="buyNumline" :class="{buyNumlineActive:buyNum==1}" @click="bugNumFn(1)">1条</view>
- <view class="buyNumline" :class="{buyNumlineActive:buyNum==2}" @click="bugNumFn(2)">2条</view>
- <view class="buyNumline" :class="{buyNumlineActive:buyNum==3}" @click="bugNumFn(3)">3条</view>
- <view class="buyNumline" :class="{buyNumlineActive:buyNum==4}" @click="bugNumFn(4)">4条</view>
- </view>
-
- </view>
- <view class="buyTkline">
- <view class="buyTklineLeft">服务方式</view>
- <view class="buyTklineRight">到店服务</view>
- </view>
- <view class="buyTkline">
- <view class="buyTklineLeft">门店地址</view>
- <view class="buyTklineRight">
- <span>更换门店</span>
- <image src="../../static/img2/hjt.png" mode="" class="jtImg1"></image>
- </view>
- </view>
- <view class="buyShopBox">
- <view class="buyShop">
- <view class="buyShopTop">
- <view class="buyShopTleft">
- <view class="shopbq">距离最近</view>
- <view class="buyshopName">兰考中山大道店</view>
- </view>
- <view class="buyShopTRgiht">
- <image src="/static/timg/icon_checked@2x.png" mode="" class="duihao"></image>
- </view>
- </view>
- <view class="buyShopCont">
- <image src="/static/timg/noimg.png" class="buyShopContImg"></image>
- <view class="buyShopContAdress">河南省开封市兰考县中山大道路河南省开封市</view>
- <view class="buyShopJl">3306.9km</view>
- </view>
- </view>
- </view>
-
-
-
-
- <view class="tkBottom">
- <view class="tkBottomBtn commonBtn" @click="goSubmit">立即购买</view>
- </view>
-
- </view>
- </view>
-
-
-
- <!-- 提交订单弹框-->
-
- <!-- 门店列表-->
- <view class="tkBox" v-if="keyongShow" @click="keyongClose">
- <view class="tkCont2">
- <view class="tkTOp2">
- <view class="chahao"></view>
- <view class="kymd">可用门店</view>
- <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
- </view>
- <view class="keyongBOx">
- <view class="keyongLine" v-for="(item,index) in itemDefault.packTimeShopName.split(',')">
- {{item}}
- </view>
- </view>
- </view>
- </view>
-
- <!-- 产品弹框-->
- <view class="tkBox canpinTkBox" v-if="canpinShow">
- <view class="tkCont2 canpinTk">
- <view class="tkTOp2">
- <view class="chahao"></view>
- <view class="kymd">产品参数</view>
- <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
- </view>
- <view class="canpinBox">
- <view class="canpinLine">
- <view class="canpinLineLeft">轮胎规格</view>
- <view class="canpinRgiht">215/50 R18</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">速度级别</view>
- <view class="canpinRgiht">215/50 R18</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">载重系数</view>
- <view class="canpinRgiht">96</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">花纹</view>
- <view class="canpinRgiht">96</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">轮箍直径</view>
- <view class="canpinRgiht">96</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">横截面宽度</view>
- <view class="canpinRgiht">96</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">扁平比</view>
- <view class="canpinRgiht">96</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">品牌</view>
- <view class="canpinRgiht">96</view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">商品编码</view>
- <view class="canpinRgiht" style="display: flex;">
- <span>TTMTP20240570001</span>
- <image src="../../static/img2/copy.png" mode="" class="copyIcon"></image>
- </view>
- </view>
- <view class="canpinLine">
- <view class="canpinLineLeft">DOT</view>
- <view class="canpinRgiht">-</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 产品弹框-->
- <!-- 促销介绍-->
- <view class="tkBox cktk" v-if="cxShow">
- <view class="tkCont2">
- <view class="tkTOp2">
- <view class="chahao"></view>
- <view class="kymd">促销介绍</view>
- <image class="chahao" src="../../static/img2/chahao.png" mode="" @click="closeTk"></image>
- </view>
- <view class="keyongBOx">
- <view class="promotionBox cktkLineBox">
- <view class="promotionLine " v-for="(item,index) in 5">
- <view class="chu">赠</view>
- <view class="promotionLineTxt">3年换新保障x1</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 促销介绍-->
- </view>
- </template>
- <script>
- import homenav from "../../components/homenav/nav.vue"
- export default {
- components: {
- homenav
- },
-
- data() {
- return {
- themeColor:'',
- ext:'',
-
- goodsnum:1,
- details:'11233',
- maintainId:'',
- detail:'',
- itemDefault:'',
- carInfo:'',
- userInfo:'',
- isRecommend:'',
- tkShow:false,
- keyongShow:false,
- showSetting:'',
- iStatusBarHeight:'',
- itemDefaultTk:'',
- canpinShow:false,
- cxShow:false,
- buyNum:'',
- }
- },
- onLoad(opt) {
- this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
- this.ext = this.$common.getExtStoreId();
- this.themeColor = uni.getStorageSync("themeColor");
- this.maintainId=opt.maintainId
- this.carInfo=this.$store.state.carInfo;
- this.userInfo=this.$store.state.userInfo;
- this.isRecommend=opt.isRecommend
- //console.log("this.isRecommend=="+this.isRecommend)
- if(this.userInfo){
- this.getdetail()
- this.getInfo()
- }else{
- this.$common.automaticlogin().then(val => {
- this.userInfo=this.$store.state.userInfo;
- this.getdetail()
- this.getInfo()
- })
- }
-
- },
- onShow() {
- var car =uni.getStorageSync("byCar")
- if(car){
- this.carInfo=car;
- this.getdetail()
- this.isRecommend=false
- }
-
- },
- methods: {
- bugNumFn(num){
- this.buyNum=num
- },
- makePhoneCall(tel){
- uni.makePhoneCall({
- phoneNumber: tel,
- });
- },
- getInfo(){
- this.$http('openreservation/getInfo', {
- lat: '',
- lng: '',
-
- }, 'GET').then(res => {
- this.showSetting=res.data.showSetting
- })
- },
- ckCar(){
- uni.navigateTo({
- url:'../user/addCar/cailist?type=5'
- })
- },
- goodsGuige(item){
- this.itemDefault=item
- this.itemDefault.mainImgUrl=this.detail.openMaintainImgUrls[0]
- this.itemDefaultTk=this.itemDefault
- },
- goodsGuige2(item){
- this.itemDefaultTk=item
- this.itemDefaultTk.mainImgUrl=this.detail.openMaintainImgUrls[0]
- },
- goSubmit(){
- uni.navigateTo({
- url:'tireSubmit'
- })
- },
- closeTk(){
- this.tkShow=false
- },
- keyongClose(){
- this.keyongShow=false;
- },
- keyongFn(){
- this.keyongShow=true;
- },
- submitFn(){
- /* if(!this.carInfo){
- uni.showToast({
- title: '请先选择车辆',
- icon:'none',
- duration: 3000
- });
- return false
- } */
-
- this.tkShow=true
-
-
- },
- calculation(type){
- if(type==1){
- if(this.goodsnum>1){
- this.goodsnum--
- }
- }else{
- console.log("+++")
- this.goodsnum++
- }
- },
- getdetail(){
- uni.showLoading({
- title: '加载中'
- })
- this.$http('openMaintain/detail/'+this.maintainId, {
- /* maintainId:this.maintainId */
- }, 'GET').then(res => {
- uni.hideLoading();
- this.detail=res.data
- this.detail.packageItems.forEach(item=>{
- if(item.isDefault==1){
- this.itemDefault=item
- this.itemDefault.mainImgUrl=this.detail.openMaintainImgUrls[0]
- if(item.isShow==1){
- this.itemDefaultTk=item
- }
- }
- if(item.content){
- item.content=item.content.replace(/\<img/gi, '<img style="max-width:100% !important;height:auto" ');
- }
-
- })
- if(this.detail.detailContent){
- this.detail.detailContent=this.detail.detailContent.replace(/\<img/gi, '<img style="max-width:100% !important;height:auto" ');
- }
-
-
- })
- },
-
-
-
- },
- onShareAppMessage(res) {
- var img='';
- if(this.detail.openMaintainImgUrls.length>0){
- img=this.detail.openMaintainImgUrls[0]
- }
- return {
- title: this.detail.title,
- imageUrl:img,
- path: 'pages/subPack/maintainItem?maintainId=' + this.maintainId+'&isRecommend='+this.isRecommend+'&shareId='+this.userInfo.openId,
- success(res){
- uni.showToast({
- title:'分享成功'
- })
- },
- fail(res){
- uni.showToast({
- title:'分享失败',
- icon:'none',
- duration: 3000
- })
- }
- }
- },
- }
- </script>
- <style scoped lang="less">
- .box {
- width: 100vw;
- min-height: 100vh;
- background: #F4F4F4;
- }
- .jtImg1{
- width: 10rpx;height: 20rpx;
- }
- .topGuigeBox{
- display: flex;justify-content: space-between;
- padding: 20rpx 24rpx;
- font-size: 24rpx;
- color: #828282;
- }
- .shipei{
- background: #57C73D;
- border-radius: 4rpx;
- width: 52rpx;
- height: 32rpx;
- line-height: 32rpx;
- font-size: 22rpx;
- color: #FFFFFF;
- text-align: center;
- margin-top: 6rpx;
- margin-right: 8rpx;
- }
- .goodsName{
- width: 580rpx;
- }
- .nameBox{
- display: flex; padding: 20rpx 24rpx;
- }
- .swiper{
- width: 750rpx;
- height: 700rpx;
- background: #FFFFFF;
- /* border-bottom: 1px solid #EEEEEE; */
- }
- .swiper-item{
- width: 750rpx;
- height: 700rpx;
- }
- .swiper-itemImg{
- width: 750rpx;
- height: 700rpx;
- }
- .goodsPrice{
- display: flex;
- }
- .goodsPrice1{
- font-size: 24rpx;
- font-weight: 400;
- color: #EC0F0A;
- padding-top: 14rpx;
- padding-right: 14rpx;
- }
- .goodsPrice2{
- font-size: 28rpx;
- font-weight: 400;
- color: #EC0F0A;
- padding-top: 16rpx;
-
- }
- .goodsPrice3{
- font-size: 44rpx;
- font-weight: 500;
- color: #EC0F0A;
- }
- .goodsPrice4{
- font-size: 24rpx;
- font-weight: 400;
- color: #999999;
- padding-top: 20rpx;
-
-
- }
- .goodsPrice41{
- text-decoration:line-through; padding-left: 10rpx;
- }
- .Sold{
- font-weight: 400;
- color: #999999;
- font-size: 24rpx;
- padding-top: 18rpx;
- }
- .goodsName{
- font-size: 30rpx;
- line-height: 42rpx;
- font-weight: 500;
- color: #333333;
- padding-top: 0;
-
- }
- .goodsMd{
- font-weight: 400;
- color: #999999;
- font-size: 26rpx;
- padding: 0 24rpx;
- padding-bottom: 20rpx;
- }
- .shopCont{
- background: #FFFFFF;
- }
- .shopCtop{
- display: flex;
- padding: 20rpx 24rpx 6rpx 20rpx;
- justify-content: space-between;
- background: #FFFFFF;
- }
- .goodsMSBox{
- display: flex;padding-left: 24rpx;
- }
- .goodsMs{
- font-size: 18rpx;
- color: #FF063A;
- padding: 2rpx 8rpx;
- border-radius: 6rpx;
- border: 1rpx solid #FF063A;
- margin-right: 16rpx;
- }
- .timeBox{
- display: flex;justify-content: space-between;
- padding: 20rpx 24rpx;
- font-size: 26rpx;
- color: #666E80;
- }
- .shareIcon{
- width: 33rpx;height: 33rpx;margin-left: 10rpx;
- }
- .shareBox{
- display: flex;font-size: 24rpx;
- color: #666666;padding-top: 6rpx;
- line-height: 33rpx;
- }
- .jtIcon{
- margin-top: 8rpx;
- width: 12rpx;
- height: 22rpx;
- margin-left: 6rpx;
- }
- .buyLine{
- display: flex;justify-content: space-between;
- padding: 15rpx 24rpx;font-size: 26rpx;
- color: #666E80;
- }
- .buyBOx{
- background: #FFFFFF;margin-top: 20rpx;
- padding: 15rpx 0;
- }
- .buyData{
- color: #222222;display: flex;
- }
- .goodsGuige{
- /* width: 150rpx; */
- height: 50rpx;line-height: 50rpx;
- background: #F6F6F6;
- border-radius: 5rpx;
- font-size: 24rpx;
- color: #222222;text-align: center;
- margin-left: 24rpx;
- padding: 0 20rpx;
- display: inline-block;
- }
- .activeGuige{
- /* width: 146rpx; */
- height: 46rpx;line-height: 46rpx;
- border: 2rpx solid #FF0035;
- border-radius: 5rpx;
- font-size: 24rpx;
- color: #FF0035;text-align: center;
- background: #ffffff;
- }
- .numJsbox{
- display: flex;overflow: hidden;
- }
- .buyCont{
- position: absolute;
- left: 0;
- bottom: 0;
- width: 750rpx;
- height: 688rpx;
- background: #FFFFFF;
- border-radius: 26rpx 26rpx 0px 0px;
- }
- .buyContCh{
- position: absolute;
- top: 53rpx;
- right: 36rpx;
- width: 36rpx;
- height: 36rpx;
- }
- .goodsnum{
- width: 44rpx;
- height: 44rpx;
- background: #F4F5F7;
- line-height: 44rpx;
- text-align: center;
- font-weight: 500;
- color: #333333;
- font-size: 24rpx;
- margin: 0 4rpx;
- border-left:1px solid #dddddd;
- border-right:1px solid #dddddd;
- }
- .goodsnumInput{
- width: 44rpx;
- height: 44rpx;
- background: #FFFFFF;
- line-height: 44rpx;
- text-align: center;
- font-weight: 500;
- color: #333333;
- font-size: 24rpx;
- }
- .numJj{
- width: 44rpx;
- height: 44rpx;
- background: #ffffff;
- border-radius: 0px 6rpx 6rpx 0px;
- text-align: center;
- line-height: 44rpx;
- font-size: 32rpx;
- color: #999999;
- }
- .numJsbox{
- border: 1px solid #dddddd;
- border-radius: 6rpx;
- }
- .mealBox{
- background: #FFFFFF;
- padding: 20rpx 24rpx;
- margin-top: 20rpx;
- font-size: 26rpx;
- }
- .fwlcTitle{
- font-size: 26rpx;padding-bottom: 24rpx;
- color: #666E80;
- }
- .mealTop{
- display: flex;
- justify-content: space-between;
- height: 72rpx;
- line-height: 72rpx;
- font-weight: 500;
- font-size: 26rpx;
- color: #222222;
- font-size: 26rpx;
- padding: 0 20rpx;
- }
- .mealNum{
- text-align: center;
- width: 120rpx;
- }
- .mealexpire{
- text-align: center; width: 120rpx;
- }
- .mealName{
- width: 460rpx;
- }
- .mealTop2{
- display: flex;
- justify-content: space-between;
- height: 72rpx;
- line-height: 72rpx;
- font-weight: 500;
- font-size: 26rpx;
- color: #222222;
- font-size: 26rpx;
- padding: 0 20rpx;
- background: #FFF6DB;
- }
- .mealXj{
- background: #FFFCF3;
- }
- .xjLine{
- display: flex;
- font-weight: 500;
- font-size: 26rpx;
- color: #222222;
- padding: 20rpx 20rpx;
- }
- .xjyd{
- width: 8rpx;
- height: 8rpx;
- background: #FABF1B;
- border-radius: 50rpx;
- margin-top: 12rpx;
- margin-right: 10rpx;
- }
- .mealMs{
- background: #FFFFFF;
- padding: 20rpx;
- font-weight: 400;
- font-size: 24rpx;
- color: #9A9A9A;
- line-height: 38rpx;
- }
- .goodsDetailTitle{
- font-size: 26rpx;
- color: #666E80;
-
- background: #FFFFFF;
- padding-bottom: 24rpx;
- }
- .goodsDetail{
- padding: 20rpx;
- background: #FFFFFF;
- font-size: 26rpx;
- margin-top: 20rpx;
- }
- .goodsDetail img{
- width: 750rpx;
- }
- .goodsDetail image{
- width: 750rpx;
- }.bottom{
- background: #FFFFFF;
- display: flex;
- justify-content: space-between;
- position: fixed;
- width: 100%;
- padding:30rpx 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- left: 0;bottom: 0;
- box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
- }
- .bleft{
- font-weight: 500;
- color: #222222;
- padding-left: 50rpx;
- }
- .Btn{
- width: 532rpx;text-align: center;
- height: 86rpx;line-height: 86rpx;
- /* background: #FCD903; */
- border-radius: 43rpx;
- font-size: 32rpx;
- color: #110B01;
- margin-right: 36rpx;
- }
- .kefuIcon{
- width: 50rpx;height: 50rpx;
- }
- .bottomTianc{
- height: 160rpx;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .carTis{
- color: #EC0F0A;font-size: 20rpx;
- text-align: right;
- padding-right: 24rpx;
- }
- .guigeBox{
- /* height: 50rpx; */
- height: 52rpx;
- width: 500rpx;
- overflow: hidden;
- }
- .guigeBox2{
- flex-wrap: nowrap;justify-content: flex-end;white-space: nowrap;
- height: 50rpx;
- }
- .tkBox{
- width: 100vw;height: 100vh;background: rgba(0,0,0,0.5);
- position: fixed;left: 0;top: 0;
- z-index: 11;
- }
- .tkCont{
- width: 750rpx;
- height: 910rpx;
- background: #FFFFFF;
- border-radius: 28rpx 28rpx 0rpx 0rpx;
- position: absolute;
- left: 0;bottom: 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .tkCont2{
- width: 750rpx;
- height:50vh;
- background: #FFFFFF;
- border-radius: 28rpx 28rpx 0rpx 0rpx;
- position: absolute;
- left: 0;bottom: 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- overflow-y: auto;
- }
- .tkTop{
- display: flex;padding: 40rpx 24rpx 30rpx 24rpx;
- padding-bottom: 25rpx;
- }
- .tkImg{
- width: 160rpx;
- height: 160rpx;border-radius: 13rpx;
- }
- .tkName{
-
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .tkNameBox{
- padding-left: 24rpx;width: 496rpx;
- }
- .chahao{
- width: 22rpx;height: 22rpx;padding-top: 10rpx;
- padding-left: 4rpx;
- }
- .buyLine{
- display: flex;justify-content: space-between;
- padding: 15rpx 24rpx;font-size: 26rpx;
- color: #666E80;
- }
- .buyBOx{
- background: #FFFFFF;margin-top: 20rpx;
-
- }
- .buyData{
- color: #222222;display: flex;
-
- }
- .carModelLine{
- max-width: 560rpx;
- white-space: nowrap; /* 确保文本在一行内显示 */
- overflow: hidden; /* 超出容器部分隐藏 */
- text-overflow: ellipsis
- }
- .activeGuige{
- /* width: 146rpx; */
- height: 46rpx;line-height: 46rpx;
- border: 2rpx solid #FF0035;
- border-radius: 5rpx;
- font-size: 24rpx;
- color: #FF0035;text-align: center;
- background: #ffffff;
- font-weight: 500;
- }
- .numJsbox{
- display: flex;
- }
- .buyCont{
- position: absolute;
- left: 0;
- bottom: 0;
- width: 750rpx;
- height: 688rpx;
- background: #FFFFFF;
- border-radius: 26rpx 26rpx 0px 0px;
- }
- .buyNumBox{
- padding: 30rpx;
- padding-top: 10rpx;
- padding-bottom: 30rpx;
- }
- .buyContCh{
- position: absolute;
- top: 53rpx;
- right: 36rpx;
- width: 36rpx;
- height: 36rpx;
- }
- .tkBottomBtn{
- width: 661rpx;text-align: center;
- height: 86rpx;line-height: 86rpx;
- /* background: #FCD903; */
- border-radius: 43rpx;
- font-size: 32rpx;
- color: #110B01;
- }
- .tkBottom{
- width: 750rpx;
- padding-top: 30rpx;
- background: #FFFFFF;
- box-shadow: 0rpx -2rpx 16rpx 0rpx rgba(153,153,153,0.2);
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- display: flex;justify-content: center;align-items: center;
- position: absolute;left: 0;bottom: 0;
- }
- .tkTOp2{
- display: flex;justify-content: space-between;
- font-size: 30rpx;
- padding: 30rpx;
- }
- .keyongLine{
- padding: 16rpx 24rpx;
- font-size: 26rpx;
- border-bottom: 1px solid #eaeaea;
- }
- .mealBox img{
- width: 100%;
- }
- .mealBox image{
- width: 100%;
- }
- .goodsDetail image{
- width: 100%;
- }
- .goodsDetail img{
- width: 100%;
- }
- .hjt{
- width: 12rpx;height: 24rpx;
- margin-top: 8rpx;margin-left: 10rpx;
- }
- button::after{
- border: none;
- }
- button{
- position: relative;
- display: block;
- margin-left: 0;
- margin-right: 0;
- padding-left: 0px;
- padding-right: 0px;
- box-sizing: border-box;
- // font-size: 18px;
- text-align: center;
- text-decoration: none;
- // line-height: 1;
- line-height: 1.35;
- // border-radius: 5px;
- -webkit-tap-highlight-color: transparent;
- overflow: hidden;
- color: #000000;
- background-color: #fff;
-
- height: 100%;
- }
- .biaoqian{
- background: #FF0035;
- border-radius: 24rpx 24rpx 25rpx 0rpx;
- padding: 4rpx 16rpx;
- font-size: 22rpx;
- color: #FFFFFF;
- margin-top: 24rpx;
- margin-bottom: -15rpx;
- }
- .tkNameBox .biaoqian{
- margin-top: 16rpx;margin-bottom: -18rpx;
- }
- .duihaoImg{
- width: 24rpx;height: 24rpx;
- margin-top: 4rpx;
- margin-right: 6rpx;
- }
- .topGuigeLeft{
- display: flex;
- }
- .promotion{
- background: #ffffff;margin-top: 20rpx;display: flex;justify-content: space-between;
- padding: 36rpx 24rpx;
- }
- .promotionLeft{
- display: flex;
- }
- .chu{
- width: 28rpx;
- height: 28rpx;
- border-radius: 3rpx;
- border: 1rpx solid #FF063A;
- text-align: center;
- line-height: 28rpx;
- font-size: 16rpx;
- color: #FF063A;
- }
- .promotionLineTxt{
- font-size: 24rpx;
- color: #222222;
- line-height: 30rpx;
- padding-left: 20rpx;
- }
- .promotionLine{
- display: flex;padding-bottom: 10rpx;
- }
- .promotionTitle{
- font-size: 24rpx;
- color: #828282;
- width: 100rpx;
- }
- .gmlcImg{
- width: 100%;
- }
- .gmlc{
- background: #ffffff;margin-top: 20rpx;
- padding: 30rpx 24rpx;
- }
- .gmlcTitle{
- font-weight: 400;
- font-size: 26rpx;
- color: #666E80;
- line-height: 37rpx;
- padding-bottom: 25rpx;
- }
- .copyIcon{
- width: 30rpx;height: 30rpx;
- margin-top: 4rpx;margin-left: 6rpx;
- }
- .canpinLine{
- display: flex;justify-content: space-between;font-size: 24rpx;
- color: #666E80;border-bottom: 1px solid #DCDCDC;
- padding: 24rpx 0;
- }
- .canpinRgiht{
- color: #222222;
- }
- .canpinBox{
- padding: 0 20rpx 40rpx 20rpx;
- }
- .canpinTkBox .canpinTk{
- height: 60vh;
- }
- .cktkLineBox .promotionLine{
- padding-left: 15rpx;
- padding-bottom: 30rpx;
- }
- .isRecommend{
- font-size: 20rpx;
- background: #57C73D;
- height: 30rpx;
- padding: 0 6rpx;
- border-radius: 6rpx;
- color: #fff;
- margin-top: 2rpx;
- /* margin-right: 10rpx; */
- }
- .tkltName{
- font-size: 28rpx;
- color: #222222;
- line-height: 40rpx;
- padding-left: 8rpx;
- }
- .buyNumLineBox{
- display: flex;justify-content: space-between;
- }
- .buyNumline{
- width: 149rpx;
- height: 50rpx;
- background: #F6F6F6;
- border-radius: 25rpx;
- font-size: 24rpx;
- color: #222222;
- line-height: 50rpx;text-align: center;
- }
- .buyNumTitle{
- font-size: 26rpx;
- color: #666E80;
- padding-bottom: 8rpx;
- }
- .buyTkline{
- display: flex;justify-content: space-between;
- font-size: 26rpx;
- color: #666E80;
- padding: 15rpx 24rpx;
- }
- .buyTklineRight{
- font-size: 26rpx;
- color: #222222;
- display: flex;
- }
- .buyTklineRight .jtImg1{
- margin-top: 10rpx;
- margin-left: 6rpx;
- }
- .buyShopBox{
- padding: 0 24rpx;
- }
- .duihao{
- width: 28rpx;height: 28rpx;
- }
- .buyShopTRgiht{
- display: flex;
- align-items: center;
- }
- .buyShop{
- background: #F9F9F9;
- border-radius:6rpx;
- }
- .buyShopTop{
- display: flex;justify-content: space-between;
- padding: 16rpx 22rpx;
- background: #F9EFF0;
- }
- .shopbq{
- color: #FF063A;font-size: 22rpx;
- border-radius: 6rpx;
- border: 1rpx solid #FF063A;
- padding: 0rpx 6rpx;
- height: 30rpx;line-height: 30rpx;
- margin-top: 4rpx;
- }
- .buyShopTleft{
- display: flex;
- }
- .buyshopName{
- font-size: 26rpx;
- color: #222222;
- line-height: 37rpx;
- padding-left: 8rpx;
- }
- .buyShopCont{
- display: flex;
- padding: 22rpx;
- }
- .buyShopContImg{
- width: 102rpx;
- height: 102rpx;
- border-radius: 6rpx;
- }
- .buyShopContAdress{
- font-weight: 400;
- font-size: 22rpx;
- color: #666E80;
- line-height: 34rpx;
- width: 440rpx;
- padding-left: 12rpx;
- }
- .buyShopJl{
- font-size: 22rpx;
- color: #666E80; line-height: 34rpx;
- width: 110rpx;
- text-align: right;
- }
- .buyNumlineActive{
- border-radius: 25rpx;
- border: 1rpx solid #FF0035;
- color: #FF0035;
- background: #ffffff;
- height: 48rpx;
- line-height: 48rpx;width: 147rpx;
- }
- </style>
|