123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064 |
- <template>
- <view :style="colorStyle">
- <skeleton :show="showSkeleton" :isNodes="isNodes" ref="skeleton" loading="chiaroscuro" selector="skeleton"
- bgcolor="#FFF"></skeleton>
-
-
- <view class="navbar" :style="{ height: navH + 'rpx', opacity: opacity, paddingTop: sysHeight + 'px;' }">
-
-
- <view class="navbar" :style="{ height: navH + 'rpx', opacity: opacity }">
-
- <view class='navbarH' :style='"height:"+navH+"rpx;"'>
- <view class='navbarCon acea-row row-center-wrapper'>
- <view class="header acea-row row-center-wrapper">
- <view class="item" :class="navActive === index ? 'on' : ''" v-for="(item,index) in navList"
- :key='index' @tap="tap(item,index)">
- {{ item }}
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view id="home" class="home-nav acea-row row-center-wrapper" :class="[opacity>0.5?'on':'']"
- :style="{ top:(navH/2)+'rpx' ,marginTop:sysHeight + 'px;'}">
-
-
- <view id="home" class="home-nav acea-row row-center-wrapper" :class="[opacity>0.5?'on':'']"
- :style="{ top: (sysHeight+7.5) +'px'}">
-
- <view class="iconfont icon-fanhui2" @tap="returns"></view>
-
- <view class="line"></view>
- <view class="iconfont icon-gengduo5" @click="moreNav"></view>
-
- </view>
-
-
-
- <view id="home" class="home-nav right acea-row row-center-wrapper" :class="[opacity>0.5?'on':'']"
- :style="{ top:(navH/2)+'rpx' ,marginTop:sysHeight + 'px;'}">
-
-
- <view id="home" class="home-nav right acea-row row-center-wrapper" :class="[opacity>0.5?'on':'']"
- :style="{ top: homeTop +'rpx'}">
-
-
- <view class="iconfont icon-gengduo2" @click="moreNav"></view>
- </view>
-
-
- <homeList :navH="96" :returnShow="returnShow" :currentPage="currentPage" :sysHeight="sysHeight"></homeList>
-
- <view class='product-con skeleton' :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
- <scroll-view :scroll-top="scrollTop" scroll-y='true' scroll-with-animation="true"
- :style="'height:'+height+'px;'" @scroll="scroll">
- <view id="past0">
-
- <view class="" :style="'width:100%;' + 'height:'+sysHeight+'px;'"></view>
-
- <productConSwiper class="skeleton-rect" :imgUrls="imgUrls"></productConSwiper>
- <view class='wrapper'>
- <view class='share acea-row row-between row-bottom'>
- <view class='money font-color skeleton-rect'>
- ¥<text class='num'>{{storeInfo.price || 0}}</text>
- <text
- v-if="attribute.productAttr.length && (attribute.productAttr.length?attribute.productAttr[0].attr_values.length:0) > 1">起</text>
- <text class='y-money'>¥{{storeInfo.product_price || 0}}</text>
- </view>
- <view class='iconfont icon-fenxiang skeleton-rect' @click="listenerActionSheet" v-if="base64Show"></view>
- </view>
- <view class="introduce skeleton-rect">
- <span class='labelN' v-if="storeInfo.brand_name && storeInfo.brand_name.trim()">{{storeInfo.brand_name}}</span>
- {{storeInfo.title}}
- </view>
- <view class='label acea-row row-between-wrapper skeleton-rect'>
- <view class='stock'>类型:{{storeInfo.people || 0}}人团</view>
- <view>累计销量:{{storeInfo.total?storeInfo.total:0}} {{storeInfo.unit_name || ''}}</view>
- <view>限购: {{ storeInfo.quota_show ? storeInfo.quota_show : 0 }}
- {{storeInfo.unit_name || ''}}
- </view>
- </view>
- </view>
- <view class='attribute skeleton-rect'>
- <view v-if='attribute.productAttr.length' @tap='selecAttr' class="attrInfo">
- <view class="acea-row row-between-wrapper">
- <view class="attrValue line1">{{attr}}:<text class='atterTxt'>{{attrValue}}</text></view>
- <view class='iconfont icon-jiantou'></view>
- </view>
- <view class="acea-row row-between-wrapper ml10" v-if="skuArr.length > 1">
- <view class="flex">
- <image :src="item.image" v-for="(item,index) in skuArr.slice(0,4)" :key="index" class="attrImg"></image>
- </view>
- <view class="switchTxt">共{{skuArr.length}}种规格可选</view>
- </view>
- </view>
- <view class="storeInfo acea-row row-between row-top" v-if="isMention && storeLen && Object.keys(storeList).length>0" @tap="showStoreList">
- <view class="acea-row row-top row-between">
- 门店:
- <storeLis :num='1' :ids="parseInt(storeInfo.product_id)" :storeList='storeList' @getStoreList="getStoreList"></storeLis>
- </view>
- <view class="iconfont icon-jiantou"></view>
- </view>
- </view>
- <view class="bg-color skeleton-rect" v-if="itemNew.length" style="margin: 0 20rpx;border-radius: 10rpx;">
- <view class='notice acea-row row-middle'>
- <view class='num font-num'>
- <text class='iconfont icon-laba'></text>
- 已拼{{pink_ok_sum}}{{storeInfo.unit_name || ''}}<text class='line'>|</text>
- </view>
- <view class='swiper'>
- <swiper :indicator-dots="indicatorDots" :autoplay="autoplay" interval="2500" duration="500"
- vertical="true" circular="true">
- <block v-for="(item,index) in itemNew" :key='index'>
- <swiper-item>
- <view class='line1'>{{item}}</view>
- </swiper-item>
- </block>
- </swiper>
- </view>
- </view>
- </view>
- <view class='assemble skeleton-rect'>
- <view class='item acea-row row-between-wrapper' v-for='(item,index) in pink' :key='index'
- v-if="index < AllIndex">
- <view class='pictxt acea-row row-between-wrapper'>
- <view class='pictrue'>
- <image :src='item.avatar'></image>
- </view>
- <view class='text line1'>{{item.nickname}}</view>
- </view>
- <view class='right acea-row row-middle'>
- <view>
- <view class='lack'>还差<text class='font-num'>{{item.count}}</text>人成团</view>
- <view class='time'>
- <count-down :is-day="false" :tip-text="' '" :day-text="' '" :hour-text="':'"
- :minute-text="':'" :second-text="' '" :datatime="item.stop_time">
- </count-down>
- </view>
- </view>
- <view @click="spellBnt(item)" class='spellBnt'>
- 去拼单
- <text class='iconfont icon-jiantou'></text>
- </view>
- </view>
- </view>
- <template v-if="pink.length">
- <view class='more' @tap='showAll' v-if="pink.length > AllIndex">查看更多<text
- class='iconfont icon-xiangxia'></text></view>
- <view class='more' @tap='hideAll'
- v-else-if="pink.length === AllIndex && pink.length !== AllIndexDefault">收起<text
- class='iconfont icon-xiangshang'></text></view>
- </template>
- </view>
- <view class='playWay'>
- <view class='title acea-row row-between-wrapper'>
- <view>拼团玩法</view>
-
- </view>
- <view class='way acea-row row-middle'>
- <view class='item'>
- <text class='num'>①</text>
- <text>开团/参团</text>
- </view>
- <view class='iconfont icon-arrow'></view>
- <view class='item'>
- <text class='num'>②</text>
- <text>邀请好友</text>
- </view>
- <view class='iconfont icon-arrow'></view>
- <view class='item'>
- <text class='num'>③</text>
- <text>满员发货</text>
-
- </view>
- </view>
- </view>
- </view>
- <view class='userEvaluation skeleton-rect' id="past1" v-if="replyCount">
- <view class='title acea-row row-between-wrapper'>
- <view>用户评价({{replyCount}})</view>
- <navigator class='praise' hover-class='none'
- :url='"/pages/goods/goods_comment_list/index?product_id="+storeInfo.product_id'>
- <text class='font-num'>{{replyChance || 0}}%</text>
- 好评率
- <text class='iconfont icon-jiantou'></text>
- </navigator>
- </view>
- <userEvaluation :reply="reply" @changeLogin="changeLogin"></userEvaluation>
- </view>
- <view class='product-intro' id="past2">
- <view class='title'>产品介绍</view>
- <view class='conter'>
-
- <jyf-parser :html="storeInfo.description" ref="article" :tag-style="tagStyle"></jyf-parser>
-
-
- <view v-html="storeInfo.description"></view>
-
- </view>
- </view>
- </scroll-view>
- <view class='footer acea-row row-between-wrapper'>
-
-
-
-
-
-
- <navigator hover-class="none" class="item skeleton-rect" open-type="switchTab" url="/pages/index/index">
- <view class="iconfont icon-shouye6"></view>
- <view class="p_center">首页</view>
- </navigator>
- <view @tap='setCollect' class='item skeleton-rect'>
- <view class='iconfont icon-shoucang1' v-if="storeInfo.userCollect"></view>
- <view class='iconfont icon-shoucang' v-else></view>
- <view class="p_center">收藏</view>
- </view>
- <view class="bnt acea-row skeleton-rect">
- <view class="joinCart bnts" @tap="goProduct">单独购买</view>
- <view class="buy bnts" @tap="goCat"
- v-if='attribute.productSelect.product_stock>0&&attribute.productSelect.quota>0'>
- 立即开团
- </view>
- <view class="buy bnts bg-color-hui" v-if="!dataShow">
- 立即开团
- </view>
- <view class="buy bnts bg-color-hui"
- v-if='attribute.productSelect.quota <= 0 || attribute.productSelect.product_stock <= 0'>
- 已售罄
- </view>
- </view>
- </view>
- </view>
-
- <view class="generate-posters" :class="posters ? 'on' : ''">
- <view class="generateCon acea-row row-middle">
-
- <button class="item" hover-class='none' v-if="weixinStatus === true" @click="H5ShareBox = true">
-
-
- <view class="pictrue">
- <image src="../../../static/images/weixin.png"></image>
- </view>
- <view class="">分享给好友</view>
- </button>
-
-
- <button class="item" open-type="share" hover-class='none'>
-
- <view class="pictrue">
- <image src="../../../static/images/weixin.png"></image>
- </view>
- <view class="">分享给好友</view>
- </button>
-
-
- <view class="item" @click="appShare('WXSceneSession')">
-
- <view class="pictrue">
- <image src="../../../static/images/weixin.png"></image>
- </view>
- <view class="">分享给好友</view>
- </view>
-
-
- <view class="item" @click="getpreviewImage">
- <view class="pictrue">
- <image src="../../../static/images/changan.png"></image>
- </view>
- <view class="">预览发图</view>
- </view>
-
- <button class="item" hover-class='none' @tap="savePosterPath">
-
- <view class="pictrue">
- <image src="../../../static/images/haibao.png"></image>
- </view>
- <view class="">保存海报</view>
- </button>
-
- </view>
- <view class="generateClose acea-row row-center-wrapper" @click="posterImageClose">取消</view>
- </view>
- <view class="mask" v-if="posters"></view>
-
- <view class='poster-pop' v-if="posterImageStatus">
-
- <image :src='posterImage'></image>
-
-
-
-
-
-
- </view>
- <view class='mask1' v-if="posterImageStatus"></view>
- <canvas class="canvas" canvas-id='myCanvas' v-if="canvasStatus"></canvas>
- <view class="share-box" v-if="H5ShareBox">
- <image :src="imgHost + '/statics/images/share-info.png'" @click="H5ShareBox = false"></image>
- </view>
- <product-window ref='productWindow' :attr='attribute' :limitNum='1' :cusPreviewImg='1' :productType="storeInfo.product_type" :productId="storeInfo.product_id" @myevent="onMyEvent" @ChangeAttr="ChangeAttr"
- @ChangeCartNum="ChangeCartNum" @iptCartNum="iptCartNum" @attrVal="attrVal" @getImg="showImg" @deliveryFun="deliveryFun" @onAddressId="onAddressId" @onstoreId="onstoreId"></product-window>
- <kefuIcon :ids='storeInfo.product_id' :routineContact='routineContact'></kefuIcon>
-
- <zb-code ref="qrcode" :show="codeShow" :cid="cid" :val="codeVal" :size="size" :unit="unit" :background="background"
- :foreground="foreground" :pdground="pdground" :icon="codeIcon" :iconSize="iconsize" :onval="onval"
- :loadMake="loadMake" @result="qrR" />
-
- <cusPreviewImg ref="cusPreviewImg" :list="skuArr" @changeSwitch="changeSwitch"></cusPreviewImg>
-
-
-
- </view>
- </template>
- <script>
- const app = getApp();
- let sysHeight = uni.getSystemInfoSync().statusBarHeight;
- import zbCode from '@/components/zb-code/zb-code.vue'
- import {
- mapGetters
- } from "vuex";
- import productConSwiper from '@/components/productConSwiper/index.vue'
- import {
- toLogin
- } from '@/libs/login.js';
- import {
- getCombinationDetail,
- scombinationCode,
- combinationQRCode
- } from '@/api/activity.js';
- import {
- postCartAdd,
- collectAdd,
- collectDel
- } from '@/api/store.js';
- import {
- imageBase64
- } from "@/api/public";
- import storeLis from '@/components/storeLis';
- import parser from "@/components/jyf-parser/jyf-parser";
- import productWindow from '@/components/productWindow/index.vue'
- import userEvaluation from '@/components/userEvaluation/index.vue'
- import countDown from '@/components/countDown/index.vue'
- import kefuIcon from '@/components/kefuIcon';
- import cusPreviewImg from '@/components/cusPreviewImg';
- import homeList from '@/components/homeList';
- import {
- getProductCode
- } from '@/api/store.js'
- import {
- getUserInfo
- } from '@/api/user.js';
- import {
- TOKENNAME,
- HTTP_REQUEST_URL
- } from '@/config/app.js';
- import colors from '@/mixins/color.js';
- import {Debounce} from '@/utils/validate.js'
- export default {
- components: {
- zbCode,
- productConSwiper,
- kefuIcon,
- "jyf-parser": parser,
- "product-window": productWindow,
- userEvaluation,
- countDown,
- storeLis,
- cusPreviewImg,
- homeList
- },
- computed: mapGetters({
- 'isLogin': 'isLogin',
- 'userData': 'userInfo'
- }),
- mixins:[colors],
- data() {
- return {
- showSkeleton: true,
- isNodes: 0,
- dataShow: 0,
- navH: '',
- id: 0,
- userInfo: {},
- itemNew: [],
- indicatorDots: false,
- circular: true,
- autoplay: true,
- interval: 3000,
- duration: 500,
- attribute: {
- cartAttr: false,
- productAttr: [],
- productSelect: {},
- deliveryType:[],
- isType:0,
- relation_id:0,
- store_self_mention:0
- },
- productValue: [],
- isOpen: false,
- attr: '请选择',
- attrValue: '',
- AllIndex: 2,
- maxAllIndex: 0,
- replyChance: '',
- limitNum: 1,
- timeer: null,
- iSplus: false,
- navList: ['商品', '评价', '详情'],
- opacity: 0,
- scrollY: 0,
- topArr: [],
- toView: '',
- height: 0,
- heightArr: [],
- lock: false,
- scrollTop: 0,
- storeInfo: {
- brand_name:''
- },
- pink_ok_sum: 0,
- pink: [],
- replyCount: 0,
- reply: [],
- imgUrls: [],
- sharePacket: '',
- tagStyle: {
- img: 'width:100%;display:block;',
- table: 'width:100%',
- video: 'width:100%'
- },
- posters: false,
- weixinStatus: false,
- posterImageStatus: false,
- canvasStatus: false,
- storeImage: '',
- PromotionCode: '',
- posterImage: '',
- posterbackgd: '/static/images/posterbackgd.png',
- navActive: 0,
- actionSheetHidden: false,
- attrTxt: '',
- cart_num: '',
- isAuto: false,
- isShowAuth: false,
- AllIndexDefault: 0,
- homeTop: 20,
- returnShow: true,
- H5ShareBox: false,
- routineContact: 0,
- siteName:'',
- themeColor:'',
- fontColor:'',
- skuArr:[],
-
- codeShow: false,
- cid: '1',
- codeVal: "",
- size: 200,
- unit: 'upx',
- background: '#FFF',
- foreground: '#000',
- pdground: '#000',
- codeIcon: '',
- iconsize: 40,
- lv: 3,
- onval: true,
- loadMake: true,
- base64Show: 0,
- shareQrcode: 0,
- followCode:'',
- selectSku:{},
- currentPage:false,
- sysHeight: sysHeight,
- isMention: false,
- storeLen:1,
- imgHost:HTTP_REQUEST_URL,
- addressId:'',
- store_id :'',
- delivery_type:0,
- store_name:'',
- posterTitle:'',
- storeList:{}
- }
- },
- watch: {
- isLogin: {
- handler: function(newV, oldV) {
- if (newV) {
-
-
- }
- },
- deep: true
- },
- },
- onLoad(options) {
- let that = this
- var pages = getCurrentPages();
- that.returnShow = pages.length === 1 ? false : true;
- this.$nextTick(() => {
-
- const menuButton = uni.getMenuButtonBoundingClientRect();
- const query = uni.createSelectorQuery().in(this);
- query
- .select('#home')
- .boundingClientRect(data => {
- this.homeTop = menuButton.top * 2 + menuButton.height - data.height;
- })
- .exec();
-
- })
- this.navH = app.globalData.navHeight;
-
-
-
-
- uni.getSystemInfo({
- success: function(res) {
- that.height = res.windowHeight
-
- },
- });
-
-
- if (options.scene) {
- let value = this.$util.getUrlParams(decodeURIComponent(options.scene));
- if (value.id) options.id = value.id;
-
- if (value.spid) app.globalData.spid = value.spid;
- }
- if (!options.id && !options.scene) return this.$util.Tips({
- title: '缺少参数无法查看商品'
- }, {
- tab: 3,
- url: 1
- });
-
- if (options.hasOwnProperty('id')) {
- this.id = options.id
-
- if (options.spid) app.globalData.spid = options.spid;
- this.combinationDetail();
- if (this.isLogin && options.id) {
-
- this.downloadFilePromotionCode()
-
- } else {
-
- try {
- uni.setStorageSync('comGoodsId', options.id);
- } catch (e) {}
-
- this.$Cache.set('login_back_url',
- `/pages/activity/goods_combination_details/index?id=${options.id}`);
- }
- } else {
- try {
- let val = uni.getStorageSync('comGoodsId');
- if (val != '') {
- this.id = val
- this.combinationDetail();
- }
- } catch (e) {
- uni.showToast({
- title: '参数错误',
- icon: 'none',
- duration: 1000,
- mask: true,
- })
- }
- };
- this.colorData();
- let color = [
- {themeColor:'#1DB0FC',fontColor:'#FD502F'},
- {themeColor:'#42CA4D',fontColor:'#FF7600'},
- {themeColor:'#e93323',fontColor:'#e93323'},
- {themeColor:'#FF448F',fontColor:'#FF448F'},
- {themeColor:'#FE5C2D',fontColor:'#FE5C2D'},
- {themeColor:'#E0A558',fontColor:'#DA8C18'}
- ];
- setTimeout(()=>{
- switch (this.colorNum) {
- case 1:
- this.themeColor = color[0].themeColor;
- this.fontColor = color[0].fontColor;
- break;
- case 2:
- this.themeColor = color[1].themeColor;
- this.fontColor = color[1].fontColor;
- break;
- case 3:
- this.themeColor = color[2].themeColor;
- this.fontColor = color[2].fontColor;
- break;
- case 4:
- this.themeColor = color[3].themeColor;
- this.fontColor = color[3].fontColor;
- break;
- case 5:
- this.themeColor = color[4].themeColor;
- this.fontColor = color[4].fontColor;
- break;
- case 6:
- this.themeColor = color[5].themeColor;
- this.fontColor = color[5].fontColor;
- break;
- default:
- this.themeColor = color[2].themeColor;
- this.fontColor = color[2].fontColor;
- break
- }
- },1)
- },
- onReady(){
- this.isNodes++;
-
- this.codeVal = window.location.origin + '/pages/activity/goods_combination_details/index?id=' + this.id +
- '&spid=' + this.$store.state.app.uid
-
-
- this.codeVal = HTTP_REQUEST_URL + '/pages/activity/goods_combination_details/index?id=' + this.id +
- '&spid=' + this.$store.state.app.uid
-
- app.globalData.openPages = '/pages/activity/goods_combination_details/index?id=' + this.id +
- '&spid=' + this.$store.state.app.uid
- },
- onShow(){
- uni.removeStorageSync('form_type_cart');
- },
- mounted(){
- uni.$on('activeFn', data => {
- let id = data.id;
- this.store_id = id;
- this.$refs.productWindow.getList(id);
- })
- },
- methods: {
-
- combinationQRCode(type) {
- combinationQRCode(this.id).then(res => {
- this.followCode = res.data.code_base;
- this.getImageBase64(type);
- });
- },
-
- changeLogin(){
- this.getIsLogin();
- },
- getIsLogin(){
- toLogin()
- },
- spellBnt(item){
- if(this.isLogin){
- uni.navigateTo({
- url: '/pages/activity/goods_combination_status/index?id='+item.id
- })
- }else{
- this.getIsLogin();
- }
- },
-
- deliveryFun(e){
- this.delivery_type = e;
- },
-
- onAddressId(row){
- this.addressId=row.id
- },
-
- onstoreId(row) {
- this.storeList = row;
- this.store_id = row.id;
- this.store_name = row.name;
- },
- getStoreList(len){
- this.storeLen = len;
- },
- showStoreList(){
- uni.navigateTo({
- url: '/pages/store/store_list/index?productId='+this.id+'&type=1&isCollage=1'
- })
- },
- moreNav(){
- this.currentPage = !this.currentPage
- },
-
- showImg(index){
- this.$refs.cusPreviewImg.open(this.selectSku.suk)
- },
-
- changeSwitch(e){
- let productSelect = this.skuArr[e];
- this.$set(this,'selectSku',productSelect);
- var skuList = productSelect.suk.split(',');
- skuList.forEach((i,index)=>{
- this.$set(this.attribute.productAttr[index],'index',skuList[index]);
- })
- if (productSelect) {
- this.$set(this.attribute.productSelect, "image", productSelect.image);
- this.$set(this.attribute.productSelect, "price", productSelect.price);
- this.$set(this.attribute.productSelect, "stock", productSelect.stock);
- this.$set(this.attribute.productSelect, "unique", productSelect.unique);
- this.$set(this.attribute.productSelect, "cart_num", 1);
- this.$set(this.attribute.productSelect, "quota", productSelect.quota);
- this.$set(this.attribute.productSelect, "quota_show", productSelect.quota_show);
- this.$set(this, "attrValue", productSelect.suk);
- this.attrTxt = "已选择"
- }
- },
- qrR(res) {
-
- if(!this.$wechat.isWeixin() || this.shareQrcode != '1'){
- this.PromotionCode = res;
- this.followCode = ''
- }
-
-
- this.PromotionCode = res;
-
- },
-
- getpreviewImage: function() {
- if(this.posterImage){
- let photoList = [];
- photoList.push(this.posterImage)
- uni.previewImage({
- urls: photoList,
- current: this.posterImage
- });
- }else{
- his.$util.Tips({
- title: '您的海报尚未生成'
- });
- }
- },
-
-
-
- appShare(scene) {
- let that = this
- let routes = getCurrentPages();
- let curRoute = routes[routes.length - 1].$page.fullPath
- uni.share({
- provider: "weixin",
- scene: scene,
- type: 0,
- href: `${HTTP_REQUEST_URL}${curRoute}`,
- title: that.storeInfo.title,
- summary: that.storeInfo.info,
- imageUrl: that.storeInfo.small_image,
- success: function(res) {
- uni.showToast({
- title: '分享成功',
- icon: 'success'
- })
-
- },
- fail: function(err) {
- uni.showToast({
- title: '分享失败',
- icon: 'none',
- duration: 2000
- })
-
- }
- });
- },
-
- showAll: function() {
- this.AllIndexDefault = this.AllIndex;
- this.AllIndex = this.pink.length;
- },
- hideAll: function() {
- this.AllIndex = this.AllIndexDefault;
- },
-
-
-
-
-
- iptCartNum: function(e) {
- this.$set(this.attribute.productSelect, 'cart_num', e);
- this.$set(this, "cart_num", e);
- },
- // 返回
- returns() {
-
- return history.back();
-
-
- return uni.navigateBack({
- delta: 1,
- })
-
- },
-
- combinationDetail() {
- var that = this;
- var data = that.id;
- getCombinationDetail(data).then(function(res) {
- that.$set(that.attribute, 'isType', res.data.storeInfo.type);
- that.$set(that.attribute, 'relation_id', res.data.storeInfo.relation_id);
- that.$set(that.attribute, 'store_self_mention', res.data.store_self_mention);
- that.dataShow = 1;
- uni.setNavigationBarTitle({
- title: res.data.storeInfo.title.substring(0, 16)
- })
- that.imgUrls = res.data.storeInfo.images;
- that.storeInfo = res.data.storeInfo;
- that.$set(that, 'posterTitle', res.data.product_poster_title);
- if(that.storeInfo.description){
- that.storeInfo.description = that.storeInfo.description.replace(/<img/gi,
- '<img style="max-width:100%;height:auto;float:left;display:block" ');
- that.storeInfo.description = that.storeInfo.description.replace(
- /<video/gi,
- '<video style="width:100%;height:auto;display:block" '
- );
- }
- that.attribute.productSelect.num = res.data.storeInfo.num;
- res.data.storeInfo.delivery_type.sort((x,y)=>x - y);
- that.$set(that.attribute, 'deliveryType', res.data.storeInfo.delivery_type);
- that.pink = res.data.pink;
- that.pindAll = res.data.pindAll;
- that.reply = res.data.reply;
- that.replyCount = res.data.replyCount;
- that.itemNew = res.data.pink_ok_list;
- that.pink_ok_sum = res.data.pink_ok_sum;
- that.replyChance = res.data.replyChance;
- that.attribute.productAttr = res.data.productAttr;
- that.productValue = res.data.productValue;
- that.shareQrcode = res.data.share_qrcode;
- if (res.data.storeInfo.delivery_type.indexOf('2') != -1) {
- that.$set(that, 'isMention', true);
- }
- for(let key in res.data.productValue){
- let obj = res.data.productValue[key];
- that.skuArr.push(obj)
- };
- that.selectSku = that.skuArr[0];
- that.routineContact = Number(res.data.routine_contact_type);
- that.siteName = res.data.site_name;
- var navList = ['商品', '详情'];
- if(res.data.replyCount){
- navList.splice(1, 0, '评价');
- }
- that.$set(that, 'navList', navList);
- // #ifdef H5
- that.setShare();
- that.storeImage = that.storeInfo.image
- if(that.$wechat.isWeixin() && that.shareQrcode=='1'){
-
-
- that.combinationQRCode(1);
- }else{
- that.getImageBase64();
-
- }
-
-
- that.downloadFilestoreImage();
-
-
- that.DefaultSelect();
- setTimeout(function() {
- that.infoScroll();
- }, 500);
- setTimeout(() => {
- that.showSkeleton = false
- }, 300)
- }).catch(function(err) {
- that.$util.Tips({
- title: err
- }, {
- tab: 3
- })
- })
- },
-
- setShare: function() {
- this.$wechat.isWeixin() &&
- this.$wechat.wechatEvevt([
- "updateAppMessageShareData",
- "updateTimelineShareData",
- "onMenuShareAppMessage",
- "onMenuShareTimeline"
- ], {
- desc: this.storeInfo.info,
- title: this.storeInfo.title,
- link: location.href,
- imgUrl: this.storeInfo.image
- }).then(res => {}).catch(err => {});
- },
-
-
- DefaultSelect: function() {
- let self = this
- let productAttr = self.attribute.productAttr;
- let value = [];
- for (var key in this.productValue) {
- if (this.productValue[key].quota > 0) {
- value = this.attribute.productAttr.length ? key.split(",") : [];
- break;
- }
- }
- for (let i = 0; i < productAttr.length; i++) {
- this.$set(productAttr[i], "index", value[i]);
- }
- //sort();排序函数:数字-英文-汉字;
- let productSelect = self.productValue[value.join(",")];
- if (productSelect && productAttr.length) {
- self.$set(
- self.attribute.productSelect,
- "store_name",
- self.storeInfo.title
- );
- self.$set(self.attribute.productSelect, "image", productSelect.image);
- self.$set(self.attribute.productSelect, "price", productSelect.price);
- self.$set(self.attribute.productSelect, "stock", productSelect.stock);
- self.$set(self.attribute.productSelect, "unique", productSelect.unique);
- self.$set(self.attribute.productSelect, "quota", productSelect.quota);
- self.$set(self.attribute.productSelect, "quota_show", productSelect.quota_show);
- self.$set(self.attribute.productSelect, "product_stock", productSelect.product_stock);
- self.$set(self.attribute.productSelect, "cart_num", 1);
- self.$set(self, "attrValue", value.join(","));
- self.attrValue = value.join(",")
- } else if (!productSelect && productAttr.length) {
- self.$set(
- self.attribute.productSelect,
- "store_name",
- self.storeInfo.title
- );
- self.$set(self.attribute.productSelect, "image", self.storeInfo.image);
- self.$set(self.attribute.productSelect, "price", self.storeInfo.price);
- self.$set(self.attribute.productSelect, "quota", 0);
- self.$set(self.attribute.productSelect, "quota_show", 0);
- self.$set(self.attribute.productSelect, "product_stock", 0);
- self.$set(self.attribute.productSelect, "stock", 0);
- self.$set(self.attribute.productSelect, "unique", "");
- self.$set(self.attribute.productSelect, "cart_num", 0);
- self.$set(self, "attrValue", "");
- self.$set(self, "attrTxt", "请选择");
- } else if (!productSelect && !productAttr.length) {
- self.$set(
- self.attribute.productSelect,
- "store_name",
- self.storeInfo.title
- );
- self.$set(self.attribute.productSelect, "image", self.storeInfo.image);
- self.$set(self.attribute.productSelect, "price", self.storeInfo.price);
- self.$set(self.attribute.productSelect, "stock", self.storeInfo.stock);
- self.$set(self.attribute.productSelect, "quota", 0);
- self.$set(self.attribute.productSelect, "product_stock", 0);
- self.$set(
- self.attribute.productSelect,
- "unique",
- self.storeInfo.unique || ""
- );
- self.$set(self.attribute.productSelect, "cart_num", 1);
- self.$set(self, "attrValue", "");
- self.$set(self, "attrTxt", "请选择");
- }
- },
- infoScroll: function() {
- var that = this,
- topArr = [],
- heightArr = [];
- for (var i = 0; i < that.navList.length; i++) {
-
- var query = uni.createSelectorQuery().in(this);
- var idView = "#past" + i;
- if(!this.replyCount && i == 1){
- idView = "#past" + 2;
- }
- query.select(idView).boundingClientRect();
- query.exec(function(res) {
- var top = res[0].top;
- var height = res[0].height;
- topArr.push(top);
- heightArr.push(height);
- that.topArr = topArr
- that.heightArr = heightArr
- });
- };
- },
-
- onLoadFun: function() {
-
- this.downloadFilePromotionCode();
-
- this.isShowAuth = false
- },
- selecAttr: function() {
- if(!this.isLogin){
-
- toLogin();
-
-
- this.isShowAuth = true;
-
- return
- }
- if((this.storeInfo.delivery_type[0] == 2 || this.storeInfo.delivery_type[0] == 3) && !uni.getStorageSync('refuseLocation')){
- this.$refs.productWindow.showLocation();
- }
- this.currentPage = false;
- this.attribute.cartAttr = true
- },
- onMyEvent: function() {
- this.$set(this.attribute, 'cartAttr', false);
- this.$set(this, 'isOpen', false);
- },
- /**
- * 购物车数量加和数量减
- *
- */
- ChangeCartNum: function(changeValue) {
-
-
- let productSelect = this.productValue[this.attrValue];
- if (this.cart_num) {
- productSelect.cart_num = this.cart_num;
- this.attribute.productSelect.cart_num = this.cart_num;
- }
-
- if (productSelect === undefined && !this.attribute.productAttr.length)
- productSelect = this.attribute.productSelect;
-
- if (productSelect === undefined) return;
- let stock = productSelect.stock || 0;
- let quotaShow = productSelect.quota_show || 0;
- let quota = productSelect.quota || 0;
- let productStock = productSelect.product_stock || 0;
- let num = this.attribute.productSelect;
- let nums = this.storeInfo.num || 0;
-
- if (productSelect.cart_num == undefined) productSelect.cart_num = 1;
- if (changeValue) {
- num.cart_num++;
- let arrMin = [];
- arrMin.push(nums);
- arrMin.push(quota);
- arrMin.push(productStock);
- let minN = Math.min.apply(null, arrMin);
- if (num.cart_num >= minN) {
- this.$set(this.attribute.productSelect, "cart_num", minN ? minN : 1);
- this.$set(this, "cart_num", minN ? minN : 1);
- }
- // if(quotaShow >= productStock){
-
-
-
-
-
-
-
-
-
-
- this.$set(this, "cart_num", num.cart_num);
- this.$set(this.attribute.productSelect, "cart_num", num.cart_num);
- } else {
- num.cart_num--;
- if (num.cart_num < 1) {
- this.$set(this.attribute.productSelect, "cart_num", 1);
- this.$set(this, "cart_num", 1);
- }
- this.$set(this, "cart_num", num.cart_num);
- this.$set(this.attribute.productSelect, "cart_num", num.cart_num);
- }
- },
- attrVal(val) {
- this.attribute.productAttr[val.indexw].index = this.attribute.productAttr[val.indexw].attr_values[val
- .indexn];
- },
-
- ChangeAttr: function(res) {
- this.$set(this, 'cart_num', 1);
- let productSelect = this.productValue[res];
- this.$set(this, "selectSku", productSelect);
- if (productSelect) {
- this.$set(this.attribute.productSelect, "image", productSelect.image);
- this.$set(this.attribute.productSelect, "price", productSelect.price);
- this.$set(this.attribute.productSelect, "stock", productSelect.stock);
- this.$set(this.attribute.productSelect, "unique", productSelect.unique);
- this.$set(this.attribute.productSelect, "cart_num", 1);
- this.$set(this.attribute.productSelect, "quota", productSelect.quota);
- this.$set(this.attribute.productSelect, "quota_show", productSelect.quota_show);
- this.$set(this, "attrValue", res);
- this.attrTxt = "已选择"
- } else {
- this.$set(this.attribute.productSelect, "image", this.storeInfo.image);
- this.$set(this.attribute.productSelect, "price", this.storeInfo.price);
- this.$set(this.attribute.productSelect, "stock", 0);
- this.$set(this.attribute.productSelect, "unique", "");
- this.$set(this.attribute.productSelect, "cart_num", 0);
- this.$set(this.attribute.productSelect, "quota", 0);
- this.$set(this.attribute.productSelect, "quota_show", 0);
- this.$set(this, "attrValue", "");
- this.attrTxt = "已选择"
- }
- },
- // 单独购买
- goProduct:Debounce(function() {
- uni.navigateTo({
- url: '/pages/goods_details/index?id=' + this.storeInfo.product_id
- })
- }),
-
- goCat:function () {
- if(this.isLogin){
- if((this.storeInfo.delivery_type[0] == 2 || this.storeInfo.delivery_type[0] == 3) && !uni.getStorageSync('refuseLocation')){
- this.$refs.productWindow.showLocation();
- }
- var that = this;
- that.currentPage = false;
- var productSelect = this.productValue[this.attrValue];
-
- if (this.isOpen)
- this.attribute.cartAttr = true
- else
- this.attribute.cartAttr = !this.attribute.cartAttr
-
- if (this.attribute.cartAttr === true && this.isOpen == false) return this.isOpen = true
-
- if (this.attribute.productAttr.length && productSelect === undefined && this.isOpen == true) return that
- .$util.Tips({
- title: '请选择属性'
- });
- var data = {
- productId: that.storeInfo.product_id,
- secKillId: 0,
- bargainId: 0,
- combinationId: that.id,
- cartNum: that.cart_num,
- uniqueId: productSelect !== undefined ? productSelect.unique : '',
- is_new: 1,
- store_id:this.store_id,
- addressId:this.addressId,
- delivery_type:this.delivery_type
- };
- postCartAdd(data).then(function(res) {
- that.isOpen = false
- uni.navigateTo({
- url: '/pages/goods/order_confirm/index?new=1&cartId=' + res.data.cartId+'&delivery_type='+that.delivery_type+'&addressId='+that.addressId+'&store_id='+that.store_id+'&store_name='+that.store_name+'&product_id=' + that.storeInfo.product_id
- });
- }).catch(function(res) {
- uni.showToast({
- title: res,
- icon: 'none'
- })
- })
- }else{
- this.getIsLogin();
- }
- },
-
- setCollect: Debounce(function() {
- let that = this;
- if(!this.isLogin){
- this.getIsLogin();
- }else{
- if (this.storeInfo.userCollect) {
- collectDel(this.storeInfo.product_id).then(res => {
- that.storeInfo.userCollect = !that.storeInfo.userCollect
- })
- } else {
- collectAdd(this.storeInfo.product_id).then(res => {
- that.storeInfo.userCollect = !that.storeInfo.userCollect
- })
- }
- }
- }),
-
- listenerActionSheet: function() {
- this.currentPage = false
- if (this.isLogin == false) {
- this.getIsLogin();
- } else {
-
- if (this.$wechat.isWeixin() === true) {
- this.weixinStatus = true;
- }
-
- this.posters = true;
- this.goPoster();
- }
- },
-
- posterImageClose: function() {
- this.posterImageStatus = false;
- this.posters = false;
- },
-
- setDomain: function(url) {
- url = url ? url.toString() : '';
-
- if (url.indexOf("https://") > -1) return url;
- else return url.replace('http://', 'https://');
- },
-
- downloadFilestoreImage: function() {
- let that = this;
- uni.downloadFile({
- url: that.setDomain(that.storeInfo.image),
- success: function(res) {
- that.storeImage = res.tempFilePath;
- that.base64Show = 1;
- },
- fail: function() {
- return that.$util.Tips({
- title: ''
- });
- that.storeImage = '';
- },
- });
- },
-
- downloadFilePromotionCode: function(successFn) {
- let that = this;
- scombinationCode(that.id).then(res => {
- uni.downloadFile({
- url: that.setDomain(res.data.code),
- success: function(res) {
- that.$set(that, 'isDown', false);
- if (typeof successFn == 'function')
- successFn && successFn(res.tempFilePath);
- else
- that.$set(that, 'PromotionCode', res.tempFilePath);
- },
- fail: function() {
- that.$set(that, 'isDown', false);
- that.$set(that, 'PromotionCode', '');
- },
- });
- }).catch(err => {
- that.$set(that, 'isDown', false);
- that.$set(that, 'PromotionCode', '');
- });
- },
- getImageBase64: function(type) {
- let that = this;
- imageBase64(that.storeImage,that.followCode)
- .then(res => {
- that.storeImage = res.data.image;
- if(type){
- that.PromotionCode = res.data.code;
- }
- that.base64Show = 1;
- })
- .catch(() => {});
- },
-
-
-
-
-
-
- goPoster: function() {
- let that = this;
- that.$set(that, 'canvasStatus', true);
- let arr2 = [that.posterbackgd, that.storeImage, that.PromotionCode];
- // #ifdef MP
- if(that.PromotionCode==''&&!that.isDown){
- return that.$util.Tips({
- title: '小程序二维码需要发布正式版后才能获取到'
- },function(){
- that.posters = false;
- });
- }
-
-
- if (that.isDown) return that.$util.Tips({
- title: '正在下载海报,请稍后再试!'
- },function(){
- that.posters = false;
- });
-
- uni.getImageInfo({
- src: that.PromotionCode,
- fail: function(res) {
- return that.$util.Tips({
- title: '小程序二维码需要发布正式版后才能获取到'
- });
- },
- success() {
- if (arr2[2] == '') {
-
- that.downloadFilePromotionCode(function(msgPromotionCode) {
- arr2[2] = msgPromotionCode;
- if (arr2[2] == '')
- return that.$util.Tips({
- title: '海报二维码生成失败!'
- });
- that.$nextTick(function(){
- that.$util.PosterCanvas(that.fontColor, that.themeColor, that.siteName, arr2, that.storeInfo.title, that.storeInfo
- .price, that.storeInfo.product_price,that.posterTitle,
- function(tempFilePath) {
- that.$set(that, 'posterImage', tempFilePath);
- that.$set(that, 'posterImageStatus', true);
- that.$set(that, 'canvasStatus', false);
- that.$set(that, 'actionSheetHidden', !that
- .actionSheetHidden);
- });
- })
- });
- } else {
-
- that.$nextTick(function(){
- that.$util.PosterCanvas(that.fontColor, that.themeColor, that.siteName, arr2, that.storeInfo.title, that.storeInfo.price, that
- .storeInfo.product_price,that.posterTitle,
- function(tempFilePath) {
- that.$set(that, 'posterImage', tempFilePath);
- that.$set(that, 'posterImageStatus', true);
- that.$set(that, 'canvasStatus', false);
- that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
- });
- })
- }
- },
- });
- },
- /*
- * 保存到手机相册
- */
- // #ifdef MP
- savePosterPath: function() {
- let that = this;
- uni.getSetting({
- success(res) {
- if (!res.authSetting['scope.writePhotosAlbum']) {
- uni.authorize({
- scope: 'scope.writePhotosAlbum',
- success() {
- uni.saveImageToPhotosAlbum({
- filePath: that.posterImage,
- success: function(res) {
- that.posterImageClose();
- that.$util.Tips({
- title: '保存成功',
- icon: 'success'
- });
- },
- fail: function(res) {
- that.$util.Tips({
- title: '保存失败'
- });
- }
- })
- }
- })
- } else {
- uni.saveImageToPhotosAlbum({
- filePath: that.posterImage,
- success: function(res) {
- that.posterImageClose();
- that.$util.Tips({
- title: '保存成功',
- icon: 'success'
- });
- },
- fail: function(res) {
- that.$util.Tips({
- title: '保存失败'
- });
- },
- })
- }
- }
- })
- },
-
-
- savePosterPath() {
- let that = this
- uni.saveImageToPhotosAlbum({
- filePath: that.posterImage,
- success: function(res) {
- that.posterImageClose();
- that.$util.Tips({
- title: '保存成功',
- icon: 'success'
- });
- },
- fail: function(res) {
- that.$util.Tips({
- title: '保存失败'
- });
- }
- });
- },
-
- scroll: function(e) {
- var that = this,
- scrollY = e.detail.scrollTop;
- var opacity = scrollY / 200;
- opacity = opacity > 1 ? 1 : opacity;
- that.opacity = opacity
- that.scrollY = scrollY
- that.currentPage = false
- if (that.lock) {
- that.lock = false
- return;
- }
- for (var i = 0; i < that.topArr.length; i++) {
- if (scrollY < that.topArr[i] - (app.globalData.navHeight / 2) + that.heightArr[i]) {
- that.navActive = i
- break
- }
- }
- },
- tap: function(item, index) {
- var id = item.id;
- var index = index;
- var that = this;
- if (!this.replyCount && id == "past1") {
- id = "past2"
- }
- this.toView = id;
- this.navActive = index;
- this.lock = true;
- this.scrollTop = index > 0 ? that.topArr[index] - (app.globalData.navHeight / 2) : that.topArr[index]
- },
- },
-
- onShareAppMessage() {
- return {
- title: this.storeInfo.title,
- path: app.globalData.openPages,
- imageUrl: this.storeInfo.image
- };
- },
- onShareTimeline() {
- let that = this;
- return {
- title: this.storeInfo.title,
- path: app.globalData.openPages,
- imageUrl: this.storeInfo.image
- };
- },
-
- }
- </script>
- <style lang="scss">
- /deep/.userEvaluation .evaluateWtapper .evaluateItem {
- margin: 0 !important;
- }
- .ml10 {
- margin-top:7px;
- padding-left:55px;
- }
- .store{
- background-color: #fff;
- margin: 20rpx 20rpx 0 20rpx;
- border-radius: 12rpx;
- .title{
- height: 80rpx;
- width: 100%;
- font-size: 28rpx;
- color: #333;
- padding: 0 30rpx;
- .icon-jinru2{
- color: #7a7a7a;
- font-size: 28rpx;
- }
- }
- }
- .generate-posters {
- width: 100%;
- height: 318rpx;
- background-color: #fff;
- position: fixed;
- left: 0;
- bottom: 0;
- z-index: 300;
- transform: translate3d(0, 100%, 0);
- transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
- border-top: 1rpx solid #eee;
-
- .generateCon{
- height: 220rpx;
- }
- .generateClose{
- height: 98rpx;
- font-size: 28rpx;
- color: #333333;
- border-top:1px solid #eee;
- }
- .item{
- .pictrue{
- width: 96rpx;
- height: 96rpx;
- border-radius: 50%;
- margin: 0 auto 6rpx auto;
- image{
- width: 100%;
- height: 100%;
- border-radius: 50%;
- }
- }
- }
- }
- .generate-posters.on {
- transform: translate3d(0, 0, 0);
- }
- .generate-posters .item {
- flex: 1;
- text-align: center;
- font-size: 30rpx;
- }
- .generate-posters .item .iconfont {
- font-size: 80rpx;
- color: #5eae72;
- }
- .generate-posters .item .iconfont.icon-haibao {
- color: #5391f1;
- }
- .navbar .header {
- height: 96rpx;
- /* #ifdef MP */
- font-size: 28rpx;
- /* #endif */
- /* #ifndef MP */
- font-size: 30rpx;
- /* #endif */
- color: #050505;
- background-color: #fff;
- /* #ifdef MP */
- // padding-right: 95rpx;
- /* #endif */
- /* #ifdef APP-PLUS */
- width: 100%;
- /* #endif */
- }
- .icon-xiangzuo {
- /* #ifdef H5 */
- top: 30rpx !important;
- /* #endif */
- }
- .navbar .header .item {
- position: relative;
- /* #ifdef MP */
- margin: 0 20rpx;
- /* #endif */
- /* #ifndef MP */
- margin: 0 25rpx;
- /* #endif */
- }
- .navbar .header .item.on:before {
- position: absolute;
- width: 56rpx;
- height: 5rpx;
- background-repeat: no-repeat;
- content: "";
- background-color: var(--view-theme);
- bottom: -10rpx;
- left: 50%;
- margin-left: -28rpx;
- }
- .navbar {
- position: fixed;
- background-color: #fff;
- top: 0;
- left: 0;
- z-index: 99;
- width: 100%;
- }
- .navbar .navbarH {
- position: relative;
- }
- .navbar .navbarH .navbarCon {
- position: absolute;
- bottom: 0;
- height: 100rpx;
- width: 100%;
- }
- .icon-xiangzuo {
- /* color: #000;
- position: fixed;
- font-size: 40rpx;
- width: 100rpx;
- height: 56rpx;
- line-height: 54rpx;
- z-index: 1000;
- left: 33rpx; */
- }
- .product-con .wrapper {
- padding-bottom: 26rpx;
- }
- .product-con .wrapper .share .money .y-money {
- color: #82848f;
- margin-left: 13rpx;
- text-decoration: line-through;
- font-weight: normal;
- }
- .product-con .notice {
- width: 100%;
- height: 62rpx;
- margin-top: 20rpx;
- padding: 0 20rpx;
- box-sizing: border-box;
- background-color: rgba(255,255,255,0.88);
- border-radius: 8rpx;
- }
- .product-con .notice .num {
- font-size: 24rpx;
- }
- .product-con .notice .num .iconfont {
- font-size: 30rpx;
- vertical-align: -3rpx;
- margin-right: 20rpx;
- }
- .product-con .notice .num .line {
- color: #282828;
- margin-left: 15rpx;
- }
- .product-con .notice .swiper {
- height: 100%;
- width: 360rpx;
- line-height: 62rpx;
- overflow: hidden;
- margin-left: 14rpx;
- }
- .product-con .notice .swiper swiper {
- height: 100%;
- width: 100%;
- overflow: hidden;
- font-size: 24rpx;
- color: #282828;
- }
- .product-con .assemble {
- background-color: #fff;
- margin: 20rpx 20rpx 0 20rpx;
- border-radius: 12rpx;
- }
- .product-con .assemble .item {
- padding-right: 20rpx;
- margin-left: 20rpx;
- border-bottom: 1rpx solid #f0f0f0;
- height: 132rpx;
- }
- .product-con .assemble .item .pictxt {
- width: 295rpx;
- }
- .product-con .assemble .item .pictxt .text {
- width: 194rpx;
- }
- .product-con .assemble .item .pictxt .pictrue {
- width: 80rpx;
- height: 80rpx;
- }
- .product-con .assemble .item .pictxt .pictrue image {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- }
- .product-con .assemble .item .right .lack {
- font-size: 24rpx;
- color: #333333;
- }
- .product-con .assemble .item .right .time {
- position: relative;
- left: -10rpx;
- font-size: 22rpx;
- color: #82848f;
- margin-top: 5rpx;
- }
- .product-con .assemble .item .right .spellBnt {
- font-size: 24rpx;
- color: #fff;
- width: 140rpx;
- height: 50rpx;
- border-radius: 50rpx;
- // background-image: linear-gradient(to right, #ff2358 0%, #ff0000 100%);
- text-align: center;
- line-height: 50rpx;
- background-color: var(--view-theme);
- margin-left: 30rpx;
- }
- .product-con .assemble .item .right .spellBnt .iconfont {
- font-size: 25rpx;
- margin-left: 5rpx;
- }
- .product-con .assemble .more {
- font-size: 24rpx;
- color: #282828;
- text-align: center;
- height: 90rpx;
- line-height: 90rpx;
- }
- .product-con .assemble .more .iconfont {
- margin-left: 13rpx;
- font-size: 25rpx;
- }
- .product-con .playWay {
- background-color: #fff;
- padding: 0 20rpx;
- font-size: 28rpx;
- color: #282828;
- margin: 20rpx 20rpx 0 20rpx;
- border-radius: 12rpx;
- }
- .product-con .playWay .title {
- height: 86rpx;
- border-bottom: 1rpx solid #eee;
- }
- .product-con .playWay .title .iconfont {
- margin-left: 13rpx;
- font-size: 28rpx;
- color: #717171;
- }
- .product-con .playWay .way {
- min-height: 110rpx;
- font-size: 26rpx;
- color: #282828;
- }
- .product-con .playWay .way .iconfont {
- color: #cdcdcd;
- font-size: 40rpx;
- margin: 0 35rpx;
- }
-
- .product-con .playWay .way .item {
- display: flex;
- align-items: center;
- }
- .product-con .playWay .way .item .num {
- font-size: 34rpx;
- margin-right: 6rpx;
- width: 17px;
- height: 28px;
- display: inline-block;
- vertical-align: middle;
- }
- .product-con .playWay .way .item .tip {
- font-size: 22rpx;
- color: #a5a5a5;
- margin-top: 7rpx;
- }
- .product-con .footer {
- padding: 0 20rpx 0 30rpx;
- position: fixed;
- bottom: 0;
- width: 100%;
- box-sizing: border-box;
- background-color: #fff;
- z-index: 277;
- border-top: 1px solid #f0f0f0;
- height: calc(100rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
- height: calc(100rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
- padding-bottom: constant(safe-area-inset-bottom); ///兼容 IOS<11.2/
- padding-bottom: env(safe-area-inset-bottom); ///兼容 IOS>11.2/
- }
- .product-con .footer .item {
- font-size: 18rpx;
- color: #666;
- }
- .product-con .footer .item .iconfont {
- text-align: center;
- font-size: 40rpx;
- }
- .product-con .footer .item .iconfont.icon-shoucang1 {
- color: var(--view-theme);
- }
- .product-con .footer .item .iconfont.icon-gouwuche1 {
- font-size: 40rpx;
- position: relative;
- }
- .product-con .conter {
- display: block;
- padding-bottom: 100rpx;
- }
- .product-con .conter img {
- display: block;
- }
- .product-con .footer .item .iconfont.icon-gouwuche1 .num {
- color: #fff;
- position: absolute;
- font-size: 18rpx;
- padding: 2rpx 8rpx 3rpx;
- border-radius: 200rpx;
- top: -10rpx;
- right: -10rpx;
- }
- .product-con .footer .bnt {
- width: 540rpx;
- height: 76rpx;
- }
- .product-con .footer .bnt .bnts {
- width: 270rpx;
- text-align: center;
- line-height: 76rpx;
- color: #fff;
- font-size: 28rpx;
- }
- .product-con .footer .bnt .joinCart {
- border-radius: 50rpx 0 0 50rpx;
- background-color: var(--view-bntColor);
- }
- .product-con .footer .bnt .buy {
- border-radius: 0 50rpx 50rpx 0;
- background-color: var(--view-theme);
- }
- .setCollectBox {
- font-size: 18rpx;
- color: #666;
- }
- .canvas {
- width: 750px;
- height: 1300px;
- position: relative;
- bottom: -10000rpx;
- }
- .poster-pop {
- width: 460rpx;
- height: 800rpx;
- position: fixed;
- left: 50%;
- transform: translateX(-50%);
- z-index: 300;
- top:50%;
- margin-top: -559rpx;
- }
- .poster-pop image {
- width: 100%;
- height: 100%;
- display: block;
- border-radius: 18rpx;
- }
- .poster-pop .close {
- width: 46rpx;
- height: 75rpx;
- position: fixed;
- right: 0;
- top: -73rpx;
- display: block;
- }
- .poster-pop .save-poster {
- background-color: #df2d0a;
- font-size: :22rpx;
- color: #fff;
- text-align: center;
- height: 76rpx;
- line-height: 76rpx;
- width: 100%;
- }
- .poster-pop .keep {
- color: #fff;
- text-align: center;
- font-size: 25rpx;
- margin-top: 10rpx;
- }
- /deep/.mask {
- z-index: 99 !important;
- }
- .mask1 {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: #000;
- opacity: .5;
- z-index: 288;
- }
- .pro-wrapper .iconn {
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAYKElEQVR4nO2deXhTVfrHP0nTlpautHSjZSkt+x42UTYVF5C4gsKIOqOjIxJHZdTfyG+eEZ1xxgVHjeLo6KiIKKsYcAUEBQooASxQKC1QulPolm50S+aPJPXmZm2a3BTo53n6QM49956T+8259yzv+x7ZmC8WcbGjU2migBFAGpAK9AGSgBjzX3dAAYSbT6kBWoA6oNz8VwycAU4BuUCmUquuku5beIZOpXF6XCFRPbyGTqUJAsYCVwCTgTFASjsvYxE6Gkh2UlYBcADYCewB9iu16qb21tmfXBQC61SaeGA2cANwHb8K5GtSzH83mz/X6lSarcCXwCalVn1Wonp4TKcVWKfSRAJzgLuAaUCAXytkIgy4xfzXqlNpfgA+A9Yotepqv9bMAbLO9g7WqTTjgYcxidvdnXNaDK3k1Z4lt6aEorrzFDdUUFpfQXljDfrmehpaGmkxtlLf0ghAqCIYhSyAEEUw4YEhxAZHkBDag6SQHvTqHktaeCJ9w+JRyN3+TdUBa4F3lFr13vZ/a89x9Q7uFALrVBo5plaxGJjkKn9lUy37zmVzqPwkmZWnOVlTQouh1at1UsgD6B+eyIjofozqkcqEuEFEB4W5c2oGsAzYqNSqDV6tlB06tcA6lUYG3Ao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ktQDjeZ/y81/xUCe+S8HyFRq1TY7Lnc2XD2i/wckBEniScYuwQAAAABJRU5ErkJggg==');
- width: 100rpx;
- height: 100rpx;
- background-repeat: no-repeat;
- background-size: 100% 100%;
- margin: 0 auto;
- }
- .pro-wrapper .iconn.iconn1 {
- 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+piSIKMKaPyJzhIjf0jNporwAeUQJqaSrv7xmBzXZ2AfAbXIY5mg7r92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6d3yBf48K4+5w5v2LJQAzBom8edZeW4RccqA8eY7TBkp7+4qAfVj4EZsxhBZgn8dL7F4mq9Jzid3aSOweJqPhTdJdtsyGO/qRvPdpZS0jGfMMds4zD1srYzuLbLyW3nMHtY0OmCiALOHSaz8lmuVDIbpd1x9x7mxEEYuTu+ygaBfnocxtZVvP7f3tM7zm0JsP94448yP6CHy0Dgp0sKBCuABJaAuTeYeQX/0+M9pF9h8iL7AUmzb2IbZcFDj37eG3Hbuykr6FQjcO0py834MU4Ix5Rf3rFAkPCGw+SAixkTFU9i2EQBjv4F/7NdYuj2U8SWZ9WVgJ4G7R0hMGiBGan4qgZ8DL8Q7nxsLzwgcJuiXewKLgBmR8nxUqvHqxxolR7Wk9kFqCEQBinuLzP26yA09o3Zp/gI8FI+bTSJ4TuAwQb88AXgOKIqU51SVzppPNd76XOPYeW8p3audwG2DRaZeFzNc8Q7gYSWgbkjHc3hWYICgXxYwph6fAL4WLe++0zrrD2iUHNHYd7rht6AXMKrgMX1Ebu4vxmO42QM8Drxh+pinBU8LHMZsn6djuIEWx8hO+SWdYKnOJ2Uau07qHCp3bI6cND4R+hYIFHYRGNZNROnpCFUUiRKMmml1qtrZaGSFwFaCfnkU8C8Ytu2W8VxTo8HhszqHzup8cUGnrELnZCWUX9SpVOErVadag6/MfYVa5EGeCC1kgTYyFLQSuKa1EUq5R1uBvh0Eru2QUFDWS8Aq4EVz+W2DkXUChwn65bYYIs/FMH96bf4xhLGq4FVglRJQL8TInxayVmArQb98DTAFuBWYjMswq4GoAtZjxKFaqwTUL2PkTzuNQmArQb8sAyOB0Rjm0CKgZ5puV4rRC96EsYJ+mxJQPbX5X6MT2I2gX24PFAIDMLas7wN0AwrMT0tABlqZl1wCrpj/lpufMuCI+dkP7FIC6rmG+Qb1J5bA/w8QrL/zy2ZeXQAAAABJRU5ErkJggg==');
- }
- .home-nav {
- /* #ifdef H5 */
- top: 20rpx !important;
- /* #endif */
- }
- .home-nav {
- color: #333;
- position: fixed;
- /* #ifdef MP */
- width: 150rpx;
- left: 15rpx;
- height: 58rpx;
- /* #endif */
- /* #ifndef MP */
- height: 56rpx;
- width: 56rpx;
- left: 33rpx;
- /* #endif */
- font-size: 33rpx;
- z-index: 99;
- background: rgba(255, 255, 255, 0.3);
- border: 0.5px solid rgba(0,0,0,0.1);
- border-radius: 40rpx;
-
- &.right{
- right: 33rpx;
- left:unset
- }
-
- &.on {
- background: unset;
- color: #333;
- }
-
- &.homeIndex{
- /* #ifdef MP */
- width: 98rpx;
- /* #endif */
- /* #ifndef MP */
- border-color: rgba(255,255,255,0);
- /* #endif */
- }
- }
-
- .home-nav .iconfont {
- width: 66rpx;
- text-align: center;
- font-size: 30rpx;
- color: #000;
- }
- .home-nav .line {
- width: 1rpx;
- height: 34rpx;
- background: rgba(0, 0, 0, 0.1);
- }
- .home-nav .icon-xiangzuo {
- width: auto;
- font-size: 28rpx;
- }
- .share-box {
- z-index: 1000;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- }
- .share-box image {
- width: 100%;
- height: 100%;
- }
- </style>
|