index.vue 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613
  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"
  9. :key='index' @tap="tap(item,index)">
  10. {{ item }}
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. <!-- <view class='iconfont icon-xiangzuo' :style="'top:'+navH/2+'rpx'" @tap='returns'></view> -->
  17. <!-- 详情 -->
  18. <view class='product-con'>
  19. <scroll-view :scroll-top="scrollTop" scroll-y='true' scroll-with-animation="true"
  20. :style="'height:'+height+'px;'" @scroll="scroll">
  21. <view id="past0">
  22. <productConSwiper :imgUrls="imgUrls" class="mb30"></productConSwiper>
  23. <view class="pad30">
  24. <view class='wrapper mb30'>
  25. <view class='share acea-row row-between row-bottom'>
  26. <view class='money font-color'>
  27. ¥<text class='num'>{{storeInfo.price || 0}}</text><text
  28. class='y-money'>¥{{storeInfo.otPrice || 0}}</text>
  29. </view>
  30. <view class='iconfont icon-fenxiang' @click="listenerActionSheet"></view>
  31. </view>
  32. <view class='introduce line2'>{{storeInfo.storeName}}</view>
  33. <view class='label acea-row row-between-wrapper'>
  34. <view class='stock'>类型:{{storeInfo.people || 0}}人团</view>
  35. <view>累计销量:{{parseFloat(storeInfo.sales) + parseFloat(storeInfo.ficti)}} {{storeInfo.unitName || ''}}</view>
  36. <view>限购: {{ storeInfo.quotaShow ? storeInfo.quotaShow : 0 }}
  37. {{storeInfo.unitName || ''}}
  38. </view>
  39. </view>
  40. </view>
  41. <view class='attribute acea-row row-between-wrapper mb30 borRadius14' @tap='selecAttr'
  42. v-if='attribute.productAttr.length'>
  43. <view class="line1">{{attr}}:<text class='atterTxt'>{{attrValue}}</text></view>
  44. <view class='iconfont icon-jiantou'></view>
  45. </view>
  46. <view class='notice acea-row row-middle mb30 borRadius14' v-if="parseFloat(pinkOkSum) >0">
  47. <view class='num font-color'>
  48. <text class='iconfont icon-laba'></text>
  49. 已拼{{pinkOkSum}}件<text class='line'>|</text>
  50. </view>
  51. <view class='swiper'>
  52. <swiper :indicator-dots="indicatorDots" :autoplay="autoplay" interval="2500"
  53. duration="500" vertical="true" circular="true">
  54. <block v-for="(item,index) in itemNew" :key='index'>
  55. <swiper-item>
  56. <view class='line1'>{{item.nickname}}拼团成功</view>
  57. </swiper-item>
  58. </block>
  59. </swiper>
  60. </view>
  61. </view>
  62. <view v-if='attribute.productSelect.quota > 0' class='assemble mb30 borRadius14'>
  63. <view class='item acea-row row-between-wrapper' v-for='(item,index) in pink' :key='index'
  64. v-if="index < AllIndex">
  65. <view class='pictxt acea-row row-between-wrapper'>
  66. <view class='pictrue'>
  67. <image :src='item.avatar'></image>
  68. </view>
  69. <view class='text line1'>{{item.nickname}}</view>
  70. </view>
  71. <view class='right acea-row row-middle'>
  72. <view>
  73. <view class='lack'>还差<text class='font-color'>{{item.count}}</text>人成团</view>
  74. <view class='time acea-row'>
  75. <count-down :is-day="false" :tip-text="'剩余 '" :day-text="' '" :hour-text="':'"
  76. :minute-text="':'" :second-text="' '" :datatime="item.stopTime/1000" :bgColor="bgColor">
  77. </count-down>
  78. </view>
  79. </view>
  80. <navigator hover-class='none'
  81. :url="'/pages/activity/goods_combination_status/index?id='+item.id"
  82. class='spellBnt'>
  83. 去拼单
  84. <text class='iconfont icon-jiantou'></text>
  85. </navigator>
  86. </view>
  87. </view>
  88. <template v-if="pink.length">
  89. <view class='more' @tap='showAll' v-if="pink.length > AllIndex">查看更多<text
  90. class='iconfont icon-xiangxia'></text></view>
  91. <view class='more' @tap='hideAll'
  92. v-else-if="pink.length === AllIndex && pink.length !== AllIndexDefault">收起<text
  93. class='iconfont icon-xiangshang'></text></view>
  94. </template>
  95. </view>
  96. <view class='playWay mb30 borRadius14'>
  97. <view class='title acea-row row-between row-middle'>
  98. <view>拼团玩法</view>
  99. <!-- <navigator hover-class='none' class='font-color' url='/pages/activity/goods_combination_rule/index'>查看规则<text class="iconfont icon-jiantou"></text></navigator> -->
  100. </view>
  101. <view class='way acea-row row-middle'>
  102. <view class='item acea-row row-middle'>
  103. <text class='num'>①</text>
  104. 开团/参团
  105. </view>
  106. <view class='iconfont icon-arrow'></view>
  107. <view class='item'>
  108. <text class='num'>②</text>
  109. 邀请好友
  110. </view>
  111. <view class='iconfont icon-arrow'></view>
  112. <view class='item'>
  113. <view>
  114. <text class='num'>③</text>
  115. 满员发货
  116. </view>
  117. <!-- <view class='tip'>不满自动退款</view> -->
  118. </view>
  119. </view>
  120. </view>
  121. <view class='userEvaluation borRadius14' id="past1">
  122. <view class='title acea-row row-between-wrapper' :style="replyCount==0?'border-bottom-left-radius:14rpx;border-bottom-right-radius:14rpx;':''">
  123. <view>用户评价<i>({{replyCount}})</i></view>
  124. <navigator class='praise' hover-class='none'
  125. :url='"/pages/users/goods_comment_list/index?productId="+storeInfo.productId'>
  126. <i>好评</i><text class='font-color'>{{replyChance || 0}}%</text>
  127. <text class='iconfont icon-jiantou'></text>
  128. </navigator>
  129. </view>
  130. <userEvaluation :reply="reply" v-if="reply.length>0"></userEvaluation>
  131. </view>
  132. </view>
  133. </view>
  134. <view class='product-intro' id="past2">
  135. <view class='title'>
  136. <image src="../../../static/images/xzuo.png"></image>
  137. <span class="sp">产品详情</span>
  138. <image src="../../../static/images/xyou.png"></image>
  139. </view>
  140. <view class='conter'>
  141. <jyf-parser :html="storeInfo.content" ref="article" :tag-style="tagStyle"></jyf-parser>
  142. </view>
  143. </view>
  144. <view style='height:120rpx;'></view>
  145. </scroll-view>
  146. <view class='footer acea-row row-between-wrapper'>
  147. <!-- #ifdef MP -->
  148. <button open-type="contact" hover-class='none' class='item'>
  149. <view class='iconfont icon-kefu'></view>
  150. <view>客服</view>
  151. </button>
  152. <!-- #endif -->
  153. <!-- #ifndef MP -->
  154. <navigator hover-class="none" class="item" @click="kefuClick">
  155. <view class="iconfont icon-kefu"></view>
  156. <view>客服</view>
  157. </navigator>
  158. <!-- #endif -->
  159. <view @tap='setCollect' class='item'>
  160. <view class='iconfont icon-shoucang1' v-if="userCollect"></view>
  161. <view class='iconfont icon-shoucang' v-else></view>
  162. <view>收藏</view>
  163. </view>
  164. <view class="bnt acea-row">
  165. <view class="joinCart bnts" @tap="goProduct">单独购买</view>
  166. <view class="buy bnts" @tap="goCat"
  167. v-if='attribute.productSelect.quota>0'>
  168. 立即开团
  169. </view>
  170. <view class="buy bnts bg-color-hui" v-if="!dataShow">
  171. 立即开团
  172. </view>
  173. <view class="buy bnts bg-color-hui"
  174. v-if='attribute.productSelect.quota <= 0'>
  175. 已售罄
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. <shareRedPackets :sharePacket="sharePacket" @listenerActionSheet="listenerActionSheet"
  181. @closeChange="closeChange"></shareRedPackets>
  182. <!-- 分享按钮 -->
  183. <view class="generate-posters acea-row row-middle" :class="posters ? 'on' : ''">
  184. <!-- #ifndef MP -->
  185. <button class="item" hover-class='none' v-if="weixinStatus === true" @click="H5ShareBox = true">
  186. <view class="iconfont icon-weixin3"></view>
  187. <view class="">发送给朋友</view>
  188. </button>
  189. <!-- #endif -->
  190. <!-- #ifdef MP -->
  191. <button class="item" open-type="share" hover-class='none' @click="goFriend">
  192. <view class="iconfont icon-weixin3"></view>
  193. <view class="">发送给朋友</view>
  194. </button>
  195. <!-- #endif -->
  196. <button class="item" hover-class='none' @tap="goPoster">
  197. <view class="iconfont icon-haibao"></view>
  198. <view class="">生成海报</view>
  199. </button>
  200. </view>
  201. <view class="mask" v-if="posters" @click="closePosters"></view>
  202. <view class="mask" v-if="canvasStatus" @click="listenerActionClose"></view>
  203. <!-- <view class="mask" v-if="posters" @click="listenerActionClose"></view> -->
  204. <!-- 海报展示 -->
  205. <view class='poster-pop' v-if="canvasStatus">
  206. <image src='/static/images/poster-close.png' class='close' @click="posterImageClose"></image>
  207. <image :src='posterImage'></image>
  208. <!-- #ifndef H5 -->
  209. <view class='save-poster' @click="savePosterPath">保存到手机</view>
  210. <!-- #endif -->
  211. <!-- #ifdef H5 -->
  212. <view class="keep">长按图片可以保存到手机</view>
  213. <!-- #endif -->
  214. </view>
  215. <view class="canvas" v-else>
  216. <canvas style="width:750px;height:1190px;" canvas-id="firstCanvas"></canvas>
  217. <canvas canvas-id="qrcode" :style="{width: `${qrcodeSize}px`, height: `${qrcodeSize}px`}" />
  218. </view>
  219. <!-- 发送给朋友图片 -->
  220. <view class="share-box" v-if="H5ShareBox">
  221. <image src="/static/images/share-info.png" @click="H5ShareBox = false"></image>
  222. </view>
  223. <!-- #ifdef MP -->
  224. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
  225. <!-- #endif -->
  226. <home></home>
  227. <product-window :attr='attribute' :limitNum='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr"
  228. @ChangeCartNum="ChangeCartNum" @iptCartNum="iptCartNum" @attrVal="attrVal"></product-window>
  229. </view>
  230. </template>
  231. <script>
  232. const app = getApp();
  233. import uQRCode from '@/js_sdk/Sansnn-uQRCode/uqrcode.js'
  234. import {
  235. mapGetters
  236. } from "vuex";
  237. import { silenceBindingSpread } from "@/utils";
  238. // #ifdef MP
  239. import {
  240. base64src
  241. } from '@/utils/base64src.js'
  242. import authorize from '@/components/Authorize';
  243. import {
  244. getQrcode
  245. } from '@/api/api.js';
  246. // #endif
  247. import productConSwiper from '@/components/productConSwiper'
  248. import {
  249. toLogin
  250. } from '@/libs/login.js';
  251. import {
  252. getCombinationDetail
  253. } from '@/api/activity.js';
  254. import {
  255. postCartAdd,
  256. collectAdd,
  257. collectDel,
  258. getReplyList,
  259. getReplyConfig,
  260. getReplyProduct
  261. } from '@/api/store.js';
  262. import {
  263. imageBase64
  264. } from "@/api/public";
  265. import parser from "@/components/jyf-parser/jyf-parser";
  266. import home from '@/components/home/index.vue'
  267. import productWindow from '@/components/productWindow/index.vue'
  268. import userEvaluation from '@/components/userEvaluation/index.vue'
  269. import countDown from '@/components/countDown/index.vue'
  270. import shareRedPackets from '@/components/shareRedPackets';
  271. import {
  272. getProductCode
  273. } from '@/api/store.js'
  274. import { spread } from "@/api/user";
  275. export default {
  276. components: {
  277. shareRedPackets,
  278. productConSwiper,
  279. // #ifdef MP
  280. authorize,
  281. // #endif
  282. "jyf-parser": parser,
  283. home,
  284. "product-window": productWindow,
  285. userEvaluation,
  286. countDown
  287. },
  288. computed: mapGetters({
  289. 'isLogin': 'isLogin',
  290. 'userData': 'userInfo',
  291. 'uid': 'uid',
  292. 'chatUrl': 'chatUrl'
  293. }),
  294. data() {
  295. return {
  296. bgColor:{
  297. 'bgColor': '',
  298. 'Color': '#999999',
  299. 'isDay': true
  300. },
  301. userCollect:false,
  302. dataShow: 0,
  303. navH: '',
  304. id: 0,
  305. userInfo: {},
  306. itemNew: [],
  307. indicatorDots: false,
  308. circular: true,
  309. autoplay: true,
  310. interval: 3000,
  311. duration: 500,
  312. attribute: {
  313. cartAttr: false,
  314. productAttr: [],
  315. productSelect: {}
  316. },
  317. productValue: [],
  318. isOpen: false,
  319. attr: '请选择',
  320. attrValue: '',
  321. AllIndex: 2,
  322. maxAllIndex: 0,
  323. replyChance: '',
  324. limitNum: 1,
  325. timeer: null,
  326. iSplus: false,
  327. navH: "",
  328. navList: ['商品', '评价', '详情'],
  329. opacity: 0,
  330. scrollY: 0,
  331. topArr: [],
  332. toView: '',
  333. height: 0,
  334. heightArr: [],
  335. lock: false,
  336. scrollTop: 0,
  337. storeInfo: {},
  338. pinkOkSum: 0,
  339. pink: [],
  340. replyCount: 0,
  341. reply: [],
  342. imgUrls: [],
  343. sharePacket: {
  344. isState: true, //默认不显示
  345. },
  346. tagStyle: {
  347. img: 'width:100%;display:block;',
  348. table: 'width:100%',
  349. video: 'width:100%'
  350. },
  351. posters: false,
  352. weixinStatus: false,
  353. posterImageStatus: false,
  354. canvasStatus: false, //海报绘图标签
  355. storeImage: '', //海报产品图
  356. PromotionCode: '', //二维码图片
  357. posterImage: '', //海报路径
  358. posterbackgd: '/static/images/posterbackgd.png',
  359. navActive: 0,
  360. actionSheetHidden: false,
  361. attrTxt: '',
  362. cart_num: '',
  363. isAuto: false, //没有授权的不会自动授权
  364. isShowAuth: false, //是否隐藏授权
  365. AllIndexDefault: 0,
  366. imgTop: '',
  367. qrcodeSize: 600,
  368. H5ShareBox: false, //公众号分享图片
  369. onceNum: 0, //一次可以购买几个
  370. errT: '',
  371. returnShow: true,
  372. homeTop: 20
  373. }
  374. },
  375. watch: {
  376. isLogin: {
  377. handler: function(newV, oldV) {
  378. if (newV) {
  379. this.combinationDetail();
  380. }
  381. },
  382. deep: true
  383. },
  384. },
  385. onLoad(options) {
  386. let that = this
  387. this.$store.commit("PRODUCT_TYPE", 'normal');
  388. var pages = getCurrentPages();
  389. // that.returnShow = pages.length === 1 ? false : true;
  390. this.$nextTick(() => {
  391. // #ifdef MP
  392. const menuButton = uni.getMenuButtonBoundingClientRect();
  393. const query = uni.createSelectorQuery().in(this);
  394. query
  395. .select('#home')
  396. .boundingClientRect(data => {
  397. this.homeTop = menuButton.top * 2 + menuButton.height - data.height;
  398. })
  399. .exec();
  400. // #endif
  401. });
  402. // #ifdef MP
  403. this.navH = app.globalData.navHeight;
  404. // #endif
  405. // #ifndef MP
  406. this.navH = 96;
  407. // #endif
  408. //设置商品列表高度
  409. uni.getSystemInfo({
  410. success: function(res) {
  411. that.height = res.windowHeight
  412. //res.windowHeight:获取整个窗口高度为px,*2为rpx;98为头部占据的高度;
  413. },
  414. });
  415. if (options.hasOwnProperty('id') || options.scene) {
  416. if (options.scene) { // 仅仅小程序扫码进入
  417. let qrCodeValue = this.$util.getUrlParams(decodeURIComponent(options.scene));
  418. let mapeMpQrCodeValue = this.$util.formatMpQrCodeData(qrCodeValue);
  419. app.globalData.spread = mapeMpQrCodeValue.spread;
  420. this.id = mapeMpQrCodeValue.id;
  421. setTimeout(()=>{
  422. spread(mapeMpQrCodeValue.spread).then(res => {}).catch(res => {})
  423. },2000)
  424. }else{
  425. this.id = options.id;
  426. }
  427. if (this.isLogin) {
  428. this.combinationDetail();
  429. } else {
  430. // #ifdef H5 || APP-PLUS
  431. try {
  432. uni.setStorageSync('comGoodsId', options.id);
  433. } catch (e) {}
  434. // #endif
  435. this.$Cache.set('login_back_url',
  436. `/pages/activity/goods_combination_details/index?id=${options.id}&spread=${options.pid?options.pid:0}`
  437. );
  438. toLogin();
  439. }
  440. } else {
  441. try {
  442. let val = uni.getStorageSync('comGoodsId');
  443. if (val != '') {
  444. this.id = val
  445. this.combinationDetail();
  446. }
  447. } catch (e) {
  448. uni.showToast({
  449. title: '参数错误',
  450. icon: 'none',
  451. duration: 1000,
  452. mask: true,
  453. })
  454. }
  455. };
  456. },
  457. methods: {
  458. getProductReplyCount: function() {
  459. let that = this;
  460. getReplyConfig(that.storeInfo.productId).then(res => {
  461. that.$set(that, 'replyChance', res.data.replyChance * 100);
  462. that.$set(that, 'replyCount', res.data.sumCount);
  463. });
  464. },
  465. getProductReplyList: function() {
  466. getReplyProduct(this.storeInfo.productId).then(res => {
  467. this.reply = res.data.productReply ? [res.data.productReply] : [];
  468. })
  469. },
  470. kefuClick() {
  471. location.href = this.chatUrl;
  472. },
  473. closePosters: function() {
  474. this.posters = false;
  475. },
  476. closeChange: function() {
  477. this.$set(this.sharePacket, 'isState', true);
  478. },
  479. showAll: function() {
  480. this.AllIndexDefault = this.AllIndex;
  481. this.AllIndex = this.pink.length;
  482. },
  483. hideAll: function() {
  484. this.AllIndex = this.AllIndexDefault;
  485. },
  486. // 授权关闭
  487. authColse: function(e) {
  488. this.isShowAuth = e;
  489. },
  490. /**
  491. * 购物车手动填写
  492. *
  493. */
  494. iptCartNum: function(e) {
  495. if (e > this.onceNum) {
  496. this.$util.Tips({
  497. title: `该商品每次限购${this.onceNum}${this.storeInfo.unitName}`
  498. });
  499. this.$set(this.attribute.productSelect, 'cart_num', this.onceNum);
  500. this.$set(this, "cart_num", this.onceNum);
  501. } else {
  502. this.$set(this.attribute.productSelect, 'cart_num', e);
  503. this.$set(this, "cart_num", e);
  504. }
  505. },
  506. // 返回
  507. returns() {
  508. uni.navigateBack();
  509. },
  510. // 获取详情
  511. combinationDetail() {
  512. var that = this;
  513. var data = that.id;
  514. getCombinationDetail(data).then(function(res) {
  515. that.dataShow = 1;
  516. uni.setNavigationBarTitle({
  517. title: res.data.storeCombination.storeName.substring(0, 16)
  518. })
  519. that.storeInfo = res.data.storeCombination;
  520. that.getProductReplyList();
  521. that.getProductReplyCount();
  522. that.imgUrls = JSON.parse(res.data.storeCombination.sliderImage);
  523. that.attribute.productSelect.num = res.data.storeCombination.onceNum;
  524. that.userCollect = res.data.userCollect;
  525. that.pink = res.data.pinkList || [];
  526. // that.pindAll = res.data.pindAll || [];
  527. that.itemNew = res.data.pinkOkList || [];
  528. that.pinkOkSum = res.data.pinkOkSum;
  529. that.attribute.productAttr = res.data.productAttr || [];
  530. that.productValue = res.data.productValue;
  531. that.onceNum = res.data.storeCombination.onceNum;
  532. // that.PromotionCode = res.data.storeInfo.code_base
  533. // #ifdef H5
  534. that.setShare();
  535. that.storeImage = that.storeInfo.image
  536. that.make();
  537. // #endif
  538. // #ifdef MP
  539. that.getQrcode();
  540. that.imgTop = res.data.storeCombination.image;
  541. // #endif
  542. // #ifndef H5
  543. that.downloadFilestoreImage();
  544. // #endif
  545. let productAttr = res.data.productAttr.map(item => {
  546. return {
  547. attrName : item.attrName,
  548. attrValues: item.attrValues.split(','),
  549. id:item.id,
  550. isDel:item.isDel,
  551. productId:item.productId,
  552. type:item.type
  553. }
  554. });
  555. that.$set(that.attribute,'productAttr',productAttr);
  556. // that.setProductSelect();
  557. that.DefaultSelect();
  558. setTimeout(function() {
  559. that.infoScroll();
  560. }, 500);
  561. }).catch(function(err) {
  562. that.$util.Tips({
  563. title: err
  564. }, {
  565. tab: 3
  566. })
  567. })
  568. },
  569. //#ifdef H5
  570. setShare: function() {
  571. this.$wechat.isWeixin() &&
  572. this.$wechat.wechatEvevt([
  573. "updateAppMessageShareData",
  574. "updateTimelineShareData",
  575. "onMenuShareAppMessage",
  576. "onMenuShareTimeline"
  577. ], {
  578. desc: this.storeInfo.storeInfo,
  579. title: this.storeInfo.storeName,
  580. link: location.href,
  581. imgUrl: this.storeInfo.image
  582. }).then(res => {
  583. console.log(res);
  584. }).catch(err => {
  585. console.log(err);
  586. });
  587. },
  588. //#endif
  589. /**
  590. * 默认选中属性
  591. *
  592. */
  593. DefaultSelect: function() {
  594. let self = this
  595. let productAttr = self.attribute.productAttr;
  596. let value = [];
  597. for (var key in self.productValue) {
  598. if (self.productValue[key].quota > 0) {
  599. value = self.attribute.productAttr.length ? key.split(",") : [];
  600. break;
  601. }
  602. }
  603. for (let i = 0; i < productAttr.length; i++) {
  604. self.$set(productAttr[i], "index", value[i]);
  605. }
  606. //sort();排序函数:数字-英文-汉字;
  607. let productSelect = self.productValue[value.join(",")];
  608. if (productSelect && productAttr.length) {
  609. self.$set(
  610. self.attribute.productSelect,
  611. "storeName",
  612. self.storeInfo.storeName
  613. );
  614. self.$set(self.attribute.productSelect, "image", productSelect.image);
  615. self.$set(self.attribute.productSelect, "price", productSelect.price);
  616. self.$set(self.attribute.productSelect, "unique", productSelect.id);
  617. self.$set(self.attribute.productSelect, "quota", productSelect.quota);
  618. self.$set(self.attribute.productSelect, "quotaShow", productSelect.quotaShow);
  619. self.$set(self.attribute.productSelect, "cart_num", 1);
  620. this.$set(this, "attrValue", value.join(","));
  621. this.$set(this, "attrTxt", "已选择");
  622. } else if (!productSelect && productAttr.length) {
  623. self.$set(
  624. self.attribute.productSelect,
  625. "storeName",
  626. self.storeInfo.storeName
  627. );
  628. self.$set(self.attribute.productSelect, "image", self.storeInfo.image);
  629. self.$set(self.attribute.productSelect, "price", self.storeInfo.price);
  630. self.$set(self.attribute.productSelect, "quota", 0);
  631. self.$set(self.attribute.productSelect, "quotaShow", 0);
  632. self.$set(self.attribute.productSelect, "unique", "");
  633. self.$set(self.attribute.productSelect, "cart_num", 0);
  634. self.$set(self, "attrValue", "");
  635. self.$set(self, "attrTxt", "请选择");
  636. } else if (!productSelect && !productAttr.length) {
  637. self.$set(
  638. self.attribute.productSelect,
  639. "storeName",
  640. self.storeInfo.storeName
  641. );
  642. self.$set(self.attribute.productSelect, "image", self.storeInfo.image);
  643. self.$set(self.attribute.productSelect, "price", self.storeInfo.price);
  644. self.$set(self.attribute.productSelect, "quota", 0);
  645. self.$set(
  646. self.attribute.productSelect,
  647. "unique", ""
  648. );
  649. self.$set(self.attribute.productSelect, "cart_num", 1);
  650. self.$set(self, "attrValue", "");
  651. self.$set(self, "attrTxt", "请选择");
  652. }
  653. },
  654. infoScroll: function() {
  655. var that = this,
  656. topArr = [],
  657. heightArr = [];
  658. for (var i = 0; i < that.navList.length; i++) { //productList
  659. //获取元素所在位置
  660. var query = uni.createSelectorQuery().in(this);
  661. var idView = "#past" + i;
  662. // if (!that.data.good_list.length && i == 2) {
  663. // var idView = "#past" + 3;
  664. // }
  665. query.select(idView).boundingClientRect();
  666. query.exec(function(res) {
  667. var top = res[0].top;
  668. var height = res[0].height;
  669. topArr.push(top);
  670. heightArr.push(height);
  671. that.topArr = topArr
  672. that.heightArr = heightArr
  673. });
  674. };
  675. },
  676. // 授权后回调
  677. onLoadFun: function(e) {
  678. this.userInfo = e
  679. app.globalData.openPages = '/pages/activity/goods_combination_details/index?id=' + this.id + '&spid=' +
  680. e.uid;
  681. this.combinationDetail();
  682. //this.downloadFilePromotionCode();
  683. },
  684. selecAttr: function() {
  685. this.attribute.cartAttr = true
  686. },
  687. onMyEvent: function() {
  688. this.$set(this.attribute, 'cartAttr', false);
  689. this.$set(this, 'isOpen', false);
  690. },
  691. /**
  692. * 购物车数量加和数量减
  693. *
  694. */
  695. ChangeCartNum: function(changeValue) {
  696. //changeValue:是否 加|减
  697. //获取当前变动属性
  698. let productSelect = this.productValue[this.attrValue];
  699. if (this.buyNum === productSelect.quota) {
  700. return this.$util.Tips({
  701. title: '您已超出当前商品每人限购数量,请浏览其他商品'
  702. });
  703. }
  704. if (this.cart_num) {
  705. productSelect.cart_num = this.cart_num;
  706. this.attribute.productSelect.cart_num = this.cart_num;
  707. }
  708. //如果没有属性,赋值给商品默认库存
  709. if (productSelect === undefined && !this.attribute.productAttr.length) productSelect = this.attribute
  710. .productSelect;
  711. //无属性值即库存为0;不存在加减;
  712. if (productSelect === undefined) return;
  713. let quotaShow = productSelect.quota_show || 0;
  714. let quota = productSelect.quota || 0;
  715. let num = this.attribute.productSelect;
  716. let nums = this.storeInfo.onceNum || 0;
  717. //设置默认数据
  718. if (productSelect.cart_num == undefined) productSelect.cart_num = 1;
  719. if (changeValue) {
  720. if (num.cart_num === this.onceNum) {
  721. return this.$util.Tips({
  722. title: `该商品每次限购${this.onceNum}${this.storeInfo.unitName}`
  723. });
  724. }
  725. num.cart_num++;
  726. let arrMin = [];
  727. arrMin.push(nums);
  728. arrMin.push(quota);
  729. // arrMin.push(stock);
  730. let minN = Math.min.apply(null, arrMin);
  731. if (num.cart_num >= minN) {
  732. this.$set(this.attribute.productSelect, "cart_num", minN ? minN : 1);
  733. this.$set(this, "cart_num", minN ? minN : 1);
  734. }
  735. this.$set(this, "cart_num", num.cart_num);
  736. this.$set(this.attribute.productSelect, "cart_num", num.cart_num);
  737. } else {
  738. num.cart_num--;
  739. if (num.cart_num < 1) {
  740. this.$set(this.attribute.productSelect, "cart_num", 1);
  741. this.$set(this, "cart_num", 1);
  742. }
  743. this.$set(this, "cart_num", num.cart_num);
  744. this.$set(this.attribute.productSelect, "cart_num", num.cart_num);
  745. }
  746. },
  747. attrVal(val) {
  748. this.attribute.productAttr[val.indexw].index = this.attribute.productAttr[val.indexw].attrValues[val
  749. .indexn];
  750. },
  751. /**
  752. * 属性变动赋值
  753. *
  754. */
  755. ChangeAttr: function(res) {
  756. this.$set(this, 'cart_num', 1);
  757. let productSelect = this.productValue[res];
  758. if (productSelect) {
  759. this.$set(this.attribute.productSelect, "image", productSelect.image);
  760. this.$set(this.attribute.productSelect, "price", productSelect.price);
  761. this.$set(this.attribute.productSelect, "unique", productSelect.id);
  762. this.$set(this.attribute.productSelect, "cart_num", 1);
  763. this.$set(this.attribute.productSelect, "quota", productSelect.quota);
  764. this.$set(this.attribute.productSelect, "quotaShow", productSelect.quotaShow);
  765. this.$set(this, "attrValue", res);
  766. this.attrTxt = "已选择"
  767. } else {
  768. this.$set(this.attribute.productSelect, "image", this.storeInfo.image);
  769. this.$set(this.attribute.productSelect, "price", this.storeInfo.price);
  770. this.$set(this.attribute.productSelect, "unique", "");
  771. this.$set(this.attribute.productSelect, "cart_num", 0);
  772. this.$set(this.attribute.productSelect, "quota", 0);
  773. this.$set(this.attribute.productSelect, "quotaShow", 0);
  774. this.$set(this, "attrValue", "");
  775. this.attrTxt = "已选择"
  776. }
  777. },
  778. // 单独购买
  779. goProduct() {
  780. uni.navigateTo({
  781. url: '/pages/goods_details/index?id=' + this.storeInfo.productId
  782. })
  783. },
  784. // 立即购买
  785. goCat() {
  786. var that = this;
  787. var productSelect = this.productValue[this.attrValue];
  788. //打开属性
  789. if (this.isOpen)
  790. this.attribute.cartAttr = true
  791. else
  792. this.attribute.cartAttr = !this.attribute.cartAttr
  793. //只有关闭属性弹窗时进行加入购物车
  794. if (this.attribute.cartAttr === true && this.isOpen == false) return this.isOpen = true
  795. //如果有属性,没有选择,提示用户选择
  796. if (this.attribute.productAttr.length && productSelect === undefined && this.isOpen == true) return that
  797. .$util.Tips({
  798. title: '请选择属性'
  799. });
  800. var data = {
  801. productId: that.storeInfo.productId,
  802. combinationId: parseFloat(that.id),
  803. cartNum: that.cart_num ? this.cart_num : this.attribute.productSelect.cart_num,
  804. productAttrUnique: productSelect !== undefined ? productSelect.id : '',
  805. isNew: true,
  806. };
  807. this.$Order.getPreOrder("buyNow",[{
  808. "attrValueId": parseFloat(this.attribute.productSelect.unique),
  809. "combinationId": parseFloat(this.id),
  810. "productNum": parseFloat(this.cart_num ? this.cart_num : this.attribute.productSelect.cart_num),
  811. "productId": parseFloat(this.storeInfo.productId)
  812. }]);
  813. },
  814. /**
  815. * 收藏商品
  816. */
  817. setCollect: function() {
  818. var that = this;
  819. if (this.userCollect) {
  820. collectDel(this.storeInfo.productId).then(res => {
  821. that.userCollect = !that.userCollect
  822. })
  823. } else {
  824. collectAdd(this.storeInfo.productId).then(res => {
  825. that.userCollect = !that.userCollect
  826. })
  827. }
  828. },
  829. /**
  830. * 分享打开
  831. *
  832. */
  833. listenerActionSheet: function() {
  834. if (this.isLogin == false) {
  835. toLogin();
  836. } else {
  837. // #ifdef H5
  838. if(!this.imgTop) this.getImageBase64(this.storeImage);
  839. if (this.$wechat.isWeixin() === true) {
  840. this.weixinStatus = true;
  841. }
  842. // #endif
  843. this.posters = true;
  844. }
  845. },
  846. // 分享关闭
  847. listenerActionClose: function() {
  848. this.canvasStatus = false;
  849. },
  850. //隐藏海报
  851. posterImageClose: function() {
  852. this.canvasStatus = false
  853. },
  854. //替换安全域名
  855. setDomain: function(url) {
  856. url = url ? url.toString() : '';
  857. //本地调试打开,生产请注销
  858. if (url.indexOf("https://") > -1) return url;
  859. else return url.replace('http://', 'https://');
  860. },
  861. //获取海报产品图
  862. downloadFilestoreImage: function() {
  863. let that = this;
  864. uni.downloadFile({
  865. url: that.setDomain(that.storeInfo.image),
  866. success: function(res) {
  867. that.storeImage = res.tempFilePath;
  868. },
  869. fail: function() {
  870. return that.$util.Tips({
  871. title: ''
  872. });
  873. that.storeImage = '';
  874. },
  875. });
  876. },
  877. // app获取二维码
  878. downloadFileAppCode() {
  879. let that = this;
  880. uni.downloadFile({
  881. url: that.setDomain(that.storeInfo.code_base),
  882. success: function(res) {
  883. that.PromotionCode = res.tempFilePath;
  884. },
  885. fail: function() {
  886. return that.$util.Tips({
  887. title: ''
  888. });
  889. that.PromotionCode = '';
  890. },
  891. });
  892. },
  893. /**
  894. * 获取产品分销二维码
  895. * @param function successFn 下载完成回调
  896. *
  897. */
  898. downloadFilePromotionCode: function(successFn) {
  899. let that = this;
  900. scombinationCode(that.id).then(res => {
  901. uni.downloadFile({
  902. url: that.setDomain(res.data.code),
  903. success: function(res) {
  904. that.$set(that, 'isDown', false);
  905. if (typeof successFn == 'function')
  906. successFn && successFn(res.tempFilePath);
  907. else
  908. that.$set(that, 'PromotionCode', res.tempFilePath);
  909. },
  910. fail: function() {
  911. that.$set(that, 'isDown', false);
  912. that.$set(that, 'PromotionCode', '');
  913. },
  914. });
  915. }).catch(err => {
  916. that.$set(that, 'isDown', false);
  917. that.$set(that, 'PromotionCode', '');
  918. });
  919. },
  920. getImageBase64: function(images) {
  921. let that = this;
  922. imageBase64({
  923. url: images
  924. }).then(res => {
  925. that.imgTop = res.data.code
  926. })
  927. },
  928. // 小程序关闭分享弹窗;
  929. goFriend: function() {
  930. this.posters = false;
  931. },
  932. /**
  933. * 生成海报
  934. */
  935. goPoster: function() {
  936. let that = this;
  937. uni.showLoading({
  938. title: '海报生成中',
  939. mask: true
  940. });
  941. that.posters = false;
  942. let arrImagesUrl = '';
  943. let arrImagesUrlTop = '';
  944. if (!that.PromotionCode) {
  945. uni.hideLoading();
  946. that.$util.Tips({
  947. title: that.errT
  948. });
  949. return
  950. }
  951. uni.downloadFile({
  952. url: that.imgTop,
  953. success: (res) => {
  954. arrImagesUrlTop = res.tempFilePath;
  955. let arrImages = [that.posterbackgd, arrImagesUrlTop, that.PromotionCode];
  956. let storeName = that.storeInfo.storeName;
  957. let price = that.storeInfo.price;
  958. setTimeout(() => {
  959. that.$util.PosterCanvas(arrImages, storeName, price, that.storeInfo
  960. .otPrice,
  961. function(tempFilePath) {
  962. that.posterImage = tempFilePath;
  963. that.canvasStatus = true;
  964. uni.hideLoading();
  965. });
  966. }, 500);
  967. }
  968. });
  969. },
  970. // 小程序二维码
  971. getQrcode() {
  972. let that = this;
  973. let data = {
  974. pid: that.uid,
  975. id: that.id,
  976. path: 'pages/activity/goods_combination_details/index'
  977. }
  978. getQrcode(data).then(res => {
  979. base64src(res.data.code, res => {
  980. that.PromotionCode = res;
  981. });
  982. }).catch(err => {
  983. that.errT = err;
  984. });
  985. },
  986. // 生成二维码;
  987. make() {
  988. let href = location.href.split('?')[0] + "?id="+ this.id + "&spread=" + this.uid;
  989. uQRCode.make({
  990. canvasId: 'qrcode',
  991. text: href,
  992. size: this.qrcodeSize,
  993. margin: 10,
  994. success: res => {
  995. this.PromotionCode = res;
  996. },
  997. complete: (res) => {},
  998. fail: res => {
  999. this.$util.Tips({
  1000. title: '海报二维码生成失败!'
  1001. });
  1002. }
  1003. })
  1004. },
  1005. /*
  1006. * 保存到手机相册
  1007. */
  1008. // #ifdef MP
  1009. savePosterPath: function() {
  1010. let that = this;
  1011. uni.getSetting({
  1012. success(res) {
  1013. if (!res.authSetting['scope.writePhotosAlbum']) {
  1014. uni.authorize({
  1015. scope: 'scope.writePhotosAlbum',
  1016. success() {
  1017. uni.saveImageToPhotosAlbum({
  1018. filePath: that.posterImage,
  1019. success: function(res) {
  1020. that.posterImageClose();
  1021. that.$util.Tips({
  1022. title: '保存成功',
  1023. icon: 'success'
  1024. });
  1025. },
  1026. fail: function(res) {
  1027. that.$util.Tips({
  1028. title: '保存失败'
  1029. });
  1030. }
  1031. })
  1032. }
  1033. })
  1034. } else {
  1035. uni.saveImageToPhotosAlbum({
  1036. filePath: that.posterImage,
  1037. success: function(res) {
  1038. that.posterImageClose();
  1039. that.$util.Tips({
  1040. title: '保存成功',
  1041. icon: 'success'
  1042. });
  1043. },
  1044. fail: function(res) {
  1045. that.$util.Tips({
  1046. title: '保存失败'
  1047. });
  1048. },
  1049. })
  1050. }
  1051. }
  1052. })
  1053. },
  1054. // #endif
  1055. setShareInfoStatus: function() {
  1056. let data = this.storeInfo;
  1057. let href = location.href;
  1058. if (this.$wechat.isWeixin()) {
  1059. href =
  1060. href.indexOf("?") === -1 ?
  1061. href + "?spread=" + this.uid :
  1062. href + "&spread=" + this.uid;
  1063. let configAppMessage = {
  1064. desc: data.storeInfo,
  1065. title: data.storeName,
  1066. link: href,
  1067. imgUrl: data.image
  1068. };
  1069. this.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"],
  1070. configAppMessage)
  1071. }
  1072. },
  1073. scroll: function(e) {
  1074. var that = this,
  1075. scrollY = e.detail.scrollTop;
  1076. var opacity = scrollY / 200;
  1077. opacity = opacity > 1 ? 1 : opacity;
  1078. that.opacity = opacity
  1079. that.scrollY = scrollY
  1080. if (that.lock) {
  1081. that.lock = false
  1082. return;
  1083. }
  1084. for (var i = 0; i < that.topArr.length; i++) {
  1085. if (scrollY < that.topArr[i] - (app.globalData.navHeight / 2) + that.heightArr[i]) {
  1086. that.navActive = i
  1087. break
  1088. }
  1089. }
  1090. },
  1091. tap: function(item, index) {
  1092. var id = item.id;
  1093. var index = index;
  1094. var that = this;
  1095. // if (!this.data.good_list.length && id == "past2") {
  1096. // id = "past3"
  1097. // }
  1098. this.toView = id;
  1099. this.navActive = index;
  1100. this.lock = true;
  1101. this.scrollTop = index > 0 ? that.topArr[index] - (app.globalData.navHeight / 2) : that.topArr[index]
  1102. },
  1103. },
  1104. //#ifdef MP
  1105. onShareAppMessage() {
  1106. let that = this;
  1107. return {
  1108. title: that.storeInfo.storeName,
  1109. path: app.globalData.openPages,
  1110. imageUrl: that.storeInfo.image
  1111. };
  1112. }
  1113. //#endif
  1114. }
  1115. </script>
  1116. <style scoped lang="scss">
  1117. .userEvaluation{
  1118. i{
  1119. display: inline-block;
  1120. }
  1121. }
  1122. .attribute{
  1123. .line1{
  1124. width: 600rpx;
  1125. }
  1126. }
  1127. .share-box {
  1128. z-index: 1000;
  1129. position: fixed;
  1130. left: 0;
  1131. top: 0;
  1132. width: 100%;
  1133. height: 100%;
  1134. image {
  1135. width: 100%;
  1136. height: 100%;
  1137. }
  1138. }
  1139. .generate-posters {
  1140. width: 100%;
  1141. height: 170rpx;
  1142. background-color: #fff;
  1143. position: fixed;
  1144. left: 0;
  1145. bottom: 0;
  1146. z-index: 1000;
  1147. transform: translate3d(0, 100%, 0);
  1148. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  1149. border-top: 1rpx solid #eee;
  1150. }
  1151. .generate-posters.on {
  1152. transform: translate3d(0, 0, 0);
  1153. }
  1154. .generate-posters .item {
  1155. flex: 50%;
  1156. text-align: center;
  1157. font-size: 30rpx;
  1158. }
  1159. .generate-posters .item .iconfont {
  1160. font-size: 80rpx;
  1161. color: #5eae72;
  1162. }
  1163. .generate-posters .item .iconfont.icon-haibao {
  1164. color: #5391f1;
  1165. }
  1166. .navbar .header {
  1167. height: 96rpx;
  1168. font-size: 30rpx;
  1169. color: #050505;
  1170. background-color: #fff;
  1171. /* #ifdef MP */
  1172. padding-right: 95rpx;
  1173. /* #endif */
  1174. }
  1175. .icon-xiangzuo {
  1176. /* #ifdef H5 */
  1177. top: 30rpx !important;
  1178. /* #endif */
  1179. }
  1180. .navbar .header .item {
  1181. position: relative;
  1182. margin: 0 25rpx;
  1183. }
  1184. .navbar .header .item.on:before {
  1185. position: absolute;
  1186. width: 60rpx;
  1187. height: 5rpx;
  1188. background-repeat: no-repeat;
  1189. content: "";
  1190. background-image: linear-gradient(to right, #ff3366 0%, #ff6533 100%);
  1191. bottom: -10rpx;
  1192. left: 50%;
  1193. margin-left: -28rpx;
  1194. }
  1195. .navbar {
  1196. position: fixed;
  1197. background-color: #fff;
  1198. top: 0;
  1199. left: 0;
  1200. z-index: 999;
  1201. width: 100%;
  1202. }
  1203. .navbar .navbarH {
  1204. position: relative;
  1205. }
  1206. .navbar .navbarH .navbarCon {
  1207. position: absolute;
  1208. bottom: 0;
  1209. height: 100rpx;
  1210. width: 100%;
  1211. }
  1212. .icon-xiangzuo {
  1213. color: #000;
  1214. position: fixed;
  1215. font-size: 40rpx;
  1216. width: 100rpx;
  1217. height: 56rpx;
  1218. line-height: 54rpx;
  1219. z-index: 1000;
  1220. left: 33rpx;
  1221. }
  1222. .product-con .wrapper {
  1223. margin-top: 30rpx;
  1224. border-radius: 14rpx;
  1225. }
  1226. .product-con .wrapper .share .money .y-money {
  1227. color: #82848f;
  1228. margin-left: 13rpx;
  1229. text-decoration: line-through;
  1230. font-weight: normal;
  1231. }
  1232. .product-con .notice {
  1233. width: 100%;
  1234. height: 62rpx;
  1235. background-color: #ffedeb;
  1236. padding: 0 24rpx;
  1237. box-sizing: border-box;
  1238. }
  1239. .product-con .notice .num {
  1240. font-size: 24rpx;
  1241. }
  1242. .product-con .notice .num .iconfont {
  1243. font-size: 30rpx;
  1244. vertical-align: -3rpx;
  1245. margin-right: 20rpx;
  1246. }
  1247. .product-con .notice .num .line {
  1248. color: #333333;
  1249. margin-left: 15rpx;
  1250. }
  1251. .product-con .notice .swiper {
  1252. height: 100%;
  1253. width: 360rpx;
  1254. line-height: 62rpx;
  1255. overflow: hidden;
  1256. margin-left: 14rpx;
  1257. }
  1258. .product-con .notice .swiper swiper {
  1259. height: 100%;
  1260. width: 100%;
  1261. overflow: hidden;
  1262. font-size: 24rpx;
  1263. color: #333333;
  1264. }
  1265. .product-con .assemble {
  1266. background-color: #fff;
  1267. }
  1268. .product-con .assemble .item {
  1269. padding-right: 24rpx;
  1270. margin-left: 24rpx;
  1271. border-bottom: 1rpx solid #f0f0f0;
  1272. height: 130rpx;
  1273. }
  1274. .product-con .assemble .item .pictxt .text {
  1275. width: 172rpx;
  1276. margin-left: 16rpx;
  1277. }
  1278. .product-con .assemble .item .pictxt .pictrue {
  1279. width: 80rpx;
  1280. height: 80rpx;
  1281. background: #f0f0f0;
  1282. border-radius: 50%;
  1283. }
  1284. .product-con .assemble .item .pictxt .pictrue image {
  1285. width: 100%;
  1286. height: 100%;
  1287. border-radius: 50%;
  1288. }
  1289. .product-con .assemble .item .right .lack {
  1290. font-size: 24rpx;
  1291. color: #333333;
  1292. }
  1293. .product-con .assemble .item .right .time {
  1294. position: relative;
  1295. left: -10rpx;
  1296. font-size: 22rpx;
  1297. color: #82848f;
  1298. margin-top: 5rpx;
  1299. }
  1300. .product-con .assemble .item .right .spellBnt {
  1301. font-size: 24rpx;
  1302. color: #fff;
  1303. width: 140rpx;
  1304. height: 50rpx;
  1305. border-radius: 50rpx;
  1306. background: linear-gradient(90deg, #FF5555 0%, #FF0000 100%);
  1307. text-align: center;
  1308. line-height: 50rpx;
  1309. margin-left: 16rpx;
  1310. }
  1311. .product-con .assemble .item .right .spellBnt .iconfont {
  1312. font-size: 25rpx;
  1313. margin-left: 5rpx;
  1314. }
  1315. .product-con .assemble .more {
  1316. font-size: 24rpx;
  1317. color: #333333;
  1318. text-align: center;
  1319. height: 90rpx;
  1320. line-height: 90rpx;
  1321. }
  1322. .product-con .assemble .more .iconfont {
  1323. margin-left: 13rpx;
  1324. font-size: 25rpx;
  1325. }
  1326. .product-con .playWay {
  1327. background-color: #fff;
  1328. padding: 0 24rpx;
  1329. margin-top: 20rpx;
  1330. font-size: 28rpx;
  1331. color: #333333;
  1332. }
  1333. .product-con .playWay .title {
  1334. height: 86rpx;
  1335. border-bottom: 1rpx solid #eee;
  1336. font-size: 28rpx;
  1337. }
  1338. .product-con .playWay .title .iconfont {
  1339. margin-left: 13rpx;
  1340. font-size: 26rpx;
  1341. color: #717171;
  1342. }
  1343. .product-con .playWay .way {
  1344. height: 110rpx;
  1345. line-height: 110rpx;
  1346. font-size: 26rpx;
  1347. color: #333333;
  1348. }
  1349. .product-con .playWay .way .iconfont {
  1350. color: #cdcdcd;
  1351. font-size: 26rpx;
  1352. margin: 0 35rpx;
  1353. }
  1354. .product-con .playWay .way .item .num {
  1355. font-size: 35rpx;
  1356. vertical-align: 4rpx;
  1357. margin-right: 6rpx;
  1358. display: inline-block;
  1359. }
  1360. .product-con .playWay .way .item .tip {
  1361. font-size: 22rpx;
  1362. color: #a5a5a5;
  1363. margin-top: 7rpx;
  1364. }
  1365. .product-con .footer {
  1366. padding: 0 20rpx 0 30rpx;
  1367. position: fixed;
  1368. bottom: 0;
  1369. width: 100%;
  1370. box-sizing: border-box;
  1371. height: 100rpx;
  1372. background-color: #fff;
  1373. z-index: 999;
  1374. border-top: 1rpx solid #f0f0f0;
  1375. text-align: center;
  1376. }
  1377. .product-con .footer .item {
  1378. font-size: 18rpx;
  1379. color: #666;
  1380. }
  1381. .product-con .footer .item .iconfont {
  1382. text-align: center;
  1383. font-size: 40rpx;
  1384. }
  1385. .product-con .footer .item .iconfont.icon-shoucang1 {
  1386. color: #f00;
  1387. }
  1388. .product-con .footer .item .iconfont.icon-gouwuche1 {
  1389. font-size: 40rpx;
  1390. position: relative;
  1391. }
  1392. .product-con .footer .item .iconfont.icon-gouwuche1 .num {
  1393. color: #fff;
  1394. position: absolute;
  1395. font-size: 18rpx;
  1396. padding: 2rpx 8rpx 3rpx;
  1397. border-radius: 200rpx;
  1398. top: -10rpx;
  1399. right: -10rpx;
  1400. }
  1401. .product-con .footer .bnt {
  1402. width: 540rpx;
  1403. height: 76rpx;
  1404. }
  1405. .product-con .footer .bnt .bnts {
  1406. width: 270rpx;
  1407. text-align: center;
  1408. line-height: 76rpx;
  1409. color: #fff;
  1410. font-size: 28rpx;
  1411. }
  1412. .product-con .footer .bnt .joinCart {
  1413. border-radius: 50rpx 0 0 50rpx;
  1414. background-image: linear-gradient(to right, #fea10f 0%, #fa8013 100%);
  1415. }
  1416. .product-con .footer .bnt .buy {
  1417. border-radius: 0 50rpx 50rpx 0;
  1418. background-image: linear-gradient(to right, #fa6514 0%, #e93323 100%);
  1419. }
  1420. .setCollectBox {
  1421. font-size: 18rpx;
  1422. color: #666;
  1423. }
  1424. .canvas {
  1425. position: fixed;
  1426. z-index: -5;
  1427. opacity: 0;
  1428. }
  1429. .poster-pop {
  1430. width: 450rpx;
  1431. height: 714rpx;
  1432. position: fixed;
  1433. left: 50%;
  1434. transform: translateX(-50%);
  1435. z-index: 99;
  1436. top: 50%;
  1437. margin-top: -357rpx;
  1438. }
  1439. .poster-pop image {
  1440. width: 100%;
  1441. height: 100%;
  1442. display: block;
  1443. }
  1444. .poster-pop .close {
  1445. width: 46rpx;
  1446. height: 75rpx;
  1447. position: fixed;
  1448. right: 0;
  1449. top: -73rpx;
  1450. display: block;
  1451. }
  1452. .poster-pop .save-poster {
  1453. background-color: #df2d0a;
  1454. font-size: :22rpx;
  1455. color: #fff;
  1456. text-align: center;
  1457. height: 76rpx;
  1458. line-height: 76rpx;
  1459. width: 100%;
  1460. }
  1461. .poster-pop .keep {
  1462. color: #fff;
  1463. text-align: center;
  1464. font-size: 25rpx;
  1465. margin-top: 10rpx;
  1466. }
  1467. .mask {
  1468. position: fixed;
  1469. top: 0;
  1470. left: 0;
  1471. right: 0;
  1472. bottom: 0;
  1473. background-color: rgba(0, 0, 0, 0.6);
  1474. z-index: 9;
  1475. }
  1476. .pro-wrapper .iconn {
  1477. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAYKElEQVR4nO2deXhTVfrHP0nTlpautHSjZSkt+x42UTYVF5C4gsKIOqOjIxJHZdTfyG+eEZ1xxgVHjeLo6KiIKKsYcAUEBQooASxQKC1QulPolm50S+aPJPXmZm2a3BTo53n6QM49956T+8259yzv+x7ZmC8WcbGjU2migBFAGpAK9AGSgBjzX3dAAYSbT6kBWoA6oNz8VwycAU4BuUCmUquuku5beIZOpXF6XCFRPbyGTqUJAsYCVwCTgTFASjsvYxE6Gkh2UlYBcADYCewB9iu16qb21tmfXBQC61SaeGA2cANwHb8K5GtSzH83mz/X6lSarcCXwCalVn1Wonp4TKcVWKfSRAJzgLuAaUCAXytkIgy4xfzXqlNpfgA+A9Yotepqv9bMAbLO9g7WqTTjgYcxidvdnXNaDK3k1Z4lt6aEorrzFDdUUFpfQXljDfrmehpaGmkxtlLf0ghAqCIYhSyAEEUw4YEhxAZHkBDag6SQHvTqHktaeCJ9w+JRyN3+TdUBa4F3lFr13vZ/a89x9Q7uFALrVBo5plaxGJjkKn9lUy37zmVzqPwkmZWnOVlTQouh1at1UsgD6B+eyIjofozqkcqEuEFEB4W5c2oGsAzYqNSqDV6tlB06tcA6lUYG3Ao8Cwx3lveEvojvS34h42wWx6rzMRiNUlSxDblMxuDI3kyKH8LViSMZENHL1SmHMX2vz5Vatc8q22kF1qk004BXAKWjPGUXqtDm7+Xrwv3k1Xau/kzfsHhuTB6LqvdE4rpFOcuqA/6k1Kp3+KIenU5gnUqTDLwEzHOUZ9+5bD47vYNdZ7MwGH3+lOsQcpmcq+KHcFe/aUzoOdBZ1s+Ap5RadYE3y+80ApvfswuBF7AzzDEYjWwpPsBHuVvJri6UpE7eZmBkMvem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5m5MS1s2241lVxey7OgGdOdzbE+8BFDGprN46G2O+h96QK3Uqld0pAydSuP0uM8FNlciFViBaBtbCztKM1l+bDMna0p8Xhcp6B+eyMLBNzEtYYSjLBmYlvw6vM1rpxDYXBE5poWKvyPaRgBMvj7fFR9gRe7WDgcj9RcDI5O5J+1arksa4+j1UwMsAd5ydz3XFZ1GYAs6lSYFeBVwuMa471w2q05tJ6PsmOSbhLQXuUzOpLjBzE+d7mrjj/XA4+6Y2bSHTiewBZ1KMw1YBtj4YFg421DFpoK9fFX4s9v+u1LRJyyOmcnjmJ0yUezCKeYAsFipVe/wRT06rcAAOpVGhmnpcSng1IM6u7qQrcUH2V2WxYnqIkm3oAfTGHZAZC+uih/KNYmj3Jm4OQI8C2ww25j7hE4tsAXz+/kWTGagLheVyxv1/HzuBAcrTnG48jQna0q8HltTIQ+gf3giw6P7MapHKuN7DnC477CIDExPpo3ees8646IQWIhOpZkIPIRpbtutSewWQyuna0s5WVNKUd15iuvLKWmopLxRT01zAw0tjTQbWto21QgJCCJQriBEEUx4YAgxwREkhESRFBpLcvdY+ocn0C8sQRz70Rn1wBrgHbP7rWRcdAJb0Kk0kZhEnodp+tPtuy0RrZi8Cj4F1ii1ammCQotwJbDrXSv8hPmG/Qf4j06liQdmAzcA12FnmCURtcBWTHGoNim1aum2S/eQTiuwEPONfA94T6fSBAFjgSswTYeOQRAp18sUYOoF78TkQb9fqVU3OT+lc9FpH9HtQafSRAMjgHRMW9b3xbRVUIz5LxQIAizbktQDjeZ/y81/xUCe+S8HyFRq1TY7Lnc2XD2i/wckBEniScYuwQAAAABJRU5ErkJggg==');
  1478. width: 100rpx;
  1479. height: 100rpx;
  1480. background-repeat: no-repeat;
  1481. background-size: 100% 100%;
  1482. margin: 0 auto;
  1483. }
  1484. .pro-wrapper .iconn.iconn1 {
  1485. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAR4ElEQVR4nO2deZgU5Z3HP1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b2IbZcFDj37eG3Hbuykr6FQjcO0py834MU4Ix5Rf3rFAkPCGw+SAixkTFU9i2EQBjv4F/7NdYuj2U8SWZ9WVgJ4G7R0hMGiBGan4qgZ8DL8Q7nxsLzwgcJuiXewKLgBmR8nxUqvHqxxolR7Wk9kFqCEQBinuLzP26yA09o3Zp/gI8FI+bTSJ4TuAwQb88AXgOKIqU51SVzppPNd76XOPYeW8p3audwG2DRaZeFzNc8Q7gYSWgbkjHc3hWYICgXxYwph6fAL4WLe++0zrrD2iUHNHYd7rht6AXMKrgMX1Ebu4vxmO42QM8Drxh+pinBU8LHMZsn6djuIEWx8hO+SWdYKnOJ2Uau07qHCp3bI6cND4R+hYIFHYRGNZNROnpCFUUiRKMmml1qtrZaGSFwFaCfnkU8C8Ytu2W8VxTo8HhszqHzup8cUGnrELnZCWUX9SpVOErVadag6/MfYVa5EGeCC1kgTYyFLQSuKa1EUq5R1uBvh0Eru2QUFDWS8Aq4EVz+W2DkXUChwn65bYYIs/FMH96bf4xhLGq4FVglRJQL8TInxayVmArQb98DTAFuBWYjMswq4GoAtZjxKFaqwTUL2PkTzuNQmArQb8sAyOB0Rjm0CKgZ5puV4rRC96EsYJ+mxJQPbX5X6MT2I2gX24PFAIDMLas7wN0AwrMT0tABlqZl1wCrpj/lpufMuCI+dkP7FIC6rmG+Qb1J5bA/w8QrL/zy2ZeXQAAAABJRU5ErkJggg==');
  1486. }
  1487. .home-nav {
  1488. /* #ifdef H5 */
  1489. top: 20rpx !important;
  1490. /* #endif */
  1491. }
  1492. .home-nav {
  1493. color: #fff;
  1494. position: fixed;
  1495. font-size: 33rpx;
  1496. width: 56rpx;
  1497. height: 56rpx;
  1498. z-index: 999;
  1499. left: 33rpx;
  1500. background: rgba(190, 190, 190, 0.5);
  1501. border-radius: 50%;
  1502. &.on {
  1503. background: unset;
  1504. color: #333;
  1505. }
  1506. }
  1507. .home-nav .line {
  1508. width: 1rpx;
  1509. height: 24rpx;
  1510. background: rgba(255, 255, 255, 0.25);
  1511. }
  1512. .home-nav .icon-xiangzuo {
  1513. width: auto;
  1514. font-size: 28rpx;
  1515. }
  1516. .share-box {
  1517. z-index: 1000;
  1518. position: fixed;
  1519. left: 0;
  1520. top: 0;
  1521. width: 100%;
  1522. height: 100%;
  1523. }
  1524. .share-box image {
  1525. width: 100%;
  1526. height: 100%;
  1527. }
  1528. </style>