index.vue 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927
  1. <template>
  2. <view class="product-con">
  3. <view class='navbar' :style="{height:navH+'rpx',opacity:opacity}">
  4. <view class='navbarH' :style='"height:"+navH+"rpx;"'>
  5. <view class='navbarCon acea-row row-center-wrapper' :style="{ paddingRight: navbarRight + 'px' }">
  6. <view class="header acea-row row-center-wrapper">
  7. <view class="item" :class="navActive === index ? 'on' : ''" v-for="(item,index) in navList"
  8. :key='index' @tap="tap(index)">
  9. {{ item }}
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. <view id="home" class="home acea-row row-center-wrapper iconfont icon-xiangzuo" :class="opacity>0.5?'on':''"
  16. :style="{ top: homeTop + 'rpx' }" v-if="returnShow" @tap="returns">
  17. </view>
  18. <!-- <view class='iconfont icon-xiangzuo' :style="'top:'+navH/2+'rpx'" @tap='returns'></view> -->
  19. <view>
  20. <scroll-view :scroll-top="scrollTop" scroll-y='true' scroll-with-animation="true"
  21. :style='"height:"+height+"px;"' @scroll="scroll">
  22. <view id="past0">
  23. <productConSwiper :imgUrls="sliderImage" :videoline="productInfo.videoLink">
  24. </productConSwiper>
  25. <view class="pad30">
  26. <view class='wrapper mb30 borRadius14'>
  27. <view class='share acea-row row-between row-bottom'>
  28. <view class='money font-color'>
  29. <text class='num'>{{productInfo.price}}</text>
  30. <text class='vip-money'
  31. v-if="productInfo.vipPrice && productInfo.vipPrice > 0">¥{{productInfo.vipPrice}}</text>
  32. <image v-if="productInfo.vipPrice && productInfo.vipPrice > 0"
  33. src="../../static/images/vip.png"></image>
  34. </view>
  35. <view class='iconfont icon-fenxiang' @click="listenerActionSheet"></view>
  36. </view>
  37. <view class='introduce'>{{productInfo.storeName}}</view>
  38. <!-- <view class='label acea-row row-between-wrapper'>
  39. <view>原价:¥{{productInfo.otPrice || 0}}</view>
  40. <view>库存:{{productInfo.stock || 0}}{{productInfo.unitName || ''}}</view>
  41. <view>
  42. 销量:{{Math.floor(productInfo.sales) + Math.floor(productInfo.ficti) || 0}}{{productInfo.unitName || ''}}
  43. </view>
  44. </view> -->
  45. <!-- <view class='coupon acea-row row-between-wrapper' v-if="productInfo.give_integral > 0">
  46. <view class='hide line1 acea-row'>
  47. 赠积分:
  48. <view class='activity'>赠送 {{productInfo.give_integral}} 积分</view>
  49. </view>
  50. </view> -->
  51. <view v-if="coupon.list.length>0 && type=='normal'"
  52. class='coupon acea-row row-between-wrapper' @click='couponTap'>
  53. <view class='hide line1 acea-row'>
  54. 优惠券:
  55. <view class='activity'>
  56. 满{{coupon.list[0].minPrice}}减{{coupon.list[0].money}}</view>
  57. </view>
  58. <view class='iconfont icon-jiantou'></view>
  59. </view>
  60. <view class="coupon acea-row row-between-wrapper" v-if="activityH5.length">
  61. <view class="line1 acea-row">
  62. <text class="activityName">活&nbsp;&nbsp;&nbsp;动:</text>
  63. <view v-for='(item,index) in activityH5' :key='index' @click="goActivity(item)"
  64. class="activityBox">
  65. <view v-if="item.type === '1'"
  66. :class="index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''">
  67. <text class="iconfonts iconfont icon-pintuan"></text>
  68. <text class="activity_title"> 参与秒杀</text>
  69. </view>
  70. <view
  71. :class="index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''"
  72. v-if="item.type === '2'">
  73. <text class="iconfonts iconfont icon-shenhezhong"></text>
  74. <text class="activity_title"> 参与砍价</text>
  75. </view>
  76. <view
  77. :class="index==0?'activity_pin':'' || index==1?'activity_miao':'' || index==2?'activity_kan':''"
  78. v-if="item.type === '3'">
  79. <text class="iconfonts iconfont icon-kanjia"></text>
  80. <text class="activity_title"> 参与拼团</text>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <view class='attribute acea-row row-between-wrapper mb30 borRadius14' @click="selecAttr">
  87. <view class="line1">{{attrTxt}}:
  88. <text class='atterTxt'>{{attrValue}}</text>
  89. </view>
  90. <view class='iconfont icon-jiantou'></view>
  91. </view>
  92. <!-- <view class='userEvaluation' id="past1">
  93. <view class='title acea-row row-between-wrapper'
  94. :style="replyCount==0?'border-bottom-left-radius:14rpx;border-bottom-right-radius:14rpx;':''">
  95. <view>用户评价<i>({{replyCount}})</i></view>
  96. <navigator class='praise' hover-class='none'
  97. :url='"/pages/users/goods_comment_list/index?productId="+id'>
  98. <i>好评</i>&nbsp;<text class='font-color'>{{replyChance || 0}}%</text>
  99. <text class='iconfont icon-jiantou'></text>
  100. </navigator>
  101. </view>
  102. <block v-if="replyCount">
  103. <userEvaluation :reply="reply"></userEvaluation>
  104. </block>
  105. </view> -->
  106. <!-- 优品推荐 -->
  107. <view class="superior borRadius14" if='good_list.length' id="past2">
  108. <view class="title acea-row row-center-wrapper">
  109. <image src="../../static/images/xzuo.png"></image>
  110. <view class="titleTxt">优品推荐</view>
  111. <image src="../../static/images/xyou.png"></image>
  112. </view>
  113. <view class="slider-banner banner">
  114. <swiper indicator-dots="true" :autoplay="autoplay" :circular="circular"
  115. :interval="interval" :duration="duration" indicator-color="#999"
  116. indicator-active-color="#e93323" :style="'height:'+clientHeight+'px'">
  117. <swiper-item v-for="(item,indexw) in good_list" :key="indexw">
  118. <view class="list acea-row row-middle" :id="'list'+indexw">
  119. <view class="item" v-for="(val,indexn) in item.list" :key="indexn"
  120. @click="goDetail(val)">
  121. <view class="pictrue">
  122. <image :src="val.image"></image>
  123. <span class="pictrue_log pictrue_log_class"
  124. v-if="val.activityH5 && val.activityH5.type === '1'">秒杀</span>
  125. <span class="pictrue_log pictrue_log_class"
  126. v-if="val.activityH5 && val.activityH5.type === '2'">砍价</span>
  127. <span class="pictrue_log pictrue_log_class"
  128. v-if="val.activityH5 && val.activityH5.type === '3'">拼团</span>
  129. </view>
  130. <view class="name line1">{{val.storeName}}</view>
  131. <view class="money font-color">¥{{val.price}}</view>
  132. </view>
  133. </view>
  134. </swiper-item>
  135. <!-- <view class="swiper-pagination" slot="pagination"></view> -->
  136. </swiper>
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. <view class='product-intro' id="past3">
  142. <view class='title'>
  143. <image src="../../static/images/xzuo.png"></image>
  144. <span class="sp">产品详情</span>
  145. <image src="../../static/images/xyou.png"></image>
  146. </view>
  147. <view class='conter'>
  148. <jyf-parser :html="description" ref="article" :tag-style="tagStyle"></jyf-parser>
  149. </view>
  150. <!-- <rich-text :nodes="description" class="conter"></rich-text> -->
  151. </view>
  152. <view style='height:120rpx;'></view>
  153. </scroll-view>
  154. </view>
  155. <view class='footer acea-row row-between-wrapper'>
  156. <!-- #ifdef MP -->
  157. <button open-type="contact" hover-class='none' class='item'>
  158. <view class='iconfont icon-kefu'></view>
  159. <view>客服</view>
  160. </button>
  161. <!-- #endif -->
  162. <!-- #ifndef MP -->
  163. <view class="item" @click="kefuClick">
  164. <view class="iconfont icon-kefu"></view>
  165. <view>客服</view>
  166. </view>
  167. <!-- #endif -->
  168. <block v-if="type === 'normal'">
  169. <view @click="setCollect" class='item'>
  170. <view class='iconfont icon-shoucang1' v-if="userCollect"></view>
  171. <view class='iconfont icon-shoucang' v-else></view>
  172. <view>收藏</view>
  173. </view>
  174. <navigator open-type='switchTab' class="animated item" :class="animated==true?'bounceIn':''"
  175. url='/pages/order_addcart/order_addcart' hover-class="none">
  176. <view class='iconfont icon-gouwuche1'>
  177. <text v-if="Math.floor(CartCount)>0" class='num bg-color'>{{CartCount}}</text>
  178. </view>
  179. <view>购物车</view>
  180. </navigator>
  181. <view class="bnt acea-row" v-if="attr.productSelect.stock <= 0">
  182. <form @submit="joinCart" report-submit="true"><button class="joinCart bnts"
  183. form-type="submit">加入购物车</button></form>
  184. <form report-submit="true"><button class="buy bnts bg-color-hui" form-type="submit">已售罄</button>
  185. </form>
  186. </view>
  187. <view class="bnt acea-row" v-else>
  188. <form @submit="joinCart" report-submit="true"><button class="joinCart bnts"
  189. form-type="submit">加入购物车</button></form>
  190. <form @submit="goBuy" report-submit="true"><button class="buy bnts" form-type="submit">立即购买</button>
  191. </form>
  192. </view>
  193. </block>
  194. <view class="bnt bntVideo acea-row" v-if="attr.productSelect.stock <= 0 && type === 'video'">
  195. <form report-submit="true"><button class="buy bnts bg-color-hui" form-type="submit">已售罄</button></form>
  196. </view>
  197. <view class="bnt bntVideo acea-row" v-if="attr.productSelect.stock > 0 && type === 'video'">
  198. <form @submit="goBuy" report-submit="true"><button class="buy bnts" form-type="submit">立即购买</button>
  199. </form>
  200. </view>
  201. </view>
  202. <shareRedPackets :sharePacket="sharePacket" @listenerActionSheet="listenerActionSheet"
  203. @closeChange="closeChange"></shareRedPackets>
  204. <!-- 组件 -->
  205. <productWindow :attr="attr" :isShow='1' :iSplus='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr"
  206. @ChangeCartNum="ChangeCartNum" @attrVal="attrVal" @iptCartNum="iptCartNum" id='product-window'>
  207. </productWindow>
  208. <home></home>
  209. <couponListWindow :coupon='coupon' @ChangCouponsClone="ChangCouponsClone" @ChangCoupons="ChangCoupons"
  210. @ChangCouponsUseState="ChangCouponsUseState" @tabCouponType="tabCouponType"></couponListWindow>
  211. <!-- 分享按钮 -->
  212. <view class="generate-posters acea-row row-middle" :class="posters ? 'on' : ''">
  213. <!-- #ifndef MP -->
  214. <button class="item" hover-class='none' v-if="weixinStatus === true" @click="H5ShareBox = true">
  215. <view class="iconfont icon-weixin3"></view>
  216. <view class="">发送给朋友</view>
  217. </button>
  218. <!-- #endif -->
  219. <!-- #ifdef MP -->
  220. <button class="item" open-type="share" hover-class='none' @click="goFriend">
  221. <view class="iconfont icon-weixin3"></view>
  222. <view class="">发送给朋友</view>
  223. </button>
  224. <!-- #endif -->
  225. <button class="item" hover-class='none' @click="goPoster">
  226. <view class="iconfont icon-haibao"></view>
  227. <view class="">生成海报</view>
  228. </button>
  229. </view>
  230. <view class="mask" v-if="posters" @click="closePosters"></view>
  231. <view class="mask" v-if="canvasStatus"></view>
  232. <!-- #ifdef MP -->
  233. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
  234. <!-- #endif -->
  235. <!-- 海报展示 -->
  236. <view class='poster-pop' v-if="canvasStatus">
  237. <image src='../../static/images/poster-close.png' class='close' @click="posterImageClose"></image>
  238. <image :src='imagePath'></image>
  239. <!-- #ifndef H5 -->
  240. <view class='save-poster' @click="savePosterPath">保存到手机</view>
  241. <!-- #endif -->
  242. <!-- #ifdef H5 -->
  243. <view class="keep">长按图片可以保存到手机</view>
  244. <!-- #endif -->
  245. </view>
  246. <view class="canvas" v-else>
  247. <canvas style="width:750px;height:1190px;" canvas-id="firstCanvas"></canvas>
  248. <canvas canvas-id="qrcode" :style="{width: `${qrcodeSize}px`, height: `${qrcodeSize}px`}" />
  249. </view>
  250. <!-- 发送给朋友图片 -->
  251. <view class="share-box" v-if="H5ShareBox">
  252. <image src="/static/images/share-info.png" @click="H5ShareBox = false"></image>
  253. </view>
  254. </view>
  255. </template>
  256. <script>
  257. import uQRCode from '@/js_sdk/Sansnn-uQRCode/uqrcode.js'
  258. // import yzf_chat from '@/plugin/chat/yzf_chat.js'
  259. import store from '@/store';
  260. import {
  261. getProductDetail,
  262. collectAdd,
  263. collectDel,
  264. postCartAdd,
  265. getReplyList,
  266. getReplyConfig,
  267. getProductGood,
  268. getReplyProduct
  269. } from '@/api/store.js';
  270. import {
  271. spread
  272. } from "@/api/user";
  273. import {
  274. getCoupons
  275. } from '@/api/api.js';
  276. import {
  277. getCartCounts
  278. } from '@/api/order.js';
  279. import {
  280. toLogin
  281. } from '@/libs/login.js';
  282. import {
  283. computeUser
  284. } from "@/api/user.js";
  285. import {
  286. mapGetters
  287. } from "vuex";
  288. import {
  289. imageBase64
  290. } from "@/api/public";
  291. import productConSwiper from '@/components/productConSwiper';
  292. import couponListWindow from '@/components/couponListWindow';
  293. import productWindow from '@/components/productWindow';
  294. import userEvaluation from '@/components/userEvaluation';
  295. import shareRedPackets from '@/components/shareRedPackets';
  296. import home from '@/components/home';
  297. import {
  298. silenceBindingSpread
  299. } from "@/utils";
  300. import parser from "@/components/jyf-parser/jyf-parser";
  301. // #ifdef MP
  302. import {
  303. base64src
  304. } from '@/utils/base64src.js'
  305. import authorize from '@/components/Authorize';
  306. import {
  307. getQrcode
  308. } from '@/api/api.js';
  309. // #endif
  310. let app = getApp();
  311. export default {
  312. components: {
  313. productConSwiper,
  314. couponListWindow,
  315. productWindow,
  316. userEvaluation,
  317. shareRedPackets,
  318. home,
  319. "jyf-parser": parser,
  320. // #ifdef MP
  321. authorize
  322. // #endif
  323. },
  324. data() {
  325. let that = this;
  326. return {
  327. //属性是否打开
  328. coupon: {
  329. coupon: false,
  330. type: 1,
  331. list: [],
  332. count: []
  333. },
  334. attrTxt: '请选择', //属性页面提示
  335. attrValue: '', //已选属性
  336. animated: false, //购物车动画
  337. id: 0, //商品id
  338. replyCount: 0, //总评论数量
  339. reply: [], //评论列表
  340. productInfo: {}, //商品详情
  341. productValue: [], //系统属性
  342. couponList: [], //优惠券
  343. cart_num: 1, //购买数量
  344. isAuto: false, //没有授权的不会自动授权
  345. isShowAuth: false, //是否隐藏授权
  346. isOpen: false, //是否打开属性组件
  347. actionSheetHidden: true,
  348. storeImage: '', //海报产品图
  349. PromotionCode: '', //二维码图片
  350. posterbackgd: '/static/images/posterbackgd.png',
  351. sharePacket: {
  352. isState: true, //默认不显示
  353. }, //分销商详细
  354. // uid: 0, //用户uid
  355. circular: false,
  356. autoplay: false,
  357. interval: 3000,
  358. duration: 500,
  359. clientHeight: "",
  360. systemStore: {}, //门店信息
  361. good_list: [],
  362. replyChance: 0,
  363. CartCount: 0,
  364. isDown: true,
  365. posters: false,
  366. weixinStatus: false,
  367. attr: {
  368. cartAttr: false,
  369. productAttr: [],
  370. productSelect: {}
  371. },
  372. description: '',
  373. navActive: 0,
  374. H5ShareBox: false, //公众号分享图片
  375. activityH5: [],
  376. retunTop: true, //顶部返回
  377. navH: "",
  378. navList: [],
  379. opacity: 0,
  380. scrollY: 0,
  381. topArr: [],
  382. toView: '',
  383. height: 0,
  384. heightArr: [],
  385. lock: false,
  386. scrollTop: 0,
  387. tagStyle: {
  388. img: 'width:100%;display:block;',
  389. table: 'width:100%',
  390. video: 'width:100%'
  391. },
  392. sliderImage: [],
  393. qrcodeSize: 600,
  394. canvasStatus: false, //是否显示海报
  395. imagePath: '', //海报路径
  396. imgTop: '',
  397. errT: '',
  398. homeTop: 20,
  399. navbarRight: 0,
  400. userCollect: false,
  401. returnShow: true, //判断顶部返回是否出现
  402. type: "" //视频号普通商品类型
  403. };
  404. },
  405. computed: mapGetters(['isLogin', 'uid', 'chatUrl']),
  406. watch: {
  407. isLogin: {
  408. handler: function(newV, oldV) {
  409. let that = this;
  410. if (newV == true) {
  411. that.getCouponList();
  412. that.getCartCount();
  413. //that.downloadFilePromotionCode();
  414. }
  415. },
  416. deep: true
  417. },
  418. productInfo: {
  419. handler: function() {
  420. this.$nextTick(() => {});
  421. },
  422. immediate: true
  423. }
  424. },
  425. onLoad(options) {
  426. let that = this
  427. var pages = getCurrentPages();
  428. that.returnShow = pages.length === 1 ? false : true;
  429. if (pages.length <= 1) {
  430. that.retunTop = false
  431. }
  432. that.navH = app.globalData.navHeight;
  433. // #ifdef H5
  434. computeUser();
  435. // #endif
  436. // #ifdef MP || APP-PLUS
  437. // 小程序链接进入获取绑定关系id
  438. setTimeout(() => {
  439. if (options.spread) {
  440. app.globalData.spread = options.spread;
  441. spread(options.spread).then(res => {})
  442. }
  443. }, 2000)
  444. // #endif
  445. uni.getSystemInfo({
  446. success: function(res) {
  447. that.height = res.windowHeight;
  448. },
  449. });
  450. if (!options.scene && !options.id) {
  451. this.showSkeleton = false;
  452. this.$util.Tips({
  453. title: '缺少参数无法查看商品'
  454. }, {
  455. url: '/pages/index/index'
  456. });
  457. return;
  458. }
  459. if (options.hasOwnProperty('id') || options.scene) {
  460. if (options.scene) { // 仅仅小程序扫码进入
  461. let qrCodeValue = that.$util.getUrlParams(decodeURIComponent(options.scene));
  462. let mapeMpQrCodeValue = that.$util.formatMpQrCodeData(qrCodeValue);
  463. app.globalData.spread = mapeMpQrCodeValue.spread;
  464. this.id = mapeMpQrCodeValue.id;
  465. setTimeout(() => {
  466. spread(mapeMpQrCodeValue.spread).then(res => {}).catch(res => {})
  467. }, 2000)
  468. } else {
  469. this.id = options.id;
  470. }
  471. options.type == undefined || options.type == null ? that.type = 'normal' : that.type = options.type;
  472. that.$store.commit("PRODUCT_TYPE", that.type);
  473. }
  474. this.getGoodsDetails();
  475. this.getCouponList();
  476. this.getProductReplyList();
  477. this.getProductReplyCount();
  478. this.getGoods();
  479. },
  480. onReady() {
  481. this.$nextTick(function() {
  482. // #ifdef MP
  483. const menuButton = uni.getMenuButtonBoundingClientRect();
  484. const query = uni.createSelectorQuery().in(this);
  485. query
  486. .select('#home')
  487. .boundingClientRect(data => {
  488. this.homeTop = menuButton.top * 2 + menuButton.height - data.height;
  489. })
  490. .exec();
  491. // #endif
  492. // #ifdef H5
  493. // const clipboard = new ClipboardJS('.copy-data');
  494. // clipboard.on('success', () => {
  495. // this.$util.Tips({
  496. // title: '复制成功'
  497. // });
  498. // });
  499. // #endif
  500. });
  501. },
  502. show() {
  503. },
  504. /**
  505. * 用户点击右上角分享
  506. */
  507. // #ifdef MP
  508. onShareAppMessage: function() {
  509. let that = this;
  510. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  511. return {
  512. title: that.productInfo.storeName || '',
  513. imageUrl: that.productInfo.image || '',
  514. path: '/pages/goods_details/index?id=' + that.id + '&spread=' + that.uid,
  515. }
  516. },
  517. // #endif
  518. methods: {
  519. getChat(uid) {
  520. window.yzf && window.yzf.init({
  521. sign: '37ef9b97872756ce2a1596ec4fe9b66b0b4cbeec7b36239a65924fa6cbd5c29ac6b013c274511b2eee929e72312baeeeb97aae86',
  522. token: '', //非必填
  523. userAvator: '', //非必填,用户头像
  524. userNick: '', //非必填,用户昵称
  525. uid: uid, //用户唯一标识,如果没有则不填写,默认为空,(字符串格式)
  526. title: '', //非必填,如果未填写,默认获取配置标题
  527. isRMB: '', //商品是否显示人民币¥,默认显示,false不显示
  528. data: {
  529. c1: '',
  530. c2: '',
  531. c3: '',
  532. c4: '',
  533. c5: ''
  534. },
  535. selector: 'chat-btn',
  536. callback: function(type, data) {}
  537. })
  538. },
  539. kefuClick() {
  540. location.href = this.chatUrl;
  541. },
  542. closeChange: function() {
  543. this.$set(this.sharePacket, 'isState', true);
  544. },
  545. goActivity: function(e) {
  546. let item = e;
  547. if (item.type === "1") {
  548. uni.navigateTo({
  549. url: `/pages/activity/goods_seckill_details/index?id=${item.id}`
  550. });
  551. } else if (item.type === "2") {
  552. uni.navigateTo({
  553. url: `/pages/activity/goods_bargain_details/index?id=${item.id}&startBargainUid=${this.uid}`
  554. });
  555. } else {
  556. uni.navigateTo({
  557. url: `/pages/activity/goods_combination_details/index?id=${item.id}`
  558. });
  559. }
  560. },
  561. /**
  562. * 购物车手动填写
  563. *
  564. */
  565. iptCartNum: function(e) {
  566. this.$set(this.attr.productSelect, 'cart_num', e ? e : 1);
  567. },
  568. // 后退
  569. returns: function() {
  570. uni.navigateBack()
  571. },
  572. tap: function(index) {
  573. var id = "past" + index;
  574. var index = index;
  575. var that = this;
  576. this.$set(this, 'toView', id);
  577. this.$set(this, 'navActive', index);
  578. this.$set(this, 'lock', true);
  579. this.$set(this, 'scrollTop', index > 0 ? that.topArr[index] - (app.globalData.navHeight / 2) : that
  580. .topArr[index]);
  581. },
  582. scroll: function(e) {
  583. var that = this,
  584. scrollY = e.detail.scrollTop;
  585. var opacity = scrollY / 200;
  586. opacity = opacity > 1 ? 1 : opacity;
  587. that.$set(that, 'opacity', opacity);
  588. that.$set(that, 'scrollY', scrollY);
  589. if (that.lock) {
  590. that.$set(that, 'lock', false)
  591. return;
  592. }
  593. for (var i = 0; i < that.topArr.length; i++) {
  594. if (scrollY < that.topArr[i] - (app.globalData.navHeight / 2) + that.heightArr[i]) {
  595. that.$set(that, 'navActive', i)
  596. break
  597. }
  598. }
  599. },
  600. /*
  601. *去商品详情页
  602. */
  603. goDetail(item) {
  604. if (!item.activityH5) {
  605. uni.redirectTo({
  606. url: '/pages/goods_details/index?id=' + item.id
  607. })
  608. return
  609. }
  610. if (item.activityH5.length == 0) {
  611. uni.redirectTo({
  612. url: '/pages/goods_details/index?id=' + item.id
  613. })
  614. return
  615. }
  616. // 砍价
  617. if (item.activityH5 && item.activityH5.type == 2) {
  618. uni.redirectTo({
  619. url: `/pages/activity/goods_bargain_details/index?id=${item.activityH5.id}&bargain=${this.uid}`
  620. })
  621. return
  622. }
  623. // 拼团
  624. if (item.activityH5 && item.activityH5.type == 3) {
  625. uni.redirectTo({
  626. url: `/pages/activity/goods_combination_details/index?id=${item.activityH5.id}`
  627. })
  628. return
  629. }
  630. // 秒杀
  631. if (item.activityH5 && item.activityH5.type == 1) {
  632. debugger
  633. uni.redirectTo({
  634. url: `/pages/activity/goods_seckill_details/index?id=${item.activityH5.id}`
  635. })
  636. return
  637. }
  638. },
  639. // 微信登录回调
  640. onLoadFun: function(e) {
  641. this.getCouponList();
  642. this.getCartCount();
  643. },
  644. ChangCouponsClone: function() {
  645. this.$set(this.coupon, 'coupon', false)
  646. },
  647. /**
  648. * 购物车数量加和数量减
  649. *
  650. */
  651. ChangeCartNum: function(changeValue) {
  652. //changeValue:是否 加|减
  653. //获取当前变动属性
  654. let productSelect = this.productValue[this.attrValue];
  655. //如果没有属性,赋值给商品默认库存
  656. if (productSelect === undefined && !this.attr.productAttr.length)
  657. productSelect = this.attr.productSelect;
  658. //无属性值即库存为0;不存在加减;
  659. if (productSelect === undefined) return;
  660. let stock = productSelect.stock || 0;
  661. let num = this.attr.productSelect;
  662. if (changeValue) {
  663. num.cart_num++;
  664. if (num.cart_num > stock) {
  665. this.$set(this.attr.productSelect, "cart_num", stock);
  666. this.$set(this, "cart_num", stock);
  667. }
  668. } else {
  669. num.cart_num--;
  670. if (num.cart_num < 1) {
  671. this.$set(this.attr.productSelect, "cart_num", 1);
  672. this.$set(this, "cart_num", 1);
  673. }
  674. }
  675. },
  676. attrVal(val) {
  677. this.$set(this.attr.productAttr[val.indexw], 'index', this.attr.productAttr[val.indexw].attrValues[val
  678. .indexn]);
  679. },
  680. /**
  681. * 属性变动赋值
  682. *
  683. */
  684. ChangeAttr: function(res) {
  685. let productSelect = this.productValue[res];
  686. if (productSelect) {
  687. this.$set(this.attr.productSelect, "image", productSelect.image);
  688. this.$set(this.attr.productSelect, "image1", productSelect.image1);
  689. this.$set(this.attr.productSelect, "price", productSelect.price);
  690. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  691. this.$set(this.attr.productSelect, "unique", productSelect.id);
  692. this.$set(this.attr.productSelect, "cart_num", 1);
  693. this.$set(this, "attrValue", res);
  694. this.$set(this, "attrTxt", "已选择");
  695. } else {
  696. this.$set(this.attr.productSelect, "image", this.productInfo.image);
  697. this.$set(this.attr.productSelect, "image1", this.productInfo.image1);
  698. this.$set(this.attr.productSelect, "price", this.productInfo.price);
  699. this.$set(this.attr.productSelect, "stock", 0);
  700. this.$set(this.attr.productSelect, "unique", this.productInfo.id);
  701. this.$set(this.attr.productSelect, "cart_num", 1);
  702. this.$set(this, "attrValue", "");
  703. this.$set(this, "attrTxt", "请选择");
  704. }
  705. },
  706. /**
  707. * 领取完毕移除当前页面领取过的优惠券展示
  708. */
  709. ChangCoupons: function(e) {
  710. let coupon = e;
  711. let couponList = this.$util.ArrayRemove(this.couponList, 'id', coupon.id);
  712. this.$set(this, 'couponList', couponList);
  713. this.getCouponList();
  714. },
  715. setClientHeight: function() {
  716. let that = this;
  717. if (!that.good_list.length) return;
  718. let view = uni.createSelectorQuery().in(this).select("#list0");
  719. view.fields({
  720. size: true,
  721. }, data => {
  722. that.$set(that, 'clientHeight', data.height + 20)
  723. }).exec();
  724. },
  725. /**
  726. * 优品推荐
  727. *
  728. */
  729. getGoods() {
  730. getProductGood().then(res => {
  731. let good_list = res.data.list || [];
  732. let count = Math.ceil(good_list.length / 6);
  733. let goodArray = new Array();
  734. for (let i = 0; i < count; i++) {
  735. let list = good_list.slice(i * 6, i * 6 + 6);
  736. if (list.length) goodArray.push({
  737. list: list
  738. });
  739. }
  740. this.$set(this, 'good_list', goodArray);
  741. let navList = ['商品', '评价', '详情'];
  742. if (goodArray.length) {
  743. navList.splice(2, 0, '推荐')
  744. }
  745. this.$set(this, 'navList', navList);
  746. this.$nextTick(() => {
  747. if (good_list.length) {
  748. this.setClientHeight();
  749. };
  750. })
  751. });
  752. },
  753. /**
  754. * 获取产品详情
  755. *
  756. */
  757. getGoodsDetails: function() {
  758. let that = this;
  759. getProductDetail(that.id, that.type).then(res => {
  760. let productInfo = res.data.productInfo;
  761. // 字符串数组转数组;
  762. let arrayImg = productInfo.sliderImage;
  763. let sliderImage = JSON.parse(arrayImg);
  764. that.$set(that, 'sliderImage', sliderImage);
  765. that.$set(that, 'productInfo', productInfo);
  766. that.$set(that, 'description', productInfo.content);
  767. that.$set(that, 'userCollect', res.data.userCollect);
  768. that.$set(that.attr, 'productAttr', res.data.productAttr);
  769. that.$set(that, 'productValue', res.data.productValue);
  770. that.$set(that.sharePacket, 'priceName', res.data.priceName);
  771. that.$set(that.sharePacket, 'isState', Math.floor(res.data.priceName) != 0 ?
  772. false : true);
  773. that.$set(that, 'activityH5', res.data.activityAllH5 ? res.data.activityAllH5 : []);
  774. uni.setNavigationBarTitle({
  775. title: productInfo.storeName.substring(0, 7) + "..."
  776. })
  777. let productAttr = this.attr.productAttr.map(item => {
  778. return {
  779. attrName: item.attrName,
  780. attrValues: item.attrValues.split(','),
  781. id: item.id,
  782. isDel: item.isDel,
  783. productId: item.productId,
  784. type: item.type
  785. }
  786. });
  787. this.$set(this.attr, 'productAttr', productAttr);
  788. if (that.isLogin) {
  789. that.getCartCount();
  790. //#ifdef H5
  791. that.make(that.uid);
  792. that.ShareInfo();
  793. this.getImageBase64(this.productInfo.image);
  794. // #endif
  795. // #ifdef MP
  796. that.getQrcode();
  797. // #endif
  798. };
  799. setTimeout(function() {
  800. that.infoScroll();
  801. }, 500);
  802. // #ifdef MP
  803. that.imgTop = res.data.productInfo.image
  804. // #endif
  805. // #ifndef H5
  806. that.downloadFilestoreImage();
  807. // #endif
  808. that.DefaultSelect();
  809. }).catch(err => {
  810. //状态异常返回上级页面
  811. return that.$util.Tips({
  812. title: err.toString()
  813. }, {
  814. tab: 3,
  815. url: 1
  816. });
  817. })
  818. },
  819. getProductReplyList: function() {
  820. getReplyProduct(this.id).then(res => {
  821. this.reply = res.data.productReply ? [res.data.productReply] : [];
  822. })
  823. },
  824. getProductReplyCount: function() {
  825. let that = this;
  826. getReplyConfig(that.id).then(res => {
  827. that.$set(that, 'replyChance', res.data.replyChance * 100);
  828. that.$set(that, 'replyCount', res.data.sumCount);
  829. });
  830. },
  831. infoScroll: function() {
  832. var that = this,
  833. topArr = [],
  834. heightArr = [];
  835. for (var i = 0; i < that.navList.length; i++) { //productList
  836. //获取元素所在位置
  837. var query = uni.createSelectorQuery().in(this);
  838. var idView = "#past" + i;
  839. // if (!that.data.good_list.length && i == 2) {
  840. // var idView = "#past" + 3;
  841. // }
  842. query.select(idView).boundingClientRect();
  843. query.exec(function(res) {
  844. var top = res[0]?.top || 0;
  845. var height = res[0]?.height || 0;
  846. topArr.push(top);
  847. heightArr.push(height);
  848. that.$set(that, 'topArr', topArr);
  849. that.$set(that, 'heightArr', heightArr);
  850. });
  851. };
  852. },
  853. /**
  854. * 拨打电话
  855. */
  856. makePhone: function() {
  857. uni.makePhoneCall({
  858. phoneNumber: this.systemStore.phone
  859. })
  860. },
  861. /**
  862. * 打开地图
  863. *
  864. */
  865. showMaoLocation: function() {
  866. if (!this.systemStore.latitude || !this.systemStore.longitude) return this.$util.Tips({
  867. title: '缺少经纬度信息无法查看地图!'
  868. });
  869. uni.openLocation({
  870. latitude: parseFloat(this.systemStore.latitude),
  871. longitude: parseFloat(this.systemStore.longitude),
  872. scale: 8,
  873. name: this.systemStore.name,
  874. address: this.systemStore.address + this.systemStore.detailed_address,
  875. success: function() {},
  876. });
  877. },
  878. /**
  879. * 默认选中属性
  880. *
  881. */
  882. DefaultSelect: function() {
  883. let productAttr = this.attr.productAttr;
  884. let value = [];
  885. for (let key in this.productValue) {
  886. if (this.productValue[key].stock > 0) {
  887. value = this.attr.productAttr.length ? key.split(",") : [];
  888. break;
  889. }
  890. }
  891. for (let i = 0; i < productAttr.length; i++) {
  892. this.$set(productAttr[i], "index", value[i]);
  893. }
  894. //sort();排序函数:数字-英文-汉字;
  895. let productSelect = this.productValue[value.join(",")];
  896. if (productSelect && productAttr.length) {
  897. this.$set(
  898. this.attr.productSelect,
  899. "storeName",
  900. this.productInfo.storeName
  901. );
  902. this.$set(this.attr.productSelect, "image", productSelect.image);
  903. this.$set(this.attr.productSelect, "image1", productSelect.image1);
  904. this.$set(this.attr.productSelect, "price", productSelect.price);
  905. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  906. this.$set(this.attr.productSelect, "unique", productSelect.id);
  907. this.$set(this.attr.productSelect, "cart_num", 1);
  908. this.$set(this, "attrValue", value.join(","));
  909. this.$set(this, "attrTxt", "已选择");
  910. } else if (!productSelect && productAttr.length) {
  911. this.$set(
  912. this.attr.productSelect,
  913. "storeName",
  914. this.productInfo.storeName
  915. );
  916. this.$set(this.attr.productSelect, "image", this.productInfo.image);
  917. this.$set(this.attr.productSelect, "image1", this.productInfo.image1);
  918. this.$set(this.attr.productSelect, "price", this.productInfo.price);
  919. this.$set(this.attr.productSelect, "stock", 0);
  920. this.$set(this.attr.productSelect, "unique", this.productInfo.id);
  921. this.$set(this.attr.productSelect, "cart_num", 1);
  922. this.$set(this, "attrValue", "");
  923. this.$set(this, "attrTxt", "请选择");
  924. } else if (!productSelect && !productAttr.length) {
  925. this.$set(
  926. this.attr.productSelect,
  927. "storeName",
  928. this.productInfo.storeName
  929. );
  930. this.$set(this.attr.productSelect, "image", this.productInfo.image);
  931. this.$set(this.attr.productSelect, "image1", this.productInfo.image1);
  932. this.$set(this.attr.productSelect, "price", this.productInfo.price);
  933. this.$set(this.attr.productSelect, "stock", this.productInfo.stock);
  934. this.$set(
  935. this.attr.productSelect,
  936. "unique",
  937. this.productInfo.id || ""
  938. );
  939. this.$set(this.attr.productSelect, "cart_num", 1);
  940. this.$set(this, "attrValue", "");
  941. this.$set(this, "attrTxt", "请选择");
  942. }
  943. },
  944. /**
  945. * 获取优惠券
  946. *
  947. */
  948. getCouponList(type) {
  949. let that = this,
  950. obj = {
  951. page: 1,
  952. limit: 20,
  953. productId: that.id,
  954. type: type
  955. };
  956. if (type != undefined || type != null) {
  957. obj.type = type;
  958. } else {
  959. obj.type = "";
  960. }
  961. getCoupons(obj).then(res => {
  962. that.$set(that.coupon, 'list', res.data);
  963. });
  964. },
  965. tabCouponType(type) {
  966. this.$set(this.coupon, 'type', type);
  967. this.getCouponList(type);
  968. },
  969. ChangCouponsUseState(index) {
  970. let that = this;
  971. that.coupon.list[index].isUse = true;
  972. that.$set(that.coupon, 'list', that.coupon.list);
  973. that.$set(that.coupon, 'coupon', false);
  974. },
  975. /**
  976. *
  977. *
  978. * 收藏商品
  979. */
  980. setCollect: function() {
  981. let that = this;
  982. if (this.isLogin === false) {
  983. toLogin();
  984. } else {
  985. if (this.userCollect) {
  986. collectDel(this.productInfo.id).then(res => {
  987. that.$set(that, 'userCollect', !that.userCollect);
  988. })
  989. } else {
  990. collectAdd(this.productInfo.id).then(res => {
  991. that.$set(that, 'userCollect', !that.userCollect);
  992. })
  993. }
  994. }
  995. },
  996. /**
  997. * 打开属性插件
  998. */
  999. selecAttr: function() {
  1000. this.$set(this.attr, 'cartAttr', true);
  1001. this.$set(this, 'isOpen', true);
  1002. },
  1003. /**
  1004. * 打开优惠券插件
  1005. */
  1006. couponTap: function() {
  1007. let that = this;
  1008. if (that.isLogin === false) {
  1009. toLogin();
  1010. } else {
  1011. that.getCouponList(1);
  1012. that.$set(that.coupon, 'coupon', true);
  1013. }
  1014. },
  1015. onMyEvent: function() {
  1016. this.$set(this.attr, 'cartAttr', false);
  1017. this.$set(this, 'isOpen', false);
  1018. },
  1019. /**
  1020. * 打开属性加入购物车
  1021. *
  1022. */
  1023. joinCart: function(e) {
  1024. //是否登录
  1025. if (this.isLogin === false) {
  1026. toLogin();
  1027. } else {
  1028. this.goCat(1);
  1029. }
  1030. },
  1031. /*
  1032. * 加入购物车
  1033. */
  1034. goCat: function(num) {
  1035. let that = this,
  1036. productSelect = that.productValue[this.attrValue];
  1037. //打开属性
  1038. if (that.attrValue) {
  1039. //默认选中了属性,但是没有打开过属性弹窗还是自动打开让用户查看默认选中的属性
  1040. that.attr.cartAttr = !that.isOpen ? true : false;
  1041. } else {
  1042. if (that.isOpen) that.attr.cartAttr = true;
  1043. else that.attr.cartAttr = !that.attr.cartAttr;
  1044. }
  1045. //只有关闭属性弹窗时进行加入购物车
  1046. if (that.attr.cartAttr === true && that.isOpen === false)
  1047. return (that.isOpen = true);
  1048. //如果有属性,没有选择,提示用户选择
  1049. if (
  1050. that.attr.productAttr.length &&
  1051. productSelect.stock === 0 &&
  1052. that.isOpen === true
  1053. )
  1054. return that.$util.Tips({
  1055. title: "产品库存不足,请选择其它"
  1056. });
  1057. if (num === 1) {
  1058. let q = {
  1059. productId: parseFloat(that.id),
  1060. cartNum: parseFloat(that.attr.productSelect.cart_num),
  1061. isNew: false,
  1062. productAttrUnique: that.attr.productSelect !== undefined ?
  1063. that.attr.productSelect.unique : that.productInfo.id
  1064. };
  1065. postCartAdd(q).then(function(res) {
  1066. that.isOpen = false;
  1067. that.attr.cartAttr = false;
  1068. that.$util.Tips({
  1069. title: "添加购物车成功",
  1070. success: () => {
  1071. that.getCartCount(true);
  1072. }
  1073. });
  1074. })
  1075. .catch(res => {
  1076. that.isOpen = false;
  1077. return that.$util.Tips({
  1078. title: res
  1079. });
  1080. });
  1081. } else {
  1082. this.getPreOrder();
  1083. }
  1084. },
  1085. /**
  1086. * 获取购物车数量
  1087. * @param boolean 是否展示购物车动画和重置属性
  1088. */
  1089. getCartCount: function(isAnima) {
  1090. let that = this;
  1091. const isLogin = that.isLogin;
  1092. if (isLogin) {
  1093. getCartCounts(true, 'total').then(res => {
  1094. that.CartCount = res.data.count;
  1095. //加入购物车后重置属性
  1096. if (isAnima) {
  1097. that.animated = true;
  1098. setTimeout(function() {
  1099. that.animated = false;
  1100. }, 500);
  1101. }
  1102. });
  1103. }
  1104. },
  1105. /**
  1106. * 立即购买
  1107. */
  1108. goBuy: function(e) {
  1109. console.log('this.isLogin: ', this.isLogin)
  1110. if (this.isLogin === false) {
  1111. toLogin();
  1112. } else {
  1113. this.goCat(0);
  1114. }
  1115. },
  1116. /**
  1117. * 预下单
  1118. */
  1119. getPreOrder: function() {
  1120. this.$Order.getPreOrder(this.type === 'normal' ? 'buyNow' : 'video', [{
  1121. "attrValueId": parseFloat(this.attr.productSelect.unique),
  1122. "productId": parseFloat(this.id),
  1123. "productNum": parseFloat(this.attr.productSelect.cart_num)
  1124. }]);
  1125. },
  1126. // 授权关闭
  1127. authColse: function(e) {
  1128. this.isShowAuth = e
  1129. },
  1130. /**
  1131. * 分享打开
  1132. *
  1133. */
  1134. listenerActionSheet: function() {
  1135. if (this.isLogin === false) {
  1136. toLogin();
  1137. } else {
  1138. // #ifdef H5
  1139. if (this.$wechat.isWeixin() === true) {
  1140. this.weixinStatus = true;
  1141. }
  1142. // #endif
  1143. this.posters = true;
  1144. }
  1145. },
  1146. closePosters: function() {
  1147. this.posters = false;
  1148. },
  1149. //隐藏海报
  1150. posterImageClose: function() {
  1151. this.canvasStatus = false
  1152. },
  1153. //替换安全域名
  1154. setDomain: function(url) {
  1155. url = url ? url.toString() : '';
  1156. //本地调试打开,生产请注销
  1157. if (url.indexOf("https://") > -1) return url;
  1158. else return url.replace('http://', 'https://');
  1159. },
  1160. //获取海报产品图(解决跨域问题,只适用于小程序)
  1161. downloadFilestoreImage: function() {
  1162. let that = this;
  1163. uni.downloadFile({
  1164. url: that.setDomain(that.productInfo.image),
  1165. success: function(res) {
  1166. that.storeImage = res.tempFilePath;
  1167. },
  1168. fail: function() {
  1169. return that.$util.Tips({
  1170. title: ''
  1171. });
  1172. that.storeImage = '';
  1173. },
  1174. });
  1175. },
  1176. // 小程序关闭分享弹窗;
  1177. goFriend: function() {
  1178. this.posters = false;
  1179. },
  1180. // 小程序二维码
  1181. getQrcode() {
  1182. let that = this;
  1183. let data = {
  1184. pid: that.uid,
  1185. id: that.id,
  1186. path: 'pages/goods_details/index'
  1187. }
  1188. getQrcode(data).then(res => {
  1189. base64src(res.data.code, res => {
  1190. that.PromotionCode = res;
  1191. });
  1192. }).catch(err => {
  1193. that.errT = err;
  1194. });
  1195. },
  1196. // 生成二维码;
  1197. make(uid) {
  1198. let href = location.href.split('?')[0] + "?id=" + this.id + "&spread=" + this.uid;
  1199. uQRCode.make({
  1200. canvasId: 'qrcode',
  1201. text: href,
  1202. size: this.qrcodeSize,
  1203. margin: 10,
  1204. success: res => {
  1205. this.PromotionCode = res;
  1206. },
  1207. complete: () => {},
  1208. fail: res => {
  1209. this.$util.Tips({
  1210. title: '海报二维码生成失败!'
  1211. });
  1212. }
  1213. })
  1214. },
  1215. getImageBase64: function(images) {
  1216. let that = this;
  1217. imageBase64({
  1218. url: images
  1219. }).then(res => {
  1220. that.imgTop = res.data.code;
  1221. })
  1222. },
  1223. /**
  1224. * 获取产品分销二维码
  1225. * @param function successFn 下载完成回调
  1226. *
  1227. */
  1228. downloadFilePromotionCode: function(successFn) {
  1229. let that = this;
  1230. getProductCode(that.id)
  1231. .then(res => {
  1232. uni.downloadFile({
  1233. url: that.setDomain(res.data.code),
  1234. success: function(res) {
  1235. that.$set(that, 'isDown', false);
  1236. if (typeof successFn == 'function') successFn && successFn(res
  1237. .tempFilePath);
  1238. else that.$set(that, 'PromotionCode', res.tempFilePath);
  1239. },
  1240. fail: function() {
  1241. that.$set(that, 'isDown', false);
  1242. that.$set(that, 'PromotionCode', '');
  1243. }
  1244. });
  1245. })
  1246. .catch(err => {
  1247. that.$set(that, 'isDown', false);
  1248. that.$set(that, 'PromotionCode', '');
  1249. });
  1250. },
  1251. /**
  1252. * 生成海报
  1253. */
  1254. goPoster: function() {
  1255. let that = this;
  1256. uni.showLoading({
  1257. title: '海报生成中',
  1258. mask: true
  1259. });
  1260. that.posters = false;
  1261. let arrImagesUrl = '';
  1262. let arrImagesUrlTop = '';
  1263. if (!that.PromotionCode) {
  1264. uni.hideLoading();
  1265. that.$util.Tips({
  1266. title: that.errT
  1267. });
  1268. return
  1269. }
  1270. setTimeout(() => {
  1271. if (!that.imgTop) {
  1272. uni.hideLoading();
  1273. that.$util.Tips({
  1274. title: '无法生成商品海报!'
  1275. });
  1276. return
  1277. }
  1278. }, 1000);
  1279. uni.downloadFile({
  1280. url: that.imgTop, //仅为示例,并非真实的资源
  1281. success: (res) => {
  1282. arrImagesUrlTop = res.tempFilePath;
  1283. let arrImages = [that.posterbackgd, arrImagesUrlTop, that.PromotionCode];
  1284. let storeName = that.productInfo.storeName;
  1285. let price = that.productInfo.price;
  1286. setTimeout(() => {
  1287. that.$util.PosterCanvas(arrImages, storeName, price, that.productInfo
  1288. .otPrice,
  1289. function(tempFilePath) {
  1290. that.imagePath = tempFilePath;
  1291. that.canvasStatus = true;
  1292. uni.hideLoading();
  1293. });
  1294. }, 500);
  1295. }
  1296. });
  1297. },
  1298. /*
  1299. * 保存到手机相册
  1300. */
  1301. // #ifdef MP
  1302. savePosterPath: function() {
  1303. let that = this;
  1304. uni.getSetting({
  1305. success(res) {
  1306. if (!res.authSetting['scope.writePhotosAlbum']) {
  1307. uni.authorize({
  1308. scope: 'scope.writePhotosAlbum',
  1309. success() {
  1310. uni.saveImageToPhotosAlbum({
  1311. filePath: that.imagePath,
  1312. success: function(res) {
  1313. that.posterImageClose();
  1314. that.$util.Tips({
  1315. title: '保存成功',
  1316. icon: 'success'
  1317. });
  1318. },
  1319. fail: function(res) {
  1320. that.$util.Tips({
  1321. title: '保存失败'
  1322. });
  1323. }
  1324. })
  1325. }
  1326. })
  1327. } else {
  1328. uni.saveImageToPhotosAlbum({
  1329. filePath: that.imagePath,
  1330. success: function(res) {
  1331. that.posterImageClose();
  1332. that.$util.Tips({
  1333. title: '保存成功',
  1334. icon: 'success'
  1335. });
  1336. },
  1337. fail: function(res) {
  1338. that.$util.Tips({
  1339. title: '保存失败'
  1340. });
  1341. },
  1342. })
  1343. }
  1344. }
  1345. })
  1346. },
  1347. // #endif
  1348. ShareInfo() {
  1349. let data = this.productInfo;
  1350. let href = location.href;
  1351. if (this.$wechat.isWeixin()) {
  1352. href =
  1353. href.indexOf("?") === -1 ?
  1354. href + "?spread=" + this.uid :
  1355. href + "&spread=" + this.uid;
  1356. let configAppMessage = {
  1357. desc: data.storeInfo,
  1358. title: data.storeName,
  1359. link: href,
  1360. imgUrl: data.image
  1361. };
  1362. this.$wechat.wechatEvevt([
  1363. "updateAppMessageShareData",
  1364. "updateTimelineShareData",
  1365. "onMenuShareAppMessage",
  1366. "onMenuShareTimeline"
  1367. ], configAppMessage).then(res => {
  1368. console.log(res);
  1369. }).catch(err => {
  1370. console.log(err);
  1371. })
  1372. }
  1373. },
  1374. }
  1375. }
  1376. </script>
  1377. <style scoped lang="scss">
  1378. .product-con {
  1379. height: 100%;
  1380. }
  1381. .activityName {
  1382. line-height: 44rpx;
  1383. }
  1384. .userEvaluation {
  1385. i {
  1386. display: inline-block;
  1387. }
  1388. }
  1389. .bntVideo {
  1390. width: auto !important;
  1391. .buy {
  1392. border-radius: 50rpx !important;
  1393. }
  1394. }
  1395. .attribute {
  1396. .line1 {
  1397. width: 600rpx;
  1398. }
  1399. }
  1400. .chat-btn {
  1401. background-color: antiquewhite !important;
  1402. }
  1403. .activity_pin {
  1404. width: auto;
  1405. height: 44rpx;
  1406. line-height: 44rpx;
  1407. background: linear-gradient(90deg, rgba(233, 51, 35, 1) 0%, rgba(250, 101, 20, 1) 100%);
  1408. opacity: 1;
  1409. border-radius: 22rpx;
  1410. padding: 0 15rpx;
  1411. // margin-left: 19rpx;
  1412. }
  1413. .activity_miao {
  1414. width: auto;
  1415. height: 44rpx;
  1416. line-height: 44rpx;
  1417. padding: 0 15rpx;
  1418. background: linear-gradient(90deg, rgba(250, 102, 24, 1) 0%, rgba(254, 161, 15, 1) 100%);
  1419. opacity: 1;
  1420. border-radius: 22rpx;
  1421. margin-left: 19rpx;
  1422. }
  1423. .iconfonts {
  1424. color: #fff !important;
  1425. font-size: 28rpx;
  1426. }
  1427. .activity_title {
  1428. font-size: 24rpx;
  1429. color: #fff;
  1430. }
  1431. .activity_kan {
  1432. width: auto;
  1433. height: 44rpx;
  1434. line-height: 44rpx;
  1435. padding: 0 15rpx;
  1436. background: linear-gradient(90deg, rgba(254, 159, 15, 1) 0%, rgba(254, 178, 15, 1) 100%);
  1437. opacity: 1;
  1438. border-radius: 22rpx;
  1439. margin-left: 19rpx;
  1440. }
  1441. .mask {
  1442. z-index: 300 !important;
  1443. }
  1444. .head-bar {
  1445. background: #fff;
  1446. }
  1447. .generate-posters {
  1448. width: 100%;
  1449. height: 170rpx;
  1450. background-color: #fff;
  1451. position: fixed;
  1452. left: 0;
  1453. bottom: 0;
  1454. z-index: 388;
  1455. transform: translate3d(0, 100%, 0);
  1456. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  1457. border-top: 1rpx solid #eee;
  1458. }
  1459. .generate-posters.on {
  1460. transform: translate3d(0, 0, 0);
  1461. }
  1462. .generate-posters .item {
  1463. flex: 50%;
  1464. text-align: center;
  1465. font-size: 30rpx;
  1466. }
  1467. .generate-posters .item .iconfont {
  1468. font-size: 80rpx;
  1469. color: #5eae72;
  1470. }
  1471. .generate-posters .item .iconfont.icon-haibao {
  1472. color: #5391f1;
  1473. }
  1474. .product-con .mask {
  1475. z-index: 88;
  1476. }
  1477. .product-con .footer {
  1478. padding: 0 20rpx 0 30rpx;
  1479. position: fixed;
  1480. bottom: 0;
  1481. width: 100%;
  1482. box-sizing: border-box;
  1483. height: 100rpx;
  1484. background-color: #fff;
  1485. z-index: 277;
  1486. border-top: 1rpx solid #f0f0f0;
  1487. text-align: center;
  1488. }
  1489. .product-con .footer .item {
  1490. font-size: 18rpx;
  1491. color: #666;
  1492. }
  1493. .product-con .footer .item .iconfont {
  1494. text-align: center;
  1495. font-size: 40rpx;
  1496. }
  1497. .product-con .footer .item .iconfont.icon-shoucang1 {
  1498. color: #f00;
  1499. }
  1500. .product-con .footer .item .iconfont.icon-gouwuche1 {
  1501. font-size: 40rpx;
  1502. position: relative;
  1503. }
  1504. .product-con .footer .item .iconfont.icon-gouwuche1 .num {
  1505. color: #fff;
  1506. position: absolute;
  1507. font-size: 18rpx;
  1508. padding: 2rpx 8rpx 3rpx;
  1509. border-radius: 200rpx;
  1510. top: -10rpx;
  1511. right: -10rpx;
  1512. }
  1513. .product-con .footer .bnt {
  1514. width: 444rpx;
  1515. height: 76rpx;
  1516. }
  1517. .product-con .footer .bnt .bnts {
  1518. width: 222rpx;
  1519. text-align: center;
  1520. line-height: 76rpx;
  1521. color: #fff;
  1522. font-size: 28rpx;
  1523. }
  1524. .product-con .footer .bnt .joinCart {
  1525. border-radius: 50rpx 0 0 50rpx;
  1526. background-image: linear-gradient(to right, #fea10f 0%, #fa8013 100%);
  1527. }
  1528. .product-con .footer .bnt .buy {
  1529. border-radius: 0 50rpx 50rpx 0;
  1530. background-image: linear-gradient(to right, #fa6514 0%, #e93323 100%);
  1531. }
  1532. .product-con .store-info {
  1533. margin-top: 20rpx;
  1534. background-color: #fff;
  1535. }
  1536. .product-con .store-info .title {
  1537. padding: 0 30rpx;
  1538. font-size: 28rpx;
  1539. color: #282828;
  1540. height: 80rpx;
  1541. line-height: 80rpx;
  1542. border-bottom: 1px solid #f5f5f5;
  1543. }
  1544. .product-con .store-info .info {
  1545. padding: 0 30rpx;
  1546. height: 126rpx;
  1547. }
  1548. .product-con .store-info .info .picTxt {
  1549. width: 615rpx;
  1550. }
  1551. .product-con .store-info .info .picTxt .pictrue {
  1552. width: 76rpx;
  1553. height: 76rpx;
  1554. }
  1555. .product-con .store-info .info .picTxt .pictrue image {
  1556. width: 100%;
  1557. height: 100%;
  1558. border-radius: 6rpx;
  1559. }
  1560. .product-con .store-info .info .picTxt .text {
  1561. width: 522rpx;
  1562. }
  1563. .product-con .store-info .info .picTxt .text .name {
  1564. font-size: 30rpx;
  1565. color: #282828;
  1566. }
  1567. .product-con .store-info .info .picTxt .text .address {
  1568. font-size: 24rpx;
  1569. color: #666;
  1570. margin-top: 3rpx;
  1571. }
  1572. .product-con .store-info .info .picTxt .text .address .iconfont {
  1573. color: #707070;
  1574. font-size: 18rpx;
  1575. margin-left: 10rpx;
  1576. }
  1577. .product-con .store-info .info .picTxt .text .address .addressTxt {
  1578. max-width: 480rpx;
  1579. }
  1580. .product-con .store-info .info .iconfont {
  1581. font-size: 40rpx;
  1582. }
  1583. .product-con .superior {
  1584. background-color: #fff;
  1585. margin-top: 30rpx;
  1586. padding: 0 24rpx 30rpx 24rpx;
  1587. }
  1588. .product-con .superior .title {
  1589. height: 98rpx;
  1590. }
  1591. .product-con .superior .title image {
  1592. width: 20rpx;
  1593. height: 20rpx;
  1594. }
  1595. .product-con .superior .title .titleTxt {
  1596. margin: 0 10rpx;
  1597. font-size: 30rpx;
  1598. color: #333333;
  1599. // background-image: linear-gradient(to right, #f57a37 0%, #f21b07 100%);
  1600. // -webkit-background-clip: text;
  1601. // -webkit-text-fill-color: transparent;
  1602. }
  1603. .product-con .superior .slider-banner {
  1604. width: 100%;
  1605. margin: 0 auto;
  1606. position: relative;
  1607. }
  1608. .product-con .superior .slider-banner swiper {
  1609. height: 100%;
  1610. width: 100%;
  1611. }
  1612. .product-con .superior .slider-banner swiper-item {
  1613. height: 100%;
  1614. }
  1615. .product-con .superior .slider-banner .list {
  1616. width: 100%;
  1617. }
  1618. .product-con .superior .slider-banner .list .item {
  1619. width: 198rpx;
  1620. margin: 0 22rpx 30rpx 0;
  1621. font-size: 26rpx;
  1622. }
  1623. .product-con .superior .slider-banner .list .item:nth-of-type(3n) {
  1624. margin-right: 0;
  1625. }
  1626. .product-con .superior .slider-banner .list .item .pictrue {
  1627. position: relative;
  1628. width: 100%;
  1629. height: 198rpx;
  1630. }
  1631. .product-con .superior .slider-banner .list .item .pictrue image {
  1632. width: 100%;
  1633. height: 100%;
  1634. border-radius: 6rpx;
  1635. }
  1636. .product-con .superior .slider-banner .list .item .name {
  1637. color: #282828;
  1638. margin-top: 12rpx;
  1639. }
  1640. .product-con .superior .slider-banner .swiper-pagination-bullet {
  1641. background-color: #999;
  1642. }
  1643. .product-con .superior .slider-banner .swiper-pagination-bullet-active {
  1644. background-color: $theme-color;
  1645. }
  1646. button {
  1647. padding: 0;
  1648. margin: 0;
  1649. line-height: normal;
  1650. background-color: #fff;
  1651. }
  1652. button::after {
  1653. border: 0;
  1654. }
  1655. action-sheet-item {
  1656. padding: 0;
  1657. height: 240rpx;
  1658. align-items: center;
  1659. display: flex;
  1660. }
  1661. .contact {
  1662. font-size: 16px;
  1663. width: 50%;
  1664. background-color: #fff;
  1665. padding: 8rpx 0;
  1666. border-radius: 0;
  1667. margin: 0;
  1668. line-height: 2;
  1669. }
  1670. .contact::after {
  1671. border: none;
  1672. }
  1673. .action-sheet {
  1674. font-size: 17px;
  1675. line-height: 1.8;
  1676. width: 50%;
  1677. position: absolute;
  1678. top: 0;
  1679. right: 0;
  1680. padding: 25rpx 0;
  1681. }
  1682. .canvas {
  1683. position: fixed;
  1684. z-index: -5;
  1685. opacity: 0;
  1686. }
  1687. .poster-pop {
  1688. position: fixed;
  1689. width: 450rpx;
  1690. height: 714rpx;
  1691. top: 50%;
  1692. left: 50%;
  1693. transform: translateX(-50%);
  1694. margin-top: -432rpx;
  1695. z-index: 399;
  1696. }
  1697. .poster-pop image {
  1698. width: 100%;
  1699. height: 100%;
  1700. display: block;
  1701. }
  1702. .poster-pop .close {
  1703. width: 46rpx;
  1704. height: 75rpx;
  1705. position: fixed;
  1706. right: 0;
  1707. top: -73rpx;
  1708. display: block;
  1709. }
  1710. .poster-pop .save-poster {
  1711. background-color: #df2d0a;
  1712. font-size: :22rpx;
  1713. color: #fff;
  1714. text-align: center;
  1715. height: 76rpx;
  1716. line-height: 76rpx;
  1717. width: 100%;
  1718. }
  1719. .poster-pop .keep {
  1720. color: #fff;
  1721. text-align: center;
  1722. font-size: 25rpx;
  1723. margin-top: 10rpx;
  1724. }
  1725. .mask {
  1726. position: fixed;
  1727. top: 0;
  1728. left: 0;
  1729. right: 0;
  1730. bottom: 0;
  1731. background-color: rgba(0, 0, 0, 0.6);
  1732. z-index: 9;
  1733. }
  1734. .pro-wrapper .iconn {
  1735. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAYKElEQVR4nO2deXhTVfrHP0nTlpautHSjZSkt+x42UTYVF5C4gsKIOqOjIxJHZdTfyG+eEZ1xxgVHjeLo6KiIKKsYcAUEBQooASxQKC1QulPolm50S+aPJPXmZm2a3BTo53n6QM49956T+8259yzv+x7ZmC8WcbGjU2migBFAGpAK9AGSgBjzX3dAAYSbT6kBWoA6oNz8VwycAU4BuUCmUquuku5beIZOpXF6XCFRPbyGTqUJAsYCVwCTgTFASjsvYxE6Gkh2UlYBcADYCewB9iu16qb21tmfXBQC61SaeGA2cANwHb8K5GtSzH83mz/X6lSarcCXwCalVn1Wonp4TKcVWKfSRAJzgLuAaUCAXytkIgy4xfzXqlNpfgA+A9Yotepqv9bMAbLO9g7WqTTjgYcxidvdnXNaDK3k1Z4lt6aEorrzFDdUUFpfQXljDfrmehpaGmkxtlLf0ghAqCIYhSyAEEUw4YEhxAZHkBDag6SQHvTqHktaeCJ9w+JRyN3+TdUBa4F3lFr13vZ/a89x9Q7uFALrVBo5plaxGJjkKn9lUy37zmVzqPwkmZWnOVlTQouh1at1UsgD6B+eyIjofozqkcqEuEFEB4W5c2oGsAzYqNSqDV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b3xbRVUIz5LxQIAizbktQDjeZ/y81/xUCe+S8HyFRq1TY7Lnc2XD2i/wckBEniScYuwQAAAABJRU5ErkJggg==');
  1736. width: 100rpx;
  1737. height: 100rpx;
  1738. background-repeat: no-repeat;
  1739. background-size: 100% 100%;
  1740. margin: 0 auto;
  1741. }
  1742. .pro-wrapper .iconn.iconn1 {
  1743. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAR4ElEQVR4nO2deZgU5Z3HP1XVU9zDMYDcIDcaBjJQCsMhDy54crjhTMDEXKtE27gGn8TkiZpo8qgRQyeyq0924wKrgMawEDRuUBFkQBsQgVW5j8EBgeGYGRBqpqv2j6oeaqqqr+nu6eqZ/jxPP1BvvTVVXd9+r9/7e3+vMHLxFbKdoF9uBxQC/YG+QG+gG1BgfloBPqCNeUklUANcBMrNTxlwFDgEHAB2KQH1fMN9i/oR9MtRz/sa6DlSRtAvy8BIYDQwDigCeib4Z8JCtwd6RLlXKbAD2ARsAbYpAVVN9JkzSVYIHPTL1wBTgFuByVwVKN30ND/TzOOqoF9eD6wD1ioB9csGeo56I3i1ig765bbATGAOMAGQMvpATkLA+8AKYJUSUC9k4iFiVdGeEzjol28A7sMQt1U819RocOSczsFynS8u6Jyo0DlZCeWXdCquwFeqTo0Gl6qN/C3zwCdCC1mgjQwdWwl0aQNd8wW6txXoVyDQp72AT4z7sS8CrwEvKgF1a6LfORmyQuCgXxaB6cDDQHGs/Oe+go9KNXaWaew6oXOo3BAwlfhE6FsgUNhVYFhXkRt7ibRvEdelJcBzwGoloKb4qZx4WuCgXxaAu4DHgaHR8u4/o/PuAY2Soxqfn9LR9IZ4wquIAgzuLFDcW2Rif5EBHYVYl+zG+F5/VQJq2p7WswIH/fIE4HfAiEh5Tlfp/M+nGm/v1ThyroEVjUGf9gK3DBKZdp1Ip9ZRxd4O/EQJqBvS8RyeEzjol3sAzwBzI+X5qFRjxU6NzUe0Bi+piSIKMKaPyJz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  1747. height: 40upx;
  1748. border-radius: 10upx 0 12upx 0;
  1749. line-height: 40upx;
  1750. font-size: 24upx;
  1751. }
  1752. .pictrue_log_class {
  1753. z-index: 3;
  1754. background: -webkit-gradient(linear, left top, right top, from(rgba(246, 122, 56, 1)), to(rgba(241, 27, 9, 1)));
  1755. background: linear-gradient(90deg, rgba(246, 122, 56, 1) 0%, rgba(241, 27, 9, 1) 100%);
  1756. opacity: 1;
  1757. position: absolute;
  1758. top: 0;
  1759. left: 0;
  1760. color: #fff;
  1761. text-align: center;
  1762. }
  1763. .navbar .header {
  1764. height: 96rpx;
  1765. font-size: 30rpx;
  1766. color: #050505;
  1767. background-color: #fff;
  1768. /* #ifdef MP */
  1769. padding-right: 95rpx;
  1770. /* #endif */
  1771. }
  1772. .icon-xiangzuo {
  1773. margin-top: var(--status-bar-height);
  1774. /* #ifdef H5 */
  1775. top: 20rpx !important;
  1776. /* #endif */
  1777. }
  1778. .navbar .header .item {
  1779. position: relative;
  1780. margin: 0 25rpx;
  1781. }
  1782. .navbar .header .item.on:before {
  1783. position: absolute;
  1784. width: 60rpx;
  1785. height: 5rpx;
  1786. background-repeat: no-repeat;
  1787. content: "";
  1788. background-image: linear-gradient(to right, #ff3366 0%, #ff6533 100%);
  1789. bottom: -10rpx;
  1790. left: 50%;
  1791. margin-left: -28rpx;
  1792. }
  1793. .navbar {
  1794. position: fixed;
  1795. background-color: #fff;
  1796. top: 0;
  1797. left: 0;
  1798. z-index: 99;
  1799. width: 100%;
  1800. }
  1801. .navbar .navbarH {
  1802. position: relative;
  1803. }
  1804. .navbar .navbarH .navbarCon {
  1805. position: absolute;
  1806. bottom: 0;
  1807. height: 100rpx;
  1808. width: 100%;
  1809. }
  1810. .icon-xiangzuo {
  1811. color: #000;
  1812. position: fixed;
  1813. font-size: 36rpx;
  1814. width: 100rpx;
  1815. height: 56rpx;
  1816. line-height: 54rpx;
  1817. z-index: 1000;
  1818. left: -5rpx;
  1819. }
  1820. .share-box {
  1821. z-index: 1000;
  1822. position: fixed;
  1823. left: 0;
  1824. top: 0;
  1825. width: 100%;
  1826. height: 100%;
  1827. image {
  1828. width: 100%;
  1829. height: 100%;
  1830. }
  1831. }
  1832. </style>