You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
38 KiB
1 lines
38 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/goods.vue?e4b8","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/goods.vue?1f71","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/goods.vue?dd26","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/goods.vue?8592","uni-app:///pages/goods/goods.vue","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/goods.vue?e501","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/goods.vue?fbf4"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,4F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAspB,CAAgB,2qBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE1qB,6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uSAMA,mB,eACA,EACA,cACA,oBADA,EADA,EAIA,IAJA,kBAIA,CACA,SACA;AACA,4BAFA,EAEA;AACA,2BAHA,EAGA;AACA,4BAJA,EAIA;AACA,2BALA,EAKA;AACA;AAIA;AACA,oBAXA,EAYA;AACA,sBAbA,EAcA,cAdA,EAcA;AACA,qBAfA,EAeA;AACA,sBAhBA,EAgBA;AACA,mBAjBA,EAiBA;AACA,oBAlBA,EAkBA;AACA;AACA,mBApBA,EAqBA,gBArBA,EAqBA;AACA,mBAtBA,EAsBA;AACA;AACA,eAxBA,EAyBA,+BAzBA,EA0BA,QA1BA,GA4BA,CAjCA,EAkCA,MAlCA,kBAkCA,MAlCA,EAkCA,CACA,uBACA,oCACA,qBAHA,CAKA;AACA,0BANA,CAQA;AACA,GA3CA,EA4CA,OA5CA,qBA4CA,CACA,kBADA,CACA;AACA,GA9CA,EA+CA,YA/CA,wBA+CA,CA/CA,EA+CA,CACA;AACA,kHAFA,CAGA;AACA,mBACA,qDACA,mDACA,uDAPA,CAQA;AACA,wDACA,mDACA,CA1DA,EA2DA;AACA,eA5DA,2BA4DA,CACA;AACA,GA9DA,EA+DA,OA/DA,qBA+DA,CAEA,CAjEA,EAkEA,WACA;AACA,iBAFA,2BAEA,kBACA,kBACA,eADA,IAGA,oBACA,eACA,oBADA,GAGA,qDACA,kCACA,oCACA,gEACA,kBACA,CAJA,MAIA,CACA,kBACA,CACA,CARA,EASA,CAnBA,EAoBA;;8YAGA,SAvBA,uBAuBA,CACA,iBACA,+CADA;AAGA,KA3BA;AA4BA;AACA,gBA7BA,wBA6BA,KA7BA,EA6BA;AACA;AACA,KA/BA;AAgCA;AACA,SAjCA,mBAiCA;AACA;AACA,yBADA;;AAGA,KArCA;AAsCA;AACA,UAvCA,oBAuCA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,SA7CA,mBA6CA;AACA;AACA,KA/CA;AAgDA,aAhDA,uBAgDA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KArDA;AAsDA;AACA,QAvDA,kBAuDA;AACA;AACA,KAzDA;AA0DA;AACA,YA3DA,sBA2DA;AACA;AACA;AACA;AACA,2BADA;;AAGA,SAJA;AAKA;AACA;AACA,uBADA;;AAGA,KAtEA;AAuEA;AACA,kBAxEA,0BAwEA,WAxEA,EAwEA;AACA;AACA,qCADA;AAEA,iCAFA;AAGA,uDAHA;;AAKA;AACA;AACA;AACA,gBADA;AAEA,kBAFA;AAGA;AACA,uBADA;AAEA;AACA,kBADA;AAEA,oBAJA;;AAMA;AACA;AACA,OAbA;AAcA,KA5FA;AA6FA,OA7FA,iBA6FA;AACA;AACA,0BADA;;AAGA;AACA;AACA,wBADA;AAEA,yCAFA;AAGA,wBAHA,GADA;;;AAOA;AACA;AACA;AACA;AACA;AACA,uBADA,GACA,2BADA,GACA,WADA,GACA,kBAFA;;AAIA,SANA,MAMA;AACA;AACA,iCADA;AAEA,wBAFA;;AAIA;AACA,OAbA;AAcA,KAtHA;AAuHA;AACA,aAxHA,uBAwHA;AACA;AACA,8BADA;;AAGA,KA5HA;;AA8HA;AACA,gBA/HA,wBA+HA,OA/HA,EA+HA;;AAEA,KAjIA;AAkIA;AACA,iBAnIA,yBAmIA,KAnIA,EAmIA;AACA;AACA,KArIA;AAsIA;AACA,OAvIA,iBAuIA;AACA;AACA;AACA;AACA;AACA,KA5IA;AA6IA;AACA,OA9IA,iBA8IA;AACA;AACA,KAhJA;AAiJA;AACA,YAlJA,oBAkJA,KAlJA,EAkJA;AACA;AACA;AACA,6CADA;AAEA,qBAFA;;AAIA,KAxJA;AAyJA;AACA,cA1JA,wBA0JA;AACA;AACA,kBADA;AAEA,cAFA;;AAIA;AACA,kBADA;AAEA,cAFA,EAJA;;AAQA;AACA,kBADA;AAEA,cAFA,EARA;;;AAaA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;;AAEA,OAVA,EAUA,IAVA;AAWA,KApLA;AAqLA;AACA,QAtLA,kBAsLA;AACA;AACA,KAxLA;AAyLA;AACA,eA1LA,yBA0LA;AACA;AACA;AACA,KA7LA;AA8LA;AACA,eA/LA,yBA+LA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KApMA;AAqMA;AACA,YAtMA,oBAsMA,GAtMA,EAsMA;AACA;AACA;AACA;AACA,KA1MA;AA2MA,gBA3MA,0BA2MA;AACA;AACA,KA7MA;AA8MA;AACA,YA/MA,sBA+MA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KAxNA;AAyNA,WAzNA,qBAyNA;AACA;AACA,KA3NA,EAlEA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAosC,CAAgB,qqCAAG,EAAC,C;;;;;;;;;;;ACAxtC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/goods/goods.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/goods/goods.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./goods.vue?vue&type=template&id=5566b618&\"\nvar renderjs\nimport script from \"./goods.vue?vue&type=script&lang=js&\"\nexport * from \"./goods.vue?vue&type=script&lang=js&\"\nimport style0 from \"./goods.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/goods/goods.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goods.vue?vue&type=template&id=5566b618&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goods.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goods.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 底部菜单 -->\r\n\t\t<view class=\"footer\">\r\n\t\t\t<button v-if=\"user.phone == null\" class=\"width100 fotct btnfot\" open-type=\"getPhoneNumber\"\r\n\t\t\t\t@getphonenumber=\"getPhoneNumber\">\r\n\t\t\t\t立即购买\r\n\t\t\t</button>\r\n\t\t\t<button v-else class=\"width100 fotct btnfot\" @click=\"buy\">\r\n\t\t\t\t立即购买\r\n\t\t\t</button>\r\n\t\t</view>\r\n\t\t<!-- 商品主图轮播 -->\r\n\t\t<view class=\"swiper-box\">\r\n\t\t\t<swiper circular=\"true\" autoplay=\"true\" @change=\"swiperChange\">\r\n\t\t\t\t<swiper-item v-for=\"swiper in swiperList\" :key=\"swiper.id\">\r\n\t\t\t\t\t<image :src=\"imageUrl+swiper\"></image>\r\n\t\t\t\t</swiper-item>\r\n\t\t\t</swiper>\r\n\t\t\t<view class=\"indicator\">{{currentSwiper+1}}/{{swiperList.length}}</view>\r\n\t\t</view>\r\n\t\t<!-- 标题 价格 -->\r\n\t\t<view class=\"info-box goods-info\">\r\n\t\t\t<view class=\"price\">¥{{goodsData[0].discountPrice}} <text class=\"zprice font14 fcor666\"\r\n\t\t\t\t\tv-if=\"goodsData[0].discountPrice !=goodsData[0].salesPrice\">¥{{goodsData[0].salesPrice}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t{{goodsData[0].couponName}}\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mart10 width100\">\r\n\t\t\t\t<view class=\"font14 fcor666\">库存 : {{goodsData[0].stockCount}}件</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 服务-规则选择 -->\r\n\t\t<view class=\"info-box spec\" @click=\"jumpstore\">\r\n\t\t\t<view class=\"row\">\r\n\t\t\t\t<view class=\"text\">门店列表</view>\r\n\t\t\t\t<!-- <view class=\"content\"><view class=\"serviceitem\" v-for=\"(item,index) in goodsData.service\" :key=\"index\">{{item.name}}</view></view> -->\r\n\t\t\t\t<view class=\"arrow\">\r\n\t\t\t\t\t<view class=\"icon xiangyou\"></view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 赠送 -->\r\n\t\t<view class=\"description\" v-if=\"goodsData[0].handselCouponList != '' \">\r\n\t\t\t<view class=\"title\">———— 赠送卡券 ————</view>\r\n\t\t\t<view class=\"product-list mart15\">\r\n\t\t\t\t<view class=\"product\" v-for=\"product in goodsData[0].handselCouponList\" :key=\"product.id\"\r\n\t\t\t\t\t@tap=\"toGoods(product.id)\">\r\n\t\t\t\t\t<image mode=\"widthFix\" :src=\"imageUrl+product.highCouponModel.couponImg\"></image>\r\n\t\t\t\t\t<view class=\"name\">{{ product.highCouponModel.couponName }}</view>\r\n\t\t\t\t\t<view class=\"info\">\r\n\t\t\t\t\t\t<view class=\"price\">¥{{ product.highCouponModel.discountPrice}}</view>\r\n\t\t\t\t\t\t<view class=\"slogan\" v-if=\"product.highCouponModel.discountPrice !== product.highCouponModel.salesPrice\">\r\n\t\t\t\t\t\t\t¥{{ product.highCouponModel.salesPrice}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 详情 -->\r\n\t\t<view class=\"description\">\r\n\t\t\t<view class=\"title\">———— 商品详情 ————</view>\r\n\t\t\t<view class=\"content marb65\">\r\n\t\t\t\t<image class=\"width100\" :src=\"imageUrl+goodsData[0].couponDesc\">\n\t\t\t\t\t</image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<authorize></authorize>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tgetCouponById,\r\n\t\tGetPhoneNumber,\r\n\t\taddOrder\r\n\t} from \"../../Utils/Api.js\";\r\n\timport authorize from '../../components/Authorize.vue'\r\n\tlet app = getApp()\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tauthorize\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t//控制渐变标题栏的参数\r\n\t\t\t\tbeforeHeaderzIndex: 11, //层级\r\n\t\t\t\tafterHeaderzIndex: 10, //层级\r\n\t\t\t\tbeforeHeaderOpacity: 1, //不透明度\r\n\t\t\t\tafterHeaderOpacity: 0, //不透明度\r\n\t\t\t\t//是否显示返回按钮\r\n\t\t\t\t// #ifndef MP\r\n\t\t\t\tshowBack: true,\r\n\t\t\t\t// #endif\r\n\t\t\t\t//轮播主图数据\r\n\t\t\t\tswiperList: [],\r\n\t\t\t\t//轮播图下标\r\n\t\t\t\tcurrentSwiper: 0,\r\n\t\t\t\tanchorlist: [], //导航条锚点\r\n\t\t\t\tselectAnchor: 0, //选中锚点\r\n\t\t\t\tserviceClass: '', //服务弹窗css类,控制开关动画\r\n\t\t\t\tspecClass: '', //规格弹窗css类,控制开关动画\r\n\t\t\t\tshareClass: '', //分享弹窗css类,控制开关动画\r\n\t\t\t\t// 商品信息\r\n\t\t\t\tgoodsData: \"\",\r\n\t\t\t\tselectSpec: null, //选中规格\r\n\t\t\t\tisKeep: false, //收藏\r\n\t\t\t\t//商品描述html\r\n\t\t\t\tdesid: '',\r\n\t\t\t\timageUrl: app.globalData.imgUrl,\r\n\t\t\t\tuser: ''\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.desid = option.id;\r\n\t\t\tthis.user = app.globalData.userInfo;\r\n\t\t\tthis.getCouponById();\r\n\t\t\t// #ifdef MP\r\n\t\t\t//小程序隐藏返回按钮\r\n\t\t\tthis.showBack = false;\r\n\t\t\t// #endif\r\n\t\t\t//option为object类型,会序列化上个页面传递的参数\r\n\t\t},\r\n\t\tonReady() {\r\n\t\t\tthis.calcAnchor(); //计算锚点高度,页面数据是ajax加载时,请把此行放在数据渲染完成事件中执行以保证高度计算正确\r\n\t\t},\r\n\t\tonPageScroll(e) {\r\n\t\t\t//锚点切换\r\n\t\t\tthis.selectAnchor = e.scrollTop >= this.anchorlist[2].top ? 2 : e.scrollTop >= this.anchorlist[1].top ? 1 : 0;\r\n\t\t\t//导航栏渐变\r\n\t\t\tlet tmpY = 375;\r\n\t\t\te.scrollTop = e.scrollTop > tmpY ? 375 : e.scrollTop;\r\n\t\t\tthis.afterHeaderOpacity = e.scrollTop * (1 / tmpY);\r\n\t\t\tthis.beforeHeaderOpacity = 1 - this.afterHeaderOpacity;\r\n\t\t\t//切换层级\r\n\t\t\tthis.beforeHeaderzIndex = e.scrollTop > 0 ? 10 : 11;\r\n\t\t\tthis.afterHeaderzIndex = e.scrollTop > 0 ? 11 : 10;\r\n\t\t},\r\n\t\t//上拉加载,需要自己在page.json文件中配置\"onReachBottomDistance\"\r\n\t\tonReachBottom() {\r\n\t\t\t// uni.showToast({ title: '触发上拉加载' });\r\n\t\t},\r\n\t\tmounted() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//卡券详情\r\n\t\t\tgetCouponById() {\n\t\t\t\tuni.showLoading({\n\t\t\t\t\ttitle:'加载中...'\n\t\t\t\t})\r\n\t\t\t\tuni.showLoading({})\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\tcouponId: this.desid\r\n\t\t\t\t}\r\n\t\t\t\tgetCouponById(params).then(res => {\r\n\t\t\t\t\tif (res.return_code == '000000') {\r\n\t\t\t\t\t\tthis.goodsData = [res.return_data];\r\n\t\t\t\t\t\tthis.swiperList = res.return_data.couponCarouselImg.split(',')\r\n\t\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 跳转门店详情\r\n\t\t\t */\r\n\t\t\tjumpstore() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: './store-list/store-list?id=' + this.desid\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//轮播图指示器\r\n\t\t\tswiperChange(event) {\r\n\t\t\t\tthis.currentSwiper = event.detail.current;\r\n\t\t\t},\r\n\t\t\t//消息列表\r\n\t\t\ttoMsg() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '../msg/msg'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 客服\r\n\t\t\ttoChat() {\r\n\t\t\t\t// uni.navigateTo({\r\n\t\t\t\t// \turl:\"../msg/chat/chat?name=客服008\"\r\n\t\t\t\t// })\r\n\t\t\t},\r\n\t\t\t// 分享\r\n\t\t\tshare() {\r\n\t\t\t\tthis.shareClass = 'show';\r\n\t\t\t},\r\n\t\t\thideShare() {\r\n\t\t\t\tthis.shareClass = 'hide';\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.shareClass = 'none';\r\n\t\t\t\t}, 150);\r\n\t\t\t},\r\n\t\t\t//收藏\r\n\t\t\tkeep() {\r\n\t\t\t\tthis.isKeep = this.isKeep ? false : true;\r\n\t\t\t},\r\n\t\t\t// 加入购物车\r\n\t\t\tjoinCart() {\r\n\t\t\t\tif (this.selectSpec == null) {\r\n\t\t\t\t\treturn this.showSpec(() => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: \"已加入购物车\"\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: \"已加入购物车\"\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t//立即购买\r\n\t\t\tgetPhoneNumber(PhoneNumber) {\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\topenId: app.globalData.openId,\r\n\t\t\t\t\tiv: PhoneNumber.detail.iv,\r\n\t\t\t\t\tencryptedData: PhoneNumber.detail.encryptedData\r\n\t\t\t\t}\r\n\t\t\t\tGetPhoneNumber(params).then(res => {\r\n\t\t\t\t\tif (res.return_code == '000000') {\r\n\t\t\t\t\t\tapp.globalData.userInfo = res.return_data\r\n\t\t\t\t\t\t\t.object\r\n\t\t\t\t\t\t\t.highUser;\r\n\t\t\t\t\t\tuni.setStorage({\r\n\t\t\t\t\t\t\tkey: \"user\",\r\n\t\t\t\t\t\t\tdata: res.return_data\r\n\t\t\t\t\t\t\t\t.object\r\n\t\t\t\t\t\t\t\t.highUser\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tthis.buy();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tbuy() {\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '正在提交订单...'\r\n\t\t\t\t})\r\n\t\t\t\tlet goods = {\r\n\t\t\t\t\t\"highChildOrderList\": [{\r\n\t\t\t\t\t\t\"goodsType\": 1,\r\n\t\t\t\t\t\t\"goodsId\": this.goodsData[0].id,\r\n\t\t\t\t\t\t\"saleCount\": 1\r\n\t\t\t\t\t}]\r\n\t\t\t\t}\r\n\t\t\t\taddOrder(goods).then(res => {\r\n\t\t\t\t\tif (res.return_code == '000000') {\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\t\turl: \"../pay/payment/payment?amount=\" + this.goodsData[0].discountPrice +\r\n\t\t\t\t\t\t\t\t'&paytype=' + this.goodsData[0].payType + '&orderId=' + res.return_data.id\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: res.return_msg,\r\n\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//商品评论\r\n\t\t\ttoRatings() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: 'ratings/ratings'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\t//跳转评论列表\r\n\t\t\tshowComments(goodsid) {\r\n\r\n\t\t\t},\r\n\t\t\t//选择规格\r\n\t\t\tsetSelectSpec(index) {\r\n\t\t\t\tthis.selectSpec = index;\r\n\t\t\t},\r\n\t\t\t//减少数量\r\n\t\t\tsub() {\r\n\t\t\t\tif (this.goodsData.number <= 1) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.goodsData.number--;\r\n\t\t\t},\r\n\t\t\t//增加数量\r\n\t\t\tadd() {\r\n\t\t\t\tthis.goodsData.number++;\r\n\t\t\t},\r\n\t\t\t//跳转锚点\r\n\t\t\ttoAnchor(index) {\r\n\t\t\t\tthis.selectAnchor = index;\r\n\t\t\t\tuni.pageScrollTo({\r\n\t\t\t\t\tscrollTop: this.anchorlist[index].top,\r\n\t\t\t\t\tduration: 200\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t//计算锚点高度\r\n\t\t\tcalcAnchor() {\r\n\t\t\t\tthis.anchorlist = [{\r\n\t\t\t\t\t\tname: '主图',\r\n\t\t\t\t\t\ttop: 0\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: '评价',\r\n\t\t\t\t\t\ttop: 0\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: '详情',\r\n\t\t\t\t\t\ttop: 0\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t\tlet commentsView = uni.createSelectorQuery().select(\"#comments\");\r\n\t\t\t\tcommentsView.boundingClientRect((data) => {\r\n\t\t\t\t\tlet statusbarHeight = 0;\r\n\t\t\t\t\t//APP内还要计算状态栏高度\r\n\t\t\t\t\t// #ifdef APP-PLUS\r\n\t\t\t\t\tstatusbarHeight = plus.navigator.getStatusbarHeight()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\tlet headerHeight = uni.upx2px(100);\r\n\t\t\t\t\tthis.anchorlist[1].top = data.top - headerHeight - statusbarHeight;\r\n\t\t\t\t\tthis.anchorlist[2].top = data.bottom - headerHeight - statusbarHeight;\r\n\r\n\t\t\t\t}).exec();\r\n\t\t\t},\r\n\t\t\t//返回上一页\r\n\t\t\tback() {\r\n\t\t\t\tuni.navigateBack();\r\n\t\t\t},\r\n\t\t\t//服务弹窗\r\n\t\t\tshowService() {\r\n\t\t\t\tconsole.log('show');\r\n\t\t\t\tthis.serviceClass = 'show';\r\n\t\t\t},\r\n\t\t\t//关闭服务弹窗\r\n\t\t\thideService() {\r\n\t\t\t\tthis.serviceClass = 'hide';\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.serviceClass = 'none';\r\n\t\t\t\t}, 200);\r\n\t\t\t},\r\n\t\t\t//规格弹窗\r\n\t\t\tshowSpec(fun) {\r\n\t\t\t\tconsole.log('show');\r\n\t\t\t\tthis.specClass = 'show';\r\n\t\t\t\tthis.specCallback = fun;\r\n\t\t\t},\r\n\t\t\tspecCallback() {\r\n\t\t\t\treturn;\r\n\t\t\t},\r\n\t\t\t//关闭规格弹窗\r\n\t\t\thideSpec() {\r\n\t\t\t\tthis.specClass = 'hide';\r\n\t\t\t\t//回调\r\n\r\n\t\t\t\tthis.selectSpec && this.specCallback && this.specCallback();\r\n\t\t\t\tthis.specCallback = false;\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.specClass = 'none';\r\n\t\t\t\t}, 200);\r\n\t\t\t},\r\n\t\t\tdiscard() {\r\n\t\t\t\t//丢弃\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground-color: #f8f8f8;\r\n\t}\n\t\n\t.product-list {\n\t\twidth: 92%;\n\t\tpadding: 0 4% 3vw 4%;\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tflex-wrap: wrap;\n\t\n\t\t.product {\n\t\t\twidth: 48%;\n\t\t\tborder-radius: 20upx;\n\t\t\tbackground-color: #fff;\n\t\t\tmargin: 0 0 15upx 0;\n\t\t\tbox-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.1);\n\t\n\t\t\timage {\n\t\t\t\twidth: 100%;\n\t\t\t\tborder-radius: 20upx 20upx 0 0;\n\t\t\t}\n\t\n\t\t\t.name {\n\t\t\t\twidth: 92%;\n\t\t\t\tpadding: 10upx 4%;\n\t\t\t\tdisplay: -webkit-box;\n\t\t\t\t-webkit-box-orient: vertical;\n\t\t\t\t-webkit-line-clamp: 2;\n\t\t\t\ttext-align: justify;\n\t\t\t\toverflow: hidden;\n\t\t\t\tfont-size: 30upx;\n\t\t\t}\n\t\n\t\t\t.info {\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: flex-end;\n\t\t\t\twidth: 92%;\n\t\t\t\tpadding: 10upx 4% 10upx 4%;\n\t\n\t\t\t\t.price {\n\t\t\t\t\tcolor: #e65339;\n\t\t\t\t\tfont-size: 30upx;\n\t\t\t\t\tfont-weight: 600;\n\t\t\t\t}\n\t\n\t\t\t\t.slogan {\n\t\t\t\t\tcolor: #807c87;\n\t\t\t\t\tfont-size: 24upx;\n\t\t\t\t\ttext-decoration: line-through;\n\t\t\t\t\tmargin-right: 50px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\r\n\r\n\t@keyframes showPopup {\r\n\t\t0% {\r\n\t\t\topacity: 0;\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes hidePopup {\r\n\t\t0% {\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\topacity: 0;\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes showLayer {\r\n\t\t0% {\r\n\t\t\ttransform: translateY(0);\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\ttransform: translateY(-100%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes hideLayer {\r\n\t\t0% {\r\n\t\t\ttransform: translateY(-100%);\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\ttransform: translateY(0);\r\n\t\t}\r\n\t}\r\n\r\n\t.icon {\r\n\t\tfont-size: 26upx;\r\n\t}\r\n\r\n\t.status {\r\n\t\twidth: 100%;\r\n\t\theight: 0;\r\n\t\tposition: fixed;\r\n\t\tz-index: 10;\r\n\t\ttop: 0;\r\n\t\t/* #ifdef APP-PLUS */\r\n\t\theight: var(--status-bar-height); //覆盖样式\r\n\t\t/* #endif */\r\n\t\tbackground-color: #f1f1f1;\r\n\t\ttransition: opacity 0.05s linear;\r\n\t}\r\n\r\n\t.header {\r\n\t\twidth: 100%;\r\n\r\n\t\theight: 100upx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tz-index: 10;\r\n\t\t/* #ifdef APP-PLUS */\r\n\t\ttop: var(--status-bar-height);\r\n\r\n\t\t/* #endif */\r\n\t\t.before,\r\n\t\t.after {\r\n\t\t\twidth: 92%;\r\n\t\t\tpadding: 0 4%;\r\n\t\t\theight: 100upx;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tposition: fixed;\r\n\t\t\ttop: 0;\r\n\t\t\t/* #ifdef APP-PLUS */\r\n\t\t\ttop: var(--status-bar-height);\r\n\t\t\t/* #endif */\r\n\t\t\ttransition: opacity 0.05s linear;\r\n\r\n\t\t\t.back {\r\n\t\t\t\twidth: 125upx;\r\n\t\t\t\theight: 60upx;\r\n\t\t\t\tflex-shrink: 0;\r\n\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tmargin-left: -10%;\r\n\t\t\t\t\twidth: 60upx;\r\n\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\tfont-size: 42upx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.middle {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\t.icon-btn {\r\n\t\t\t\twidth: 125upx;\r\n\t\t\t\theight: 60upx;\r\n\t\t\t\tflex-shrink: 0;\r\n\t\t\t\tdisplay: flex;\r\n\r\n\t\t\t\t.icon {\r\n\t\t\t\t\t&:first-child {\r\n\t\t\t\t\t\tmargin-right: 5upx;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\twidth: 60upx;\r\n\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tfont-size: 42upx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.before {\r\n\t\t\t.back {\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tbackground-color: rgba(0, 0, 0, 0.2);\r\n\t\t\t\t\tborder-radius: 100%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.icon-btn {\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tbackground-color: rgba(0, 0, 0, 0.2);\r\n\t\t\t\t\tborder-radius: 100%;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.after {\r\n\t\t\tbackground-color: #f1f1f1;\r\n\r\n\t\t\t.back {\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tcolor: #666;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.icon-btn {\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tcolor: #666;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.middle {\r\n\t\t\t\tfont-size: 32upx;\r\n\t\t\t\theight: 90upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding: 0 7%;\r\n\r\n\t\t\t\tview {\r\n\t\t\t\t\twidth: (100%/3);\r\n\t\t\t\t\tpadding: 0 3%;\r\n\t\t\t\t\tmargin: 0 3%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t&.on {\r\n\t\t\t\t\t\tmargin-bottom: -4upx;\r\n\t\t\t\t\t\tcolor: #f47952;\r\n\t\t\t\t\t\tborder-bottom: solid 4upx #f47952;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.swiper-box {\r\n\t\tposition: relative;\r\n\t\twidth: 100%;\r\n\t\theight: 100vw;\r\n\r\n\t\tswiper {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100vw;\r\n\r\n\t\t\tswiper-item {\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100vw;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.indicator {\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tpadding: 0 25upx;\r\n\t\t\theight: 40upx;\r\n\t\t\tborder-radius: 40upx;\r\n\t\t\tfont-size: 22upx;\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 20upx;\r\n\t\t\tright: 20upx;\r\n\t\t\tcolor: #fff;\r\n\t\t\tbackground-color: rgba(0, 0, 0, 0.2);\r\n\t\t}\r\n\t}\r\n\r\n\t.info-box {\r\n\t\twidth: 92%;\r\n\t\tpadding: 20upx 4%;\r\n\t\tbackground-color: #fff;\r\n\t\tmargin-bottom: 20upx;\r\n\t}\r\n\r\n\t.goods-info {\r\n\t\t.price {\r\n\t\t\tfont-size: 46upx;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tcolor: #f47925;\r\n\r\n\t\t\t.zprice {\r\n\t\t\t\tpadding-left: 10px;\r\n\t\t\t\ttext-decoration: line-through;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.title {\r\n\t\t\tfont-size: 30upx;\r\n\t\t}\r\n\t}\r\n\r\n\t.spec {\r\n\t\t.row {\r\n\t\t\twidth: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tmargin: 5px 0 5px 0;\r\n\r\n\t\t\t.text {\r\n\t\t\t\tfont-size: 24upx;\r\n\t\t\t\tcolor: #a2a2a2;\r\n\t\t\t\tmargin-right: 20upx;\r\n\t\t\t}\r\n\r\n\t\t\t.content {\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-wrap: wrap;\r\n\r\n\t\t\t\t.serviceitem {\r\n\t\t\t\t\tmargin-right: 10upx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.sp {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tdisplay: flex;\r\n\r\n\t\t\t\t\tview {\r\n\t\t\t\t\t\tbackground-color: #f6f6f6;\r\n\t\t\t\t\t\tpadding: 5upx 10upx;\r\n\t\t\t\t\t\tcolor: #999;\r\n\t\t\t\t\t\tmargin-right: 10upx;\r\n\t\t\t\t\t\tfont-size: 20upx;\r\n\t\t\t\t\t\tborder-radius: 5upx;\r\n\r\n\t\t\t\t\t\t&.on {\r\n\t\t\t\t\t\t\tborder: solid 1upx #f47952;\r\n\t\t\t\t\t\t\tpadding: 4upx 8upx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.arrow {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tright: 4%;\r\n\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tcolor: #ccc;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.comments {\r\n\t\t.row {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 40upx;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tmargin: 0 0 30upx 0;\r\n\r\n\t\t\t.text {\r\n\t\t\t\tfont-size: 30upx;\r\n\t\t\t}\r\n\r\n\t\t\t.arrow {\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tright: 4%;\r\n\t\t\t\tcolor: #17e6a1;\r\n\r\n\t\t\t\t.show {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t.icon {\r\n\t\t\t\t\t\tcolor: #17e6a1;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.comment {\r\n\t\t\twidth: 100%;\r\n\r\n\t\t\t.user-info {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 40upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t.face {\r\n\t\t\t\t\twidth: 40upx;\r\n\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\tmargin-right: 8upx;\r\n\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 40upx;\r\n\t\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\t\tborder-radius: 100%;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.username {\r\n\t\t\t\t\tfont-size: 24upx;\r\n\t\t\t\t\tcolor: #999;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.content {\r\n\t\t\t\tmargin-top: 10upx;\r\n\t\t\t\tfont-size: 26upx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.description {\r\n\t\t.title {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 80upx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tfont-size: 26upx;\r\n\t\t\tcolor: #999;\r\n\t\t}\r\n\t}\r\n\r\n\t.footer {\r\n\t\tposition: fixed;\r\n\t\tbottom: 0upx;\r\n\t\twidth: 100%;\r\n\t\theight: 99upx;\r\n\t\tcolor: #FFFFFF;\r\n\t\tborder-top: solid 1upx #eee;\r\n\t\tbackground-color: red;\r\n\t\tz-index: 2;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\r\n\t\t.btnfot {\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0;\r\n\t\t\tborder-radius: 0;\r\n\t\t\theight: 48px;\r\n\t\t\tbackground-color: red;\r\n\t\t\tcolor: #ffffff;\r\n\t\t}\r\n\r\n\t\t.icons {\r\n\t\t\tdisplay: flex;\r\n\t\t\theight: 80upx;\r\n\t\t\tmargin-left: -4%;\r\n\r\n\t\t\t.box {\r\n\t\t\t\twidth: 80upx;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\tflex-wrap: wrap;\r\n\r\n\t\t\t\t.icon {\r\n\t\t\t\t\tfont-size: 40upx;\r\n\t\t\t\t\tcolor: #828282;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tfont-size: 22upx;\r\n\t\t\t\t\tcolor: #666;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.btn {\r\n\t\t\theight: 80upx;\r\n\t\t\tborder-radius: 40upx;\r\n\t\t\toverflow: hidden;\r\n\t\t\tdisplay: flex;\r\n\t\t\tmargin-right: -2%;\r\n\r\n\t\t\t.joinCart,\r\n\t\t\t.buy {\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tpadding: 0 40upx;\r\n\t\t\t\tcolor: #fff;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t}\r\n\r\n\t\t\t.joinCart {\r\n\t\t\t\tbackground-color: #f0b46c;\r\n\t\t\t}\r\n\r\n\t\t\t.buy {\r\n\t\t\t\tbackground-color: #f06c7a;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.popup {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tz-index: 20;\r\n\t\tdisplay: none;\r\n\r\n\t\t.mask {\r\n\t\t\tposition: fixed;\r\n\t\t\ttop: 0;\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tz-index: 21;\r\n\t\t\tbackground-color: rgba(0, 0, 0, 0.6);\r\n\t\t}\r\n\r\n\t\t.layer {\r\n\t\t\tposition: fixed;\r\n\t\t\tz-index: 22;\r\n\t\t\tbottom: -70%;\r\n\t\t\twidth: 92%;\r\n\t\t\tpadding: 0 4%;\r\n\t\t\theight: 70%;\r\n\t\t\tborder-radius: 20upx 20upx 0 0;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-wrap: wrap;\r\n\t\t\talign-content: space-between;\r\n\r\n\t\t\t.content {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tpadding: 20upx 0;\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100upx;\r\n\r\n\t\t\t\t.button {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 80upx;\r\n\t\t\t\t\tborder-radius: 40upx;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\tbackground-color: #f47952;\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.show {\r\n\t\t\tdisplay: block;\r\n\r\n\t\t\t.mask {\r\n\t\t\t\tanimation: showPopup 0.2s linear both;\r\n\t\t\t}\r\n\r\n\t\t\t.layer {\r\n\t\t\t\tanimation: showLayer 0.2s linear both;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.hide {\r\n\t\t\tdisplay: block;\r\n\r\n\t\t\t.mask {\r\n\t\t\t\tanimation: hidePopup 0.2s linear both;\r\n\t\t\t}\r\n\r\n\t\t\t.layer {\r\n\t\t\t\tanimation: hideLayer 0.2s linear both;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.none {\r\n\t\t\tdisplay: none;\r\n\t\t}\r\n\r\n\t\t&.service {\r\n\t\t\t.row {\r\n\t\t\t\tmargin: 30upx 0;\r\n\r\n\t\t\t\t.title {\r\n\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\tmargin: 10upx 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.description {\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tcolor: #999;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.spec {\r\n\t\t\t.title {\r\n\t\t\t\tfont-size: 30upx;\r\n\t\t\t\tmargin: 30upx 0;\r\n\t\t\t}\r\n\r\n\t\t\t.sp {\r\n\t\t\t\tdisplay: flex;\r\n\r\n\t\t\t\tview {\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tpadding: 5upx 20upx;\r\n\t\t\t\t\tborder-radius: 8upx;\r\n\t\t\t\t\tmargin: 0 30upx 20upx 0;\r\n\t\t\t\t\tbackground-color: #f6f6f6;\r\n\r\n\t\t\t\t\t&.on {\r\n\t\t\t\t\t\tpadding: 3upx 18upx;\r\n\t\t\t\t\t\tborder: solid 1upx #f47925;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.length {\r\n\t\t\t\tmargin-top: 30upx;\r\n\t\t\t\tborder-top: solid 1upx #aaa;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding-top: 20upx;\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.number {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t.input {\r\n\t\t\t\t\t\twidth: 80upx;\r\n\t\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\t\tmargin: 0 10upx;\r\n\t\t\t\t\t\tbackground-color: #f3f3f3;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\ttext-align: center;\r\n\r\n\t\t\t\t\t\tinput {\r\n\t\t\t\t\t\t\twidth: 80upx;\r\n\t\t\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\t\t\tfont-size: 26upx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.sub,\r\n\t\t\t\t\t.add {\r\n\t\t\t\t\t\twidth: 60upx;\r\n\t\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\t\tbackground-color: #f3f3f3;\r\n\t\t\t\t\t\tborder-radius: 5upx;\r\n\r\n\t\t\t\t\t\t.icon {\r\n\t\t\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\t\t\twidth: 60upx;\r\n\t\t\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n\r\n\t.share {\r\n\t\tdisplay: none;\r\n\r\n\t\t&.show {\r\n\t\t\tdisplay: block;\r\n\r\n\t\t\t.mask {\r\n\t\t\t\tanimation: showPopup 0.15s linear both;\r\n\t\t\t}\r\n\r\n\t\t\t.layer {\r\n\t\t\t\tanimation: showLayer 0.15s linear both;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.hide {\r\n\t\t\tdisplay: block;\r\n\r\n\t\t\t.mask {\r\n\t\t\t\tanimation: hidePopup 0.15s linear both;\r\n\t\t\t}\r\n\r\n\t\t\t.layer {\r\n\t\t\t\tanimation: hideLayer 0.15s linear both;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.none {\r\n\t\t\tdisplay: none;\r\n\t\t}\r\n\r\n\t\t.mask {\r\n\t\t\tbackground-color: rgba(0, 0, 0, .5);\r\n\t\t\tposition: fixed;\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\ttop: 0;\r\n\t\t\tz-index: 11;\r\n\t\t}\r\n\r\n\t\t.layer {\r\n\t\t\twidth: 92%;\r\n\t\t\tposition: fixed;\r\n\t\t\tz-index: 12;\r\n\t\t\tpadding: 0 4%;\r\n\t\t\ttop: 100%;\r\n\t\t\tbackground-color: rgba(255, 255, 255, 0.9);\r\n\r\n\t\t\t.list {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tpadding: 10upx 0 30upx 0;\r\n\r\n\t\t\t\t.box {\r\n\t\t\t\t\twidth: 25%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\tflex-wrap: wrap;\r\n\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 13.8vw;\r\n\t\t\t\t\t\theight: 13.8vw;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.title {\r\n\t\t\t\t\t\tmargin-top: 10upx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tfont-size: 26upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t\tborder-top: solid 1upx #666666;\r\n\t\t\t}\r\n\r\n\t\t\t.h1 {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tfont-size: 34upx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</style>\n","import mod from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goods.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goods.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1617416974284\n var cssReload = require(\"D:/HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |