备份.vue 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558
  1. <template>
  2. <view>
  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'>
  6. <view class="header acea-row row-center-wrapper">
  7. <view class="item" :class="navActive === index ? 'on' : ''" v-for="(item,index) in navList" :key='index' @tap="tap(item,index)">
  8. {{ item }}
  9. </view>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class='iconfont icon-xiangzuo' :style="'top:'+navH/2+'rpx'" @tap='returns'></view>
  15. <scroll-view :scroll-top="scrollTop" scroll-y='true' scroll-with-animation="true" :style='"height:"+height+"px;"'
  16. @scroll="scroll">
  17. <view class='product-con'>
  18. <view id="past0">
  19. <productConSwiper :imgUrls="storeInfo.slider_image"></productConSwiper>
  20. <view class='wrapper'>
  21. <view class='share acea-row row-between row-bottom'>
  22. <view class='money font-color'>
  23. <text class='num'>{{storeInfo.price}}</text>
  24. <text class='vip-money' v-if="storeInfo.vip_price && storeInfo.vip_price > 0">¥{{storeInfo.vip_price}}</text>
  25. <image v-if="storeInfo.vip_price && storeInfo.vip_price > 0" src="../../static/images/vip.png"></image>
  26. </view>
  27. <view class='iconfont icon-fenxiang' @click="listenerActionSheet"></view>
  28. </view>
  29. <view class='introduce'>{{storeInfo.store_name}}</view>
  30. <view class='label acea-row row-between-wrapper'>
  31. <view>原价:¥{{storeInfo.ot_price}}</view>
  32. <view>库存:{{storeInfo.stock}}{{storeInfo.unit_name}}</view>
  33. <view>销量:{{storeInfo.fsales}}{{storeInfo.unit_name}}</view>
  34. </view>
  35. <!-- <view class='coupon acea-row row-between-wrapper' v-if="storeInfo.give_integral > 0">
  36. <view class='hide line1 acea-row'>
  37. 赠积分:
  38. <view class='activity'>赠送 {{storeInfo.give_integral}} 积分</view>
  39. </view>
  40. </view> -->
  41. <view class='coupon acea-row row-between-wrapper' @click='couponTap' style="margin-top: 20rpx;">
  42. <view class='hide line1 acea-row'>
  43. 优惠券:
  44. <view class='activity' v-for="(item,index) in couponList" :key="index">满{{item.use_min_price}}减{{item.coupon_price}}</view>
  45. </view>
  46. <view class='iconfont icon-jiantou'></view>
  47. </view>
  48. </view>
  49. <view class='attribute acea-row row-between-wrapper' @click="selecAttr">
  50. <view>{{attrTxt}}:
  51. <text class='atterTxt'>{{attrValue}}</text>
  52. </view>
  53. <view class='iconfont icon-jiantou'></view>
  54. </view>
  55. </view>
  56. <view class='userEvaluation' id="past1">
  57. <view class='title acea-row row-between-wrapper'>
  58. <view>用户评价({{replyCount}})</view>
  59. <navigator class='praise' hover-class='none' :url='"/pages/users/goods_comment_list/index?product_id="+id'>
  60. <text class='font-color'>{{replyChance}}%</text>好评率
  61. <text class='iconfont icon-jiantou'></text>
  62. </navigator>
  63. </view>
  64. <block v-if="replyCount">
  65. <userEvaluation :reply="reply"></userEvaluation>
  66. </block>
  67. </view>
  68. <!-- 优品推荐 -->
  69. <view class="superior" if='good_list.length' id="past2">
  70. <view class="title acea-row row-center-wrapper">
  71. <image src="../../static/images/ling.png"></image>
  72. <view class="titleTxt">优品推荐</view>
  73. <image src="../../static/images/ling.png"></image>
  74. </view>
  75. <view class="slider-banner banner">
  76. <swiper indicator-dots="true" :autoplay="autoplay" :circular="circular" :interval="interval" :duration="duration"
  77. indicator-color="#999" indicator-active-color="#e93323" :style="'height:'+clientHeight+'px'">
  78. <swiper-item v-for="(item,indexw) in good_list" :key="indexw">
  79. <view class="list acea-row row-middle" :id="'list'+indexw">
  80. <view class="item" v-for="(val,indexn) in item.list" :key="indexn" @click="goDetail(val)">
  81. <view class="pictrue">
  82. <image :src="val.image"></image>
  83. <span class="pictrue_log pictrue_log_class" v-if="val.activity && val.activity.type === '1'">秒杀</span>
  84. <span class="pictrue_log pictrue_log_class" v-if="val.activity && val.activity.type === '2'">砍价</span>
  85. <span class="pictrue_log pictrue_log_class" v-if="val.activity && val.activity.type === '3'">拼团</span>
  86. </view>
  87. <view class="name line1">{{val.store_name}}</view>
  88. <view class="money font-color">¥{{val.price}}</view>
  89. </view>
  90. </view>
  91. </swiper-item>
  92. <view class="swiper-pagination" slot="pagination"></view>
  93. </swiper>
  94. </view>
  95. </view>
  96. <view class='product-intro'>
  97. <view class='title'>产品介绍</view>
  98. <rich-text id="past3" :nodes="description" class="conter"></rich-text>
  99. </view>
  100. <view style='height:120rpx;'></view>
  101. <view class='footer acea-row row-between-wrapper'>
  102. <!-- #ifdef MP -->
  103. <button open-type="contact" hover-class='none' class='item'>
  104. <view class='iconfont icon-kefu'></view>
  105. <view>客服</view>
  106. </button>
  107. <!-- #endif -->
  108. <!-- #ifndef MP -->
  109. <navigator hover-class="none" class="item" url="/pages/customer_list/index">
  110. <view class="iconfont icon-kefu"></view>
  111. <view>客服</view>
  112. </navigator>
  113. <!-- #endif -->
  114. <view @click="setCollect" class='item'>
  115. <view class='iconfont icon-shoucang1' v-if="storeInfo.userCollect"></view>
  116. <view class='iconfont icon-shoucang' v-else></view>
  117. <view>收藏</view>
  118. </view>
  119. <navigator open-type='switchTab' class="animated item" :class="animated==true?'bounceIn':''" url='/pages/order_addcart/order_addcart'
  120. hover-class="none">
  121. <view class='iconfont icon-gouwuche1'>
  122. <text class='num bg-color'>{{CartCount || 0}}</text>
  123. </view>
  124. <view>购物车</view>
  125. </navigator>
  126. <view class='bnt acea-row'>
  127. <form @submit="joinCart" report-submit='true'>
  128. <button class='joinCart bnts' form-type="submit">加入购物车</button>
  129. </form>
  130. <form @submit="goBuy" report-submit='true'>
  131. <button class='buy bnts' form-type="submit">立即购买</button>
  132. </form>
  133. </view>
  134. </view>
  135. <shareRedPackets :sharePacket="sharePacket" @listenerActionSheet="listenerActionSheet"></shareRedPackets>
  136. <!-- 组件 -->
  137. <productWindow :attr="attr" @myevent="onMyEvent" @ChangeAttr="ChangeAttr" @ChangeCartNum="ChangeCartNum" @attrVal="attrVal"
  138. id='product-window'></productWindow>
  139. <home></home>
  140. </view>
  141. </scroll-view>
  142. <couponListWindow :coupon='coupon' @ChangCouponsClone="ChangCouponsClone" @ChangCoupons="ChangCoupons"
  143. @ChangCouponsUseState="ChangCouponsUseState"></couponListWindow>
  144. <!-- 分享按钮 -->
  145. <view class="generate-posters acea-row row-middle" :class="posters ? 'on' : ''">
  146. <!-- #ifndef MP -->
  147. <button class="item" hover-class='none' v-if="weixinStatus === true" @click="setShareInfoStatus">
  148. <view class="iconfont icon-weixin3"></view>
  149. <view class="">发送给朋友</view>
  150. </button>
  151. <!-- #endif -->
  152. <!-- #ifdef MP -->
  153. <button class="item" open-type="share" hover-class='none' @click="goFriend">
  154. <view class="iconfont icon-weixin3"></view>
  155. <view class="">发送给朋友</view>
  156. </button>
  157. <!-- #endif -->
  158. <button class="item" hover-class='none' @click="goPoster">
  159. <view class="iconfont icon-haibao"></view>
  160. <view class="">生成海报</view>
  161. </button>
  162. </view>
  163. <view class="mask" v-if="posters" @click="listenerActionClose"></view>
  164. <!-- #ifdef MP -->
  165. <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
  166. <!-- #endif -->
  167. <!-- 海报展示 -->
  168. <view class='poster-pop' v-if="posterImageStatus">
  169. <image src='../../static/images/poster-close.png' class='close' @click="posterImageClose"></image>
  170. <image :src='posterImage'></image>
  171. <!-- #ifndef H5 -->
  172. <view class='save-poster' @click="savePosterPath">保存到手机</view>
  173. <!-- #endif -->
  174. <!-- #ifdef H5 -->
  175. <view class="keep">长按图片可以保存到手机</view>
  176. <!-- #endif -->
  177. </view>
  178. <view class='mask' v-if="posterImageStatus"></view>
  179. <canvas class="canvas" canvas-id='myCanvas' v-if="canvasStatus"></canvas>
  180. </view>
  181. </template>
  182. <script>
  183. import {
  184. getProductDetail,
  185. getProductCode,
  186. collectAdd,
  187. collectDel,
  188. postCartAdd
  189. } from '@/api/store.js';
  190. import {
  191. getUserInfo,
  192. userShare
  193. } from '@/api/user.js';
  194. import {
  195. getCoupons
  196. } from '@/api/api.js';
  197. import {
  198. getCartCounts
  199. } from '@/api/order.js';
  200. import {
  201. toLogin
  202. } from '@/libs/login.js';
  203. import {
  204. mapGetters
  205. } from "vuex";
  206. import {
  207. imageBase64
  208. } from "@/api/public";
  209. import productConSwiper from '@/components/productConSwiper';
  210. import couponListWindow from '@/components/couponListWindow';
  211. import productWindow from '@/components/productWindow';
  212. import userEvaluation from '@/components/userEvaluation';
  213. import shareRedPackets from '@/components/shareRedPackets';
  214. import home from '@/components/home';
  215. // #ifdef MP
  216. import authorize from '@/components/Authorize';
  217. // #endif
  218. let app = getApp();
  219. export default {
  220. components: {
  221. productConSwiper,
  222. couponListWindow,
  223. productWindow,
  224. userEvaluation,
  225. shareRedPackets,
  226. home,
  227. // #ifdef MP
  228. authorize
  229. // #endif
  230. },
  231. data() {
  232. let that = this;
  233. return {
  234. //属性是否打开
  235. coupon: {
  236. 'coupon': false,
  237. list: [],
  238. },
  239. attrTxt: '请选择', //属性页面提示
  240. attrValue: '', //已选属性
  241. animated: false, //购物车动画
  242. id: 0, //商品id
  243. replyCount: 0, //总评论数量
  244. reply: [], //评论列表
  245. storeInfo: {}, //商品详情
  246. productValue: [], //系统属性
  247. couponList: [], //优惠券
  248. cart_num: 1, //购买数量
  249. isAuto: false, //没有授权的不会自动授权
  250. isShowAuth: false, //是否隐藏授权
  251. isOpen: false, //是否打开属性组件
  252. actionSheetHidden: true,
  253. posterImageStatus: false,
  254. storeImage: '', //海报产品图
  255. PromotionCode: '', //二维码图片
  256. canvasStatus: false, //海报绘图标签
  257. posterImage: '', //海报路径
  258. posterbackgd: '/static/images/posterbackgd.png',
  259. sharePacket: {
  260. isState: true, //默认不显示
  261. }, //分销商详细
  262. uid: 0, //用户uid
  263. circular: false,
  264. autoplay: false,
  265. interval: 3000,
  266. duration: 500,
  267. clientHeight: "",
  268. systemStore: {}, //门店信息
  269. good_list: [],
  270. replyChance: 0,
  271. CartCount: 0,
  272. isDown: true,
  273. storeSelfMention: true,
  274. posters: false,
  275. weixinStatus: false,
  276. attr: {
  277. cartAttr: false,
  278. productAttr: [],
  279. productSelect: {}
  280. },
  281. description: '',
  282. navH: '',
  283. navList: ['商品', '评价', '推荐', '详情'],
  284. opacity: 0,
  285. scrollY: 0,
  286. scrollTop: 0,
  287. height: 0,
  288. topArr: [],
  289. navActive: 0,
  290. toView: '',
  291. lock: false,
  292. heightArr: []
  293. };
  294. },
  295. computed: mapGetters(['isLogin']),
  296. onLoad(options) {
  297. let that = this
  298. // #ifdef MP
  299. this.navH = app.globalData.navHeight;
  300. // #endif
  301. // #ifndef MP
  302. this.navH = 96;
  303. // #endif
  304. this.id = options.id;
  305. uni.getSystemInfo({
  306. success: function(res) {
  307. that.height = res.windowHeight
  308. //res.windowHeight:获取整个窗口高度为px,*2为rpx;98为头部占据的高度;
  309. },
  310. });
  311. //扫码携带参数处理
  312. // #ifdef MP
  313. if (options.scene) {
  314. let value = this.$util.getUrlParams(decodeURIComponent(options.scene));
  315. if (value.id) options.id = value.id;
  316. //记录推广人uid
  317. if (value.pid) app.globalData.spid = value.pid;
  318. }
  319. if (!options.id) return this.$util.Tips({
  320. title: '缺少参数无法查看商品'
  321. }, {
  322. tab: 3,
  323. url: 1
  324. });
  325. //记录推广人uid
  326. if (options.spid) app.globalData.spid = options.spid;
  327. // #endif
  328. this.getGoodsDetails();
  329. this.getCouponList();
  330. },
  331. /**
  332. * 用户点击右上角分享
  333. */
  334. // #ifdef MP
  335. onShareAppMessage: function() {
  336. let that = this;
  337. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  338. userShare();
  339. return {
  340. title: that.storeInfo.store_name || '',
  341. imageUrl: that.storeInfo.image || '',
  342. path: '/pages/goods_details/index?id=' + that.id + '&spid=' + that.uid,
  343. }
  344. },
  345. // #endif
  346. methods: {
  347. // 后退
  348. returns: function() {
  349. uni.navigateBack()
  350. },
  351. // 顶部菜单点击
  352. tap: function(item, index) {
  353. var id = item.id;
  354. var index = index;
  355. var that = this;
  356. // if (!this.data.good_list.length && id == "past2") {
  357. // id = "past3"
  358. // }
  359. this.toView = id;
  360. this.navActive = index;
  361. this.lock = true;
  362. this.scrollTop = index > 0 ? that.topArr[index] - (app.globalData.navHeight / 2) : that.topArr[index]
  363. },
  364. // 滚动
  365. scroll: function(e) {
  366. var that = this,
  367. scrollY = e.detail.scrollTop;
  368. var opacity = scrollY / 200;
  369. opacity = opacity > 1 ? 1 : opacity;
  370. that.opacity = opacity
  371. that.scrollY = scrollY
  372. if (that.lock) {
  373. that.lock = false
  374. return;
  375. }
  376. for (var i = 0; i < that.topArr.length; i++) {
  377. if (scrollY < that.topArr[i] - (app.globalData.navHeight / 2) + that.heightArr[i]) {
  378. that.navActive = i
  379. break
  380. }
  381. }
  382. },
  383. /*
  384. *去商品详情页
  385. */
  386. goDetail(item) {
  387. if (item.activity.length == 0) {
  388. uni.redirectTo({
  389. url: '/pages/goods_details/index?id=' + item.id
  390. })
  391. return
  392. }
  393. // 砍价
  394. if (item.activity && item.activity.type == 2) {
  395. uni.redirectTo({
  396. url: `/pages/activity/goods_bargain_details/index?id=${item.activity.id}&bargain=${this.uid}`
  397. })
  398. return
  399. }
  400. // 拼团
  401. if (item.activity && item.activity.type == 3) {
  402. uni.redirectTo({
  403. url: `/pages/activity/goods_combination_details/index?id=${item.activity.id}`
  404. })
  405. return
  406. }
  407. // 秒杀
  408. if (item.activity && item.activity.type == 1) {
  409. uni.redirectTo({
  410. url: `/pages/activity/goods_seckill_details/index?id=${item.activity.id}&time=${item.activity.time}&status=1`
  411. })
  412. return
  413. }
  414. },
  415. // 微信登录回调
  416. onLoadFun: function(e) {
  417. this.getCouponList();
  418. this.getCartCount();
  419. this.downloadFilePromotionCode();
  420. // this.getUserInfo();
  421. // this.get_product_collect();
  422. },
  423. ChangCouponsClone: function() {
  424. this.$set(this.coupon, 'coupon', false)
  425. },
  426. /*
  427. * 获取用户信息
  428. */
  429. getUserInfo: function() {
  430. let that = this;
  431. getUserInfo().then(res => {
  432. that.$set(that.sharePacket, 'isState', that.sharePacket.priceName != 0 ? false : true);
  433. that.$set(that, 'uid', res.data.uid);
  434. });
  435. },
  436. /**
  437. * 购物车数量加和数量减
  438. *
  439. */
  440. ChangeCartNum: function(changeValue) {
  441. //changeValue:是否 加|减
  442. //获取当前变动属性
  443. let productSelect = this.productValue[this.attrValue];
  444. //如果没有属性,赋值给商品默认库存
  445. if (productSelect === undefined && !this.attr.productAttr.length)
  446. productSelect = this.attr.productSelect;
  447. //无属性值即库存为0;不存在加减;
  448. if (productSelect === undefined) return;
  449. let stock = productSelect.stock || 0;
  450. let num = this.attr.productSelect;
  451. if (changeValue) {
  452. num.cart_num++;
  453. if (num.cart_num > stock) {
  454. this.$set(this.attr.productSelect, "cart_num", stock);
  455. this.$set(this, "cart_num", stock);
  456. }
  457. } else {
  458. num.cart_num--;
  459. if (num.cart_num < 1) {
  460. this.$set(this.attr.productSelect, "cart_num", 1);
  461. this.$set(this, "cart_num", 1);
  462. }
  463. }
  464. },
  465. attrVal(val) {
  466. this.attr.productAttr[val.indexw].index = this.attr.productAttr[val.indexw].attr_values[val.indexn];
  467. },
  468. /**
  469. * 属性变动赋值
  470. *
  471. */
  472. ChangeAttr: function(res) {
  473. let productSelect = this.productValue[res];
  474. if (productSelect && productSelect.stock>0) {
  475. this.$set(this.attr.productSelect, "image", productSelect.image);
  476. this.$set(this.attr.productSelect, "price", productSelect.price);
  477. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  478. this.$set(this.attr.productSelect, "unique", productSelect.unique);
  479. this.$set(this.attr.productSelect, "cart_num", 1);
  480. this.$set(this, "attrValue", res);
  481. this.$set(this, "attrTxt", "已选择");
  482. } else {
  483. this.$set(this.attr.productSelect, "image", this.storeInfo.image);
  484. this.$set(this.attr.productSelect, "price", this.storeInfo.price);
  485. this.$set(this.attr.productSelect, "stock", 0);
  486. this.$set(this.attr.productSelect, "unique", "");
  487. this.$set(this.attr.productSelect, "cart_num", 0);
  488. this.$set(this, "attrValue", "");
  489. this.$set(this, "attrTxt", "请选择");
  490. }
  491. },
  492. /**
  493. * 领取完毕移除当前页面领取过的优惠券展示
  494. */
  495. ChangCoupons: function(e) {
  496. let coupon = e;
  497. let couponList = this.$util.ArrayRemove(this.couponList, 'id', coupon.id);
  498. this.$set(this, 'couponList', couponList);
  499. this.getCouponList();
  500. },
  501. setClientHeight: function() {
  502. let that = this;
  503. if (!that.good_list.length) return;
  504. let view = uni.createSelectorQuery().in(this).select("#list0");
  505. view.fields({
  506. size: true,
  507. }, data => {
  508. that.clientHeight = data.height + 20
  509. }).exec();
  510. },
  511. /**
  512. * 获取产品详情
  513. *
  514. */
  515. getGoodsDetails: function() {
  516. let that = this;
  517. getProductDetail(that.id).then(res => {
  518. let storeInfo = res.data.storeInfo;
  519. let good_list = res.data.good_list || [];
  520. let count = Math.ceil(good_list.length / 6);
  521. let goodArray = new Array();
  522. for (let i = 0; i < count; i++) {
  523. let list = good_list.slice(i * 6, i * 6 + 6);
  524. if (list.length) goodArray.push({
  525. list: list
  526. });
  527. }
  528. that.$set(that, 'storeInfo', storeInfo);
  529. that.$set(that, 'description', storeInfo.description);
  530. that.$set(that, 'reply', res.data.reply ? [res.data.reply] : []);
  531. that.$set(that, 'replyCount', res.data.replyCount);
  532. that.$set(that, 'replyChance', res.data.replyChance);
  533. that.$set(that.attr, 'productAttr', res.data.productAttr);
  534. that.$set(that, 'productValue', res.data.productValue);
  535. that.$set(that.sharePacket, 'priceName', res.data.priceName);
  536. that.$set(that, 'systemStore', res.data.system_store);
  537. that.$set(that, 'storeSelfMention', res.data.store_self_mention);
  538. that.$set(that, 'good_list', goodArray);
  539. that.$set(that, 'PromotionCode', storeInfo.code_base);
  540. uni.setNavigationBarTitle({
  541. title: storeInfo.store_name.substring(0, 7) + "..."
  542. })
  543. // #ifdef H5
  544. that.$set(that, 'storeImage', that.storeInfo.image);
  545. that.getImageBase64();
  546. if (that.isLogin) {
  547. that.getCartCount();
  548. };
  549. // #endif
  550. if (that.isLogin) {
  551. that.getUserInfo();
  552. };
  553. this.$nextTick(() => {
  554. if (good_list.length) {
  555. that.setClientHeight();
  556. that.infoScroll();
  557. };
  558. })
  559. // #ifndef H5
  560. that.downloadFilestoreImage();
  561. // #endif
  562. that.DefaultSelect();
  563. }).catch(err => {
  564. //状态异常返回上级页面
  565. return that.$util.Tips({
  566. title: err.toString()
  567. }, {
  568. tab: 3,
  569. url: 1
  570. });
  571. })
  572. },
  573. infoScroll: function() {
  574. var that = this,
  575. topArr = [],
  576. heightArr = [];
  577. for (var i = 0; i < that.navList.length; i++) { //productList
  578. //获取元素所在位置
  579. var query = wx.createSelectorQuery().in(this);
  580. var idView = "#past" + i;
  581. // if (!that.data.good_list.length && i == 2) {
  582. // var idView = "#past" + 3;
  583. // }
  584. query.select(idView).boundingClientRect();
  585. query.exec(function(res) {
  586. if (res[0].id == "past2") {
  587. var top = res[0].top;
  588. var height = res[0].height + that.clientHeight;
  589. } else {
  590. var top = res[0].top;
  591. var height = res[0].height
  592. }
  593. topArr.push(top);
  594. heightArr.push(height);
  595. that.topArr = topArr
  596. that.heightArr = heightArr
  597. });
  598. };
  599. },
  600. /**
  601. * 拨打电话
  602. */
  603. makePhone: function() {
  604. uni.makePhoneCall({
  605. phoneNumber: this.systemStore.phone
  606. })
  607. },
  608. /**
  609. * 打开地图
  610. *
  611. */
  612. showMaoLocation: function() {
  613. if (!this.systemStore.latitude || !this.systemStore.longitude) return this.$util.Tips({
  614. title: '缺少经纬度信息无法查看地图!'
  615. });
  616. uni.openLocation({
  617. latitude: parseFloat(this.systemStore.latitude),
  618. longitude: parseFloat(this.systemStore.longitude),
  619. scale: 8,
  620. name: this.systemStore.name,
  621. address: this.systemStore.address + this.systemStore.detailed_address,
  622. success: function() {},
  623. });
  624. },
  625. /**
  626. * 默认选中属性
  627. *
  628. */
  629. DefaultSelect: function() {
  630. let productAttr = this.attr.productAttr;
  631. let value = [];
  632. for (var key in this.productValue) {
  633. if (this.productValue[key].stock > 0) {
  634. value = this.attr.productAttr.length ? key.split(",") : [];
  635. break;
  636. }
  637. }
  638. for (let i = 0; i < productAttr.length; i++) {
  639. this.$set(productAttr[i], "index", value[i]);
  640. }
  641. //sort();排序函数:数字-英文-汉字;
  642. let productSelect = this.productValue[value.sort().join(",")];
  643. if (productSelect && productAttr.length) {
  644. this.$set(
  645. this.attr.productSelect,
  646. "store_name",
  647. this.storeInfo.store_name
  648. );
  649. this.$set(this.attr.productSelect, "image", productSelect.image);
  650. this.$set(this.attr.productSelect, "price", productSelect.price);
  651. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  652. this.$set(this.attr.productSelect, "unique", productSelect.unique);
  653. this.$set(this.attr.productSelect, "cart_num", 1);
  654. this.$set(this, "attrValue", value.sort().join(","));
  655. this.$set(this, "attrTxt", "已选择");
  656. } else if (!productSelect && productAttr.length) {
  657. this.$set(
  658. this.attr.productSelect,
  659. "store_name",
  660. this.storeInfo.store_name
  661. );
  662. this.$set(this.attr.productSelect, "image", this.storeInfo.image);
  663. this.$set(this.attr.productSelect, "price", this.storeInfo.price);
  664. this.$set(this.attr.productSelect, "stock", 0);
  665. this.$set(this.attr.productSelect, "unique", "");
  666. this.$set(this.attr.productSelect, "cart_num", 0);
  667. this.$set(this, "attrValue", "");
  668. this.$set(this, "attrTxt", "请选择");
  669. } else if (!productSelect && !productAttr.length) {
  670. this.$set(
  671. this.attr.productSelect,
  672. "store_name",
  673. this.storeInfo.store_name
  674. );
  675. this.$set(this.attr.productSelect, "image", this.storeInfo.image);
  676. this.$set(this.attr.productSelect, "price", this.storeInfo.price);
  677. this.$set(this.attr.productSelect, "stock", this.storeInfo.stock);
  678. this.$set(
  679. this.attr.productSelect,
  680. "unique",
  681. this.storeInfo.unique || ""
  682. );
  683. this.$set(this.attr.productSelect, "cart_num", 1);
  684. this.$set(this, "attrValue", "");
  685. this.$set(this, "attrTxt", "请选择");
  686. }
  687. },
  688. /**
  689. * 获取优惠券
  690. *
  691. */
  692. getCouponList() {
  693. let that = this;
  694. getCoupons({
  695. page: 1,
  696. limit: 40
  697. }).then(res => {
  698. that.$set(that.coupon, 'list', res.data);
  699. let couponList = [];
  700. for (let i = 0; i < that.coupon.list.length; i++) {
  701. if (!res.data[i].is_use && couponList.length < 2) couponList.push(res.data[i]);
  702. }
  703. that.$set(that, 'couponList', couponList);
  704. });
  705. },
  706. ChangCouponsUseState(index) {
  707. let that = this;
  708. that.coupon.list[index].is_use = true;
  709. that.$set(that.coupon, 'list', that.coupon.list);
  710. },
  711. /**
  712. *
  713. *
  714. * 收藏商品
  715. */
  716. setCollect: function() {
  717. if (this.isLogin === false) {
  718. // #ifdef H5 || APP-PLUS
  719. toLogin();
  720. // #endif
  721. // #ifdef MP
  722. this.isAuto = true;
  723. this.$set(this, 'isShowAuth', true)
  724. // #endif
  725. } else {
  726. let that = this;
  727. if (this.storeInfo.userCollect) {
  728. collectDel(this.storeInfo.id).then(res => {
  729. that.$set(that.storeInfo, 'userCollect', !that.storeInfo.userCollect);
  730. })
  731. } else {
  732. collectAdd(this.storeInfo.id).then(res => {
  733. that.$set(that.storeInfo, 'userCollect', !that.storeInfo.userCollect);
  734. })
  735. }
  736. }
  737. },
  738. /**
  739. * 打开属性插件
  740. */
  741. selecAttr: function() {
  742. this.$set(this.attr, 'cartAttr', true);
  743. this.$set(this, 'isOpen', true);
  744. },
  745. /**
  746. * 打开优惠券插件
  747. */
  748. couponTap: function() {
  749. let that = this;
  750. if (that.isLogin === false) {
  751. // #ifdef H5 || APP-PLUS
  752. toLogin();
  753. // #endif
  754. // #ifdef MP
  755. that.$set(that, 'isAuto', true);
  756. that.$set(that, 'isShowAuth', true);
  757. // #endif
  758. } else {
  759. that.getCouponList();
  760. that.$set(that.coupon, 'coupon', true);
  761. }
  762. },
  763. onMyEvent: function() {
  764. this.$set(this.attr, 'cartAttr', false);
  765. this.$set(this, 'isOpen', false);
  766. },
  767. /**
  768. * 打开属性加入购物车
  769. *
  770. */
  771. joinCart: function(e) {
  772. //是否登录
  773. if (this.isLogin === false) {
  774. // #ifdef H5 || APP-PLUS
  775. toLogin();
  776. // #endif
  777. // #ifdef MP
  778. this.$set(this, 'isAuto', true);
  779. this.$set(this, 'isShowAuth', true)
  780. // #endif
  781. } else {
  782. this.goCat();
  783. }
  784. },
  785. /*
  786. * 加入购物车
  787. */
  788. goCat: function(news) {
  789. let that = this,
  790. productSelect = that.productValue[this.attrValue];
  791. //打开属性
  792. if (that.attrValue) {
  793. //默认选中了属性,但是没有打开过属性弹窗还是自动打开让用户查看默认选中的属性
  794. that.attr.cartAttr = !that.isOpen ? true : false;
  795. } else {
  796. if (that.isOpen) that.attr.cartAttr = true;
  797. else that.attr.cartAttr = !that.attr.cartAttr;
  798. }
  799. //只有关闭属性弹窗时进行加入购物车
  800. if (that.attr.cartAttr === true && that.isOpen === false)
  801. return (that.isOpen = true);
  802. //如果有属性,没有选择,提示用户选择
  803. if (
  804. that.attr.productAttr.length &&
  805. productSelect === undefined &&
  806. that.isOpen === true
  807. )
  808. return that.$util.Tips({
  809. title: "产品库存不足,请选择其它"
  810. });
  811. let q = {
  812. productId: that.id,
  813. cartNum: that.attr.productSelect.cart_num,
  814. new: news === undefined ? 0 : 1,
  815. uniqueId: that.attr.productSelect !== undefined ?
  816. that.attr.productSelect.unique : ""
  817. };
  818. postCartAdd(q)
  819. .then(function(res) {
  820. that.isOpen = false;
  821. that.attr.cartAttr = false;
  822. if (news) {
  823. uni.navigateTo({
  824. url: '/pages/users/order_confirm/index?cartId=' + res.data.cartId
  825. });
  826. } else {
  827. that.$util.Tips({
  828. title: "添加购物车成功",
  829. success: () => {
  830. that.getCartCount(true);
  831. }
  832. });
  833. }
  834. })
  835. .catch(res => {
  836. that.isOpen = false;
  837. return that.$util.Tips({
  838. title: res.msg
  839. });
  840. });
  841. },
  842. /**
  843. * 获取购物车数量
  844. * @param boolean 是否展示购物车动画和重置属性
  845. */
  846. getCartCount: function(isAnima) {
  847. let that = this;
  848. const isLogin = that.isLogin;
  849. if (isLogin) {
  850. getCartCounts({
  851. numType: 0
  852. }).then(res => {
  853. that.CartCount = res.data.count;
  854. //加入购物车后重置属性
  855. if (isAnima) {
  856. that.animated = true;
  857. setTimeout(function() {
  858. that.animated = false;
  859. }, 500);
  860. }
  861. });
  862. }
  863. },
  864. /**
  865. * 立即购买
  866. */
  867. goBuy: function(e) {
  868. if (this.isLogin === false) {
  869. // #ifdef H5 || APP-PLUS
  870. toLogin();
  871. // #endif
  872. // #ifdef MP
  873. this.$set(this, 'isAuto', true);
  874. this.$set(this, 'isShowAuth', true);
  875. // #endif
  876. } else {
  877. this.goCat(true);
  878. }
  879. },
  880. // 授权关闭
  881. authColse: function(e) {
  882. console.log(e,'eeeee')
  883. this.isShowAuth = e
  884. },
  885. /**
  886. * 分享打开
  887. *
  888. */
  889. listenerActionSheet: function() {
  890. if (this.isLogin === false) {
  891. // #ifdef H5 || APP-PLUS
  892. toLogin();
  893. // #endif
  894. // #ifdef MP
  895. this.$set(this, 'isAuto', true);
  896. this.$set(this, 'isShowAuth', true);
  897. // #endif
  898. } else {
  899. // #ifdef H5
  900. if (this.$wechat.isWeixin() === true) {
  901. this.weixinStatus = true;
  902. }
  903. // #endif
  904. this.posters = true;
  905. }
  906. },
  907. // 分享关闭
  908. listenerActionClose: function() {
  909. this.posters = false;
  910. },
  911. //隐藏海报
  912. posterImageClose: function() {
  913. this.posterImageStatus = false
  914. },
  915. //替换安全域名
  916. setDomain: function(url) {
  917. url = url ? url.toString() : '';
  918. //本地调试打开,生产请注销
  919. if (url.indexOf("https://") > -1) return url;
  920. else return url.replace('http://', 'https://');
  921. },
  922. //获取海报产品图
  923. downloadFilestoreImage: function() {
  924. let that = this;
  925. uni.downloadFile({
  926. url: that.setDomain(that.storeInfo.image),
  927. success: function(res) {
  928. that.storeImage = res.tempFilePath;
  929. },
  930. fail: function() {
  931. return that.$util.Tips({
  932. title: ''
  933. });
  934. that.storeImage = '';
  935. },
  936. });
  937. },
  938. /**
  939. * 获取产品分销二维码
  940. * @param function successFn 下载完成回调
  941. *
  942. */
  943. downloadFilePromotionCode: function(successFn) {
  944. let that = this;
  945. getProductCode(that.id).then(res => {
  946. uni.downloadFile({
  947. url: that.setDomain(res.data.code),
  948. success: function(res) {
  949. that.$set(that, 'isDown', false);
  950. if (typeof successFn == 'function')
  951. successFn && successFn(res.tempFilePath);
  952. else
  953. that.$set(that, 'PromotionCode', res.tempFilePath);
  954. },
  955. fail: function() {
  956. that.$set(that, 'isDown', false);
  957. that.$set(that, 'PromotionCode', '');
  958. },
  959. });
  960. }).catch(err => {
  961. that.$set(that, 'isDown', false);
  962. that.$set(that, 'PromotionCode', '');
  963. });
  964. },
  965. getImageBase64: function() {
  966. let that = this;
  967. imageBase64(that.storeImage, that.PromotionCode)
  968. .then(res => {
  969. that.storeImage = res.data.image;
  970. that.PromotionCode = res.data.code;
  971. })
  972. .catch(() => {});
  973. },
  974. // 小程序关闭分享弹窗;
  975. goFriend: function() {
  976. this.posters = false;
  977. },
  978. /**
  979. * 生成海报
  980. */
  981. goPoster: function() {
  982. let that = this;
  983. that.posters = false;
  984. that.$set(that, 'canvasStatus', true);
  985. let arr2 = [that.posterbackgd, that.storeImage, that.PromotionCode];
  986. // #ifndef H5
  987. if (that.isDown) return that.$util.Tips({
  988. title: '正在下载海报,请稍后再试!'
  989. });
  990. // #endif
  991. uni.getImageInfo({
  992. src: that.PromotionCode,
  993. fail: function(res) {
  994. return that.$util.Tips({
  995. title: '小程序二维码需要发布正式版后才能获取到'
  996. });
  997. },
  998. success() {
  999. if (arr2[2] == '') {
  1000. //海报二维码不存在则从新下载
  1001. // #ifndef H5
  1002. that.downloadFilePromotionCode(function(msgPromotionCode) {
  1003. arr2[2] = msgPromotionCode;
  1004. if (arr2[2] == '')
  1005. return that.$util.Tips({
  1006. title: '海报二维码生成失败!'
  1007. });
  1008. that.$util.PosterCanvas(arr2, that.storeInfo.store_name, that.storeInfo.price, function(tempFilePath) {
  1009. that.$set(that, 'posterImage', tempFilePath);
  1010. that.$set(that, 'posterImageStatus', true);
  1011. that.$set(that, 'canvasStatus', false);
  1012. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  1013. });
  1014. });
  1015. // #endif
  1016. // #ifdef H5
  1017. that.$util.PosterCanvas(arr2, that.storeInfo.store_name, that.storeInfo.price, function(tempFilePath) {
  1018. that.$set(that, 'posterImage', tempFilePath);
  1019. that.$set(that, 'posterImageStatus', true);
  1020. that.$set(that, 'canvasStatus', false);
  1021. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  1022. });
  1023. // #endif
  1024. } else {
  1025. //生成推广海报
  1026. that.$util.PosterCanvas(arr2, that.storeInfo.store_name, that.storeInfo.price, function(tempFilePath) {
  1027. that.$set(that, 'posterImage', tempFilePath);
  1028. that.$set(that, 'posterImageStatus', true);
  1029. that.$set(that, 'canvasStatus', false);
  1030. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  1031. });
  1032. }
  1033. },
  1034. });
  1035. },
  1036. /*
  1037. * 保存到手机相册
  1038. */
  1039. // #ifdef MP
  1040. savePosterPath: function() {
  1041. let that = this;
  1042. uni.getSetting({
  1043. success(res) {
  1044. if (!res.authSetting['scope.writePhotosAlbum']) {
  1045. uni.authorize({
  1046. scope: 'scope.writePhotosAlbum',
  1047. success() {
  1048. uni.saveImageToPhotosAlbum({
  1049. filePath: that.posterImage,
  1050. success: function(res) {
  1051. that.posterImageClose();
  1052. that.$util.Tips({
  1053. title: '保存成功',
  1054. icon: 'success'
  1055. });
  1056. },
  1057. fail: function(res) {
  1058. that.$util.Tips({
  1059. title: '保存失败'
  1060. });
  1061. }
  1062. })
  1063. }
  1064. })
  1065. } else {
  1066. uni.saveImageToPhotosAlbum({
  1067. filePath: that.posterImage,
  1068. success: function(res) {
  1069. that.posterImageClose();
  1070. that.$util.Tips({
  1071. title: '保存成功',
  1072. icon: 'success'
  1073. });
  1074. },
  1075. fail: function(res) {
  1076. that.$util.Tips({
  1077. title: '保存失败'
  1078. });
  1079. },
  1080. })
  1081. }
  1082. }
  1083. })
  1084. },
  1085. // #endif
  1086. setShareInfoStatus: function() {
  1087. let data = this.storeInfo;
  1088. let href = location.href;
  1089. if (this.$wechat.isWeixin()) {
  1090. getUserInfo().then(res => {
  1091. href =
  1092. href.indexOf("?") === -1 ?
  1093. href + "?spread=" + res.data.uid :
  1094. href + "&spread=" + res.data.uid;
  1095. let configAppMessage = {
  1096. desc: data.store_info,
  1097. title: data.store_name,
  1098. link: href,
  1099. imgUrl: data.image
  1100. };
  1101. this.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"], configAppMessage)
  1102. });
  1103. }
  1104. },
  1105. }
  1106. }
  1107. </script>
  1108. <style scoped lang="scss">
  1109. .head-bar {
  1110. background: #fff;
  1111. }
  1112. .generate-posters {
  1113. width: 100%;
  1114. height: 170rpx;
  1115. background-color: #fff;
  1116. position: fixed;
  1117. left: 0;
  1118. bottom: 0;
  1119. z-index: 288;
  1120. transform: translate3d(0, 100%, 0);
  1121. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  1122. border-top: 1rpx solid #eee;
  1123. }
  1124. .generate-posters.on {
  1125. transform: translate3d(0, 0, 0);
  1126. }
  1127. .generate-posters .item {
  1128. flex: 50%;
  1129. text-align: center;
  1130. font-size: 30rpx;
  1131. }
  1132. .generate-posters .item .iconfont {
  1133. font-size: 80rpx;
  1134. color: #5eae72;
  1135. }
  1136. .generate-posters .item .iconfont.icon-haibao {
  1137. color: #5391f1;
  1138. }
  1139. .product-con .mask {
  1140. z-index: 88;
  1141. }
  1142. .product-con .footer {
  1143. padding: 0 20rpx 0 30rpx;
  1144. position: fixed;
  1145. bottom: 0;
  1146. width: 100%;
  1147. box-sizing: border-box;
  1148. height: 100rpx;
  1149. background-color: #fff;
  1150. z-index: 277;
  1151. border-top: 1rpx solid #f0f0f0;
  1152. }
  1153. .product-con .footer .item {
  1154. font-size: 18rpx;
  1155. color: #666;
  1156. }
  1157. .product-con .footer .item .iconfont {
  1158. text-align: center;
  1159. font-size: 40rpx;
  1160. }
  1161. .product-con .footer .item .iconfont.icon-shoucang1 {
  1162. color: #f00;
  1163. }
  1164. .product-con .footer .item .iconfont.icon-gouwuche1 {
  1165. font-size: 40rpx;
  1166. position: relative;
  1167. }
  1168. .product-con .footer .item .iconfont.icon-gouwuche1 .num {
  1169. color: #fff;
  1170. position: absolute;
  1171. font-size: 18rpx;
  1172. padding: 2rpx 8rpx 3rpx;
  1173. border-radius: 200rpx;
  1174. top: -10rpx;
  1175. right: -10rpx;
  1176. }
  1177. .product-con .footer .bnt {
  1178. width: 444rpx;
  1179. height: 76rpx;
  1180. }
  1181. .product-con .footer .bnt .bnts {
  1182. width: 222rpx;
  1183. text-align: center;
  1184. line-height: 76rpx;
  1185. color: #fff;
  1186. font-size: 28rpx;
  1187. }
  1188. .product-con .footer .bnt .joinCart {
  1189. border-radius: 50rpx 0 0 50rpx;
  1190. background-image: linear-gradient(to right, #fea10f 0%, #fa8013 100%);
  1191. }
  1192. .product-con .footer .bnt .buy {
  1193. border-radius: 0 50rpx 50rpx 0;
  1194. background-image: linear-gradient(to right, #fa6514 0%, #e93323 100%);
  1195. }
  1196. .product-con .store-info {
  1197. margin-top: 20rpx;
  1198. background-color: #fff;
  1199. }
  1200. .product-con .store-info .title {
  1201. padding: 0 30rpx;
  1202. font-size: 28rpx;
  1203. color: #282828;
  1204. height: 80rpx;
  1205. line-height: 80rpx;
  1206. border-bottom: 1px solid #f5f5f5;
  1207. }
  1208. .product-con .store-info .info {
  1209. padding: 0 30rpx;
  1210. height: 126rpx;
  1211. }
  1212. .product-con .store-info .info .picTxt {
  1213. width: 615rpx;
  1214. }
  1215. .product-con .store-info .info .picTxt .pictrue {
  1216. width: 76rpx;
  1217. height: 76rpx;
  1218. }
  1219. .product-con .store-info .info .picTxt .pictrue image {
  1220. width: 100%;
  1221. height: 100%;
  1222. border-radius: 6rpx;
  1223. }
  1224. .product-con .store-info .info .picTxt .text {
  1225. width: 522rpx;
  1226. }
  1227. .product-con .store-info .info .picTxt .text .name {
  1228. font-size: 30rpx;
  1229. color: #282828;
  1230. }
  1231. .product-con .store-info .info .picTxt .text .address {
  1232. font-size: 24rpx;
  1233. color: #666;
  1234. margin-top: 3rpx;
  1235. }
  1236. .product-con .store-info .info .picTxt .text .address .iconfont {
  1237. color: #707070;
  1238. font-size: 18rpx;
  1239. margin-left: 10rpx;
  1240. }
  1241. .product-con .store-info .info .picTxt .text .address .addressTxt {
  1242. max-width: 480rpx;
  1243. }
  1244. .product-con .store-info .info .iconfont {
  1245. font-size: 40rpx;
  1246. }
  1247. .product-con .superior {
  1248. background-color: #fff;
  1249. margin-top: 20rpx;
  1250. padding-bottom: 10rpx;
  1251. }
  1252. .product-con .superior .title {
  1253. height: 98rpx;
  1254. }
  1255. .product-con .superior .title image {
  1256. width: 30rpx;
  1257. height: 30rpx;
  1258. }
  1259. .product-con .superior .title .titleTxt {
  1260. margin: 0 20rpx;
  1261. font-size: 30rpx;
  1262. background-image: linear-gradient(to right, #f57a37 0%, #f21b07 100%);
  1263. -webkit-background-clip: text;
  1264. -webkit-text-fill-color: transparent;
  1265. }
  1266. .product-con .superior .slider-banner {
  1267. width: 690rpx;
  1268. margin: 0 auto;
  1269. position: relative;
  1270. }
  1271. .product-con .superior .slider-banner swiper {
  1272. height: 100%;
  1273. width: 100%;
  1274. }
  1275. .product-con .superior .slider-banner swiper-item {
  1276. height: 100%;
  1277. }
  1278. .product-con .superior .slider-banner .list {
  1279. width: 100%;
  1280. }
  1281. .product-con .superior .slider-banner .list .item {
  1282. width: 215rpx;
  1283. margin: 0 22rpx 30rpx 0;
  1284. font-size: 26rpx;
  1285. }
  1286. .product-con .superior .slider-banner .list .item:nth-of-type(3n) {
  1287. margin-right: 0;
  1288. }
  1289. .product-con .superior .slider-banner .list .item .pictrue {
  1290. position: relative;
  1291. width: 100%;
  1292. height: 215rpx;
  1293. }
  1294. .product-con .superior .slider-banner .list .item .pictrue image {
  1295. width: 100%;
  1296. height: 100%;
  1297. border-radius: 6rpx;
  1298. }
  1299. .product-con .superior .slider-banner .list .item .name {
  1300. color: #282828;
  1301. margin-top: 12rpx;
  1302. }
  1303. .product-con .superior .slider-banner .swiper-pagination-bullet {
  1304. background-color: #999;
  1305. }
  1306. .product-con .superior .slider-banner .swiper-pagination-bullet-active {
  1307. background-color: #e93323;
  1308. }
  1309. button {
  1310. padding: 0;
  1311. margin: 0;
  1312. line-height: normal;
  1313. background-color: #fff;
  1314. }
  1315. button::after {
  1316. border: 0;
  1317. }
  1318. action-sheet-item {
  1319. padding: 0;
  1320. height: 240rpx;
  1321. align-items: center;
  1322. display: flex;
  1323. }
  1324. .contact {
  1325. font-size: 16px;
  1326. width: 50%;
  1327. background-color: #fff;
  1328. padding: 8rpx 0;
  1329. border-radius: 0;
  1330. margin: 0;
  1331. line-height: 2;
  1332. }
  1333. .contact::after {
  1334. border: none;
  1335. }
  1336. .action-sheet {
  1337. font-size: 17px;
  1338. line-height: 1.8;
  1339. width: 50%;
  1340. position: absolute;
  1341. top: 0;
  1342. right: 0;
  1343. padding: 25rpx 0;
  1344. }
  1345. .canvas {
  1346. width: 750px;
  1347. height: 1298px;
  1348. }
  1349. .poster-pop {
  1350. width: 450rpx;
  1351. height: 714rpx;
  1352. position: fixed;
  1353. left: 50%;
  1354. transform: translateX(-50%);
  1355. z-index: 99;
  1356. top: 50%;
  1357. margin-top: -357rpx;
  1358. }
  1359. .poster-pop image {
  1360. width: 100%;
  1361. height: 100%;
  1362. display: block;
  1363. }
  1364. .poster-pop .close {
  1365. width: 46rpx;
  1366. height: 75rpx;
  1367. position: fixed;
  1368. right: 0;
  1369. top: -73rpx;
  1370. display: block;
  1371. }
  1372. .poster-pop .save-poster {
  1373. background-color: #df2d0a;
  1374. font-size: :22rpx;
  1375. color: #fff;
  1376. text-align: center;
  1377. height: 76rpx;
  1378. line-height: 76rpx;
  1379. width: 100%;
  1380. }
  1381. .poster-pop .keep {
  1382. color: #fff;
  1383. text-align: center;
  1384. font-size: 25rpx;
  1385. margin-top: 10rpx;
  1386. }
  1387. .mask {
  1388. position: fixed;
  1389. top: 0;
  1390. left: 0;
  1391. right: 0;
  1392. bottom: 0;
  1393. background-color: rgba(0, 0, 0, 0.6);
  1394. z-index: 9;
  1395. }
  1396. .pro-wrapper .iconn {
  1397. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAYKElEQVR4nO2deXhTVfrHP0nTlpautHSjZSkt+x42UTYVF5C4gsKIOqOjIxJHZdTfyG+eEZ1xxgVHjeLo6KiIKKsYcAUEBQooASxQKC1QulPolm50S+aPJPXmZm2a3BTo53n6QM49956T+8259yzv+x7ZmC8WcbGjU2migBFAGpAK9AGSgBj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IM6u7qQrcUH2V2WxYnqIkm3oAfTGHZAZC+uih/KNYmj3Jm4OQI8C2ww25j7hE4tsAXz+/kWTGagLheVyxv1/HzuBAcrTnG48jQna0q8HltTIQ+gf3giw6P7MapHKuN7DnC477CIDExPpo3ees8646IQWIhOpZkIPIRpbtutSewWQyuna0s5WVNKUd15iuvLKWmopLxRT01zAw0tjTQbWto21QgJCCJQriBEEUx4YAgxwREkhESRFBpLcvdY+ocn0C8sQRz70Rn1wBrgHbP7rWRcdAJb0Kk0kZhEnodp+tPtuy0RrZi8Cj4F1ii1ammCQotwJbDrXSv8hPmG/Qf4j06liQdmAzcA12FnmCURtcBWTHGoNim1aum2S/eQTiuwEPONfA94T6fSBAFjgSswTYeOQRAp18sUYOoF78TkQb9fqVU3OT+lc9FpH9HtQafSRAMjgHRMW9b3xbRVUIz5LxQIAizbktQDjeZ/y81/xUCe+S8HyFRq1TY7Lnc2XD2i/wckBEniScYuwQAAAABJRU5ErkJggg==');
  1398. width: 100rpx;
  1399. height: 100rpx;
  1400. background-repeat: no-repeat;
  1401. background-size: 100% 100%;
  1402. margin: 0 auto;
  1403. }
  1404. .pro-wrapper .iconn.iconn1 {
  1405. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAR4ElEQVR4nO2deZgU5Z3HP1XVU9zDMYDcIDcaBjJQCsMhDy54crjhTMDEXKtE27gGn8TkiZpo8qgRQyeyq0924wKrgMawEDRuUBFkQBsQgVW5j8EBgeGYGRBqpqv2j6oeaqqqr+nu6eqZ/jxPP1BvvTVVXd9+r9/7e3+vMHLxFbKdoF9uBxQC/YG+QG+gG1BgfloBPqCNeUklUANcBMrNTxlwFDgEHAB2KQH1fMN9i/oR9MtRz/sa6DlSRtAvy8BIYDQwDigCeib4Z8JCtwd6RLlXKbAD2ARsAbYpAVVN9JkzSVYIHPTL1wBTgFuByVwVKN30ND/TzOOqoF9eD6wD1ioB9csGeo56I3i1ig765bbATGAOM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OJ2Uau07qHCp3bI6cND4R+hYIFHYRGNZNROnpCFUUiRKMmml1qtrZaGSFwFaCfnkU8C8Ytu2W8VxTo8HhszqHzup8cUGnrELnZCWUX9SpVOErVadag6/MfYVa5EGeCC1kgTYyFLQSuKa1EUq5R1uBvh0Eru2QUFDWS8Aq4EVz+W2DkXUChwn65bYYIs/FMH96bf4xhLGq4FVglRJQL8TInxayVmArQb98DTAFuBWYjMswq4GoAtZjxKFaqwTUL2PkTzuNQmArQb8sAyOB0Rjm0CKgZ5puV4rRC96EsYJ+mxJQPbX5X6MT2I2gX24PFAIDMLas7wN0AwrMT0tABlqZl1wCrpj/lpufMuCI+dkP7FIC6rmG+Qb1J5bA/w8QrL/zy2ZeXQAAAABJRU5ErkJggg==');
  1406. }
  1407. .pictrue_log {
  1408. width: 80upx;
  1409. height: 40upx;
  1410. border-radius: 6upx 0 12upx 0;
  1411. line-height: 40upx;
  1412. font-size: 24upx;
  1413. }
  1414. .pictrue_log_class {
  1415. z-index: 3;
  1416. background: -webkit-gradient(linear, left top, right top, from(rgba(246, 122, 56, 1)), to(rgba(241, 27, 9, 1)));
  1417. background: linear-gradient(90deg, rgba(246, 122, 56, 1) 0%, rgba(241, 27, 9, 1) 100%);
  1418. opacity: 1;
  1419. position: absolute;
  1420. top: 0;
  1421. left: 0;
  1422. color: #fff;
  1423. text-align: center;
  1424. }
  1425. .navbar .header {
  1426. height: 96rpx;
  1427. font-size: 30rpx;
  1428. color: #050505;
  1429. background-color: #fff;
  1430. /* #ifdef MP */
  1431. padding-right: 95rpx;
  1432. /* #endif */
  1433. }
  1434. .icon-xiangzuo {
  1435. /* #ifdef H5 */
  1436. top: 30rpx !important;
  1437. /* #endif */
  1438. }
  1439. .navbar .header .item {
  1440. position: relative;
  1441. margin: 0 25rpx;
  1442. }
  1443. .navbar .header .item.on:before {
  1444. position: absolute;
  1445. width: 60rpx;
  1446. height: 5rpx;
  1447. background-repeat: no-repeat;
  1448. content: "";
  1449. background-image: linear-gradient(to right, #ff3366 0%, #ff6533 100%);
  1450. bottom: -10rpx;
  1451. left: 50%;
  1452. margin-left: -28rpx;
  1453. }
  1454. .navbar {
  1455. position: fixed;
  1456. background-color: #fff;
  1457. top: 0;
  1458. left: 0;
  1459. z-index: 999;
  1460. width: 100%;
  1461. }
  1462. .navbar .navbarH {
  1463. position: relative;
  1464. }
  1465. .navbar .navbarH .navbarCon {
  1466. position: absolute;
  1467. bottom: 0;
  1468. height: 100rpx;
  1469. width: 100%;
  1470. }
  1471. .icon-xiangzuo {
  1472. color: #000;
  1473. position: fixed;
  1474. font-size: 40rpx;
  1475. width: 100rpx;
  1476. height: 56rpx;
  1477. line-height: 54rpx;
  1478. z-index: 1000;
  1479. left: 33rpx;
  1480. }
  1481. </style>