index.vue 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391
  1. <template>
  2. <view>
  3. <!-- 头部 -->
  4. <view class='navbar' :style="{height:navH+'rpx',opacity:opacity}">
  5. <view class='navbarH' :style='"height:"+navH+"rpx;"'>
  6. <view class='navbarCon acea-row row-center-wrapper'>
  7. <view class="header acea-row row-center-wrapper">
  8. <view class="item" :class="navActive === index ? 'on' : ''" v-for="(item,index) in navList" :key='index' @tap="tap(item,index)">
  9. {{ item }}
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. <view id="home" class="home-nav acea-row row-center-wrapper iconfont icon-xiangzuo" :class="opacity>0.5?'on':''" :style="{ top: homeTop + 'rpx' }" v-if="returnShow" @tap="returns">
  16. </view>
  17. <view class='product-con'>
  18. <scroll-view :scroll-top="scrollTop" scroll-y='true' scroll-with-animation="true" :style="'height:'+height+'px;'"
  19. @scroll="scroll">
  20. <view id="past0">
  21. <productConSwiper :imgUrls='imgUrls'></productConSwiper>
  22. <view class='nav acea-row row-between-wrapper mb30'>
  23. <view class='money'>¥<text class='num'>{{storeInfo.price}}</text><text class='y-money'>¥{{storeInfo.otPrice}}</text></view>
  24. <view class='acea-row row-middle'>
  25. <view class='time' v-if="status == 2">
  26. <view>距秒杀结束仅剩</view>
  27. <countDown :bgColor="bgColor" :is-day="false" :tip-text="' '" :day-text="' '" :hour-text="' : '" :minute-text="' : '" :second-text="' '"
  28. :datatime="datatime"></countDown>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="pad30 mb30">
  33. <view class='wrapper borRadius14 mb30'>
  34. <view class='introduce acea-row row-between'>
  35. <view class='infor'> {{storeInfo.storeName}}</view>
  36. <view class='iconfont icon-fenxiang' @click="listenerActionSheet"></view>
  37. </view>
  38. <view class='label acea-row row-middle'>
  39. <view class='stock'>累计销售:{{parseFloat(storeInfo.sales) + parseFloat(storeInfo.ficti) || 0}}{{storeInfo.unitName}}</view>
  40. <view>限量: {{ storeInfo.quota ? storeInfo.quota : 0 }} {{storeInfo.unitName}}</view>
  41. </view>
  42. </view>
  43. <view class='attribute acea-row row-between-wrapper mb30 borRadius14' @tap='selecAttr' v-if='attribute.productAttr.length'>
  44. <view class="line1">{{attr}}:<text class='atterTxt'>{{attrValue}}</text></view>
  45. <view class='iconfont icon-jiantou'></view>
  46. </view>
  47. <view class='userEvaluation' id="past1">
  48. <view class='title acea-row row-between-wrapper' :style="replyCount==0?'border-bottom-left-radius:14rpx;border-bottom-right-radius:14rpx;':''">
  49. <view>用户评价({{replyCount}})</view>
  50. <navigator class='praise' hover-class='none' :url="'/pages/users/goods_comment_list/index?productId='+ storeInfo.productId">
  51. <text class='font-color'>{{replyChance}}%</text>好评率
  52. <text class='iconfont icon-jiantou'></text>
  53. </navigator>
  54. </view>
  55. <userEvaluation :reply="reply"></userEvaluation>
  56. </view>
  57. </view>
  58. </view>
  59. <view class='product-intro' id="past2">
  60. <view class='title'>
  61. <image src="../../../static/images/xzuo.png"></image>
  62. <span class="sp">产品详情</span>
  63. <image src="../../../static/images/xyou.png"></image>
  64. </view>
  65. <view class='conter'>
  66. <jyf-parser :html="storeInfo.content" ref="article" :tag-style="tagStyle"></jyf-parser>
  67. </view>
  68. </view>
  69. <view style='height:120rpx;'></view>
  70. </scroll-view>
  71. <view class='footer acea-row row-between-wrapper'>
  72. <!-- #ifdef MP -->
  73. <button open-type="contact" hover-class='none' class='item'>
  74. <view class='iconfont icon-kefu'></view>
  75. <view>客服</view>
  76. </button>
  77. <!-- #endif -->
  78. <!-- #ifndef MP -->
  79. <navigator hover-class="none" class="item" @click="kefuClick">
  80. <view class="iconfont icon-kefu"></view>
  81. <view>客服</view>
  82. </navigator>
  83. <!-- #endif -->
  84. <view @tap='setCollect' class='item'>
  85. <view class='iconfont icon-shoucang1' v-if="userCollect"></view>
  86. <view class='iconfont icon-shoucang' v-else></view>
  87. <view>收藏</view>
  88. </view>
  89. <view class="bnt acea-row" v-if="dataShow == 0">
  90. <view class="joinCart bnts" @tap="openAlone">单独购买</view>
  91. <view class="buy bnts bg-color-hui">立即购买</view>
  92. </view>
  93. <view class="bnt acea-row" v-if="status == 2 && attribute.productSelect.quota>0 && datatime > new Date().getTime()/1000">
  94. <view class="joinCart bnts" @tap="openAlone">单独购买</view>
  95. <view class="buy bnts" @tap="goCat">立即购买</view>
  96. </view>
  97. <view class="bnt acea-row" v-if="status == 2 && (attribute.productSelect.quota <= 0) && datatime > new Date().getTime()/1000">
  98. <view class="joinCart bnts" @tap="openAlone">单独购买</view>
  99. <view class="buy bnts bg-color-hui">已售罄</view>
  100. </view>
  101. <view class="bnt acea-row" v-if="status == 0">
  102. <view class="joinCart bnts" @tap="openAlone">单独购买</view>
  103. <view class="buy bnts bg-color-hui">已关闭</view>
  104. </view>
  105. <view class="bnt acea-row" v-if="status == 1">
  106. <view class="joinCart bnts" @tap="openAlone">单独购买</view>
  107. <view class="buy bnts bg-color-hui">未开始</view>
  108. </view>
  109. <view class="bnt acea-row" v-if="status == 2 && new Date().getTime()/1000 - datatime >=0">
  110. <view class="joinCart bnts" @tap="openAlone">单独购买</view>
  111. <view class="buy bnts bg-color-hui">已结束</view>
  112. </view>
  113. </view>
  114. </view>
  115. <product-window :attr='attribute' :limitNum='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr" @ChangeCartNum="ChangeCartNum"
  116. @attrVal="attrVal" @iptCartNum="iptCartNum"></product-window>
  117. <!-- #ifdef MP -->
  118. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth"></authorize> -->
  119. <!-- #endif -->
  120. <home></home>
  121. <!-- 分享按钮 -->
  122. <view class="generate-posters acea-row row-middle" :class="posters ? 'on' : ''">
  123. <!-- #ifndef MP -->
  124. <button class="item" hover-class='none' v-if="weixinStatus === true" @click="H5ShareBox = true">
  125. <view class="iconfont icon-weixin3"></view>
  126. <view class="">发送给朋友</view>
  127. </button>
  128. <!-- #endif -->
  129. <!-- #ifdef MP -->
  130. <button class="item" open-type="share" hover-class='none' @click="goFriend">
  131. <view class="iconfont icon-weixin3"></view>
  132. <view class="">发送给朋友</view>
  133. </button>
  134. <!-- #endif -->
  135. <button class="item" hover-class='none' @tap="goPoster">
  136. <view class="iconfont icon-haibao"></view>
  137. <view class="">生成海报</view>
  138. </button>
  139. </view>
  140. <view class="mask" v-if="posters" @click="closePosters"></view>
  141. <view class="mask" v-if="canvasStatus" @click="listenerActionClose"></view>
  142. <!-- 海报展示 -->
  143. <view class='poster-pop' v-if="canvasStatus">
  144. <image src='/static/images/poster-close.png' class='close' @click="posterImageClose"></image>
  145. <image :src='posterImage'></image>
  146. <!-- #ifndef H5 -->
  147. <view class='save-poster' @click="savePosterPath">保存到手机</view>
  148. <!-- #endif -->
  149. <!-- #ifdef H5 -->
  150. <view class="keep">长按图片可以保存到手机</view>
  151. <!-- #endif -->
  152. </view>
  153. <view class="canvas" v-else>
  154. <canvas style="width:750px;height:1190px;" canvas-id="firstCanvas"></canvas>
  155. <canvas canvas-id="qrcode" :style="{width: `${qrcodeSize}px`, height: `${qrcodeSize}px`}"/>
  156. </view>
  157. <!-- 发送给朋友图片 -->
  158. <view class="share-box" v-if="H5ShareBox">
  159. <image src="/static/images/share-info.png" @click="H5ShareBox = false"></image>
  160. </view>
  161. </view>
  162. </template>
  163. <script>
  164. const app = getApp();
  165. import uQRCode from '@/js_sdk/Sansnn-uQRCode/uqrcode.js'
  166. import {
  167. mapGetters
  168. } from "vuex";
  169. import {
  170. getSeckillDetail,
  171. seckillCode
  172. } from '@/api/activity.js';
  173. import {
  174. collectAdd,
  175. collectDel,
  176. getReplyList,
  177. getReplyConfig
  178. } from '@/api/store.js';
  179. import productConSwiper from '@/components/productConSwiper/index.vue'
  180. import productWindow from '@/components/productWindow/index.vue'
  181. import userEvaluation from '@/components/userEvaluation/index.vue'
  182. // #ifdef MP
  183. import authorize from '@/components/Authorize';
  184. import { base64src } from '@/utils/base64src.js'
  185. import {
  186. getQrcode
  187. } from '@/api/api.js';
  188. // #endif
  189. import parser from "@/components/jyf-parser/jyf-parser";
  190. import home from '@/components/home/index.vue'
  191. import countDown from '@/components/countDown';
  192. import shareRedPackets from '@/components/shareRedPackets';
  193. import {
  194. imageBase64
  195. } from "@/api/public";
  196. import {
  197. toLogin
  198. } from '@/libs/login.js';
  199. import { silenceBindingSpread } from "@/utils";
  200. import { spread } from "@/api/user";
  201. export default {
  202. data() {
  203. return {
  204. bgColor: {
  205. 'bgColor': '#333333',
  206. 'Color': '#fff',
  207. 'isDay': true,
  208. 'width': '44rpx',
  209. 'timeTxtwidth': '16rpx',
  210. },
  211. dataShow: 0,
  212. id: 0,
  213. time: 0,
  214. countDownHour: "00",
  215. countDownMinute: "00",
  216. countDownSecond: "00",
  217. storeInfo: [],
  218. imgUrls: [],
  219. parameter: {
  220. 'navbar': '1',
  221. 'return': '1',
  222. 'title': '抢购详情页',
  223. 'color': false
  224. },
  225. attribute: {
  226. cartAttr: false,
  227. productAttr: [],
  228. productSelect: {}
  229. },
  230. productValue: [],
  231. isOpen: false,
  232. attr: '请选择',
  233. attrValue: '',
  234. status: 1,
  235. isAuto: false,
  236. isShowAuth: false,
  237. iShidden: false,
  238. limitNum: 1, //限制本属性产品的个数;
  239. personNum: 0, //限制用户购买的个数;
  240. iSplus: false,
  241. replyCount: 0, //总评论数量
  242. reply: [], //评论列表
  243. replyChance: 0,
  244. navH: "",
  245. navList: ['商品', '评价', '详情'],
  246. opacity: 0,
  247. scrollY: 0,
  248. topArr: [],
  249. toView: '',
  250. height: 0,
  251. heightArr: [],
  252. lock: false,
  253. scrollTop: 0,
  254. tagStyle: {
  255. img: 'width:100%;display:block;',
  256. table: 'width:100%',
  257. video: 'width:100%'
  258. },
  259. datatime: 0,
  260. navActive: 0,
  261. meunHeight: 0,
  262. backH: '',
  263. posters: false,
  264. weixinStatus: false,
  265. posterImageStatus: false,
  266. canvasStatus: false, //海报绘图标签
  267. storeImage: '', //海报产品图
  268. PromotionCode: '', //二维码图片
  269. posterImage: '', //海报路径
  270. posterbackgd: '/static/images/posterbackgd.png',
  271. actionSheetHidden: false,
  272. cart_num:'',
  273. attrTxt: '',
  274. qrcodeSize: 600,
  275. imagePath:'',//海报路径
  276. imgTop:'',
  277. H5ShareBox: false, //公众号分享图片
  278. sharePacket: {
  279. isState: true, //默认不显示
  280. },
  281. buyNum: 1,
  282. errT: '',
  283. returnShow: true,
  284. homeTop: 20,
  285. userCollect: false
  286. }
  287. },
  288. components: {
  289. shareRedPackets,
  290. productConSwiper,
  291. 'productWindow': productWindow,
  292. userEvaluation,
  293. "jyf-parser": parser,
  294. home,
  295. countDown,
  296. // #ifdef MP
  297. authorize
  298. // #endif
  299. },
  300. computed: mapGetters(['isLogin','uid','chatUrl']),
  301. watch:{
  302. isLogin:{
  303. handler:function(newV,oldV){
  304. if(newV){
  305. this.getSeckillDetail();
  306. }
  307. },
  308. deep:true
  309. }
  310. },
  311. onLoad(options) {
  312. let that = this;
  313. that.$store.commit("PRODUCT_TYPE", 'normal');
  314. let statusBarHeight = '';
  315. var pages = getCurrentPages();
  316. //设置商品列表高度
  317. uni.getSystemInfo({
  318. success: function(res) {
  319. that.height = res.windowHeight
  320. statusBarHeight = res.statusBarHeight
  321. //res.windowHeight:获取整个窗口高度为px,*2为rpx;98为头部占据的高度;
  322. },
  323. });
  324. // #ifndef APP-PLUS
  325. this.navH = app.globalData.navHeight
  326. // #endif
  327. // #ifdef APP-PLUS
  328. this.navH = 90
  329. // #endif
  330. // #ifdef MP
  331. let menuButtonInfo = uni.getMenuButtonBoundingClientRect()
  332. this.meunHeight = menuButtonInfo.height
  333. this.backH = (that.navH / 2) + (this.meunHeight / 2)
  334. // #ifdef MP || APP-NVUE
  335. // 小程序链接进入获取绑定关系id
  336. // if(options.spread) app.globalData.spread = options.spread;
  337. setTimeout(()=>{
  338. if(options.spread){
  339. app.globalData.spread = options.spread;
  340. spread(options.spread).then(res => {})
  341. }
  342. },2000)
  343. // #endif
  344. that.$set(that,'theme',that.$Cache.get('theme')); //用户从分享卡片进入的场景下获取主题色配置
  345. // #endif
  346. if (!options.scene && !options.id){
  347. this.showSkeleton = false;
  348. this.$util.Tips({
  349. title: '缺少参数无法查看商品'
  350. }, {
  351. url: '/pages/index/index'
  352. });
  353. return;
  354. }
  355. if (options.hasOwnProperty('id') || options.scene){
  356. if (options.scene) { // 仅仅小程序扫码进入
  357. let qrCodeValue = this.$util.getUrlParams(decodeURIComponent(options.scene));
  358. let mapeMpQrCodeValue = this.$util.formatMpQrCodeData(qrCodeValue);
  359. app.globalData.spread = mapeMpQrCodeValue.spread;
  360. this.id = mapeMpQrCodeValue.id;
  361. setTimeout(()=>{
  362. spread(mapeMpQrCodeValue.spread).then(res => {}).catch(res => {})
  363. },2000)
  364. }else{
  365. this.id = options.id;
  366. }
  367. }
  368. if (this.isLogin) {
  369. this.getSeckillDetail();
  370. } else {
  371. this.$Cache.set('login_back_url',
  372. '/pages/activity/goods_seckill_details/index?id=' + this.id + '&spread=' + app.globalData.spread?app.globalData.spread:0);
  373. toLogin();
  374. }
  375. this.$nextTick(() => {
  376. // #ifdef MP
  377. const menuButton = uni.getMenuButtonBoundingClientRect();
  378. const query = uni.createSelectorQuery().in(this);
  379. query
  380. .select('#home')
  381. .boundingClientRect(data => {
  382. this.homeTop = menuButton.top * 2 + menuButton.height - data.height;
  383. })
  384. .exec();
  385. // #endif
  386. })
  387. silenceBindingSpread();
  388. },
  389. methods: {
  390. kefuClick(){
  391. location.href = this.chatUrl;
  392. },
  393. closePosters:function(){
  394. this.posters = false;
  395. },
  396. getProductReplyList: function() {
  397. getReplyList(this.storeInfo.productId, {
  398. page: 1,
  399. limit: 3,
  400. type: 0,
  401. }).then(res => {
  402. this.reply = res.data.list;
  403. })
  404. },
  405. getProductReplyCount: function() {
  406. let that = this;
  407. getReplyConfig(that.storeInfo.productId).then(res => {
  408. that.$set(that, 'replyChance', res.data.replyChance * 100);
  409. that.$set(that, 'replyCount', res.data.sumCount);
  410. });
  411. },
  412. /**
  413. * 购物车手动填写
  414. *
  415. */
  416. iptCartNum: function (e) {
  417. this.$set(this.attribute.productSelect, 'cart_num', e?e:1);
  418. this.$set(this, "cart_num", e);
  419. if (e > 1) {
  420. return this.$util.Tips({
  421. title: `该商品每次限购1${this.storeInfo.unitName}`
  422. });
  423. }
  424. },
  425. // 后退
  426. returns: function() {
  427. uni.navigateBack()
  428. },
  429. onLoadFun: function(data) {
  430. if(this.isAuto){
  431. this.isAuto = false;
  432. this.isShowAuth = false;
  433. this.getSeckillDetail();
  434. }
  435. },
  436. getSeckillDetail: function() {
  437. let that = this;
  438. getSeckillDetail(that.id).then(res => {
  439. this.dataShow = 1;
  440. this.storeInfo = res.data.storeSeckill;
  441. this.userCollect = res.data.userCollect;
  442. this.status = this.storeInfo.seckillStatus;
  443. this.datatime = Number(this.storeInfo.timeSwap);
  444. this.imgUrls = JSON.parse(res.data.storeSeckill.sliderImage) || [];
  445. this.attribute.productAttr = res.data.productAttr;
  446. this.productValue = res.data.productValue;
  447. this.personNum = res.data.storeSeckill.quota;
  448. this.attribute.productSelect.num = res.data.storeSeckill.num;
  449. this.getProductReplyList();
  450. this.getProductReplyCount();
  451. let productAttr = res.data.productAttr.map(item => {
  452. return {
  453. attrName : item.attrName,
  454. attrValues: item.attrValues.split(','),
  455. id:item.id,
  456. isDel:item.isDel,
  457. productId:item.productId,
  458. type:item.type
  459. }
  460. });
  461. this.$set(this.attribute,'productAttr',productAttr);
  462. // #ifdef H5
  463. that.storeImage = that.storeInfo.image;
  464. that.make();
  465. that.setShare();
  466. // #endif
  467. // #ifdef MP
  468. that.getQrcode();
  469. that.imgTop = res.data.storeSeckill.image
  470. // #endif
  471. // #ifndef H5
  472. that.downloadFilestoreImage();
  473. //that.downloadFilePromotionCode();
  474. // #endif
  475. that.DefaultSelect();
  476. setTimeout(function() {
  477. that.infoScroll();
  478. }, 1000);
  479. app.globalData.openPages = '/pages/activity/goods_seckill_details/index?id=' + that.id + '&spread=' + that.uid ;
  480. }).catch(err => {
  481. that.$util.Tips({
  482. title:err
  483. },{
  484. tab:3
  485. })
  486. });
  487. },
  488. setShare: function() {
  489. this.$wechat.isWeixin() &&
  490. this.$wechat.wechatEvevt([
  491. "updateAppMessageShareData",
  492. "updateTimelineShareData",
  493. "onMenuShareAppMessage",
  494. "onMenuShareTimeline"
  495. ], {
  496. desc: this.storeInfo.info,
  497. title: this.storeInfo.title,
  498. link: location.href,
  499. imgUrl: this.storeInfo.image
  500. }).then(res => {
  501. }).catch(err => {
  502. console.log(err);
  503. });
  504. },
  505. /**
  506. * 默认选中属性
  507. *
  508. */
  509. DefaultSelect: function() {
  510. let self = this
  511. let productAttr = self.attribute.productAttr;
  512. let value = [];
  513. for (var key in self.productValue) {
  514. if (self.productValue[key].stock > 0) {
  515. value = self.attribute.productAttr.length ? key.split(",") : [];
  516. break;
  517. }
  518. }
  519. for (let i = 0; i < productAttr.length; i++) {
  520. this.$set(productAttr[i], "index", value[i]);
  521. }
  522. //sort();排序函数:数字-英文-汉字;
  523. let productSelect = this.productValue[value.join(",")];
  524. if (productSelect && productAttr.length) {
  525. self.$set(
  526. self.attribute.productSelect,
  527. "storeName",
  528. self.storeInfo.storeName
  529. );
  530. self.$set(self.attribute.productSelect, "image", productSelect.image);
  531. self.$set(self.attribute.productSelect, "price", productSelect.price);
  532. self.$set(self.attribute.productSelect, "stock", productSelect.stock);
  533. self.$set(self.attribute.productSelect, "unique", productSelect.id);
  534. self.$set(self.attribute.productSelect, "quota", productSelect.quota);
  535. self.$set(self.attribute.productSelect, "quotaShow", productSelect.quotaShow);
  536. self.$set(self.attribute.productSelect, "cart_num", 1);
  537. self.$set(self, "attrValue", value.join(","));
  538. this.$set(self, "attrTxt", "已选择")
  539. self.attrValue = value.join(",")
  540. } else if (!productSelect && productAttr.length) {
  541. self.$set(
  542. self.attribute.productSelect,
  543. "storeName",
  544. self.storeInfo.storeName
  545. );
  546. self.$set(self.attribute.productSelect, "image", self.storeInfo.image);
  547. self.$set(self.attribute.productSelect, "price", self.storeInfo.price);
  548. self.$set(self.attribute.productSelect, "quota", 0);
  549. self.$set(self.attribute.productSelect, "quota", 0);
  550. self.$set(self.attribute.productSelect, "stock", 0);
  551. self.$set(self.attribute.productSelect, "unique", "");
  552. self.$set(self.attribute.productSelect, "cart_num", 0);
  553. self.$set(self, "attrValue", "");
  554. self.$set(self, "attrTxt", "请选择");
  555. } else if (!productSelect && !productAttr.length) {
  556. self.$set(
  557. self.attribute.productSelect,
  558. "storeName",
  559. self.storeInfo.storeName
  560. );
  561. self.$set(self.attribute.productSelect, "image", self.storeInfo.image);
  562. self.$set(self.attribute.productSelect, "price", self.storeInfo.price);
  563. self.$set(self.attribute.productSelect, "quota", self.storeInfo.quota);
  564. self.$set(self.attribute.productSelect, "quotaShow", self.storeInfo.quotaShow);
  565. self.$set(self.attribute.productSelect, "stock", self.storeInfo.stock);
  566. self.$set(
  567. self.attribute.productSelect,
  568. "unique", ""
  569. );
  570. self.$set(self.attribute.productSelect, "cart_num", 1);
  571. self.$set(self, "attrValue", "");
  572. self.$set(self, "attrTxt", "请选择");
  573. }
  574. },
  575. selecAttr: function() {
  576. this.attribute.cartAttr = true
  577. },
  578. onMyEvent: function() {
  579. this.$set(this.attribute, 'cartAttr', false);
  580. this.$set(this, 'isOpen', false);
  581. },
  582. /**
  583. * 购物车数量加和数量减
  584. *
  585. */
  586. ChangeCartNum: function(changeValue) {
  587. //changeValue:是否 加|减
  588. //获取当前变动属性
  589. let productSelect = this.productValue[this.attrValue];
  590. if (this.cart_num) {
  591. productSelect.cart_num = this.cart_num;
  592. this.attribute.productSelect.cart_num = this.cart_num;
  593. }
  594. //如果没有属性,赋值给商品默认库存
  595. if (productSelect === undefined && !this.attribute.productAttr.length)
  596. productSelect = this.attribute.productSelect;
  597. //无属性值即库存为0;不存在加减;
  598. if (productSelect === undefined) return;
  599. let stock = productSelect.stock || 0;
  600. let quota = productSelect.quota || 0;
  601. let num = this.attribute.productSelect;
  602. let nums = this.storeInfo.num || 0;
  603. //设置默认数据
  604. if (productSelect.cart_num == undefined) productSelect.cart_num = 1;
  605. if (changeValue) {
  606. if (num.cart_num === 1) {
  607. return this.$util.Tips({
  608. title: `该商品每次限购1${this.storeInfo.unitName}`
  609. });
  610. }
  611. num.cart_num++;
  612. let arrMin = [];
  613. arrMin.push(nums);
  614. arrMin.push(quota);
  615. arrMin.push(stock);
  616. let minN = Math.min.apply(null, arrMin);
  617. if (num.cart_num >= minN) {
  618. this.$set(this.attribute.productSelect, "cart_num", minN ? minN : 1);
  619. this.$set(this, "cart_num", minN ? minN : 1);
  620. }
  621. this.$set(this, "cart_num", num.cart_num);
  622. this.$set(this.attribute.productSelect, "cart_num", num.cart_num);
  623. } else {
  624. num.cart_num--;
  625. if (num.cart_num < 1) {
  626. this.$set(this.attribute.productSelect, "cart_num", 1);
  627. this.$set(this, "cart_num", 1);
  628. }
  629. this.$set(this, "cart_num", num.cart_num);
  630. this.$set(this.attribute.productSelect, "cart_num", num.cart_num);
  631. }
  632. },
  633. attrVal(val) {
  634. this.attribute.productAttr[val.indexw].index = this.attribute.productAttr[val.indexw].attrValues[val.indexn];
  635. },
  636. /**
  637. * 属性变动赋值
  638. *
  639. */
  640. ChangeAttr: function(res) {
  641. this.$set(this,'cart_num',1);
  642. let productSelect = this.productValue[res];
  643. if (productSelect) {
  644. this.$set(this.attribute.productSelect, "image", productSelect.image);
  645. this.$set(this.attribute.productSelect, "price", productSelect.price);
  646. this.$set(this.attribute.productSelect, "stock", productSelect.stock);
  647. this.$set(this.attribute.productSelect, "unique", productSelect.id);
  648. this.$set(this.attribute.productSelect, "cart_num", 1);
  649. this.$set(this.attribute.productSelect, "quota", productSelect.quota);
  650. this.$set(this.attribute.productSelect, "quotaShow", productSelect.quotaShow);
  651. this.$set(this, "attrValue", res);
  652. this.attrTxt = "已选择"
  653. } else {
  654. this.$set(this.attribute.productSelect, "image", this.storeInfo.image);
  655. this.$set(this.attribute.productSelect, "price", this.storeInfo.price);
  656. this.$set(this.attribute.productSelect, "stock", 0);
  657. this.$set(this.attribute.productSelect, "unique", "");
  658. this.$set(this.attribute.productSelect, "cart_num", 0);
  659. this.$set(this.attribute.productSelect, "quota", 0);
  660. this.$set(this.attribute.productSelect, "quotaShow", 0);
  661. this.$set(this, "attrValue", "");
  662. this.attrTxt = "已选择"
  663. }
  664. },
  665. scroll: function(e) {
  666. var that = this,
  667. scrollY = e.detail.scrollTop;
  668. var opacity = scrollY / 200;
  669. opacity = opacity > 1 ? 1 : opacity;
  670. that.opacity = opacity
  671. that.scrollY = scrollY
  672. if (that.lock) {
  673. that.lock = false
  674. return;
  675. }
  676. for (var i = 0; i < that.topArr.length; i++) {
  677. if (scrollY < that.topArr[i] - (app.globalData.navHeight / 2) + that.heightArr[i]) {
  678. that.navActive = i
  679. break
  680. }
  681. }
  682. },
  683. tap: function(item, index) {
  684. var id = item.id;
  685. var index = index;
  686. var that = this;
  687. // if (!this.data.good_list.length && id == "past2") {
  688. // id = "past3"
  689. // }
  690. this.toView = id;
  691. this.navActive = index;
  692. this.lock = true;
  693. this.scrollTop = index > 0 ? that.topArr[index] - (app.globalData.navHeight / 2) : that.topArr[index]
  694. },
  695. infoScroll: function() {
  696. var that = this,
  697. topArr = [],
  698. heightArr = [];
  699. for (var i = 0; i < that.navList.length; i++) { //productList
  700. //获取元素所在位置
  701. var query = wx.createSelectorQuery().in(this);
  702. var idView = "#past" + i;
  703. // if (!that.data.good_list.length && i == 2) {
  704. // var idView = "#past" + 3;
  705. // }
  706. query.select(idView).boundingClientRect();
  707. query.exec(function(res) {
  708. var top = res[0].top;
  709. var height = res[0].height;
  710. topArr.push(top);
  711. heightArr.push(height);
  712. that.topArr = topArr
  713. that.heightArr = heightArr
  714. });
  715. };
  716. },
  717. /**
  718. * 收藏商品
  719. */
  720. setCollect: function() {
  721. var that = this;
  722. if (this.userCollect) {
  723. collectDel(this.storeInfo.productId).then(res => {
  724. that.userCollect = !that.userCollect
  725. })
  726. } else {
  727. collectAdd(this.storeInfo.productId).then(res => {
  728. that.userCollect = !that.userCollect
  729. })
  730. }
  731. },
  732. /*
  733. * 单独购买
  734. */
  735. openAlone: function() {
  736. uni.navigateTo({
  737. url: `/pages/goods_details/index?id=${this.storeInfo.productId}`
  738. })
  739. },
  740. /*
  741. * 下订单
  742. */
  743. goCat: function() {
  744. var that = this;
  745. var productSelect = this.productValue[this.attrValue];
  746. var productSelect = this.productValue[this.attrValue];
  747. if (that.cart_num > 1) {
  748. return this.$util.Tips({
  749. title: `该商品每人限购1${this.storeInfo.unitName}`
  750. });
  751. }
  752. //打开属性
  753. if (this.isOpen)
  754. this.attribute.cartAttr = true
  755. else
  756. this.attribute.cartAttr = !this.attribute.cartAttr
  757. //只有关闭属性弹窗时进行加入购物车
  758. if (this.attribute.cartAttr === true && this.isOpen == false) return this.isOpen = true
  759. //如果有属性,没有选择,提示用户选择
  760. if (this.attribute.productAttr.length && productSelect === undefined && this.isOpen == true) return app.$util.Tips({
  761. title: '请选择属性'
  762. });
  763. this.$Order.getPreOrder("buyNow",[{
  764. "attrValueId": parseFloat(this.attribute.productSelect.unique),
  765. "seckillId": parseFloat(this.id),
  766. "productNum": parseFloat(this.cart_num ? this.cart_num : this.attribute.productSelect.cart_num),
  767. "productId": parseFloat(this.storeInfo.productId)
  768. }]);
  769. },
  770. /**
  771. * 分享打开
  772. *
  773. */
  774. listenerActionSheet: function() {
  775. if (this.isLogin === false) {
  776. toLogin();
  777. } else {
  778. // #ifdef H5
  779. if(!this.imgTop)this.getImageBase64(this.storeImage);
  780. if (this.$wechat.isWeixin() === true) {
  781. this.weixinStatus = true;
  782. }
  783. // #endif
  784. this.posters = true;
  785. }
  786. },
  787. // 分享关闭
  788. listenerActionClose: function() {
  789. this.posters = false;
  790. },
  791. //隐藏海报
  792. posterImageClose: function() {
  793. this.canvasStatus = false
  794. },
  795. //替换安全域名
  796. setDomain: function(url) {
  797. url = url ? url.toString() : '';
  798. //本地调试打开,生产请注销
  799. if (url.indexOf("https://") > -1) return url;
  800. else return url.replace('http://', 'https://');
  801. },
  802. //获取海报产品图
  803. downloadFilestoreImage: function() {
  804. let that = this;
  805. uni.downloadFile({
  806. url: that.setDomain(that.storeInfo.image),
  807. success: function(res) {
  808. that.storeImage = res.tempFilePath;
  809. },
  810. fail: function() {
  811. return that.$util.Tips({
  812. title: ''
  813. });
  814. that.storeImage = '';
  815. },
  816. });
  817. },
  818. /**
  819. * 获取产品分销二维码
  820. * @param function successFn 下载完成回调
  821. *
  822. */
  823. downloadFilePromotionCode: function(successFn) {
  824. let that = this;
  825. seckillCode(that.id,{stop_time:that.datatime}).then(res => {
  826. uni.downloadFile({
  827. url: that.setDomain(res.data.code),
  828. success: function(res) {
  829. that.$set(that, 'isDown', false);
  830. if (typeof successFn == 'function')
  831. successFn && successFn(res.tempFilePath);
  832. else
  833. that.$set(that, 'PromotionCode', res.tempFilePath);
  834. },
  835. fail: function() {
  836. that.$set(that, 'isDown', false);
  837. that.$set(that, 'PromotionCode', '');
  838. },
  839. });
  840. }).catch(err => {
  841. that.$set(that, 'isDown', false);
  842. that.$set(that, 'PromotionCode', '');
  843. });
  844. },
  845. getImageBase64:function(images){
  846. let that = this;
  847. imageBase64({url:images}).then(res=>{
  848. that.imgTop = res.data.code
  849. })
  850. },
  851. // 小程序关闭分享弹窗;
  852. goFriend: function() {
  853. this.posters = false;
  854. },
  855. /**
  856. * 生成海报
  857. */
  858. goPoster: function() {
  859. let that = this;
  860. uni.showLoading({
  861. title: '海报生成中',
  862. mask: true
  863. });
  864. that.posters = false;
  865. let arrImagesUrl = '';
  866. let arrImagesUrlTop = '';
  867. if(!that.PromotionCode){
  868. uni.hideLoading();
  869. that.$util.Tips({
  870. title: that.errT
  871. });
  872. return
  873. }
  874. setTimeout(() => {
  875. if (!that.imgTop) {
  876. uni.hideLoading();
  877. that.$util.Tips({
  878. title: '无法生成商品海报!'
  879. });
  880. return
  881. }
  882. }, 1000);
  883. uni.downloadFile({
  884. url: that.imgTop, //仅为示例,并非真实的资源
  885. success: (res) => {
  886. arrImagesUrlTop = res.tempFilePath;
  887. let arrImages = [that.posterbackgd, arrImagesUrlTop, that.PromotionCode];
  888. let storeName = that.storeInfo.storeName;
  889. let price = that.storeInfo.price;
  890. setTimeout(() => {
  891. that.$util.PosterCanvas(arrImages, storeName, price, that.storeInfo.otPrice,function(tempFilePath) {
  892. that.posterImage = tempFilePath;
  893. that.canvasStatus = true;
  894. uni.hideLoading();
  895. });
  896. }, 500);
  897. }
  898. });
  899. },
  900. // 小程序二维码
  901. getQrcode(){
  902. let that = this;
  903. let data = {
  904. pid: that.uid,
  905. id: that.id,
  906. path: 'pages/activity/goods_seckill_details/index'
  907. }
  908. getQrcode(data).then(res=>{
  909. base64src(res.data.code, res => {
  910. that.PromotionCode = res;
  911. });
  912. }).catch(err => {
  913. that.errT = err;
  914. });
  915. },
  916. // 生成二维码;
  917. make() {
  918. let href = location.href.split('?')[0] + "?id="+ this.id + "&spread=" + this.uid;
  919. uQRCode.make({
  920. canvasId: 'qrcode',
  921. text: href,
  922. size: this.qrcodeSize,
  923. margin: 10,
  924. success: res => {
  925. this.PromotionCode = res;
  926. },
  927. complete: (res) => {
  928. },
  929. fail:res=>{
  930. this.$util.Tips({
  931. title: '海报二维码生成失败!'
  932. });
  933. }
  934. })
  935. },
  936. /*
  937. * 保存到手机相册
  938. */
  939. // #ifdef MP
  940. savePosterPath: function() {
  941. let that = this;
  942. uni.getSetting({
  943. success(res) {
  944. if (!res.authSetting['scope.writePhotosAlbum']) {
  945. uni.authorize({
  946. scope: 'scope.writePhotosAlbum',
  947. success() {
  948. uni.saveImageToPhotosAlbum({
  949. filePath: that.posterImage,
  950. success: function(res) {
  951. that.posterImageClose();
  952. that.$util.Tips({
  953. title: '保存成功',
  954. icon: 'success'
  955. });
  956. },
  957. fail: function(res) {
  958. that.$util.Tips({
  959. title: '保存失败'
  960. });
  961. }
  962. })
  963. }
  964. })
  965. } else {
  966. uni.saveImageToPhotosAlbum({
  967. filePath: that.posterImage,
  968. success: function(res) {
  969. that.posterImageClose();
  970. that.$util.Tips({
  971. title: '保存成功',
  972. icon: 'success'
  973. });
  974. },
  975. fail: function(res) {
  976. that.$util.Tips({
  977. title: '保存失败'
  978. });
  979. },
  980. })
  981. }
  982. }
  983. })
  984. },
  985. // #endif
  986. setShareInfoStatus: function() {
  987. let data = this.storeInfo;
  988. let href = location.href;
  989. if (this.$wechat.isWeixin()) {
  990. href =
  991. href.indexOf("?") === -1 ?
  992. href + "?spread=" + this.uid :
  993. href + "&spread=" + this.uid;
  994. let configAppMessage = {
  995. desc: data.storeInfo,
  996. title: data.storeName,
  997. link: href,
  998. imgUrl: data.image
  999. };
  1000. this.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"], configAppMessage)
  1001. }
  1002. },
  1003. },
  1004. //#ifdef MP
  1005. onShareAppMessage() {
  1006. let that = this;
  1007. return {
  1008. title: that.storeInfo.title,
  1009. path: app.globalData.openPages,
  1010. imageUrl: that.storeInfo.image
  1011. };
  1012. },
  1013. //#endif
  1014. }
  1015. </script>
  1016. <style scoped lang="scss">
  1017. .userEvaluation{
  1018. i{
  1019. display: inline-block;
  1020. }
  1021. }
  1022. .product-con{
  1023. .line1{
  1024. width: 600rpx;
  1025. }
  1026. }
  1027. .share-box {
  1028. z-index: 1000;
  1029. position: fixed;
  1030. left: 0;
  1031. top: 0;
  1032. width: 100%;
  1033. height: 100%;
  1034. image {
  1035. width: 100%;
  1036. height: 100%;
  1037. }
  1038. }
  1039. .generate-posters {
  1040. width: 100%;
  1041. height: 170rpx;
  1042. background-color: #fff;
  1043. position: fixed;
  1044. left: 0;
  1045. bottom: 0;
  1046. z-index: 99;
  1047. transform: translate3d(0, 100%, 0);
  1048. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  1049. border-top: 1rpx solid #eee;
  1050. }
  1051. .generate-posters.on {
  1052. transform: translate3d(0, 0, 0);
  1053. }
  1054. .generate-posters .item {
  1055. flex: 50%;
  1056. text-align: center;
  1057. font-size: 30rpx;
  1058. }
  1059. .generate-posters .item .iconfont {
  1060. font-size: 80rpx;
  1061. color: #5eae72;
  1062. }
  1063. .generate-posters .item .iconfont.icon-haibao {
  1064. color: #5391f1;
  1065. }
  1066. .navbar .header {
  1067. height: 96rpx;
  1068. font-size: 30rpx;
  1069. color: #050505;
  1070. background-color: #fff;
  1071. /* #ifdef MP */
  1072. padding-right: 95rpx;
  1073. /* #endif */
  1074. }
  1075. .icon-xiangzuo {
  1076. /* #ifdef H5 */
  1077. top: 30rpx !important;
  1078. /* #endif */
  1079. }
  1080. .navbar .header .item {
  1081. position: relative;
  1082. margin: 0 25rpx;
  1083. }
  1084. .navbar .header .item.on:before {
  1085. position: absolute;
  1086. width: 60rpx;
  1087. height: 5rpx;
  1088. background-repeat: no-repeat;
  1089. content: "";
  1090. background-image: linear-gradient(to right, #ff3366 0%, #ff6533 100%);
  1091. bottom: -10rpx;
  1092. left: 50%;
  1093. margin-left: -28rpx;
  1094. }
  1095. .navbar {
  1096. position: fixed;
  1097. background-color: #fff;
  1098. top: 0;
  1099. left: 0;
  1100. z-index: 999;
  1101. width: 100%;
  1102. }
  1103. .navbar .navbarH {
  1104. position: relative;
  1105. }
  1106. .navbar .navbarH .navbarCon {
  1107. position: absolute;
  1108. bottom: 0;
  1109. height: 100rpx;
  1110. width: 100%;
  1111. }
  1112. .icon-xiangzuo {
  1113. color: #000;
  1114. position: fixed;
  1115. font-size: 40rpx;
  1116. width: 100rpx;
  1117. height: 56rpx;
  1118. line-height: 54rpx;
  1119. z-index: 1000;
  1120. left: 33rpx;
  1121. }
  1122. .product-con .nav {
  1123. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAABuCAYAAAB4MpY7AAAgAElEQVR4Xu2dzY8cR5qff1Fd3/1FUpQ41HKwmgG1BxG2YUiXNQxYczEMYwDbB/FiwN697AIG1gcDPqv0FxjwnryAYRtYX6TTwsYCa8AQDdg+aS42JNgWscPZIcSRSHazu9ldn11hvJmR1dnFrKqIisyszKxfYXpY6s6MjHgyKvvJt998Q4EvEiCByhLoaV377Vc4qB3hoN6BGg2hZLDtNjAeDhTQNu+HCmhde99qhVjGIyi05KeyT7i//Cz4vnk/GQ1VvdnSGAKNJrR8fwiggfC9/FdDt7R8r9lCsF3wvVZLDwbme/KtwQDNdlsPZDsd7Qu0NHRfjtWBhrwBMDU/b8v3Lsz3uuH7ThNDPMXrBw/UqLInlwMjARIoBQGttVwrbwPoxjpsro2z76T532m2JR1c1l6VjlXk+dQA8LbMo+AXL18kQALVIhAI+xMc6EvsT2uDmgh6pw2MYrIeSPkQSiQ+eo+2bDkv6KHUB7I+jL0fXb2/Rs/I+3VxBxpGtIcYoikqLmIvEj8ABhig2WoH75vt8JfEoB9KvLwXcZd/A3k3v0RE2C+MsEfyPmhi0DzA2UdKjat1RjkaEiCBshPQWu8DuAkEQQ8f4fXZd5WIz/98W45VxOlVA3DL3PTdMPMmjJjxRQIkUA0Cn2u98+J/40B3+3t11VHtjpHyAZSIu7yCqPucoIcR+OVR91kE3jLqHgTVc4q6o4E+hb0ac5ijIIEqE9BaN42I1efGGRfkbZHlLMfp2naRpt2Bia6/BWBnvmMU9yKdKvaFBNYk0PtS19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EnI9289GF0xsLNjHinsXVnW2SAAlsjMCffqsPOruDm7Wddj0u6LKIUiTrVYu6D6e47Bzigjns6U87I+uU9OTFoVwExPYGpwzR0CLMB3Kyk+SqcJpVnaG4p3+dZ4skQAJ5E9Ba/ekR9tXJ4OZOXdXnBR0t+Y5d1P2qDKRdhZnrue4DNNtt7ZLrbh91P8fUPLDaNZVv+peY7Bzi/IFSo7yRb8Px5qTdVwA2vT8l2070isjJd+4UcUzsk/t8DB5cpbhvw28fjpEEKkpAxOqLv8RBv4PD+hh1GWa7vVjQix51D9Jl5CUrqHagw7rub1aYUZcYU9izndQJ0u4iTy7bZiEwWbTpOyb2yV3U4nvY/sUiC85ZtMn5ZDcf5jnV/j/iJqSSgm3ldgAAAABJRU5ErkJggg==');
  1124. background-repeat: no-repeat;
  1125. background-size: 100% 100%;
  1126. width: 100%;
  1127. height: 110rpx;
  1128. padding: 0 30rpx;
  1129. box-sizing: border-box;
  1130. background-color: #E93323;
  1131. }
  1132. .product-con .nav .money {
  1133. font-size: 28rpx;
  1134. color: #fff;
  1135. }
  1136. .product-con .nav .money .num {
  1137. font-size: 48rpx;
  1138. }
  1139. .product-con .nav .money .y-money {
  1140. font-size: 26rpx;
  1141. margin-left: 10rpx;
  1142. text-decoration: line-through;
  1143. }
  1144. .product-con .nav .time {
  1145. font-size: 20rpx;
  1146. color: #fff;
  1147. text-align: center;
  1148. }
  1149. .product-con .nav .time .timeCon {
  1150. margin-top: 10rpx;
  1151. }
  1152. .product-con .nav .time .timeCon .num {
  1153. padding: 0 7rpx;
  1154. font-size: 22rpx;
  1155. color: #ff3d3d;
  1156. background-color: #fff;
  1157. border-radius: 2rpx;
  1158. }
  1159. .product-con .nav .timeState {
  1160. font-size: 28RPX;
  1161. color: #FFF;
  1162. }
  1163. .product-con .nav .iconfont {
  1164. color: #fff;
  1165. font-size: 30rpx;
  1166. margin-left: 20rpx;
  1167. }
  1168. .product-con .wrapper .introduce {
  1169. margin: 0;
  1170. }
  1171. .product-con .wrapper .introduce .infor {
  1172. width: 570rpx;
  1173. }
  1174. .product-con .wrapper .introduce .iconfont {
  1175. font-size: 36rpx;
  1176. color: #999999;
  1177. }
  1178. .product-con .wrapper .label {
  1179. margin: 18rpx 0 0 0;
  1180. font-size: 24rpx;
  1181. color: #82848f;
  1182. }
  1183. .product-con .wrapper .label .stock {
  1184. width: 255rpx;
  1185. margin-right: 28rpx;
  1186. }
  1187. .product-con .footer {
  1188. padding: 0 20rpx 0 30rpx;
  1189. position: fixed;
  1190. bottom: 0;
  1191. width: 100%;
  1192. box-sizing: border-box;
  1193. height: 100rpx;
  1194. background-color: #fff;
  1195. z-index: 99;
  1196. border-top: 1rpx solid #f0f0f0;
  1197. text-align: center;
  1198. }
  1199. .product-con .footer .item {
  1200. font-size: 18rpx;
  1201. color: #666;
  1202. }
  1203. .product-con .footer .item .iconfont {
  1204. text-align: center;
  1205. font-size: 40rpx;
  1206. }
  1207. .product-con .footer .item .iconfont.icon-shoucang1 {
  1208. color: #f00;
  1209. }
  1210. .product-con .footer .item .iconfont.icon-gouwuche1 {
  1211. font-size: 40rpx;
  1212. position: relative;
  1213. }
  1214. .product-con .footer .item .iconfont.icon-gouwuche1 .num {
  1215. color: #fff;
  1216. position: absolute;
  1217. font-size: 18rpx;
  1218. padding: 2rpx 8rpx 3rpx;
  1219. border-radius: 200rpx;
  1220. top: -10rpx;
  1221. right: -10rpx;
  1222. }
  1223. .product-con .footer .bnt {
  1224. width: 540rpx;
  1225. height: 76rpx;
  1226. }
  1227. .product-con .footer .bnt .bnts {
  1228. width: 270rpx;
  1229. text-align: center;
  1230. line-height: 76rpx;
  1231. color: #fff;
  1232. font-size: 28rpx;
  1233. }
  1234. .product-con .footer .bnt .joinCart {
  1235. border-radius: 50rpx 0 0 50rpx;
  1236. background-image: linear-gradient(to right, #fea10f 0%, #fa8013 100%);
  1237. }
  1238. .product-con .footer .bnt .buy {
  1239. border-radius: 0 50rpx 50rpx 0;
  1240. background-image: linear-gradient(to right, #fa6514 0%, #e93323 100%);
  1241. }
  1242. .setCollectBox {
  1243. font-size: 18rpx;
  1244. color: #666;
  1245. }
  1246. .bg-color-hui {
  1247. background: #bbbbbb !important;
  1248. }
  1249. .canvas {
  1250. position:fixed;
  1251. z-index: -5;
  1252. opacity: 0;
  1253. }
  1254. .poster-pop {
  1255. width: 450rpx;
  1256. height: 714rpx;
  1257. position: fixed;
  1258. left: 50%;
  1259. transform: translateX(-50%);
  1260. z-index: 99;
  1261. top: 50%;
  1262. margin-top: -357rpx;
  1263. }
  1264. .poster-pop image {
  1265. width: 100%;
  1266. height: 100%;
  1267. display: block;
  1268. }
  1269. .poster-pop .close {
  1270. width: 46rpx;
  1271. height: 75rpx;
  1272. position: fixed;
  1273. right: 0;
  1274. top: -73rpx;
  1275. display: block;
  1276. }
  1277. .poster-pop .save-poster {
  1278. background-color: #df2d0a;
  1279. font-size: :22rpx;
  1280. color: #fff;
  1281. text-align: center;
  1282. height: 76rpx;
  1283. line-height: 76rpx;
  1284. width: 100%;
  1285. }
  1286. .poster-pop .keep {
  1287. color: #fff;
  1288. text-align: center;
  1289. font-size: 25rpx;
  1290. margin-top: 10rpx;
  1291. }
  1292. .mask {
  1293. position: fixed;
  1294. top: 0;
  1295. left: 0;
  1296. right: 0;
  1297. bottom: 0;
  1298. background-color: rgba(0, 0, 0, 0.6);
  1299. z-index: 9;
  1300. }
  1301. .home-nav {
  1302. /* #ifdef H5 */
  1303. top: 20rpx !important;
  1304. /* #endif */
  1305. }
  1306. .home-nav {
  1307. color: #fff;
  1308. position: fixed;
  1309. font-size: 33rpx;
  1310. width: 56rpx;
  1311. height: 56rpx;
  1312. z-index: 999;
  1313. left: 33rpx;
  1314. background: rgba(190, 190, 190, 0.5);
  1315. border-radius: 50%;
  1316. &.on{
  1317. background: unset;
  1318. color: #333;
  1319. }
  1320. }
  1321. .home-nav .line {
  1322. width: 1rpx;
  1323. height: 24rpx;
  1324. background: rgba(255, 255, 255, 0.25);
  1325. }
  1326. .home-nav .icon-xiangzuo {
  1327. width: auto;
  1328. font-size: 28rpx;
  1329. }
  1330. </style>