index.vue 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324
  1. <template>
  2. <view :style="viewColor">
  3. <skeleton :show="showSkeleton" :isNodes="isNodes" ref="skeleton" loading="chiaroscuro" selector="skeleton"
  4. bgcolor="#FFF"></skeleton>
  5. <view class="product-con skeleton" :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
  6. <view class="head-wrapper" :style="'top:'+statusBarHeight">
  7. <view class="head-menu">
  8. <view class='iconfont icon-xiangzuo' @click="returns"></view>
  9. <view class="iconfont icon-shouye4" @click="goHome"></view>
  10. </view>
  11. </view>
  12. <view v-if="storeInfo && storeInfo.merchant">
  13. <scroll-view :scroll-top="scrollTop" scroll-y='true' scroll-with-animation="true" :style='"height:"+height+"px;"'
  14. @scroll="scroll">
  15. <view id="past0">
  16. <productConSwiper class="skeleton-rect" :imgUrls="storeInfo.slider_image" :videoCoverImg="videoCoverImg" :videoline="storeInfo.video_link"></productConSwiper>
  17. <!--有氛围图-->
  18. <view v-if="storeInfo.atmosphere_pic" :style="{ backgroundImage: `url(${storeInfo.atmosphere_pic})` }" class='nav acea-row row-between-wrapper'>
  19. <view class='money skeleton-rect'>¥<text class='num'>{{storeInfo.price}}</text>
  20. <text v-if="!svipData" class='y-money'>¥{{storeInfo.ot_price}}</text>
  21. <view class="atmosphere" v-if="svipData && svipData.show_svip_price && svipData.show_svip" style="display: inline-block;">
  22. <text class="vip-money">¥{{storeInfo.svip_price}}</text>
  23. <image class="vip-image" src="/static/images/svip.png"></image>
  24. </view>
  25. </view>
  26. </view>
  27. <view class='wrapper'>
  28. <view v-if="storeInfo.atmosphere_pic" class='introduce skeleton-rect acea-row row-between row-bottom atmosphere'>
  29. <view>
  30. <text v-if="(storeInfo.merchant && storeInfo.merchant.type_name)" class="font-bg-red bt-color">{{storeInfo.merchant.type_name}}</text>
  31. <text v-else-if="(storeInfo.merchant && storeInfo.merchant.is_trader)" class="font-bg-red bt-color">自营</text>
  32. {{storeInfo.store_name}}
  33. </view>
  34. <view class="fenxiang_btn" @click="listenerActionSheet">
  35. <view class='iconfont icon-fenxiang'></view>
  36. 分享
  37. </view>
  38. </view>
  39. <view v-if="storeInfo.atmosphere_pic" class='integral_count skeleton-rect'>
  40. <text v-if="storeInfo.max_integral > 0" class='integral'>积分最高可抵扣{{storeInfo.max_integral}}元</text>
  41. <text v-if="storeInfo.delivery_free == 1" class='integral'>包邮</text>
  42. </view>
  43. <!--无氛围图-->
  44. <view v-else class='share acea-row row-between row-bottom'>
  45. <view class='money p-color skeleton-rect' style="min-width: 70rpx;">
  46. <text class='num'>{{storeInfo.price}}</text>
  47. <view v-if="svipData && svipData.show_svip_price && svipData.show_svip" style="display: inline-block;">
  48. <text class="vip-money">¥{{storeInfo.svip_price}}</text>
  49. <image class="vip-image" src="/static/images/svip.png"></image>
  50. </view>
  51. </view>
  52. <view @click="listenerActionSheet" class="fenxiang_btn">
  53. <view class='iconfont icon-fenxiang'></view>
  54. 分享
  55. </view>
  56. </view>
  57. <view
  58. v-if="svipData && !svipData.is_svip && svipData.show_svip"
  59. class="svipCon acea-row row-between-wrapper skeleton-rect" style="margin-top: 20rpx;">
  60. <view class="acea-row row-between-wrapper">
  61. <image src="/static/images/svip_user.png"></image>
  62. <view class="">开通 SVIP会员 立省<text>{{svipData.save_money}}元</text></view>
  63. </view>
  64. <navigator class="svipBtn" url="/pages/annex/vip_paid/index">
  65. 立即开通
  66. <text class="iconfont icon-jiantou"></text>
  67. </navigator>
  68. </view>
  69. <view v-if="storeInfo.integral_rate" class='integral_count skeleton-rect'>
  70. <text v-if="storeInfo.integral_rate > 0" class='integral'>积分最高可抵扣{{storeInfo.integral_rate*storeInfo.price*0.01}}元</text>
  71. <text v-if="storeInfo.delivery_free == 1" class='integral'>包邮</text>
  72. </view>
  73. <view v-if="!storeInfo.atmosphere_pic" class='integral_count skeleton-rect'>
  74. <text v-if="storeInfo.max_integral > 0" class='integral'>积分最高可抵扣{{storeInfo.max_integral}}元</text>
  75. <text v-if="storeInfo.delivery_free == 1" class='integral'>包邮</text>
  76. </view>
  77. <view v-if="!storeInfo.atmosphere_pic" class='introduce skeleton-rect'>
  78. <text v-if="storeInfo.merchant.type_name" class="font-bg-red bt-color">{{storeInfo.merchant.type_name}}</text>
  79. <text v-else-if="storeInfo.merchant.is_trader" class="font-bg-red bt-color">自营</text>
  80. {{storeInfo.store_name || ''}}
  81. </view>
  82. <view class='label acea-row row-between-wrapper' :style="{'padding-bottom':coupon.list.length || storeInfo.top_pid?0 :10+'px;'}">
  83. <view class="skeleton-rect">市场价:¥{{storeInfo.ot_price ? storeInfo.ot_price : ''}}</view>
  84. <view class="skeleton-rect">库存:{{storeInfo.stock ? storeInfo.stock : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}</view>
  85. <view class="skeleton-rect">销量:{{storeInfo.sales ? storeInfo.sales : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}</view>
  86. </view>
  87. <navigator v-if="storeInfo.top_pid" hover-class='none' :url="`/pages/activity/rank/index?cate_id=${storeInfo.top_pid}`" class='label' style="padding-bottom: 10px;">
  88. <view class="rank_list acea-row row-between-wrapper">
  89. <view class="acea-row row-between-wrapper">
  90. <text class="rank_title"></text>
  91. <view>{{ storeInfo.top_name }} · 第{{ storeInfo.top_num }}名</view>
  92. </view>
  93. <text class="iconfont icon-xiala1"></text>
  94. </view>
  95. </navigator>
  96. <view class='coupon acea-row row-between-wrapper skeleton-rect' @click='couponTap' style="margin-top: 20rpx;" v-if="coupon.list.length > 0">
  97. <view class='hide line1 acea-row'>
  98. 优惠券:
  99. <view class='activity' v-for="(item,index) in coupon.list" :key="index">满{{item.use_min_price}}减{{item.coupon_price}}</view>
  100. </view>
  101. <view class='iconfont icon-jiantou'></view>
  102. </view>
  103. </view>
  104. <view class='attribute acea-row row-between-wrapper skeleton-rect' @click="selecAttr">
  105. <view class="acea-row row-between-wrapper">{{attrTxt}}:
  106. <text class='atterTxt'>{{attrValue}}</text>
  107. </view>
  108. <view class='iconfont icon-jiantou'></view>
  109. </view>
  110. <view v-if="specsInfo.params && specsInfo.params.length>0" class="attribute acea-row row-between-wrapper" @click="seeSpecs">
  111. <view class="acea-row row-middle">
  112. 参数:
  113. <view class="list line1">
  114. <text class="item params" v-for="(item,index) in specsInfo.params" :key="index"
  115. v-if="index<2">{{item.name}}</text>
  116. <text>...</text>
  117. </view>
  118. </view>
  119. <view class="iconfont icon-jiantou"></view>
  120. </view>
  121. <!--运费-->
  122. <view v-if="shipping || shippingValue" class='attribute acea-row row-between-wrapper' @click="showShip">
  123. <view class="acea-row row-between-wrapper">运费:
  124. <text class='atterTxt'>{{shippingValue}}</text>
  125. </view>
  126. <view class='iconfont icon-jiantou'></view>
  127. </view>
  128. <!--保障-->
  129. <view v-if="guarantee && guarantee.length" class='attribute acea-row row-between-wrapper' @click="showGuaranee">
  130. <view class="acea-row row-between-wrapper">保障:
  131. <view class="guaranteeAttr">
  132. <text class='atterTxt1' :class="item.guarantee_name ? 'hasAttr' : ''" v-for="(item,index) in guarantee">
  133. {{item.guarantee_name ? item.guarantee_name : ''}}
  134. </text>
  135. </view>
  136. </view>
  137. <view class='iconfont icon-jiantou'></view>
  138. </view>
  139. </view>
  140. <!--优惠套餐-->
  141. <view class='combo' v-if="comboList && comboList.length>0">
  142. <view class='title acea-row row-between-wrapper'>
  143. <view>优惠套餐({{comboTotal}}) </view>
  144. <view class='praise' @click="openCombo">
  145. 查看全部
  146. <text class='iconfont icon-jiantou'></text>
  147. </view>
  148. </view>
  149. <scroll-view scroll-x="true" style="white-space: nowrap; display: flex;height: 180rpx;" show-scrollbar="false">
  150. <view class="img-box">
  151. <view class="combo_item" v-for="(item,index) in comboList" :key="index">
  152. <view class="img-item" v-for="(itemn,indexn) in item.discountsProduct" :key="indexn">
  153. <image :src="itemn.image" mode="" @click="openCombo"></image>
  154. <text v-if="indexn != item.count-1" class="iconfont icon-jiahao2"></text>
  155. </view>
  156. <view class="list_total">
  157. <view class="list_num">共{{item.count}}件</view>
  158. <view class="list_price p-color">省 ¥{{item.max_price}}</view>
  159. </view>
  160. </view>
  161. </view>
  162. </scroll-view>
  163. </view>
  164. <view class='userEvaluation' id="past1" v-if="replyCount && replyCount>0">
  165. <view class='title acea-row row-between-wrapper skeleton-rect'>
  166. <view>用户评价({{replyCount}})</view>
  167. <navigator class='praise' hover-class='none' :url='"/pages/users/goods_comment_list/index?product_id="+id'>
  168. <text class='t-color'>{{replyChance}}</text>好评率
  169. <text class='iconfont icon-jiantou'></text>
  170. </navigator>
  171. </view>
  172. <block v-if="replyCount && replyCount>0">
  173. <userEvaluation :reply="reply"></userEvaluation>
  174. </block>
  175. </view>
  176. <!-- 种草秀 -->
  177. <view class='userPlant' v-if="storeInfo.community && storeInfo.community.length>0">
  178. <view class='title acea-row row-between-wrapper'>
  179. <view>种草秀 </view>
  180. <navigator class='praise' hover-class='none' :url="'/pages/plantGrass/plant_show/index?spu_id='+storeInfo.spu_id">
  181. 查看全部
  182. <text class='iconfont icon-jiantou'></text>
  183. </navigator>
  184. </view>
  185. <view class="imgList acea-row">
  186. <navigator class="pictrue" v-for="(item, index) in storeInfo.community" :key="index" v-if="index<=2"
  187. hover-class='none' :url="'/pages/plantGrass/plant_detail/index?id='+item.community_id">
  188. <image :src="item.image[0]" class="image"></image>
  189. </navigator>
  190. </view>
  191. </view>
  192. <!-- 商铺信息 -->
  193. <view class="store-wrapper" v-if="storeInfo.merchant && hide_mer_status !=1">
  194. <view class="store-hd skeleton-rect">
  195. <view class="store-info">
  196. <view class="logo">
  197. <image :src="storeInfo.merchant.mer_avatar" mode=""></image>
  198. </view>
  199. <view class="info">
  200. <view class="name line1">
  201. <text>{{storeInfo.merchant.mer_name ? storeInfo.merchant.mer_name : ''}}</text>
  202. <text v-if="storeInfo.merchant.type_name" class="font-bg-red ml8 bt-color">{{storeInfo.merchant.type_name}}</text>
  203. <text v-else-if="storeInfo.merchant.is_trader" class="font-bg-red ml8 bt-color">自营</text>
  204. </view>
  205. <view v-if="storeInfo.merchant.care_count" class="txt">
  206. {{storeInfo.merchant.care_count < 10000 ? storeInfo.merchant.care_count : (storeInfo.merchant.care_count/10000).toFixed(2)+'万'}}人关注
  207. </view>
  208. <view v-else class="txt">0人关注</view>
  209. </view>
  210. <navigator v-if="hide_mer_status != 1" :url="'/pages/store/home/index?id='+storeInfo.merchant.mer_id" class="link"
  211. hover-class="none">进店</navigator>
  212. </view>
  213. <view class="score-wrapper">
  214. <view class="item">
  215. 商品描述<text>{{storeInfo.merchant.product_score}}</text>
  216. </view>
  217. <view class="item">
  218. 卖家服务<text>{{storeInfo.merchant.service_score}}</text>
  219. </view>
  220. <view class="item">
  221. 物流服务<text>{{storeInfo.merchant.postage_score}}</text>
  222. </view>
  223. </view>
  224. </view>
  225. <view v-if="storeInfo.merchant.recommend && storeInfo.merchant.recommend.length > 0" class="con-box">
  226. <view class="title">店铺推荐</view>
  227. <scroll-view scroll-x="true" style="white-space: nowrap; display: flex" show-scrollbar="false">
  228. <view class="img-box">
  229. <view class="img-item" v-for="(item,index) in storeInfo.merchant.recommend" :key="index" @click="goProDetail(item)">
  230. <easy-loadimage mode="widthFix" :image-src="item.image"></easy-loadimage>
  231. <!-- <image :src="item.image"></image> -->
  232. <view class="txt">
  233. <view class="title line1">{{item.store_name}}</view>
  234. <view class="price">
  235. <text>¥</text>{{item.price}}
  236. </view>
  237. </view>
  238. </view>
  239. </view>
  240. </scroll-view>
  241. </view>
  242. </view>
  243. <view class='product-intro' id="past3">
  244. <view class='title'>产品介绍</view>
  245. <view class='conter' v-if="description">
  246. <!-- #ifndef APP-PLUS -->
  247. <jyf-parser v-if="description.type == 0" :domain='domain' :html="description.content.replace(/<br\/>/ig, '')" ref="article" :tag-style="tagStyle"></jyf-parser>
  248. <!-- #endif -->
  249. <!-- #ifdef APP-PLUS -->
  250. <view v-if="description.type == 0" class="description" v-html="description.content.replace(/<br\/>/ig, '')"></view>
  251. <!-- #endif -->
  252. <view v-else class="product_content">
  253. <view v-if="description.content && description.content.title" class="title">{{description.content.title}}</view>
  254. <view v-if="description.content && description.content.image" class="pictures">
  255. <image v-for="(item,index) in description.content.image" :key="index" :src="item"></image>
  256. </view>
  257. </view>
  258. </view>
  259. <!-- 价格说明 -->
  260. <view v-if="priceRule.content" class="price-info">
  261. <view class="price-title">{{priceRule.rule_name}}</view>
  262. <!-- #ifndef APP-PLUS -->
  263. <jyf-parser :domain='domain' :html="priceRule.content.replace(/<br\/>/ig, '')" ref="article" :tag-style="tagStyle"></jyf-parser>
  264. <!-- #endif -->
  265. <!-- #ifdef APP-PLUS -->
  266. <view class="description" v-html="priceRule.content.replace(/<br\/>/ig, '')"></view>
  267. <!-- #endif -->
  268. </view>
  269. </view>
  270. <view style='height:120rpx;'></view>
  271. </scroll-view>
  272. </view>
  273. <view class='footer acea-row row-between-wrapper'>
  274. <view v-if="storeInfo.merchant && storeInfo.merchant.services_type == 1" class="item skeleton-rect" @click="call">
  275. <view class="iconfont icon-kefu"></view>
  276. <view>{{showSkeleton ? 'xxxxxx' : '客服'}}</view>
  277. </view>
  278. <view v-else class="item skeleton-rect" @click="couponTap2">
  279. <view class="iconfont icon-kefu"></view>
  280. <view>{{showSkeleton ? 'xxxxxx' : '客服'}}</view>
  281. </view>
  282. <view @click="setCollect" class='item skeleton-rect'>
  283. <view class='iconfont icon-shoucang1' v-if="storeInfo.isRelation"></view>
  284. <view class='iconfont icon-shoucang' v-else></view>
  285. <view>{{showSkeleton ? 'xxxxxx' : '收藏'}}</view>
  286. </view>
  287. <navigator open-type='switchTab' class="animated item skeleton-rect" :class="animated==true?'bounceIn':''" url='/pages/order_addcart/order_addcart'
  288. hover-class="none">
  289. <view class='iconfont icon-gouwuche1'>
  290. <text v-if="CartCount>0" class='num'>{{CartCount || 0}}</text>
  291. </view>
  292. <view>{{showSkeleton ? 'xxxxxx' : '购物车'}}</view>
  293. </navigator>
  294. <view v-if="attr.productSelect.stock != 0" class='bnt acea-row skeleton-rect'>
  295. <form @submit="joinCart" report-submit='true'>
  296. <button v-if="storeInfo.type != 1" class='joinCart bnts' form-type="submit">加入购物车</button>
  297. </form>
  298. <form @submit="goBuy" report-submit='true' v-if="attr.productSelect">
  299. <button class='buy bnts' :class="storeInfo.type == 1 ? 'virtual_buy' : ''" form-type="submit" :disabled="attr.productSelect.stock == 0">立即购买</button>
  300. </form>
  301. </view>
  302. <view v-else class='bnt acea-row skeleton-rect'>
  303. <form report-submit='true'>
  304. <button v-if="arrival_notice" class='buy bnts sold_out' form-type="submit" @click="arrivalNotice">到货通知</button>
  305. <button v-else class='buy bnts sold_out' form-type="submit" disabled>商品已售罄</button>
  306. </form>
  307. </view>
  308. </view>
  309. <block v-if="sharePacket.max&&sharePacket.max>0">
  310. <shareRedPackets :sharePacket="sharePacket" @listenerActionSheet="listenerActionSheet" @closeChange="closeChange"
  311. :showAnimate="showAnimate" @boxStatus="boxStatus"></shareRedPackets>
  312. </block>
  313. <!-- 组件 -->
  314. <productWindow :attr="attr" :isShow='1' :iSplus='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr" @ChangeCartNum="ChangeCartNum"
  315. @attrVal="attrVal" @iptCartNum="iptCartNum" id='product-window' :maxCount="max_count" :minCount="min_count" :svipPrice="svipPrice" :image="storeInfo.image"></productWindow>
  316. <block v-if="coupon.coupon">
  317. <couponListWindow :coupon='coupon' @ChangCouponsClone="ChangCouponsClone" @ChangCoupons="ChangCoupons"
  318. @ChangCouponsUseState="ChangCouponsUseState"></couponListWindow>
  319. </block>
  320. <specs :specsInfo="specsInfo" @myevent="mySpecs"></specs>
  321. <!-- 分享按钮 -->
  322. <view class="generate-posters acea-row row-middle" :class="posters ? 'on' : ''">
  323. <!-- #ifndef MP -->
  324. <button class="item" :class="weixinStatus ? 'item3' : ''" hover-class='none' v-if="weixinStatus === true" @click="H5ShareBox = true">
  325. <view class="iconfont icon-weixin3"></view>
  326. <view class="">发送给朋友</view>
  327. </button>
  328. <!-- #endif -->
  329. <!-- #ifdef MP -->
  330. <button class="item" :class="weixinStatus ? 'item3' : ''" open-type="share" hover-class='none' @click="goFriend">
  331. <view class="iconfont icon-weixin3"></view>
  332. <view class="">发送给朋友</view>
  333. </button>
  334. <!-- #endif -->
  335. <!-- #ifdef APP-PLUS -->
  336. <view class="item" @click="appShare('WXSceneSession')">
  337. <view class="iconfont icon-weixin3"></view>
  338. <view class="">分享给好友</view>
  339. </view>
  340. <!-- #endif -->
  341. <button class="item" :class="weixinStatus ? 'item3' : ''" hover-class='none' @click="goPoster">
  342. <view class="iconfont icon-haibao"></view>
  343. <view class="">生成海报</view>
  344. </button>
  345. <button class="item" :class="weixinStatus ? 'item3' : ''" hover-class='none' @click="copyPwd">
  346. <view class="iconfont icon-fuzhikouling1"></view>
  347. <view>生成口令</view>
  348. </button>
  349. </view>
  350. <view class="mask" v-if="posters" @click="listenerActionClose"></view>
  351. <!--口令复制结果-->
  352. <copyPassword :isCopy='isCopy' :copyUrl='copyUrl' @close="closeCopy"></copyPassword>
  353. <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
  354. <!-- 海报展示 -->
  355. <view class='poster-pop' v-if="posterImageStatus">
  356. <image src='../../static/images/poster-close.png' class='close' @click="posterImageClose"></image>
  357. <image :src='posterImage'></image>
  358. <!-- #ifndef H5 -->
  359. <view class='save-poster' @click="savePosterPath">保存到手机</view>
  360. <!-- #endif -->
  361. <!-- #ifdef H5 -->
  362. <view class="keep">长按图片可以保存到手机</view>
  363. <!-- #endif -->
  364. </view>
  365. <view class='mask' v-if="posterImageStatus"></view>
  366. <canvas class="canvas" canvas-id='myCanvas' v-if="canvasStatus"></canvas>
  367. <!-- 发送给朋友图片 -->
  368. <view class="share-box" v-if="H5ShareBox">
  369. <image src="/static/images/share-info.png" @click="H5ShareBox = false"></image>
  370. </view>
  371. <guaranteeTemplate ref="guartemplate" :guarantee='guarantee' :shipping='shipping'></guaranteeTemplate>
  372. <!-- #ifndef H5 -->
  373. <passwordPopup></passwordPopup>
  374. <!-- #endif -->
  375. <!--套餐产品弹窗-->
  376. <discounts-goods ref="discounts" :id="id" :uid="uid"></discounts-goods>
  377. </view>
  378. </view>
  379. </template>
  380. <script>
  381. // +----------------------------------------------------------------------
  382. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  383. // +----------------------------------------------------------------------
  384. // | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
  385. // +----------------------------------------------------------------------
  386. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  387. // +----------------------------------------------------------------------
  388. // | Author: CRMEB Team <admin@crmeb.com>
  389. // +----------------------------------------------------------------------
  390. var statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
  391. import { getconfig } from '@/api/public.js';
  392. import { arrivalSubscribe } from '@/utils/SubscribeMessage.js';
  393. import {
  394. getProductDetail,
  395. getProductCode,
  396. collectAdd,
  397. collectDel,
  398. postCartAdd,
  399. arrivalNoticeApi,
  400. copyPasswordApi, getDiscountsLst, priceRuleApi
  401. } from '@/api/store.js';
  402. import { getUserInfo, imgToBase } from '@/api/user.js';
  403. import { getCoupons,getShopCoupons } from '@/api/api.js';
  404. import { getCartCounts } from '@/api/order.js';
  405. import { mapGetters } from "vuex";
  406. import { imageBase64 } from "@/api/public";
  407. import productConSwiper from '@/components/productConSwiper';
  408. import couponListWindow from '@/components/couponListWindow';
  409. import copyPassword from '@/components/copyPassword';
  410. import productWindow from '@/components/productWindow';
  411. import userEvaluation from '@/components/userEvaluation';
  412. import shareRedPackets from '@/components/shareRedPackets';
  413. import specs from '@/components/specs/index.vue';
  414. // #ifndef H5
  415. import passwordPopup from '@/components/passwordPopup';
  416. // #endif
  417. import { HTTP_REQUEST_URL } from '@/config/app';
  418. import home from '@/components/home';
  419. import { silenceBindingSpread } from "@/utils";
  420. import parser from "@/components/jyf-parser/jyf-parser";
  421. import authorize from '@/components/Authorize';
  422. import history from "@/mixins/history";
  423. import shareScence from "@/libs/spread";
  424. import guaranteeTemplate from '@/components/freightGuarantee';
  425. import discountsGoods from './discountsGoods';
  426. import ClipboardJS from "@/plugin/clipboard/clipboard.js";
  427. import easyLoadimage from '@/components/easy-loadimage/easy-loadimage.vue';
  428. let app = getApp();
  429. export default {
  430. components: {
  431. // #ifndef H5
  432. passwordPopup,
  433. // #endif
  434. productConSwiper,
  435. couponListWindow,
  436. productWindow,
  437. userEvaluation,
  438. shareRedPackets,
  439. home,
  440. guaranteeTemplate,
  441. copyPassword,
  442. discountsGoods,
  443. "jyf-parser": parser,
  444. authorize,
  445. easyLoadimage,
  446. specs
  447. },
  448. mixins: [history],
  449. data() {
  450. let that = this;
  451. return {
  452. showSkeleton: true, //骨架屏显示隐藏
  453. isNodes: 0, //控制什么时候开始抓取元素节点,只要数值改变就重新抓取
  454. statusBarHeight: statusBarHeight, //系统导航条高度
  455. //属性是否打开
  456. coupon: {
  457. 'coupon': false,
  458. list: [],
  459. },
  460. attrTxt: '选择', //属性页面提示
  461. attrValue: '', //已选属性
  462. animated: false, //购物车动画
  463. id: 0, //商品id
  464. replyCount: 0, //总评论数量
  465. reply: [], //评论列表
  466. storeInfo: {
  467. merchant: {}
  468. }, //商品详情
  469. productValue: [], //系统属性
  470. couponList: [], //优惠券
  471. cart_num: 1, //购买数量
  472. isAuto: false, //没有授权的不会自动授权
  473. isShowAuth: false, //是否隐藏授权
  474. isOpen: false, //是否打开属性组件
  475. actionSheetHidden: true,
  476. posterImageStatus: false,
  477. storeImage: '', //海报产品图
  478. PromotionCode: '', //二维码图片
  479. canvasStatus: false, //海报绘图标签
  480. posterImage: '', //海报路径
  481. posterbackgd: '/static/images/posterbackgd.png',
  482. source: '',
  483. sharePacket: {
  484. isState: true, //默认不显示
  485. }, //分销商详细
  486. // uid: 0, //用户uid
  487. circular: false,
  488. autoplay: false,
  489. interval: 3000,
  490. duration: 500,
  491. clientHeight: "",
  492. systemStore: {}, //门店信息
  493. replyChance: 0,
  494. CartCount: 0,
  495. isDown: true,
  496. storeSelfMention: true,
  497. posters: false,
  498. weixinStatus: false,
  499. attr: {
  500. cartAttr: false,
  501. productAttr: [],
  502. productSelect: {}
  503. },
  504. description: '',
  505. navActive: 0,
  506. H5ShareBox: false, //公众号分享图片
  507. activity: [],
  508. retunTop: true, //顶部返回
  509. navH: "",
  510. navList: [],
  511. opacity: 0,
  512. scrollY: 0,
  513. topArr: [],
  514. toView: '',
  515. height: 0,
  516. heightArr: [],
  517. lock: false,
  518. scrollTop: 0,
  519. tagStyle: {
  520. img: 'width:100%;display:block;'
  521. },
  522. // 动画状态
  523. showAnimate: true,
  524. hide_mer_status: 1,
  525. domain: HTTP_REQUEST_URL,
  526. currSpid: '',
  527. codeImg: "",
  528. videoCoverImg: "",
  529. shipping: "",
  530. guarantee: [],
  531. guaranteeValue: "",
  532. shippingValue: "",
  533. arrival_notice: 0, //是否开启到货通知
  534. uniqueValue: "",
  535. priceRule: "",
  536. isCopy: false,
  537. copyUrl: '',
  538. comboTotal: 0,
  539. comboList: [],
  540. max_count: 0,
  541. min_count: 0,
  542. svipData: {},
  543. svipPrice: false,
  544. specsInfo: {
  545. show: false,
  546. params: []
  547. },
  548. };
  549. },
  550. computed: mapGetters(['isLogin','uid','viewColor']),
  551. onLoad(options) {
  552. let that = this
  553. if (options.spid) {
  554. app.globalData.spid = Number(options.spid);
  555. that.currSpid = Number(options.spid)
  556. }
  557. var pages = getCurrentPages();
  558. let curPage = pages[pages.length - 1];
  559. if (pages.length <= 1) {
  560. that.retunTop = false
  561. }
  562. let curParam = curPage.options || curPage.$route.query;
  563. this.source = curParam.source;
  564. // #ifdef MP
  565. this.navH = app.globalData.navHeight;
  566. // #endif
  567. // #ifndef MP
  568. this.navH = 96;
  569. // #endif
  570. this.id = options.id;
  571. uni.getSystemInfo({
  572. success: function(res) {
  573. that.height = res.windowHeight
  574. //res.windowHeight:获取整个窗口高度为px,*2为rpx;98为头部占据的高度;
  575. },
  576. });
  577. //扫码携带参数处理
  578. // #ifdef MP
  579. if (options.scene) {
  580. this.showSkeleton = false;
  581. let value = this.$util.getUrlParams(decodeURIComponent(options.scene));
  582. if (value.id) options.id = value.id;
  583. //记录推广人uid
  584. if (value.spid) {
  585. app.globalData.spid = Number(value.spid);
  586. that.currSpid = Number(value.spid)
  587. }
  588. }
  589. if (!options.id && !options.scene) {
  590. this.showSkeleton = false;
  591. return this.$util.Tips({
  592. title: '缺少参数无法查看商品'
  593. }, {
  594. tab: 3,
  595. url: 1
  596. });
  597. } else {
  598. this.id = options.id
  599. }
  600. //记录推广人uid
  601. if (options.spid) app.globalData.spid = Number(options.spid);
  602. // #endif
  603. shareScence(that.currSpid, that.isLogin)
  604. this.getGoodsDetails();
  605. this.getDiscountsData();
  606. //#ifdef H5
  607. this.isLogin && silenceBindingSpread();
  608. //#endif
  609. if (this.isLogin) {
  610. this.downloadFilePromotionCode();
  611. this.getHistory()
  612. }
  613. },
  614. onReady() {
  615. this.isNodes++;
  616. },
  617. onShow() {
  618. let that = this
  619. that.getConfig();
  620. uni.hideLoading();
  621. },
  622. /**
  623. * 用户点击右上角分享
  624. */
  625. // #ifdef MP
  626. onShareAppMessage: function() {
  627. let that = this;
  628. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  629. return {
  630. title: that.storeInfo.store_name || '',
  631. imageUrl: that.storeInfo.image || '',
  632. path: '/pages/goods_details/index?id=' + that.id + '&spid=' + that.uid,
  633. }
  634. },
  635. onShareTimeline: function() {
  636. let that = this;
  637. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  638. return {
  639. title: that.storeInfo.store_name || '',
  640. query: {
  641. id: that.id,
  642. spid: that.uid
  643. },
  644. imageUrl: that.storeInfo.image || ''
  645. }
  646. },
  647. // #endif
  648. methods: {
  649. call: function(){
  650. uni.makePhoneCall({
  651. // 手机号
  652. phoneNumber: this.storeInfo.merchant.service_phone,
  653. // 成功回调
  654. success: (res) => {},
  655. // 失败回调
  656. fail: (res) => {}
  657. });
  658. },
  659. getConfig() {
  660. let self = this
  661. // 获取配置
  662. getconfig().then(res => {
  663. this.hide_mer_status = res.data.hide_mer_status
  664. this.arrival_notice = res.data.procudt_increase_status
  665. }).catch(err => {})
  666. },
  667. /**到货通知*/
  668. arrivalNotice(){
  669. let that = this;
  670. // #ifdef MP
  671. arrivalSubscribe().then(() => {
  672. that.arrivalNoticeFun();
  673. });
  674. // #endif
  675. // #ifndef MP
  676. that.arrivalNoticeFun();
  677. // #endif
  678. },
  679. arrivalNoticeFun(){
  680. let that = this;
  681. let uniqueValue = that.uniqueValue;
  682. let typeValue = 0;
  683. // #ifdef MP
  684. typeValue = 3
  685. // #endif
  686. // #ifdef H5
  687. if(this.$wechat.isWeixin() === true){
  688. typeValue = 2
  689. }else{
  690. typeValue = 1
  691. }
  692. // #endif
  693. arrivalNoticeApi({ unique: uniqueValue,type:typeValue,product_id: that.id }).then(res => {
  694. return that.$util.Tips({
  695. title: res.message
  696. })
  697. }).catch(err => {
  698. //状态异常返回上级页面
  699. return that.$util.Tips({
  700. title: err
  701. })
  702. })
  703. },
  704. goProDetail(item) {
  705. uni.redirectTo({
  706. url: '/pages/goods_details/index?id=' + item.product_id
  707. })
  708. },
  709. boxStatus(data) {
  710. this.showAnimate = data
  711. },
  712. closeChange: function() {
  713. this.$set(this.sharePacket, 'isState', true);
  714. },
  715. /**查看运费说明*/
  716. showShip: function() {
  717. this.$refs.guartemplate.showShippingTel();
  718. },
  719. /**查看服务保障*/
  720. showGuaranee: function() {
  721. this.$refs.guartemplate.showGuaranteeTel();
  722. },
  723. /*查看套餐详情*/
  724. openCombo(){
  725. this.$refs.discounts.showPopup(this.id);
  726. },
  727. seeSpecs() {
  728. this.specsInfo.show = true;
  729. },
  730. mySpecs() {
  731. this.$set(this.specsInfo, 'show', false);
  732. },
  733. /*获取套餐列表数据*/
  734. getDiscountsData(){
  735. getDiscountsLst({product_id: this.id}).then(res => {
  736. this.comboTotal = res.data.count;
  737. res.data.list.forEach((item, index) => {
  738. item.save_price = 0;
  739. item.discountsProduct.forEach((v, i) => {
  740. item.save_price += parseFloat(v.product.ot_price) - parseFloat(v.product.price)
  741. })
  742. })
  743. this.comboList = res.data.list;
  744. }).catch(err => {
  745. });
  746. },
  747. /*获取价格说明*/
  748. getPricrRule() {
  749. priceRuleApi(this.storeInfo.cate_id).then(res => {
  750. this.priceRule = res.data
  751. }).catch(err => {
  752. });
  753. },
  754. goActivity: function(e) {
  755. let item = e;
  756. if (item.type === "1") {
  757. uni.navigateTo({
  758. url: `/pages/activity/goods_seckill_details/index?id=${item.id}&time=${item.time}&status=1`
  759. });
  760. } else if (item.type === "2") {
  761. uni.navigateTo({
  762. url: `/pages/activity/goods_bargain_details/index?id=${item.id}&bargain=${this.uid}`
  763. });
  764. } else {
  765. uni.navigateTo({
  766. url: `/pages/activity/goods_combination_details/index?id=${item.id}`
  767. });
  768. }
  769. },
  770. /**
  771. * 购物车手动填写
  772. *
  773. */
  774. iptCartNum: function(e) {
  775. this.$set(this.attr.productSelect, 'cart_num', e);
  776. },
  777. // 后退
  778. returns: function() {
  779. uni.navigateBack()
  780. },
  781. // 首页
  782. goHome() {
  783. uni.switchTab({
  784. url: '/pages/index/index'
  785. });
  786. },
  787. tap: function(index) {
  788. var id = "past" + index;
  789. var index = index;
  790. var that = this;
  791. this.$set(this, 'toView', id);
  792. this.$set(this, 'navActive', index);
  793. this.$set(this, 'lock', true);
  794. this.$set(this, 'scrollTop', index > 0 ? that.topArr[index] - (app.globalData.navHeight / 2) : that.topArr[index]);
  795. },
  796. scroll: function(e) {
  797. var that = this,
  798. scrollY = e.detail.scrollTop;
  799. var opacity = scrollY / 200;
  800. opacity = opacity > 1 ? 1 : opacity;
  801. that.$set(that, 'showAnimate', false);
  802. that.$set(that, 'opacity', opacity);
  803. that.$set(that, 'scrollY', scrollY);
  804. if (that.lock) {
  805. that.$set(that, 'lock', false)
  806. return;
  807. }
  808. for (var i = 0; i < that.topArr.length; i++) {
  809. if (scrollY < that.topArr[i] - (app.globalData.navHeight / 2) + that.heightArr[i]) {
  810. that.$set(that, 'navActive', i)
  811. break
  812. }
  813. }
  814. uni.$emit('scroll');
  815. },
  816. // 微信登录回调
  817. onLoadFun: function(e) {
  818. this.getCartCount();
  819. this.isShowAuth = false
  820. this.downloadFilePromotionCode()
  821. },
  822. ChangCouponsClone: function() {
  823. this.$set(this.coupon, 'coupon', false)
  824. },
  825. /**
  826. * 购物车数量加和数量减
  827. *
  828. */
  829. ChangeCartNum: function(changeValue) {
  830. //changeValue:是否 加|减
  831. //获取当前变动属性
  832. let productSelect = this.productValue[this.attrValue];
  833. //如果没有属性,赋值给商品默认库存
  834. if (productSelect === undefined && !this.attr.productAttr.length)
  835. productSelect = this.attr.productSelect;
  836. //无属性值即库存为0;不存在加减;
  837. if (productSelect === undefined) return;
  838. let stock = productSelect.stock || 0;
  839. let num = this.attr.productSelect;
  840. if (changeValue) {
  841. num.cart_num++;
  842. if (num.cart_num > stock) {
  843. this.$set(this.attr.productSelect, "cart_num", stock);
  844. this.$set(this, "cart_num", stock);
  845. }
  846. if(num.cart_num > this.storeInfo.once_max_count && this.storeInfo.once_max_count !=0){
  847. this.$set(this.attr.productSelect, "cart_num", this.storeInfo.once_max_count);
  848. this.$set(this, "cart_num", this.storeInfo.once_max_count);
  849. return this.$util.Tips({
  850. title: "单次购买件数不能超过"+this.storeInfo.once_max_count+"件!"
  851. });
  852. }
  853. } else {
  854. num.cart_num--;
  855. if (num.cart_num < 1) {
  856. this.$set(this.attr.productSelect, "cart_num", 1);
  857. this.$set(this, "cart_num", 1);
  858. }
  859. }
  860. },
  861. attrVal(val) {
  862. this.$set(this.attr.productAttr[val.indexw], 'index', this.attr.productAttr[val.indexw].attr_values[val.indexn]);
  863. },
  864. /**
  865. * 属性变动赋值
  866. *
  867. */
  868. ChangeAttr: function(res) {
  869. let productSelect = this.productValue[res];
  870. if(productSelect)this.$set(this, "uniqueValue", productSelect.unique);
  871. if (productSelect && productSelect.stock > 0) {
  872. this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : this.storeInfo.image);
  873. this.$set(this.attr.productSelect, "price", productSelect.price);
  874. this.$set(this.attr.productSelect, "svip_price", productSelect.svip_price);
  875. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  876. this.$set(this.attr.productSelect, "unique", productSelect.unique);
  877. this.$set(this, "uniqueValue", productSelect.unique);
  878. this.$set(this.attr.productSelect, "cart_num", 1);
  879. this.$set(this, "attrValue", res);
  880. this.$set(this, "attrTxt", "选择");
  881. }
  882. else {
  883. this.$set(this.attr.productSelect, "image", productSelect.image);
  884. this.$set(this.attr.productSelect, "price", productSelect.price);
  885. this.$set(this.attr.productSelect, "svip_price", productSelect.svip_price);
  886. this.$set(this.attr.productSelect, "stock", 0);
  887. this.$set(this.attr.productSelect, "unique", "");
  888. this.$set(this.attr.productSelect, "cart_num", 0);
  889. this.$set(this, "attrValue", "");
  890. this.$set(this, "attrTxt", "选择");
  891. }
  892. },
  893. /**
  894. * 领取完毕移除当前页面领取过的优惠券展示
  895. */
  896. ChangCoupons: function(e) {
  897. let coupon = e;
  898. let couponList = this.$util.ArrayRemove(this.couponList, 'id', coupon.id);
  899. this.$set(this, 'couponList', couponList);
  900. this.getCouponList();
  901. },
  902. setClientHeight: function() {
  903. let that = this;
  904. let view = uni.createSelectorQuery().in(this).select("#list0");
  905. view.fields({
  906. size: true,
  907. }, data => {
  908. that.$set(that, 'clientHeight', data.height + 20)
  909. }).exec();
  910. },
  911. /**
  912. * 获取产品详情
  913. *
  914. */
  915. getGoodsDetails: function() {
  916. uni.showLoading({
  917. title: '加载中',
  918. mask: true
  919. });
  920. let that = this;
  921. getProductDetail(that.id).then(res => {
  922. uni.hideLoading();
  923. let storeInfo = res.data;
  924. if (storeInfo.video_link && storeInfo.slider_image.length > 1) {
  925. this.videoCoverImg = storeInfo.slider_image[0]
  926. storeInfo.slider_image.splice(0, 1)
  927. } else if (storeInfo.video_link && storeInfo.slider_image.length === 1) {
  928. this.videoCoverImg = storeInfo.slider_image[0]
  929. }
  930. that.$set(that, 'storeInfo', storeInfo);
  931. that.$set(that, 'description', storeInfo.content);
  932. if (that.description.type == 0) {
  933. that.description.content = that.description.content.replace(
  934. /<img/gi,
  935. '<img style="max-width:100%;height:auto;float:left;display:block" '
  936. );
  937. that.description.content = that.description.content.replace(
  938. /<video/gi,
  939. '<video style="width:100%;height:300px;display:block" '
  940. );
  941. }
  942. that.$set(that, 'reply', res.data.topReply ? [res.data.topReply] : []);
  943. that.$set(that, 'replyCount', res.data.replayData && res.data.replayData.count);
  944. that.$set(that, 'replyChance', res.data.replayData && res.data.replayData.rate);
  945. that.$set(that.attr, 'productAttr', res.data.attr);
  946. that.$set(that, 'productValue', res.data.sku);
  947. that.$set(that.sharePacket, 'priceName', res.data.priceName);
  948. that.$set(that.sharePacket, 'max', res.data.max_extension);
  949. that.$set(that.sharePacket, 'min', res.data.min_extension);
  950. that.$set(that, 'systemStore', res.data.system_store);
  951. that.$set(that, 'storeSelfMention', res.data.store_self_mention);
  952. that.$set(that, 'PromotionCode', storeInfo.code_base);
  953. that.$set(that, 'activity', res.data.activity ? res.data.activity : []);
  954. that.$set(that, 'shippingValue', res.data.temp ? res.data.temp.name : '');
  955. that.$set(that, 'guaranteeValue', res.data.guarantee ? res.data.guarantee.template_name : '');
  956. that.$set(that, 'guarantee', res.data.guaranteeTemplate ? res.data.guaranteeTemplate : []);
  957. that.$set(that, 'shipping', res.data.temp ? res.data.temp.info : '');
  958. that.$set(that, 'max_count', res.data.once_max_count);
  959. that.$set(that, 'min_count', res.data.once_min_count);
  960. that.$set(that, 'svipData', res.data.show_svip_info || null);
  961. that.$set(that, 'svipPrice', res.data.show_svip_info && res.data.show_svip_info.show_svip_price || false);
  962. that.$set(that.specsInfo, 'params', res.data.params);
  963. uni.setNavigationBarTitle({
  964. title: storeInfo.store_name.substring(0, 7) + "..."
  965. })
  966. that.$set(that, 'storeImage', that.storeInfo.image);
  967. if (that.isLogin) {
  968. that.downloadFilePromotionCode();
  969. that.getCartCount();
  970. };
  971. // #ifdef H5
  972. that.ShareInfo();
  973. // #endif
  974. setTimeout(function() {
  975. that.infoScroll();
  976. }, 500);
  977. that.DefaultSelect();
  978. that.getPricrRule(that.storeInfo.cate_id)
  979. that.$nextTick(function() {
  980. that.getCouponList();
  981. })
  982. setTimeout(() => {
  983. that.showSkeleton = false
  984. }, 1000)
  985. }).catch(err => {
  986. setTimeout(() => {
  987. that.showSkeleton = false
  988. }, 500)
  989. //状态异常返回上级页面
  990. return that.$util.Tips({
  991. title: err
  992. }, {
  993. tab: 3,
  994. url: 1
  995. });
  996. })
  997. },
  998. infoScroll: function() {
  999. var that = this,
  1000. topArr = [],
  1001. heightArr = [];
  1002. for (var i = 0; i < that.navList.length; i++) { //productList
  1003. //获取元素所在位置
  1004. var query = uni.createSelectorQuery().in(this);
  1005. var idView = "#past" + i;
  1006. query.select(idView).boundingClientRect();
  1007. query.exec(function(res) {
  1008. var top = res[0].top;
  1009. var height = res[0].height;
  1010. topArr.push(top);
  1011. heightArr.push(height);
  1012. that.$set(that, 'topArr', topArr);
  1013. that.$set(that, 'heightArr', heightArr);
  1014. });
  1015. };
  1016. },
  1017. /**
  1018. * 拨打电话
  1019. */
  1020. makePhone: function() {
  1021. uni.makePhoneCall({
  1022. phoneNumber: this.systemStore.phone
  1023. })
  1024. },
  1025. /**
  1026. * 默认选中属性
  1027. *
  1028. */
  1029. DefaultSelect: function() {
  1030. let productAttr = this.attr.productAttr;
  1031. let value = [];
  1032. let arr = []
  1033. let unSortArr = []
  1034. for (var key in this.productValue) {
  1035. if (this.productValue[key].stock > 0) {
  1036. value = this.attr.productAttr.length ? key.split(",") : [];
  1037. break;
  1038. }
  1039. }
  1040. for (let i = 0; i < productAttr.length; i++) {
  1041. this.$set(productAttr[i], "index", value[i]);
  1042. }
  1043. //sort();排序函数:数字-英文-汉字;
  1044. let productSelect = this.productValue[value.join(",")];
  1045. if (productSelect && productAttr.length) {
  1046. this.$set(
  1047. this.attr.productSelect,
  1048. "store_name",
  1049. this.storeInfo.store_name
  1050. );
  1051. this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : this.storeInfo.image);
  1052. this.$set(this.attr.productSelect, "price", productSelect.price);
  1053. this.$set(this.attr.productSelect, "svip_price", productSelect.svip_price);
  1054. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  1055. this.$set(this.attr.productSelect, "unique", productSelect.unique);
  1056. this.$set(this, "uniqueValue", productSelect.unique);
  1057. this.$set(this, "attrValue", value.join(","));
  1058. this.$set(this, "attrTxt", "选择");
  1059. if (productSelect.stock == 0) {
  1060. this.$set(this.attr.productSelect, "cart_num", 0);
  1061. } else {
  1062. this.$set(this.attr.productSelect, "cart_num", 1);
  1063. }
  1064. } else if (!productSelect && productAttr.length) {
  1065. this.$set(
  1066. this.attr.productSelect,
  1067. "store_name",
  1068. this.storeInfo.store_name
  1069. );
  1070. this.$set(this.attr.productSelect, "image", this.storeInfo.image);
  1071. this.$set(this.attr.productSelect, "price", this.storeInfo.price);
  1072. this.$set(this.attr.productSelect, "svip_price", this.storeInfo.svip_price);
  1073. this.$set(this.attr.productSelect, "stock", 0);
  1074. this.$set(this.attr.productSelect, "unique", "");
  1075. this.$set(this, "uniqueValue", "");
  1076. this.$set(this.attr.productSelect, "cart_num", 0);
  1077. this.$set(this, "attrValue", "");
  1078. this.$set(this, "attrTxt", "选择");
  1079. } else if (!productSelect && !productAttr.length) {
  1080. this.$set(
  1081. this.attr.productSelect,
  1082. "store_name",
  1083. this.storeInfo.store_name
  1084. );
  1085. this.$set(this.attr.productSelect, "image", this.storeInfo.image);
  1086. this.$set(this.attr.productSelect, "price", this.storeInfo.price);
  1087. this.$set(this.attr.productSelect, "svip_price", this.storeInfo.svip_price);
  1088. this.$set(this.attr.productSelect, "stock", this.storeInfo.stock);
  1089. this.$set(this.attr.productSelect, "unique", this.storeInfo.unique || "");
  1090. this.$set(this, "uniqueValue", this.storeInfo.unique || "");
  1091. this.$set(this.attr.productSelect, "cart_num", 1);
  1092. this.$set(this, "attrValue", "");
  1093. this.$set(this, "attrTxt", "选择");
  1094. } else if (productSelect && !productAttr.length) {
  1095. this.$set(this.attr.productSelect, "store_name", this.storeInfo.store_name);
  1096. this.$set(this.attr.productSelect, "image", productSelect.image);
  1097. this.$set(this.attr.productSelect, "price", productSelect.price);
  1098. this.$set(this.attr.productSelect, "svip_price", productSelect.svip_price);
  1099. this.$set(this.attr.productSelect, "stock", productSelect.stock);
  1100. this.$set(this.attr.productSelect, "unique", productSelect.unique);
  1101. this.$set(this, "uniqueValue", productSelect.unique);
  1102. this.$set(this, "attrValue", value.join(","));
  1103. this.$set(this, "attrTxt", "选择");
  1104. if (productSelect.stock == 0) {
  1105. this.$set(this.attr.productSelect, "cart_num", 0);
  1106. } else {
  1107. this.$set(this.attr.productSelect, "cart_num", 1);
  1108. }
  1109. }
  1110. },
  1111. /**
  1112. * 获取优惠券
  1113. *
  1114. */
  1115. getCouponList() {
  1116. let that = this;
  1117. let goodsArr = []
  1118. let couponList = [];
  1119. let activeList = []
  1120. getCoupons({
  1121. ids: that.id
  1122. }).then(res => {
  1123. goodsArr = res.data
  1124. getShopCoupons(that.storeInfo.mer_id).then(({
  1125. data
  1126. }) => {
  1127. couponList = goodsArr.concat(data)
  1128. that.$set(that.coupon, 'list', couponList);
  1129. for (let i = 0; i < couponList.length; i++) {
  1130. if (!couponList[i].issue && activeList.length < 2) {
  1131. activeList.push(couponList[i]);
  1132. }
  1133. }
  1134. that.$set(that, 'couponList', activeList);
  1135. })
  1136. });
  1137. },
  1138. ChangCouponsUseState(index) {
  1139. let that = this;
  1140. // that.coupon.list[index].issue = true;
  1141. // that.$set(that.coupon, 'list', that.coupon.list);
  1142. that.$set(that.coupon, 'coupon', false);
  1143. // this.getCouponList()
  1144. },
  1145. /**
  1146. *
  1147. *
  1148. * 收藏商品
  1149. */
  1150. setCollect: function() {
  1151. if (this.isLogin === false) {
  1152. this.isAuto = true;
  1153. this.isShowAuth = true
  1154. } else {
  1155. let that = this;
  1156. if (this.storeInfo.isRelation) {
  1157. collectDel({
  1158. type: 0,
  1159. type_id: this.id
  1160. }).then(res => {
  1161. that.$set(that.storeInfo, 'isRelation', !that.storeInfo.isRelation);
  1162. })
  1163. } else {
  1164. collectAdd({
  1165. type_id: this.id,
  1166. type: 0
  1167. }).then(res => {
  1168. that.$set(that.storeInfo, 'isRelation', !that.storeInfo.isRelation);
  1169. })
  1170. }
  1171. }
  1172. },
  1173. /**
  1174. * 打开属性插件
  1175. */
  1176. selecAttr: function() {
  1177. this.$set(this.attr, 'cartAttr', true);
  1178. this.$set(this, 'isOpen', true);
  1179. },
  1180. /**
  1181. * 打开优惠券插件
  1182. */
  1183. couponTap: function() {
  1184. let that = this;
  1185. if (that.isLogin === false) {
  1186. this.isAuto = true;
  1187. this.isShowAuth = true
  1188. } else {
  1189. // that.getCouponList();
  1190. that.$set(that.coupon, 'coupon', true);
  1191. }
  1192. },
  1193. couponTap: function() {
  1194. let that = this;
  1195. if (that.isLogin === false) {
  1196. this.isAuto = true;
  1197. this.isShowAuth = true
  1198. } else {
  1199. // that.getCouponList();
  1200. that.$set(that.coupon, 'coupon', true);
  1201. }
  1202. },
  1203. couponTap2: function() {
  1204. let that = this;
  1205. if (that.isLogin === false) {
  1206. this.isAuto = true;
  1207. this.isShowAuth = true
  1208. } else {
  1209. uni.navigateTo({
  1210. url: `/pages/chat/customer_list/chat?mer_id=${that.storeInfo.mer_id}&uid=${that.uid}&productId=${that.id}`
  1211. });
  1212. }
  1213. },
  1214. onMyEvent: function() {
  1215. this.$set(this.attr, 'cartAttr', false);
  1216. this.$set(this, 'isOpen', false);
  1217. },
  1218. /**
  1219. * 打开属性加入购物车
  1220. *
  1221. */
  1222. joinCart: function(e) {
  1223. //是否登录
  1224. if (this.isLogin === false) {
  1225. this.isAuto = true;
  1226. this.isShowAuth = true
  1227. } else {
  1228. this.goCat();
  1229. }
  1230. },
  1231. /*
  1232. * 加入购物车
  1233. */
  1234. goCat: function(news) {
  1235. let that = this,
  1236. productSelect = that.productValue[this.attrValue];
  1237. //打开属性
  1238. if (that.attrValue) {
  1239. //默认选中了属性,但是没有打开过属性弹窗还是自动打开让用户查看默认选中的属性
  1240. that.attr.cartAttr = !that.isOpen ? true : false;
  1241. // if(!that.isOpen)that.attr.cartAttr = true
  1242. } else {
  1243. if (that.isOpen) that.attr.cartAttr = true;
  1244. else
  1245. that.attr.cartAttr = !that.attr.cartAttr;
  1246. }
  1247. //只有关闭属性弹窗时进行加入购物车
  1248. if (that.attr.cartAttr === true && that.isOpen === false)
  1249. return (that.isOpen = true);
  1250. that.isOpen = that.attr.cartAttr = true;
  1251. //如果有属性,没有选择,提示用户选择
  1252. if (
  1253. that.attr.productAttr.length &&
  1254. that.isOpen === true &&
  1255. productSelect.stock == 0
  1256. )
  1257. return that.$util.Tips({
  1258. title: "产品库存不足,请选择其它"
  1259. });
  1260. if (that.attr.productSelect.cart_num == 0) {
  1261. return that.$util.Tips({
  1262. title: '购买个数不能为0!'
  1263. })
  1264. }
  1265. let q = {
  1266. // productId: that.id,
  1267. // cartNum: that.attr.productSelect.cart_num,
  1268. is_new: news === undefined ? 0 : 1,
  1269. // uniqueId: that.attr.productSelect !== undefined ?
  1270. // that.attr.productSelect.unique : ""
  1271. product_id: that.id,
  1272. cart_num: that.attr.productSelect.cart_num,
  1273. product_attr_unique: that.attr.productSelect !== undefined ? that.attr.productSelect.unique : "",
  1274. source: this.source,
  1275. product_type: 0,
  1276. spread_id: this.currSpid
  1277. };
  1278. postCartAdd(q)
  1279. .then(function(res) {
  1280. that.isOpen = that.attr.cartAttr = false;
  1281. if (news) {
  1282. uni.navigateTo({
  1283. url: '/pages/users/order_confirm/index?cartId=' + res.data.cart_id
  1284. });
  1285. } else {
  1286. that.$util.Tips({
  1287. title: "添加购物车成功",
  1288. success: () => {
  1289. that.getCartCount(true);
  1290. }
  1291. });
  1292. }
  1293. })
  1294. .catch(res => {
  1295. return that.$util.Tips({
  1296. title: res
  1297. });
  1298. });
  1299. },
  1300. /**
  1301. * 获取购物车数量
  1302. * @param boolean 是否展示购物车动画和重置属性
  1303. */
  1304. getCartCount: function(isAnima) {
  1305. let that = this;
  1306. const isLogin = that.isLogin;
  1307. if (isLogin) {
  1308. getCartCounts().then(res => {
  1309. that.CartCount = res.data[0].count;
  1310. //加入购物车后重置属性
  1311. if (isAnima) {
  1312. that.animated = true;
  1313. setTimeout(function() {
  1314. that.animated = false;
  1315. }, 500);
  1316. }
  1317. });
  1318. }
  1319. },
  1320. /**
  1321. * 立即购买
  1322. */
  1323. goBuy: function(e) {
  1324. if (this.isLogin === false) {
  1325. this.isAuto = true;
  1326. this.isShowAuth = true
  1327. } else {
  1328. this.goCat(true);
  1329. }
  1330. },
  1331. // 授权关闭
  1332. authColse: function(e) {
  1333. this.isShowAuth = e
  1334. },
  1335. /**
  1336. * 分享打开
  1337. *
  1338. */
  1339. listenerActionSheet: function() {
  1340. if (this.isLogin === false) {
  1341. this.isAuto = true;
  1342. this.isShowAuth = true
  1343. } else {
  1344. // #ifdef H5
  1345. if (this.$wechat.isWeixin() === true) {
  1346. this.weixinStatus = true;
  1347. }
  1348. // #endif
  1349. this.posters = true;
  1350. }
  1351. },
  1352. // 分享关闭
  1353. listenerActionClose: function() {
  1354. this.posters = false;
  1355. },
  1356. //隐藏海报
  1357. posterImageClose: function() {
  1358. this.posterImageStatus = false
  1359. },
  1360. //替换安全域名
  1361. setDomain: function(url) {
  1362. url = url ? url.toString() : '';
  1363. //本地调试打开,生产请注销
  1364. if (url.indexOf("https://") > -1) return url;
  1365. else return url.replace('http://', 'https://');
  1366. },
  1367. /**
  1368. * 获取产品分销二维码
  1369. * @param function successFn 下载完成回调
  1370. *
  1371. */
  1372. downloadFilePromotionCode: function(successFn) {
  1373. let that = this;
  1374. let type;
  1375. // #ifndef MP
  1376. type = 'wechat'
  1377. // #endif
  1378. // #ifdef MP
  1379. type = 'routine'
  1380. // #endif
  1381. getProductCode(that.id, {
  1382. type: type,
  1383. product_type: 0
  1384. }).then(async res => {
  1385. that.codeImg = res.data.url
  1386. that.$set(that, 'isDown', false);
  1387. }).catch(err => {
  1388. that.$set(that, 'isDown', false);
  1389. that.$set(that, 'PromotionCode', '');
  1390. });
  1391. },
  1392. // 小程序关闭分享弹窗;
  1393. goFriend: function() {
  1394. this.posters = false;
  1395. },
  1396. /**
  1397. * 生成海报
  1398. */
  1399. async goPoster() {
  1400. if (this.posterImage) {
  1401. this.posterImageStatus = true
  1402. this.posters = false
  1403. return
  1404. }
  1405. let that = this;
  1406. let arr2
  1407. that.posters = false;
  1408. that.$set(that, 'canvasStatus', true);
  1409. uni.showLoading({
  1410. title: '海报生成中',
  1411. mask: true
  1412. });
  1413. // #ifdef MP || APP-PLUS
  1414. arr2 = [that.posterbackgd, await that.fileStoreImage(that.storeImage), await that.fileStoreImage(
  1415. that.codeImg)];
  1416. // #endif
  1417. // #ifdef H5
  1418. // arr2 = [that.posterbackgd, 'https://img30.360buyimg.com/popWaterMark/jfs/t1/86053/23/25193/199434/62308978Edcb41eee/123d422c085d9efe.jpg', 'https://img30.360buyimg.com/popWaterMark/jfs/t1/86053/23/25193/199434/62308978Edcb41eee/123d422c085d9efe.jpg'];
  1419. arr2 = [that.posterbackgd, await that.imgToBase(that.storeImage), await that.imgToBase(that.codeImg)];
  1420. // arr2 = [that.posterbackgd,that.storeImage, that.codeImg];
  1421. // #endif
  1422. //生成推广海报
  1423. that.$util.PosterCanvas(arr2, that.storeInfo.store_name, that.storeInfo.price, function(tempFilePath) {
  1424. that.$set(that, 'posterImage', tempFilePath);
  1425. that.$set(that, 'posterImageStatus', true);
  1426. that.$set(that, 'actionSheetHidden', !that.actionSheetHidden);
  1427. that.$set(that, 'canvasStatus', false);
  1428. }, (err) => {
  1429. that.$set(that, 'canvasStatus', false);
  1430. });
  1431. },
  1432. //图片转符合安全域名路径
  1433. fileStoreImage(url) {
  1434. // #ifdef MP || APP-PLUS
  1435. let ishttps = url.split('//')[0] == 'https:'
  1436. if (!ishttps) {
  1437. url = 'https://'+url.split('//')[1]
  1438. }
  1439. // #endif
  1440. return new Promise((resolve, reject) => {
  1441. let that = this;
  1442. uni.downloadFile({
  1443. url: url,
  1444. success: function(res) {
  1445. resolve(res.tempFilePath);
  1446. },
  1447. fail: function() {
  1448. return that.$util.Tips({
  1449. title: ''
  1450. });
  1451. }
  1452. });
  1453. })
  1454. },
  1455. /*
  1456. * 保存到手机相册
  1457. */
  1458. // #ifdef MP
  1459. savePosterPath: function() {
  1460. let that = this;
  1461. uni.getSetting({
  1462. success(res) {
  1463. if (!res.authSetting['scope.writePhotosAlbum']) {
  1464. uni.authorize({
  1465. scope: 'scope.writePhotosAlbum',
  1466. success() {
  1467. uni.saveImageToPhotosAlbum({
  1468. filePath: that.posterImage,
  1469. success: function(res) {
  1470. that.posterImageClose();
  1471. that.$util.Tips({
  1472. title: '保存成功',
  1473. icon: 'success'
  1474. });
  1475. },
  1476. fail: function(res) {
  1477. that.$util.Tips({
  1478. title: '保存失败'
  1479. });
  1480. }
  1481. })
  1482. }
  1483. })
  1484. } else {
  1485. uni.saveImageToPhotosAlbum({
  1486. filePath: that.posterImage,
  1487. success: function(res) {
  1488. that.posterImageClose();
  1489. that.$util.Tips({
  1490. title: '保存成功',
  1491. icon: 'success'
  1492. });
  1493. },
  1494. fail: function(res) {
  1495. that.$util.Tips({
  1496. title: '保存失败'
  1497. });
  1498. },
  1499. })
  1500. }
  1501. }
  1502. })
  1503. },
  1504. // #endif
  1505. // #ifdef APP-PLUS
  1506. savePosterPath(){
  1507. let that = this
  1508. uni.saveImageToPhotosAlbum({
  1509. filePath: that.posterImage,
  1510. success: function(res) {
  1511. that.posterImageClose();
  1512. that.$util.Tips({
  1513. title: '保存成功',
  1514. icon: 'success'
  1515. });
  1516. },
  1517. fail: function(res) {
  1518. that.$util.Tips({
  1519. title: '保存失败'
  1520. });
  1521. },
  1522. })
  1523. },
  1524. // #endif
  1525. //#ifdef H5
  1526. ShareInfo() {
  1527. let data = this.storeInfo;
  1528. let href = location.href;
  1529. if (this.$wechat.isWeixin()) {
  1530. getUserInfo().then(res => {
  1531. href =
  1532. href.indexOf("?") === -1 ?
  1533. href + "?spid=" + res.data.uid :
  1534. href + "&spid=" + res.data.uid;
  1535. let configAppMessage = {
  1536. desc: data.store_info,
  1537. title: data.store_name,
  1538. link: href,
  1539. imgUrl: data.image
  1540. };
  1541. this.$wechat.wechatEvevt([
  1542. "updateAppMessageShareData",
  1543. "updateTimelineShareData",
  1544. "onMenuShareAppMessage",
  1545. "onMenuShareTimeline"
  1546. ], configAppMessage).then(res => {
  1547. }).catch(err => {
  1548. console.log(err);
  1549. })
  1550. });
  1551. }
  1552. },
  1553. //#endif
  1554. async imgToBase(url) {
  1555. let res = await imgToBase({
  1556. image: url
  1557. })
  1558. return res.data.image
  1559. },
  1560. //复制口令
  1561. copyPwd(){
  1562. let that = this;
  1563. copyPasswordApi({
  1564. id: that.id,
  1565. product_type: 0
  1566. }).then(async res => {
  1567. that.copyUrl = res.data.str;
  1568. that.posters = false
  1569. that.isCopy = true;
  1570. })
  1571. },
  1572. closeCopy(){
  1573. this.isCopy = false
  1574. },
  1575. // APP分享
  1576. appShare(scene){
  1577. let that = this
  1578. uni.showLoading({
  1579. title: '加载中',
  1580. mask: true
  1581. });
  1582. let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
  1583. let curRoute = routes[routes.length - 1].$page.fullPath // 获取当前页面路由,也就是最后一个打开的页面路由
  1584. uni.share({
  1585. provider: "weixin",
  1586. scene: scene,
  1587. type: 0,
  1588. href: `${HTTP_REQUEST_URL}${curRoute}&spid=${that.uid}`,
  1589. title: that.storeInfo.store_name,
  1590. summary: that.storeInfo.store_info,
  1591. imageUrl: that.storeInfo.image,
  1592. success: function(res) {
  1593. uni.showToast({
  1594. title: '分享成功',
  1595. icon: 'success'
  1596. })
  1597. that.posters = false;
  1598. uni.hideLoading();
  1599. },
  1600. fail: function(err) {
  1601. uni.showToast({
  1602. title: '分享失败',
  1603. icon: 'none',
  1604. duration: 2000
  1605. })
  1606. that.posters = false;
  1607. uni.hideLoading();
  1608. }
  1609. });
  1610. }
  1611. }
  1612. }
  1613. </script>
  1614. <style lang="scss">
  1615. .ml8{
  1616. top:2rpx
  1617. }
  1618. .activity_pin {
  1619. width: auto;
  1620. height: 44rpx;
  1621. line-height: 44rpx;
  1622. background: linear-gradient(90deg, rgba(233, 51, 35, 1) 0%, rgba(250, 101, 20, 1) 100%);
  1623. opacity: 1;
  1624. border-radius: 22rpx;
  1625. padding: 0 15rpx;
  1626. margin-left: 19rpx;
  1627. }
  1628. .activity_miao {
  1629. width: auto;
  1630. height: 44rpx;
  1631. line-height: 44rpx;
  1632. padding: 0 15rpx;
  1633. background: linear-gradient(90deg, rgba(250, 102, 24, 1) 0%, rgba(254, 161, 15, 1) 100%);
  1634. opacity: 1;
  1635. border-radius: 22rpx;
  1636. margin-left: 19rpx;
  1637. }
  1638. .iconfonts {
  1639. color: #fff !important;
  1640. font-size: 28rpx;
  1641. }
  1642. .activity_title {
  1643. font-size: 24rpx;
  1644. color: #fff;
  1645. }
  1646. .activity_kan {
  1647. width: auto;
  1648. height: 44rpx;
  1649. line-height: 44rpx;
  1650. padding: 0 15rpx;
  1651. background: linear-gradient(90deg, rgba(254, 159, 15, 1) 0%, rgba(254, 178, 15, 1) 100%);
  1652. opacity: 1;
  1653. border-radius: 22rpx;
  1654. margin-left: 19rpx;
  1655. }
  1656. .t-color {
  1657. color: var(--view-theme);
  1658. }
  1659. .p-color {
  1660. color: var(--view-priceColor);
  1661. }
  1662. .bt-color {
  1663. background-color: var(--view-theme);
  1664. border: 1px solid var(--view-theme);
  1665. }
  1666. .head-bar {
  1667. background: #fff;
  1668. }
  1669. .generate-posters {
  1670. width: 100%;
  1671. height: 170rpx;
  1672. background-color: #fff;
  1673. position: fixed;
  1674. left: 0;
  1675. bottom: 0;
  1676. z-index: 388;
  1677. transform: translate3d(0, 100%, 0);
  1678. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  1679. border-top: 1px solid #eee;
  1680. }
  1681. .generate-posters.on {
  1682. transform: translate3d(0, 0, 0);
  1683. }
  1684. .generate-posters .item {
  1685. /* #ifdef H5 */
  1686. flex: 50%;
  1687. /* #endif */
  1688. /* #ifndef H5 */
  1689. flex: 33.33%;
  1690. /* #endif */
  1691. text-align: center;
  1692. font-size: 30rpx;
  1693. &.item3{
  1694. flex: 33.33%;
  1695. }
  1696. }
  1697. .generate-posters .item .iconfont {
  1698. font-size: 80rpx;
  1699. color: #5eae72;
  1700. }
  1701. .generate-posters .item .iconfont.icon-haibao {
  1702. color: #5391f1;
  1703. }
  1704. .generate-posters .item .iconfont.icon-fuzhikouling1 {
  1705. color: #FBB324;
  1706. }
  1707. .product-con .footer {
  1708. padding: 0 20rpx 0 30rpx;
  1709. position: fixed;
  1710. left: 0;
  1711. bottom: 0;
  1712. width: 100%;
  1713. box-sizing: border-box;
  1714. height: 100rpx;
  1715. height: calc(100rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
  1716. height: calc(100rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
  1717. background-color: #fff;
  1718. z-index: 277;
  1719. border-top: 1px solid #f0f0f0;
  1720. }
  1721. .product-con .footer .item {
  1722. font-size: 18rpx;
  1723. color: #666;
  1724. text-align: center;
  1725. }
  1726. .product-con .attribute .atterTxt {
  1727. overflow: hidden;
  1728. white-space: nowrap;
  1729. text-overflow: ellipsis;
  1730. display: inline-block;
  1731. width: 400rpx;
  1732. }
  1733. .product-con .attribute .params{
  1734. margin-right: 20rpx;
  1735. font-size: 28rpx;
  1736. color: #282828;
  1737. &:nth-child(2){
  1738. margin-right: 0;
  1739. }
  1740. }
  1741. .product-con .attribute .atterTxt1{
  1742. color: #282828;
  1743. &.hasAttr{
  1744. &:after{
  1745. content: "";
  1746. display: inline-block;
  1747. position: relative;
  1748. top: -6rpx;
  1749. margin: 0 6rpx;
  1750. width: 5rpx;
  1751. height: 5rpx;
  1752. background-color: #282828;
  1753. border-radius: 100%;
  1754. }
  1755. &:last-child{
  1756. &:after{
  1757. display: none;
  1758. }
  1759. }
  1760. }
  1761. }
  1762. .product-con .wrapper .coupon .activity {
  1763. border: 1px solid var(--view-theme);
  1764. color: var(--view-theme);
  1765. &::before,&::after{
  1766. border: 1px solid var(--view-theme);
  1767. }
  1768. &::before{
  1769. border-left-color: #ffffff;
  1770. }
  1771. &::after{
  1772. border-right-color: #ffffff;
  1773. }
  1774. }
  1775. .product-con .guaranteeAttr{
  1776. display: inline-block;
  1777. width: 560rpx;
  1778. overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
  1779. }
  1780. .product-con .footer .item .iconfont {
  1781. text-align: center;
  1782. font-size: 40rpx;
  1783. }
  1784. .product-con .wrapper .introduce {
  1785. margin: 20rpx 30rpx 0;
  1786. // min-height: 90rpx;
  1787. &.atmosphere {
  1788. padding: 20rpx 94rpx 0 30rpx;
  1789. margin: 0;
  1790. .fenxiang_btn{
  1791. top: 20rpx;
  1792. right: 30rpx;
  1793. }
  1794. }
  1795. .font-bg-red{
  1796. position: relative;
  1797. /* #ifdef H5 */
  1798. top: -2rpx;
  1799. /* #endif */
  1800. /* #ifndef H5 */
  1801. top: -4rpx;
  1802. /* #endif */
  1803. }
  1804. }
  1805. .product-con .footer .item .iconfont.icon-shoucang1 {
  1806. color: var(--view-priceColor);
  1807. }
  1808. .integral_count{
  1809. padding: 0 30rpx;
  1810. }
  1811. .product-con .integral{
  1812. display: inline-block;
  1813. margin: 20rpx 30rpx 0 0;
  1814. color: #FF9000;
  1815. background-color: #FFF4E6;
  1816. height: 40rpx;
  1817. line-height: 40rpx;
  1818. border-radius: 22rpx;
  1819. padding: 0 26rpx;
  1820. font-size: 24rpx;
  1821. font-weight: normal;
  1822. &:last-child{
  1823. margin-left: 0;
  1824. }
  1825. }
  1826. .product-con .footer .item .iconfont.icon-gouwuche1 {
  1827. font-size: 40rpx;
  1828. position: relative;
  1829. }
  1830. .product-con .footer .item .iconfont.icon-gouwuche1 .num {
  1831. color: #fff;
  1832. position: absolute;
  1833. font-size: 18rpx;
  1834. padding: 2rpx 8rpx 3rpx;
  1835. border-radius: 200rpx;
  1836. top: -10rpx;
  1837. right: -10rpx;
  1838. background-color: var(--view-theme);
  1839. }
  1840. .product-con .footer .bnt {
  1841. width: 444rpx;
  1842. height: 76rpx;
  1843. }
  1844. .product-con .footer .bnt .bnts {
  1845. width: 222rpx;
  1846. text-align: center;
  1847. line-height: 76rpx;
  1848. color: #fff;
  1849. font-size: 28rpx;
  1850. &.sold_out {
  1851. width: 444rpx;
  1852. border-radius: 50rpx;
  1853. }
  1854. &.virtual_buy {
  1855. width: 444rpx;
  1856. border-radius: 50rpx;
  1857. }
  1858. }
  1859. .product-con .footer .bnt .joinCart {
  1860. border-radius: 50rpx 0 0 50rpx;
  1861. background-image: linear-gradient(90deg, var(--view-bntColor11) 0%, var(--view-bntColor12) 100%);
  1862. &.disabled{
  1863. background: #bbb;
  1864. }
  1865. }
  1866. .product-con .footer .bnt .buy {
  1867. border-radius: 0 50rpx 50rpx 0;
  1868. background-image: linear-gradient(90deg, var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
  1869. }
  1870. .product-con .footer .bnt .buy[disabled] {
  1871. background: #bbb;
  1872. }
  1873. .product-con .superior {
  1874. background-color: #fff;
  1875. margin-top: 20rpx;
  1876. padding-bottom: 10rpx;
  1877. }
  1878. .product-con .superior .title {
  1879. height: 98rpx;
  1880. }
  1881. .product-con .superior .title image {
  1882. width: 30rpx;
  1883. height: 30rpx;
  1884. }
  1885. .product-con .superior .title .titleTxt {
  1886. margin: 0 20rpx;
  1887. font-size: 30rpx;
  1888. background-image: linear-gradient(to right, #f57a37 0%, #f21b07 100%);
  1889. -webkit-background-clip: text;
  1890. -webkit-text-fill-color: transparent;
  1891. }
  1892. .product-con .superior .slider-banner {
  1893. width: 690rpx;
  1894. margin: 0 auto;
  1895. position: relative;
  1896. }
  1897. .product-con .superior .slider-banner swiper {
  1898. height: 100%;
  1899. width: 100%;
  1900. }
  1901. .product-con .superior .slider-banner swiper-item {
  1902. height: 100%;
  1903. }
  1904. .product-con .superior .slider-banner .list {
  1905. width: 100%;
  1906. }
  1907. .product-con .superior .slider-banner .list .item {
  1908. width: 215rpx;
  1909. margin: 0 22rpx 30rpx 0;
  1910. font-size: 26rpx;
  1911. }
  1912. .product-con .superior .slider-banner .list .item:nth-of-type(3n) {
  1913. margin-right: 0;
  1914. }
  1915. .product-con .superior .slider-banner .list .item .pictrue {
  1916. position: relative;
  1917. width: 100%;
  1918. height: 215rpx;
  1919. }
  1920. .product-con .superior .slider-banner .list .item .pictrue image {
  1921. width: 100%;
  1922. height: 100%;
  1923. border-radius: 6rpx;
  1924. }
  1925. .product-con .superior .slider-banner .list .item .name {
  1926. color: #282828;
  1927. margin-top: 12rpx;
  1928. }
  1929. .product-con .superior .slider-banner .swiper-pagination-bullet {
  1930. background-color: #999;
  1931. }
  1932. .product-con .superior .slider-banner .swiper-pagination-bullet-active {
  1933. background-color: #e93323;
  1934. }
  1935. .svipCon {
  1936. height: 64rpx;
  1937. padding: 0 20rpx;
  1938. margin: 8rpx 20rpx 0;
  1939. background: #FAE3BB;
  1940. font-size: 24rpx;
  1941. color: #B37400;
  1942. border-radius: 10rpx;
  1943. image{
  1944. width: 38rpx;
  1945. height: 38rpx;
  1946. margin-right: 20rpx;
  1947. }
  1948. }
  1949. .svipCon .svipBtn {
  1950. font-size: 22rpx;
  1951. .iconfont{
  1952. font-size: 18rpx;
  1953. margin-left: 4rpx;
  1954. }
  1955. }
  1956. button {
  1957. padding: 0;
  1958. margin: 0;
  1959. line-height: normal;
  1960. background-color: #fff;
  1961. }
  1962. button::after {
  1963. border: 0;
  1964. }
  1965. action-sheet-item {
  1966. padding: 0;
  1967. height: 240rpx;
  1968. align-items: center;
  1969. display: flex;
  1970. }
  1971. .contact {
  1972. font-size: 16px;
  1973. width: 50%;
  1974. background-color: #fff;
  1975. padding: 8rpx 0;
  1976. border-radius: 0;
  1977. margin: 0;
  1978. line-height: 2;
  1979. }
  1980. .contact::after {
  1981. border: none;
  1982. }
  1983. .action-sheet {
  1984. font-size: 17px;
  1985. line-height: 1.8;
  1986. width: 50%;
  1987. position: absolute;
  1988. top: 0;
  1989. right: 0;
  1990. padding: 25rpx 0;
  1991. }
  1992. .canvas {
  1993. z-index: 300;
  1994. width: 750px;
  1995. height: 1190px;
  1996. }
  1997. .poster-pop {
  1998. width: 450rpx;
  1999. height: 714rpx;
  2000. position: fixed;
  2001. left: 50%;
  2002. transform: translateX(-50%);
  2003. z-index: 399;
  2004. top: 50%;
  2005. margin-top: -357rpx;
  2006. }
  2007. .poster-pop image {
  2008. width: 100%;
  2009. height: 100%;
  2010. display: block;
  2011. }
  2012. .poster-pop .close {
  2013. width: 46rpx;
  2014. height: 75rpx;
  2015. position: fixed;
  2016. right: 0;
  2017. top: -73rpx;
  2018. display: block;
  2019. }
  2020. .poster-pop .save-poster {
  2021. background-color: #df2d0a;
  2022. font-size: :22rpx;
  2023. color: #fff;
  2024. text-align: center;
  2025. height: 76rpx;
  2026. line-height: 76rpx;
  2027. width: 100%;
  2028. }
  2029. .poster-pop .keep {
  2030. color: #fff;
  2031. text-align: center;
  2032. font-size: 25rpx;
  2033. margin-top: 10rpx;
  2034. }
  2035. .mask {
  2036. position: fixed;
  2037. top: 0;
  2038. left: 0;
  2039. right: 0;
  2040. bottom: 0;
  2041. background-color: rgba(0, 0, 0, 0.6);
  2042. z-index: 9;
  2043. }
  2044. .pro-wrapper .iconn {
  2045. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAYKElEQVR4nO2deXhTVfrHP0nTlpautHSjZSkt+x42UTYVF5C4gsKIOqOjIxJHZdTfyG+eEZ1xxgVHjeLo6KiIKKsYcAUEBQooASxQKC1QulPolm50S+aPJPXmZm2a3BTo53n6QM49956T+8259yzv+x7ZmC8WcbGjU2migBFAGpAK9AGSgBjzX3dAAYSbT6kBWoA6oNz8VwycAU4BuUCmUquuku5beIZOpXF6XCFRPbyGTqUJAsYCVwCTgTFASjsvYxE6Gkh2UlYBcADYCewB9iu16qb21tmfXBQC61SaeGA2cANwHb8K5GtSzH83mz/X6lSarcCXwCalVn1Wonp4TKcVWKfSRAJzgLuAaUCAXytkIgy4xfzXqlNpfgA+A9Yotepqv9bMAbLO9g7WqTTjgYcxidvdnXNaDK3k1Z4lt6aEorrzFDdUUFpfQXljDfrmehpaGmkxtlLf0ghAqCIYhSyAEEUw4YEhxAZHkBDag6SQHvTqHktaeCJ9w+JRyN3+TdUBa4F3lFr13vZ/a89x9Q7uFALrVBo5plaxGJjkKn9lUy37zmVzqPwkmZWnOVlTQouh1at1UsgD6B+eyIjofozqkcqEuEFEB4W5c2oGsAzYqNSqDV6tlB06tcA6lUYG3Ao8Cwx3l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/y81/xUCe+S8HyFRq1TY7Lnc2XD2i/wckBEniScYuwQAAAABJRU5ErkJggg==');
  2046. width: 100rpx;
  2047. height: 100rpx;
  2048. background-repeat: no-repeat;
  2049. background-size: 100% 100%;
  2050. margin: 0 auto;
  2051. }
  2052. .pro-wrapper .iconn.iconn1 {
  2053. 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+piSIKMKaPyJzhIjf0jNporwAeUQJqaSrv7xmBz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x 0 12upx 0;
  2059. line-height: 40upx;
  2060. font-size: 24upx;
  2061. }
  2062. .pictrue_log_class {
  2063. z-index: 3;
  2064. background: -webkit-gradient(linear, left top, right top, from(rgba(246, 122, 56, 1)), to(rgba(241, 27, 9, 1)));
  2065. background: linear-gradient(90deg, rgba(246, 122, 56, 1) 0%, rgba(241, 27, 9, 1) 100%);
  2066. opacity: 1;
  2067. position: absolute;
  2068. top: 0;
  2069. left: 0;
  2070. color: #fff;
  2071. text-align: center;
  2072. }
  2073. .navbar .header {
  2074. height: 96rpx;
  2075. font-size: 30rpx;
  2076. color: #050505;
  2077. background-color: #fff;
  2078. /* #ifdef MP */
  2079. padding-right: 95rpx;
  2080. /* #endif */
  2081. }
  2082. .navbar .header .item {
  2083. position: relative;
  2084. margin: 0 25rpx;
  2085. }
  2086. .navbar .header .item.on:before {
  2087. position: absolute;
  2088. width: 60rpx;
  2089. height: 5rpx;
  2090. background-repeat: no-repeat;
  2091. content: "";
  2092. background-image: linear-gradient(to right, #ff3366 0%, #ff6533 100%);
  2093. bottom: -10rpx;
  2094. left: 50%;
  2095. margin-left: -28rpx;
  2096. }
  2097. .navbar {
  2098. position: fixed;
  2099. background-color: #fff;
  2100. top: 0;
  2101. left: 0;
  2102. z-index: 99;
  2103. width: 100%;
  2104. }
  2105. .navbar .navbarH {
  2106. position: relative;
  2107. }
  2108. .navbar .navbarH .navbarCon {
  2109. position: absolute;
  2110. bottom: 0;
  2111. height: 100rpx;
  2112. width: 100%;
  2113. }
  2114. .share-box {
  2115. z-index: 1000;
  2116. position: fixed;
  2117. left: 0;
  2118. top: 0;
  2119. width: 100%;
  2120. height: 100%;
  2121. image {
  2122. width: 100%;
  2123. height: 100%;
  2124. }
  2125. }
  2126. .store-wrapper {
  2127. margin-top: 20rpx;
  2128. background-color: #fff;
  2129. .store-hd {
  2130. padding: 30rpx;
  2131. border-bottom: 1px solid #F5F5F5;
  2132. .store-info {
  2133. position: relative;
  2134. display: flex;
  2135. .logo {
  2136. width: 86rpx;
  2137. height: 86rpx;
  2138. image {
  2139. width: 86rpx;
  2140. height: 86rpx;
  2141. border-radius: 6rpx;
  2142. }
  2143. }
  2144. .info {
  2145. display: flex;
  2146. flex-direction: column;
  2147. justify-content: center;
  2148. margin-left: 20rpx;
  2149. .name {
  2150. font-size: 28rpx;
  2151. color: #282828;
  2152. font-weight: bold;
  2153. display: flex;
  2154. align-items: center;
  2155. }
  2156. .txt {
  2157. margin-top: 8rpx;
  2158. color: #666666;
  2159. font-size: 22rpx;
  2160. }
  2161. }
  2162. .link {
  2163. position: absolute;
  2164. right: 0;
  2165. top: 50%;
  2166. transform: translateY(-50%);
  2167. display: flex;
  2168. align-items: center;
  2169. justify-content: center;
  2170. width: 114rpx;
  2171. height: 50rpx;
  2172. background-image: linear-gradient(-90deg, var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
  2173. border-radius: 25rpx;
  2174. color: #fff;
  2175. }
  2176. }
  2177. .score-wrapper {
  2178. display: flex;
  2179. justify-content: space-between;
  2180. margin-top: 30rpx;
  2181. .item {
  2182. color: #948D8C;
  2183. font-size: 26rpx;
  2184. text {
  2185. margin-left: 10rpx;
  2186. color: var(--view-priceColor);
  2187. }
  2188. }
  2189. }
  2190. }
  2191. .con-box {
  2192. padding: 20rpx 0 20rpx 30rpx;
  2193. .title {
  2194. font-size: 28rpx;
  2195. color: #282828;
  2196. margin-bottom: 20rpx;
  2197. }
  2198. .img-box {
  2199. display: flex;
  2200. .img-item {
  2201. width: 218rpx;
  2202. margin-right: 20rpx;
  2203. /deep/image,/deep/uni-image,/deep/.easy-loadimage {
  2204. width: 218rpx;
  2205. height: 218rpx;
  2206. border-radius: 16rpx;
  2207. display: inline-block;
  2208. }
  2209. .txt {
  2210. .title {
  2211. font-size: 28rpx;
  2212. color: #282828;
  2213. }
  2214. .price {
  2215. color: var(--view-priceColor);
  2216. font-size: 28rpx;
  2217. text {
  2218. font-size: 20rpx;
  2219. }
  2220. }
  2221. }
  2222. }
  2223. }
  2224. }
  2225. }
  2226. .sys-head {
  2227. background: transparent;
  2228. }
  2229. .head-wrapper {
  2230. z-index: 999;
  2231. display: flex;
  2232. align-items: center;
  2233. position: fixed;
  2234. left: 30rpx;
  2235. top: 0;
  2236. /* #ifdef MP */
  2237. height: 43px;
  2238. /* #endif */
  2239. /* #ifdef H5 */
  2240. height: 114rpx;
  2241. /* #endif */
  2242. }
  2243. .head-menu {
  2244. display: flex;
  2245. align-items: center;
  2246. height: 54rpx;
  2247. width: 140rpx;
  2248. background: rgba(0, 0, 0, .25);
  2249. border-radius: 27rpx;
  2250. .iconfont {
  2251. flex: 1;
  2252. text-align: center;
  2253. color: #fff;
  2254. box-sizing: border-box;
  2255. &.icon-xiangzuo {
  2256. border-right: 1px solid #fff;
  2257. }
  2258. }
  2259. }
  2260. </style>