index.vue 83 KB

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