groupdetails.vue 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318
  1. <template>
  2. <view class="container">
  3. <view class="reds"></view>
  4. <view class="conter">
  5. <!-- <view class="tips flex_center_down_center" v-if="state == 1">
  6. <image src="../../static/error/missing-face.png"></image>
  7. <text >79 拼团成功</text>
  8. </view> -->
  9. <view class="details flex-between-center" v-if="state == 1">
  10. <view class="left-img" @click="ToGroup(goods)">
  11. <image :src="goods.image"></image>
  12. <image class="left-img1" v-if=" types == 1" src="https://shicai.liuniu946.com/img/img69.png"></image>
  13. <image class="left-img1" v-if=" types == 2" src="https://shicai.liuniu946.com/img/img70.png"></image>
  14. </view>
  15. <view class="right-word">
  16. <view class="one">{{goods.title}}</view>
  17. <view class="two m-t10">
  18. <view class="three" v-if=" types == 1">
  19. <text>{{ goods.mark }}</text>
  20. </view>
  21. <view class="three" v-if=" types != 1">
  22. <text>{{ goods.mark }}</text>
  23. </view>
  24. <!-- <text class="two-1">单买价¥{{goods.product_price}}</text> -->
  25. <text class="two-2" @click="ToGroup(goods)">商品详情></text>
  26. </view>
  27. <!-- <view class="word-3" v-if="status == 1 && types == 1">
  28. <view class="word-3-1">
  29. <text class="word-text">本单人头奖</text>
  30. <text class="word-3-1-1">{{parseFloat(goods.people_prize)}}元</text></view>
  31. <image class="wenhao" src="../../static/icon/wenhao.png" @click="navTo('/pages/rule/AAjiangjin')"></image>
  32. </view> -->
  33. <view class="six" v-if="status == 1 && types == 1">
  34. <!-- <image src="https://shicaitest.liuniu946.com/img/img80.png"></image> -->
  35. <view>
  36. <view class="six-1">
  37. <text class="six-text">本单邀请奖</text>
  38. <text class="six-red">{{parseFloat(goods.people_prize)}}元/人</text></view>
  39. <view class="six-2">
  40. <text class="six-text2">本单奖金共</text>
  41. <text class="six-red">{{ parseInt(goods.people_prize) * (people.length + 1) }}元</text>
  42. </view>
  43. </view><!-- pages/rule/DaRjiangjin 达人团奖金 -->
  44. <image class="wenhao-six" src="../../static/icon/wenhao.png" @click="navTo('/pages/rule/AAjiangjin')"></image>
  45. </view>
  46. <view class="four m-t5">
  47. <text >拼团价¥</text>
  48. <text class="four-1">{{goods.price}}</text>
  49. </view>
  50. <view class="five m-t10">
  51. <text >已拼{{order_count || '0' }}份</text>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="participate" >
  56. <view class="rows-1" v-if="state == 1">
  57. <!-- AA团 -->
  58. <view class="participate-1" v-if="(1 + people.length) <= pinkT.max_people && types == 1">还差<text>{{peopleNub}}</text>人拼团成功</view>
  59. <view class="participate-2" v-if="types == 1">邀请好友参与,共享低价好物</view>
  60. <!-- 达人团 -->
  61. <!-- 人数不足 -->
  62. <view class="participate-1" v-if="(people.length) <= pinkT.min_people && types == 2">还差<text>{{pinkT.min_people - people.length }}</text>人拼团成功</view>
  63. <view class="participate-1" v-if="types == 2 && (people.length) >= pinkT.min_people">已有<text>{{people.length}}</text>人参与,拼团成功</view>
  64. <!-- 人数不足 团长 -->
  65. <view class="participate-2" v-if="status == 1 && types == 2 && (people.length) < pinkT.min_people">邀请好友参与,共享低价好物</view>
  66. <!-- 人数不足 团员 -->
  67. <view class="participate-2" v-if=" status != 1 && types == 2 && (people.length) < pinkT.min_people">分享好友,达到{{pinkT.min_people}}人即可拼团成功</view>
  68. <!-- 人数满足 -->
  69. <!-- 人数满足 团长 -->
  70. <view class="participate-2" v-if=" status == 1 && types == 2 && people.length >= pinkT.min_people">拼团已成功,还可继续分享,赚取更高佣金提成</view>
  71. <!-- 人数满足 团员 -->
  72. <view class="participate-2" v-if=" status != 1 && types == 2 && people.length >= pinkT.min_people">还可继续分享,邀请好友共享低价好物</view>
  73. <!-- <view class="participate-1" v-if="(1 + people.length) == pinkT.max_eople">已有<text>{{people.length}}</text>人参与,拼团成功</view> -->
  74. <!-- <view class="participate-one" v-if=" i == 1">发起拼团</view> -->
  75. <!-- <view class="participate-2" v-if=" i == 1">与<text class="participate-red">附近的人</text>一起享受优惠</view> -->
  76. <view class="participate-3 flex-center">
  77. <view>剩余</view>
  78. <uni-countdowns
  79. color="#000000"
  80. background-color="#F5F5F7"
  81. splitor-color="#000000"
  82. :show-day="false"
  83. :day="stopTime.stopTimeD"
  84. :hour="stopTime.stopTimeH"
  85. :minute="stopTime.stopTimeM"
  86. :second="stopTime.stopTimeS"
  87. ></uni-countdowns>
  88. </view>
  89. <view class="participate-4" :class="{PinkCenter: pinkT.max_people < 5 }" v-if="pinkT.max_people < 5">
  90. <view class="participate-4-1">
  91. <image :src="pinkT.avatar"></image>
  92. <image class="participate-4-1-1" src="../../static/img/img73.png"></image>
  93. </view>
  94. <view class="participate-4-1" v-for="(item , i) in people" :key='i'>
  95. <image :src="item.avatar" />
  96. </view>
  97. <!-- <view class="participate-4-1" v-for="(l, i) in peopleNub" :key="i">
  98. <view class="lyy-y bg-gray"></view>
  99. </view> -->
  100. <!-- AA团 -->
  101. <view class="participate-4-1" v-if="types == 1" v-for="item in peopleNub">
  102. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  103. </view>
  104. <!-- 达人团 -->
  105. <view class="participate-4-1" v-if="types == 2 " v-for="item in peopleNub + 1" >
  106. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  107. </view>
  108. <view class="participate-4-1" v-if=" i == 1">
  109. <image src="https://shicai.liuniu946.com/img/img81.png"></image>
  110. </view>
  111. </view>
  112. <scroll-view class="pinkT-Box" scroll-x="true" v-if="pinkT.max_people >= 5">
  113. <view class="participate-4">
  114. <view class="participate-4-1">
  115. <image :src="pinkT.avatar"></image>
  116. <image class="participate-4-1-1" src="../../static/img/img73.png"></image>
  117. </view>
  118. <view class="participate-4-1" v-for="(item , i) in people" :key='i'>
  119. <image :src="item.avatar" />
  120. </view>
  121. <!-- <view class="participate-4-1" v-for="(l, i) in peopleNub" :key="i">
  122. <view class="lyy-y bg-gray"></view>
  123. </view> -->
  124. <!-- <view class="participate-4-1" v-for="item in peopleNub " >
  125. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  126. </view> -->
  127. <!-- AA团 -->
  128. <view class="participate-4-1" v-if="types == 1" v-for="item in peopleNub">
  129. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  130. </view>
  131. <!-- 达人团 -->
  132. <view class="participate-4-1" v-if="types == 2 " v-for="item in peopleNub + 1" >
  133. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  134. </view>
  135. <view class="participate-4-1" v-if=" i == 1">
  136. <image src="https://shicai.liuniu946.com/img/img81.png"></image>
  137. </view>
  138. </view>
  139. </scroll-view>
  140. </view>
  141. <!-- 拼团成功 AA团-->
  142. <view class="rows-2" v-if="state == 2">
  143. <view class="rows-2-1" >拼团成功</view>
  144. <view class="rows-2-2">商品正在准备中</view>
  145. <view class="rows-2-3" >
  146. <scroll-view scroll-x class="rows-2-3-1" >
  147. <view class="PinkT-success">
  148. <view class="pinkTuan">
  149. <image :src="pinkT.avatar"></image>
  150. <image
  151. style="
  152. width: 60rpx;
  153. height: 30rpx;
  154. border-radius: 0;
  155. position: absolute;
  156. bottom: 0;
  157. left: 14rpx;"
  158. src="../../static/img/img73.png"></image>
  159. </view>
  160. <view v-for="(item , i) in people" :key='i' class="flex-between-center">
  161. <view style="width: 33%;">
  162. <image :src="item.avatar"/>
  163. </view>
  164. </view>
  165. </view>
  166. </scroll-view>
  167. <!-- <view class="rows-2-3-2" v-if="(1 + people.length) > 3">
  168. <image src="https://shicaitest.liuniu946.com/img/img74.png" />
  169. </view> -->
  170. <!-- <view><image src="https://shicaitest.liuniu946.com/img/touxiang3.jpg"></image></view>
  171. <view><image src="https://shicaitest.liuniu946.com/img/touxiang3.jpg"></image></view>
  172. <view><image src="https://shicaitest.liuniu946.com/img/touxiang3.jpg"></image></view> -->
  173. </view>
  174. </view>
  175. <view v-if="state == 1">
  176. <view class="participate-5" v-if="status == 1 && userBool == 1 " @click="openshare">邀请好友参团</view>
  177. <view class="participate-5" v-if="status != 1 && userBool == 0 " @click="goBuy" >立即参团</view>
  178. <view class="participate-5" v-if="status != 1 && userBool == 1 " @click="openshare" >分享给好友</view>
  179. </view>
  180. <view class="participate-5" v-if="state == 2 && status != 1" @click="GoDingdan">查看订单及团长信息</view>
  181. <view class="participate-5" v-if="state == 2 && status == 1" @click="GoDingdan">查看订单及团员信息</view>
  182. <view class="participate-6"></view>
  183. <view class="participate-7 flex-between-center">
  184. <view class="participate-7-1">
  185. <text class="word" v-if=" types != 1">达人团</text>
  186. <text class="word" v-if=" types == 1">AA团</text>
  187. <text>玩法</text>
  188. </view>
  189. <view class="participate-7-1" @click="goRule">
  190. <text class="word1">详细规则</text>
  191. <image src="../../static/img/img74.png"></image>
  192. </view>
  193. </view>
  194. <view class="participate-8 flex-between-center">
  195. <view class="participate-8-1">
  196. <image class="img1" src="https://shicai.liuniu946.com/img/img76.png"></image>
  197. <view class="word-1">开团/参团</view>
  198. <view class="word-2">拼团享低价</view>
  199. </view>
  200. <image src="https://shicai.liuniu946.com/img/img75.png"></image>
  201. <view class="participate-8-1">
  202. <image class="img2" src="https://shicai.liuniu946.com/img/img77.png"></image>
  203. <view class="word-1">邀请邻里参团</view>
  204. <view class="word-2">分享优惠多</view>
  205. </view>
  206. <image src="https://shicai.liuniu946.com/img/img75.png"></image>
  207. <view class="participate-8-1">
  208. <image class="img3" src="https://shicai.liuniu946.com/img/img78.png"></image>
  209. <view class="word-1">人满发货</view>
  210. <view class="word-2">人不满退款</view>
  211. </view>
  212. </view>
  213. </view>
  214. <!-- 达人团显示团长信息 -->
  215. <view class="infos" v-if="types == 2">
  216. <view class="PinkT-title">
  217. 团长信息
  218. </view>
  219. <view class="PinkT-info">
  220. <view class="info-img">
  221. <image :src="pinkT.avatar"></image>
  222. <image class="PinkT-tuanzhang" src="../../static/img/img73.png"></image>
  223. </view>
  224. <view class="PinkT-right">
  225. <view class="PinkT-right-box">
  226. <view class="PinkT-text">
  227. {{pinkT.user_address}}
  228. </view>
  229. </view>
  230. <view class="PinkT-last">
  231. <view class="PinkT-text" style="margin-right: 10rpx;">
  232. {{pinkT.nickname}}
  233. </view>
  234. <view class="PinkT-text">
  235. {{pinkT.user_phone}}
  236. </view>
  237. </view>
  238. </view>
  239. </view>
  240. </view>
  241. <view class="info" v-if="state == 2">
  242. <view class="info-top">
  243. <view class="top-left">
  244. <image :src="image" class="left-img"></image>
  245. <view class="left-box">
  246. <view class="left-tit">
  247. {{goodsinfo.store_name}}
  248. </view>
  249. <!-- <view class="left">
  250. 规格:10枚
  251. </view> -->
  252. <view class="left">
  253. 单价:¥{{goodsinfo.price}}
  254. </view>
  255. <view class="left">
  256. 数量:{{cart_info.cart_num}}
  257. </view>
  258. </view>
  259. </view>
  260. <!-- <view class="top-right">
  261. ¥0
  262. </view> -->
  263. </view>
  264. <view class="info-pic">
  265. <view class="pic-left">
  266. 商品支付金额
  267. </view>
  268. <view class="pic-right">
  269. ¥{{shopinfo.pay_price}}
  270. </view>
  271. </view>
  272. <view class="info-pic">
  273. <view class="pic-left">
  274. 到货时间
  275. </view>
  276. <view class="pic-right red">
  277. {{shopinfo.mark}}
  278. </view>
  279. </view>
  280. </view>
  281. <view class="infos" v-if="state == 2">
  282. <view class="info-pic">
  283. <view class="pic-left">
  284. 收货地址
  285. </view>
  286. <view class="pic-right">
  287. {{shopinfo.user_address}}
  288. </view>
  289. </view>
  290. <view class="info-pic">
  291. <view class="pic-left">
  292. 电话
  293. </view>
  294. <view class="pic-right red">
  295. {{shopinfo.user_phone}}
  296. </view>
  297. </view>
  298. <!-- <view class="info-pic">
  299. <view class="pic-left">
  300. 配送时间
  301. </view>
  302. <view class="pic-right red">
  303. 2020-07-05 21:43:31
  304. </view>
  305. </view> -->
  306. </view>
  307. <!-- 大家还在拼 AA团-->
  308. <now-list v-if="types == 1" :recommendedlist="recommendedlist"></now-list>
  309. <!-- 该团长还发起了以下拼团 达人团-->
  310. <view class="other" v-if="types == 2">
  311. <view class="other-1">该团长还发起了以下拼团</view>
  312. <view class="preferred_item" v-for="item in PinkTList" @click.stop="ToKaiTuan(item)">
  313. <view class="flex_item" style="overflow: hidden;">
  314. <view class="tlist-img">
  315. <view class="leftImgIcon" v-if="item.pink_type =='AA团'">AA团</view>
  316. <view class="leftImgIcon" v-if="item.pink_type =='达人团'">达人团</view>
  317. <!-- <view class="leftImgIcon" v-if="sid == 129">达人团</view> -->
  318. <view class="img"><image :src="item.image" mode="scaleToFill"></image></view>
  319. </view>
  320. <view class="tlist-img " v-for="imgItem in item.images">
  321. <view class="img"><image :src="imgItem" mode="scaleToFill"></image></view>
  322. </view>
  323. </view>
  324. <view class="goods_name">
  325. <view class="goods_title flex_item">
  326. <view class="text">{{ item.min_people }}人团</view>
  327. <view class="title">{{ item.title }}</view>
  328. </view>
  329. <view class="goods-height">
  330. <!-- <view class="goods_num clamp">{{ item.info }}</view> -->
  331. <view class="flex goods-peplo">
  332. <view class="goods-tip flex_item">
  333. <view class="peplo">库存剩{{ item.percent | parseIntTo }}%</view>
  334. <view class="make">{{ item.mark }}</view>
  335. </view>
  336. <view class="right flex_item">
  337. <image src="/static/icon/hot.png" mode="aspectFill"></image>
  338. <text>已拼{{ item.sales }}份</text>
  339. </view>
  340. </view>
  341. </view>
  342. <view class="price flex">
  343. <view class="price_list">
  344. <view class="price-red">
  345. <text v-if="item.pink_type == 'AA团'">单人仅付:</text>
  346. <text class="moneyIcon">¥</text>
  347. <text class="money">{{ item.price }}</text>
  348. <text class="moneyType">/{{ item.unit_name }}</text>
  349. <text class="outMoney" v-if="item.pink_type == '达人团'">¥{{ item.product_price }}</text>
  350. </view>
  351. </view>
  352. <!-- 团长 -->
  353. <view v-if="status == 1 " class="img position-relative" @click.stop="ToCanTuan(item)">查看拼团</view>
  354. <!-- 团员 -->
  355. <view v-if="status != 1 " class="img position-relative" @click.stop="ToCanTuan(item)">去参团</view>
  356. </view>
  357. </view>
  358. </view>
  359. </view>
  360. </view>
  361. <!-- <uni-popup ref="popup1" type="center" >
  362. <view class="popup1">
  363. <view class="popup-1">
  364. 为确保该区域不出现多个团长同时团 请输入您的电话号码,我们将对您发起的 团购进行判定
  365. </view>
  366. <view class="popup-2">确认</view>
  367. </view>
  368. </uni-popup>
  369. <uni-popup ref="popup2" type="center" >
  370. <view class="popup2">
  371. <view class="popup2-1">
  372. 是否付款?
  373. </view>
  374. <view class="popup2-2 flex-between-center">
  375. <view class="one">是</view>
  376. <view class="one">否</view>
  377. </view>
  378. </view>
  379. </uni-popup>
  380. -->
  381. <uni-popup ref="share" type="center" >
  382. <view class="share-box">
  383. <view class="share-tit">
  384. <!-- 10枚洋鸡蛋低至<text>19</text>元, -->
  385. 赶紧邀请认识的人来拼团吧
  386. </view>
  387. <view class="share-tit2">
  388. 美天选菜平台配送范围有限,建议分享给您附近的朋友或邻居
  389. </view>
  390. <view class="share-footbox">
  391. <button class="share-icon button-share" open-type="share" @click="closeshare">
  392. <image src="https://shicai.liuniu946.com/img/icon-wx.png" class="icon"></image>
  393. <view class="share-txt" style="line-height: 1;margin-top: 4rpx;">邀请好友</view>
  394. </button>
  395. <view class="share-icon" @click="open">
  396. <image src="https://shicai.liuniu946.com/img/icon-wx2.png" class="icon"></image>
  397. <view class="share-txt">朋友圈</view>
  398. </view>
  399. </view>
  400. </view>
  401. </uni-popup>
  402. <view class="mask" v-show="maskshow" @click="maskshow = false">
  403. <image class="close" src="../../static/icon/close.png"></image>
  404. <image @longpress="saveImg()" @tap="maskshow = false" mode="widthFix" :src="posturl"></image>
  405. <view class="save-btn" @click="savePost">保存图片</view>
  406. </view>
  407. <!-- 团长填写-->
  408. <!-- <uni-popup ref="popPhone" type="center" :maskClick="false">
  409. <view class="pop-box">
  410. <view class="pop-tit">为确保该区域不出现多个团长同时团,请输入您的电话号码,我们将对您发起的团购进行判定</view>
  411. <view class="pop-buttom">
  412. <input type="number" placeholder="清输入您的手机号" />
  413. </view>
  414. <view class="pop-qr" @click="queren">确认</view>
  415. </view>
  416. </uni-popup> -->
  417. <view class="foot" @click="openshare">分享给好友</view>
  418. <uni-popup ref="popup" type="center">
  419. <view class="pop-box">
  420. <view class="pop-text">
  421. 为了方便您查看您的拼团详细状况,我们需要您的通知授权
  422. </view>
  423. <view class="pop-button" @click="xiaoxi()">
  424. 开启通知
  425. </view>
  426. </view>
  427. </uni-popup>
  428. <!-- 返回按钮 -->
  429. <return-button></return-button>
  430. </view>
  431. </template>
  432. <script>
  433. import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
  434. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  435. import { getCombinationLisPink, getCombinationPoster } from '@/api/groupBooking.js';
  436. import { timeComputed } from '@/utils/rocessor.js';
  437. import { orderMake, nowPinkLst, pinkTAllList } from '@/api/order.js';
  438. import { mapState } from 'vuex';
  439. // 返回按钮
  440. import returnButton from '@/pages/return/returnButton.vue';
  441. // 大家还在拼
  442. import NowList from './common/nowList.vue';
  443. export default {
  444. filters: {
  445. parseIntTo(percent) {
  446. percent = +percent * 100;
  447. if (percent % 1 === 0) {
  448. return percent;
  449. } else {
  450. percent = percent.toFixed(1);
  451. return percent;
  452. }
  453. }
  454. },
  455. computed: {
  456. ...mapState(['baseURL', 'urlFile']),
  457. ...mapState('user',['userInfo']),
  458. // 还需要报名的人数
  459. peopleNub() {
  460. return this.pinkT.max_people - 1 - this.people.length;
  461. },
  462. //最后成团时,销售额佣金百分比
  463. percentage(){
  464. if((1 + this.people.length) >= this.pinkT.min_people)
  465. {
  466. let number;
  467. // AA团
  468. if( this.types == 1 ) {
  469. number = this.people.length + 1; //现有人数
  470. }
  471. // 达人团
  472. if( this.types == 2 ) {
  473. number = this.people.length; //现有人数
  474. }
  475. let size = number - this.pinkT.min_people;
  476. let percentage = (parseInt(size) / parseInt(this.upgrade_people_nums)) * parseInt(this.prize_up) + parseInt(this.min_prize);//最终的百分比
  477. console.log(this.min_prize,this.upgrade_people_nums,3898)
  478. console.log(percentage,8676)
  479. if( percentage > this.max_prize)
  480. {
  481. console.log(this.max_prize,8888)
  482. return parseFloat(this.max_prize);
  483. }else{
  484. console.log(percentage,9999)
  485. return parseFloat(percentage);
  486. }
  487. }
  488. else{
  489. return '?';
  490. }
  491. }
  492. },
  493. components: {
  494. uniCountdowns,
  495. uniPopup,
  496. returnButton,
  497. NowList
  498. },
  499. // #ifdef MP
  500. onShareAppMessage: function(res) {
  501. if (res.from === 'button') {
  502. // 来自页面内分享按钮
  503. let pages = getCurrentPages();
  504. // 获取当前页面
  505. let page = pages[pages.length - 1];
  506. let path = '/' + page.route + '?';
  507. // 保存传值
  508. for (let i in page.options) {
  509. if(i !='spread' ) {
  510. path += i + '=' + page.options[i] + '&';
  511. }
  512. }
  513. // 保存邀请人
  514. path += 'spread=' + this.userInfo.uid;
  515. console.log(path,9685)
  516. let data = {};
  517. if( this.types == 1) {
  518. // AA团
  519. data = {
  520. path: path,
  521. imageUrl: this.goods.image,
  522. // title: '已有' + (parseInt(this.people.length) + 1) + '人拼团成功,快上车'
  523. title: '本群已有' + (parseInt(this.people.length) + 1 ) + '人下单,快上车'
  524. }
  525. } else {
  526. // 达人团
  527. data = {
  528. path: path,
  529. imageUrl: this.goods.image,
  530. title: '本群已有' + (parseInt(this.people.length)) + '人下单,快上车'
  531. }
  532. }
  533. return data;
  534. } else {
  535. // 来自页面内分享按钮
  536. let pages = getCurrentPages();
  537. // 获取当前页面
  538. let page = pages[pages.length - 1];
  539. let path = '/' + page.route + '?';
  540. // 保存传值
  541. for (let i in page.options) {
  542. if(i !='spread' ) {
  543. path += i + '=' + page.options[i] + '&';
  544. }
  545. }
  546. // 保存邀请人
  547. path += 'spread=' + this.userInfo.uid;
  548. console.log(path,9685)
  549. let data = {};
  550. if( this.types == 1) {
  551. // AA团
  552. data = {
  553. path: path,
  554. imageUrl: this.goods.image,
  555. // title: '已有' + (parseInt(this.people.length) + 1) + '人拼团成功,快上车'
  556. title: '本群已有' + (parseInt(this.people.length) + 1 ) + '下单,快上车'
  557. }
  558. } else {
  559. // 达人团
  560. data = {
  561. path: path,
  562. imageUrl: this.goods.image,
  563. title: '本群已有' + (parseInt(this.people.length)) + '下单,快上车'
  564. }
  565. }
  566. return data;
  567. }
  568. },
  569. // #endif
  570. data() {
  571. return {
  572. i:0,
  573. min_prize:0,//最低提成百分比
  574. max_prize:0,//最高提成百分比
  575. upgrade_people_nums:'',//升级人数
  576. prize_up: '', // 提升百分比
  577. orderId:'',//订单号
  578. order_count:'',//已拼数量
  579. types:'',//1AA团 2 达人团
  580. state:0,//1正在拼团 2 拼团成功 3 拼团失败
  581. user_info: {}, //当前用户信息
  582. shopinfo:{},//订单信息
  583. goodsinfo:{},//商品信息
  584. image:'',//订单商品图片
  585. cart_info:{},
  586. posturl: '',
  587. list: '', //拼团全部信息
  588. gp_id: 0, //拼团商品id
  589. goods: {}, //商品信息
  590. pinkT: {}, //拼团团长信息
  591. people: [], //拼团成员信息
  592. status: 0, //判断是否为团长
  593. notPink: false, //是否已经参团
  594. gid: 0,
  595. // 倒计时
  596. stopTime: {
  597. stopTimeD: 0,
  598. stopTimeH: 0,
  599. stopTimeM: 0,
  600. stopTimeS: 0
  601. },
  602. pinkTInfo: '', //当前用户信息
  603. userBool: 0, //判断用户是否已经参与拼团 0未参加 1为已参加
  604. spread: '', //默认没有邀请人
  605. option: '', //option参数
  606. showtime: true, //倒计时天数
  607. maskshow: false, //弹窗
  608. teamid: '' ,//团长id
  609. erros:'',//保存商品错误信息
  610. unique:'',//保存传入的规格用于确认购买规格号
  611. recommendedlist:[],
  612. pinkUser: '' ,// 是否为团长
  613. orderShow: false,
  614. PinkTList: '', // 团长其他团
  615. pink: 0, // 是否为拼团
  616. tongzhi: 0, // 是否显示通知
  617. }
  618. },
  619. onLoad(option) {
  620. console.log(option)
  621. if (option.scene) {
  622. if (typeof option.scene == 'string') {
  623. let scene = ('{'+option.scene+"}").replace('qr%26','').replace(/%3D/g,':').replace(/%26/g,',').replace('id','\"id\"').replace('spread','\"spread\"');
  624. // let scene = ('{'+option.scene+"}")
  625. let opt = JSON.parse(scene);
  626. // 保存拼团订单id
  627. console.log('haha1')
  628. this.gp_id = opt.id;
  629. if(opt.order_id) {
  630. this.orderId = opt.order_id;
  631. this.orderShow = true
  632. }
  633. if (opt.spread) {
  634. // 存储邀请人
  635. this.spread = opt.spread;
  636. uni.setStorageSync('spread', opt.spread);
  637. }
  638. }
  639. } else {
  640. // 保存拼团订单id
  641. console.log('haha2')
  642. this.gp_id = option.id;
  643. if(option.order_id) {
  644. this.orderId = option.order_id;
  645. this.orderShow = true
  646. }
  647. if(option.pink) {
  648. this.pink = option.pink
  649. }
  650. if(option.tongzhi) {
  651. this.tongzhi = option.tongzhi
  652. }
  653. this.pinkUser = option.pinkUser;
  654. if (option.spread) {
  655. // 存储邀请人
  656. this.spread = option.spread;
  657. uni.setStorageSync('spread', option.spread);
  658. }
  659. }
  660. // 判断是否有拼团
  661. if(option.unique){
  662. this.unique = option.unique
  663. }
  664. this.getData();
  665. // this.tuanzhang();
  666. },
  667. onShow() {
  668. if( this.orderShow == true ) {
  669. uni.showLoading({
  670. title: '加载中',
  671. mask:true,
  672. });
  673. orderMake({},this.orderId).then(({data})=>{
  674. uni.hideLoading();
  675. this.shopinfo = data;
  676. this.goodsinfo = data.info[0].cart_info.productInfo;
  677. this.cart_info = data.info[0].cart_info;
  678. this.image = this.goodsinfo.image;
  679. console.log(this.cart_info);
  680. }).catch(e => {
  681. console.log(e);
  682. uni.hideLoading();
  683. });
  684. }
  685. },
  686. onPullDownRefresh() {
  687. let obj = this;
  688. //监听下拉刷新动作的执行方法,每次手动下拉刷新都会执行一次
  689. setTimeout(function() {
  690. obj.getData();
  691. uni.stopPullDownRefresh(); //停止下拉刷新动画
  692. }, 1000);
  693. },
  694. onReady() {
  695. let obj = this;
  696. console.log(obj.pink)
  697. obj.popimg();
  698. },
  699. methods: {
  700. popimg() {
  701. console.log(111)
  702. if( this.pink == 1 && this.tongzhi == 1 ) {
  703. console.log(this.pink,777)
  704. this.$refs.popup.open()
  705. }
  706. },
  707. // 消息通知
  708. xiaoxi() {
  709. this.$refs.popup.close()
  710. wx.requestSubscribeMessage({
  711. tmplIds: ['upq4J5ZQqRx-se7KgRdWS5d-l7EXKdAKT8W_J6HF70g','XKBGRmGwCzpT6oZZ0m6CF8nOS-eyGoDAI2KMSO4R4JY', '93fUZzhSsYNpBcDgFSgTDk3raKodD-bedAvfl3V4Iho'],
  712. success (res) {
  713. uni.showToast({
  714. title:'开启通知成功'
  715. })
  716. }
  717. })
  718. },
  719. // 保存图片
  720. savePost: function(e) {
  721. let _self = this;
  722. //获取相册授权
  723. uni.getSetting({
  724. success(res) {
  725. if (!res.authSetting['scope.writePhotosAlbum']) {
  726. uni.authorize({
  727. scope: 'scope.writePhotosAlbum',
  728. success() {
  729. //这里是用户同意授权后的回调
  730. _self.saveImgToLocal();
  731. },
  732. fail() { //这里是用户拒绝授权后的回调
  733. _self.openSettingBtnHidden = false
  734. }
  735. })
  736. } else { //用户已经授权过了
  737. _self.saveImgToLocal();
  738. }
  739. }
  740. })
  741. },
  742. saveImgToLocal: function(e) {
  743. let _self = this;
  744. uni.showModal({
  745. title: '提示',
  746. content: '确定保存到相册吗',
  747. success: function(res) {
  748. if (res.confirm) {
  749. uni.downloadFile({
  750. url: _self.posturl, //图片地址
  751. success: (res) => {
  752. if (res.statusCode === 200) {
  753. uni.saveImageToPhotosAlbum({
  754. filePath: res.tempFilePath,
  755. success: function() {
  756. uni.showToast({
  757. title: "保存成功",
  758. icon: "none"
  759. });
  760. _self.maskshow = false; // 关闭海报弹窗
  761. },
  762. fail: function() {
  763. uni.showToast({
  764. title: "保存失败",
  765. icon: "none"
  766. });
  767. }
  768. });
  769. }
  770. }
  771. })
  772. } else if (res.cancel) {
  773. }
  774. }
  775. });
  776. },
  777. // 下载图片方法
  778. saveImg(w) {
  779. console.log(w);
  780. let obj = this;
  781. uni.downloadFile({
  782. //下载图片
  783. url: obj.posturl,
  784. success: res => {
  785. console.log(res.tempFilePath);
  786. uni.saveImageToPhotosAlbum({
  787. //将图片保存在手机
  788. filePath: res.tempFilePath, //保存的位置
  789. success: res => {
  790. uni.showToast({
  791. title: '保存成功',
  792. icon: 'none'
  793. });
  794. }
  795. });
  796. }
  797. });
  798. },
  799. openSp() {
  800. let obj = this;
  801. uni.scanCode({
  802. complete(e) {
  803. uni.showModal({
  804. title: '',
  805. content: JSON.stringify(e),
  806. showCancel: false,
  807. complete() {
  808. if(obj.erros){
  809. uni.showModal({
  810. title: '错误',
  811. content:JSON.stringify(obj.erros),
  812. showCancel: false
  813. });
  814. }
  815. }
  816. });
  817. }
  818. });
  819. },
  820. // #ifdef H5
  821. // 加载微信html5页面分享方法
  822. shareDate() {
  823. let obj = this;
  824. let url = window.location.href.replace(/[\?,&]{0,1}from=singlemessage/g, '') + '&spread=' + this.userInfo.uid;
  825. let bool = uni.getStorageSync('weichatBrowser') || '';
  826. if (bool) {
  827. // 过滤微信强制添加的链接地址
  828. let data = {
  829. link: url, // 分享链接
  830. imgUrl: obj.goods.image, // 分享图标
  831. desc: obj.goods.title,
  832. title: obj.goods.title,
  833. success: function(e) {}
  834. };
  835. // 判断是否为微信浏览器
  836. if (uni.getStorageSync('weichatBrowser')) {
  837. // 加载微信注册信息
  838. weixindata(data);
  839. }
  840. }
  841. },
  842. // #endif
  843. // 详细规则
  844. goRule() {
  845. // AA团
  846. if( this.types == 1 ) {
  847. uni.navigateTo({
  848. url: '/pages/rule/AArule'
  849. })
  850. }
  851. // 达人团
  852. if( this.types == 2) {
  853. uni.navigateTo({
  854. url: '/pages/rule/DaRrule'
  855. })
  856. }
  857. },
  858. // 跳转
  859. navTo(url) {
  860. uni.navigateTo({
  861. url: url
  862. })
  863. },
  864. //前往参团
  865. goBuy() {
  866. let _self = this;
  867. uni.navigateTo({
  868. url:
  869. '/pages/order/createOrderPink?pinkid=' +
  870. _self.gp_id +
  871. '&type=pink' +
  872. '&pid=' +
  873. _self.goods.product_id +
  874. '&gid=' +
  875. _self.goods.id +
  876. '&teamid=' +
  877. _self.teamid +
  878. '&unique=' +
  879. (_self.unique||_self.goods.unique) +
  880. '&num=' +
  881. _self.goods.num +
  882. '&goodsType=' + '2'
  883. });
  884. },
  885. //拼团商品详情
  886. ToDetails(item) {
  887. let id = item.id;
  888. uni.navigateTo({
  889. url: '/pages/product/product?id=' + id + '&type=2'
  890. });
  891. },
  892. // 查看订单及团长信息
  893. GoDingdan() {
  894. uni.navigateTo({
  895. url: '/pages/product/picked?id=' + this.orderId
  896. })
  897. },
  898. //邀请参团
  899. open() {
  900. let obj = this;
  901. let id = obj.goods.id;
  902. let type = 2;
  903. // 判断拼团是否已经结束
  904. if (obj.userBool == 0) {
  905. // uni.showModal({
  906. // title: '提示',
  907. // content: '该拼团已经结束!',
  908. // showCancel: false,
  909. // success: res => {},
  910. // fail: () => {},
  911. // complete: () => {}
  912. // });
  913. uni.showModal({
  914. title: '提示',
  915. content: '该拼团已结束是否马上开启新的拼团?',
  916. showCancel: false,
  917. success: res => {
  918. uni.navigateTo({
  919. url: '/pages/product/productGroup?id=' + id
  920. })
  921. },
  922. fail: () => {},
  923. complete: () => {}
  924. });
  925. return;
  926. }
  927. if (!this.posturl) {
  928. this.onTap();
  929. }
  930. this.maskshow = true;
  931. this.$refs.share.close()
  932. },
  933. //随意点击隐藏弹窗
  934. onTap() {
  935. uni.showLoading({
  936. title: '加载中',
  937. mask:true,
  938. });
  939. getCombinationPoster({
  940. id: this.gp_id,
  941. // #ifdef H5 || APP-PLUS
  942. qurl: this.baseURL + this.urlFile + '/pages/groupBooking/groupdetails?pink_id=' + this.gp_id + '&spread=' + uni.getStorageSync('userInfo').uid,
  943. from: 'wechat',
  944. // #endif
  945. // #ifdef MP
  946. qurl: 'pages/groupBooking/groupdetails',
  947. pink_id: this.gp_id,
  948. spread: uni.getStorageSync('userInfo').uid,
  949. from: 'routine'
  950. // #endif
  951. })
  952. .then(e => {
  953. uni.hideLoading();
  954. this.posturl = e.data.url;
  955. console.log(e);
  956. })
  957. .catch(e => {
  958. console.log(e);
  959. uni.hideLoading();
  960. });
  961. if (!this.open) return;
  962. this.close();
  963. },
  964. close() {
  965. this.maskshow = false;
  966. },
  967. // 团长确认
  968. // tuanzhang() {
  969. // let obj = this;
  970. // if (this.pinkUser == 1) {
  971. // this.$nextTick(function(){
  972. // obj.$refs.popPhone.open();
  973. // })
  974. // }
  975. // },
  976. queren() {
  977. this.$refs.popPhone.close();
  978. },
  979. // 获取拼团信息
  980. getData() {
  981. let obj = this;
  982. uni.showLoading({
  983. title: '加载中',
  984. mask: true
  985. });
  986. getCombinationLisPink({}, this.gp_id).then(e => {
  987. console.log(e,999)
  988. this.$nextTick(function(){
  989. uni.hideLoading()
  990. })
  991. let r = e.data;
  992. // 保存拼团商品详细
  993. obj.goods = r.store_combination;
  994. obj.max_prize = obj.goods.max_prize;
  995. obj.min_prize = obj.goods.min_prize;
  996. obj.upgrade_people_nums = obj.goods.upgrade_people_nums;
  997. obj.prize_up = obj.goods.prize_up;
  998. console.log(obj.prize_up,466)
  999. //判断是AA团还是达人团
  1000. if(r.pink_type == "AA团")
  1001. {
  1002. obj.types = 1;
  1003. }else{
  1004. obj.types = 2;
  1005. }
  1006. // 判断当前用户是否为团长
  1007. obj.teamid = r.pinkT.uid;
  1008. // AA团
  1009. if(obj.types == 1) {
  1010. console.log('chen');
  1011. nowPinkLst({}).then(({data}) => {
  1012. obj.recommendedlist = data;
  1013. })
  1014. }
  1015. // 达人团
  1016. if(obj.types == 2) {
  1017. console.log('qweqwrq');
  1018. pinkTAllList({}, obj.teamid).then(({data}) => {
  1019. obj.PinkTList = data;
  1020. })
  1021. }
  1022. obj.userBool = r.userBool;
  1023. // 保存团长信息
  1024. obj.pinkT = r.pinkT;
  1025. obj.gp_id = r.pinkT.id;
  1026. /* 计算倒计时 */
  1027. obj.timeComputed(obj.pinkT.stop_time * 1000);
  1028. // 获取拼团用户列表
  1029. obj.people = r.pinkAll;
  1030. obj.state = r.status;
  1031. obj.order_count = r.sales;
  1032. let userPinkBool = false; //判断是否已经参团
  1033. //当参团列表的uid和userInfo uid相同时,不显示立即加入按钮
  1034. /* for (let i = 0; i < r.pinkAll.length; i++) {
  1035. if (r.pinkAll[i].uid == obj.userInfo.uid) {
  1036. //已经参团
  1037. userPinkBool = true;
  1038. }
  1039. } */
  1040. /* if (r.pinkT.uid == obj.userInfo.uid) {
  1041. // 表示为团长已参团
  1042. userPinkBool = true;
  1043. } */
  1044. // 判断是否已经参团过
  1045. if (!userPinkBool) {
  1046. obj.notPink = true;
  1047. }
  1048. // 获取当前是否已参与过这个拼团
  1049. let number = obj.pinkT.people - 1;
  1050. if (r.pinkT.uid == r.userInfo.uid) {
  1051. // 显示邀请好用选项
  1052. obj.status = 1;
  1053. }
  1054. // 保存当前登录用户信息
  1055. obj.pinkTInfom = r.userInfo;
  1056. saveUrl();
  1057. // #ifdef H5
  1058. // 加载微信分享配置
  1059. this.shareDate();
  1060. // #endif
  1061. }).catch((e) => {
  1062. obj.erros = e
  1063. uni.hideLoading()
  1064. });
  1065. },
  1066. // 计算倒计时时间
  1067. timeComputed(da) {
  1068. let obj = this;
  1069. let stopTime = timeComputed(da);
  1070. obj.stopTime.stopTimeD = stopTime.day;
  1071. obj.stopTime.stopTimeH = stopTime.hours;
  1072. obj.stopTime.stopTimeM = stopTime.minutes;
  1073. obj.stopTime.stopTimeS = stopTime.seconds;
  1074. if (stopTime.day < 1) {
  1075. obj.showtime = false;
  1076. }
  1077. },
  1078. //跳转拼团商品详情页
  1079. ToGroup(item) {
  1080. let id = item.id;
  1081. uni.navigateTo({
  1082. url: '/pages/product/productGroup?id=' + id + '&show=true'
  1083. });
  1084. },
  1085. // 去开团
  1086. ToKaiTuan(item) {
  1087. console.log(8754847)
  1088. let id = item.id;
  1089. uni.navigateTo({
  1090. url: '/pages/product/productGroup?id=' + id
  1091. });
  1092. },
  1093. // 去参团
  1094. ToCanTuan(item) {
  1095. let id = item.pink_id;
  1096. uni.navigateTo({
  1097. url: '/pages/groupBooking/groupdetails?id=' + id
  1098. });
  1099. },
  1100. openshare(){
  1101. this.$refs.share.open()
  1102. },
  1103. closeshare() {
  1104. this.$refs.share.close()
  1105. },
  1106. // open(){
  1107. // this.$refs.popup2.open()
  1108. // },
  1109. launch(){
  1110. uni.showModal({
  1111. content: '您是否是团长,需要发起无购买拼团?',
  1112. success: function (res) {
  1113. if (res.confirm) {
  1114. console.log('用户点击确定');
  1115. } else if (res.cancel) {
  1116. console.log('用户点击取消');
  1117. }
  1118. }
  1119. });
  1120. }
  1121. }
  1122. }
  1123. </script>
  1124. <style lang="scss">
  1125. .share-box{
  1126. width: 710rpx;
  1127. padding: 42rpx 85rpx;
  1128. border-radius:15rpx;
  1129. background-color: #FFFFFF;
  1130. text-align: center;
  1131. .share-tit{
  1132. font-size:28rpx;
  1133. font-weight:bold;
  1134. color:rgba(0,0,0,1);
  1135. line-height:34rpx;
  1136. margin-bottom: 30rpx;
  1137. }
  1138. .share-tit2{
  1139. font-size:22rpx;
  1140. font-weight:bold;
  1141. color:rgba(107,105,108,1);
  1142. line-height:30rpx;
  1143. margin-bottom: 30rpx;
  1144. }
  1145. .share-footbox{
  1146. display: flex;
  1147. .button-share {
  1148. background: 0;
  1149. flex-direction: column;
  1150. display: flex;
  1151. align-items: center;
  1152. &::after {
  1153. border: 0;
  1154. }
  1155. }
  1156. .share-icon{
  1157. flex: 1;
  1158. height: 180rpx;
  1159. .lyy-b-but {
  1160. width: 550rpx;
  1161. height: 80rpx;
  1162. margin: 0 5rpx;
  1163. background: #fc5b62;
  1164. border-radius: 100rpx;
  1165. text-align: center;
  1166. color: white;
  1167. line-height: 80rpx;
  1168. font-size: 32rpx;
  1169. }
  1170. .icon{
  1171. width: 120rpx;
  1172. height: 120rpx;
  1173. margin-bottom: 20rpx;
  1174. }
  1175. .share-txt{
  1176. font-size:27rpx;
  1177. font-weight:bold;
  1178. color:rgba(9,10,13,1);
  1179. }
  1180. }
  1181. }
  1182. }
  1183. .pinkTuan {
  1184. position: relative;
  1185. .pinktuan-sym {
  1186. border-radius: 0;
  1187. }
  1188. }
  1189. page,.container{
  1190. line-height: 1;
  1191. height: 100%;
  1192. .reds{
  1193. position: relative;
  1194. top: 0;
  1195. z-index: 0;
  1196. width:100%;
  1197. height:520rpx;
  1198. // background:linear-gradient(14deg,#ff7425,#ff1e29);
  1199. background: linear-gradient(14deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  1200. }
  1201. .conter{
  1202. position: absolute;
  1203. top: 0;
  1204. padding:0 20rpx;
  1205. width: 100%;
  1206. padding-bottom: 100rpx;
  1207. }
  1208. .tips{
  1209. margin: 15rpx 0rpx;
  1210. padding: 5rpx 10rpx;
  1211. border-radius: 25rpx 0 0 25rpx;
  1212. width:300rpx;
  1213. height:50rpx;
  1214. background:#ed372c;
  1215. image{
  1216. width: 45rpx;
  1217. height: 45rpx;
  1218. margin-right: 50rpx;
  1219. }
  1220. text{
  1221. font-size:23rpx;
  1222. font-weight:400;
  1223. color:#ffffff;
  1224. }
  1225. }
  1226. .details {
  1227. margin-top: 20rpx;
  1228. padding: 25rpx 35rpx;
  1229. width: 100%;
  1230. background:#ffffff;
  1231. border-radius:20rpx;
  1232. .m-t10{
  1233. margin-top: 10rpx;
  1234. }
  1235. .m-t5{
  1236. margin-top: 5rpx;
  1237. }
  1238. .left-img {
  1239. position: relative;
  1240. image {
  1241. width: 170rpx;
  1242. height: 170rpx;
  1243. border-radius: 10rpx;
  1244. margin-right: 25rpx;
  1245. }
  1246. .left-img1{
  1247. width: 83rpx;
  1248. height: 34rpx;
  1249. position: absolute;
  1250. top:0;
  1251. left:0;
  1252. }
  1253. }
  1254. .right-word {
  1255. width: 100%;
  1256. .one {
  1257. font-size:30rpx;
  1258. color:#000000;
  1259. overflow : hidden;
  1260. text-overflow: ellipsis;
  1261. display: -webkit-box;
  1262. -webkit-line-clamp: 2;
  1263. -webkit-box-orient: vertical;
  1264. line-height: 1.2;
  1265. width: 420rpx;
  1266. // margin-left: 8rpx;
  1267. }
  1268. .two{
  1269. font-size:25rpx;
  1270. color:#8e8e8e;
  1271. // margin-left: 8rpx;
  1272. display: flex;
  1273. .two-1{
  1274. padding-right: 15rpx;
  1275. border-right: 1px solid #8e8e8e;
  1276. }
  1277. .two-2{
  1278. padding-left: 15rpx;
  1279. }
  1280. }
  1281. .word-3{
  1282. margin-top: 10rpx;
  1283. position: relative;
  1284. font-size:20rpx;
  1285. color:#ffffff;
  1286. display: flex;
  1287. align-items: center;
  1288. // image{
  1289. // width: 208rpx;
  1290. // height: 45rpx;
  1291. // }
  1292. .wenhao {
  1293. width: 32rpx;
  1294. height: 32rpx;
  1295. margin-left: 16rpx;
  1296. }
  1297. .word-3-1{
  1298. // position: absolute;
  1299. // top:7px;
  1300. // left:5px;
  1301. width: 200rpx;
  1302. border: 1px solid #F9DCDD;
  1303. .word-text {
  1304. width: 65%;
  1305. display: inline-block;
  1306. background: linear-gradient(0deg,#ff7425,#ff1e29);
  1307. padding: 4rpx 4rpx;
  1308. text-align: center;
  1309. }
  1310. .word-3-1-1{
  1311. width: 35%;
  1312. background: #FFF5F4;
  1313. color:#FD1B2A;
  1314. display: inline-block;
  1315. text-align: center;
  1316. padding: 4rpx 0;
  1317. // margin-left: 15rpx;
  1318. }
  1319. }
  1320. }
  1321. .three{
  1322. font-size:25rpx;
  1323. font-weight:400;
  1324. color:#ff0919;
  1325. // margin-left: 8rpx;
  1326. }
  1327. .six{
  1328. margin-top: 10rpx;
  1329. position: relative;
  1330. font-size:22rpx;
  1331. color:#ffffff;
  1332. display: flex;
  1333. align-items: flex-end;
  1334. // image{
  1335. // width: 270rpx;
  1336. // height: 80rpx;
  1337. // }
  1338. .wenhao-six {
  1339. width: 32rpx;
  1340. height: 32rpx;
  1341. margin-left: 16rpx;
  1342. }
  1343. .six-1{
  1344. // position: absolute;
  1345. // top:6px;
  1346. // left:7px;
  1347. width: 240rpx;
  1348. border: 1px solid #F9DCDD;
  1349. .six-text {
  1350. width: 60%;
  1351. display: inline-block;
  1352. background: linear-gradient(0deg,#ff7425,#ff1e29);
  1353. padding: 4rpx 4rpx;
  1354. text-align: center;
  1355. }
  1356. .six-red{
  1357. width: 40%;
  1358. background: #FFF5F4;
  1359. color:#FD1B2A;
  1360. display: inline-block;
  1361. text-align: center;
  1362. padding: 4rpx 0;
  1363. // margin-left: 15rpx;
  1364. }
  1365. }
  1366. .six-2{
  1367. // position: absolute;
  1368. // top:24px;
  1369. // left:7px;
  1370. width: 240rpx;
  1371. // color:#FF2829;
  1372. // background: #FFF5F4;
  1373. border: 1px solid #F9DCDD;
  1374. .six-text2 {
  1375. display: inline-block;
  1376. width: 60%;
  1377. padding: 4rpx 4rpx;
  1378. background: linear-gradient(0deg,#ff7425,#ff1e29);
  1379. text-align: center;
  1380. }
  1381. .six-red{
  1382. display: inline-block;
  1383. background: #FFF5F4;
  1384. color:#FD1B2A;
  1385. width: 40%;
  1386. text-align: center;
  1387. padding: 4rpx 0;
  1388. // margin-left: 10rpx;
  1389. }
  1390. }
  1391. }
  1392. .four{
  1393. font-size:25rpx;
  1394. font-weight:500;
  1395. color:#ff0919;
  1396. // margin-left: 8rpx;
  1397. .four-1{
  1398. font-size:45rpx;
  1399. }
  1400. }
  1401. .five{
  1402. font-size:25rpx;
  1403. font-weight:normal;
  1404. color:#8b8e95;
  1405. // margin-left: 8rpx;
  1406. }
  1407. }
  1408. }
  1409. .participate{
  1410. margin-top: 25rpx;
  1411. padding: 25rpx 25rpx;
  1412. width: 100%;
  1413. background:#ffffff;
  1414. border-radius:20rpx;
  1415. text-align: center;
  1416. .participate-one{
  1417. font-size: 43rpx;
  1418. }
  1419. .rows-1{
  1420. .participate-1{
  1421. font-size:29rpx;
  1422. color:#000000;
  1423. text-align: center;
  1424. text{
  1425. color: #F81726;
  1426. }
  1427. }
  1428. .participate-2{
  1429. font-size:29rpx;
  1430. color:rgba(145,148,155,1);
  1431. line-height:44rpx;
  1432. margin-top: 20rpx;
  1433. //text-align: center;
  1434. .participate-red{
  1435. color:#FF0A1A;
  1436. }
  1437. }
  1438. .participate-3{
  1439. font-size:22rpx;
  1440. font-weight:bold;
  1441. color:#99999a;
  1442. line-height:33rpx;
  1443. margin-top: 10rpx;
  1444. }
  1445. .pinkT-Box {
  1446. white-space: nowrap;
  1447. margin: 30rpx 0;
  1448. }
  1449. .PinkCenter {
  1450. justify-content: center;
  1451. margin: 30rpx 0;
  1452. }
  1453. .participate-4{
  1454. display: flex;
  1455. &:nth-last-child(1){
  1456. margin-right: 0rpx;
  1457. }
  1458. .participate-4-1{
  1459. position: relative;
  1460. margin-left: 30rpx;
  1461. image{
  1462. width: 100rpx;
  1463. height: 100rpx;
  1464. border-radius: 50%;
  1465. // margin-right: 30rpx;
  1466. }
  1467. .participate-4-1-1{
  1468. width: 60rpx;
  1469. height: 30rpx;
  1470. border-radius: 0;
  1471. position: absolute;
  1472. bottom: 0;
  1473. left: 20rpx;
  1474. }
  1475. }
  1476. }
  1477. }
  1478. .rows-2{
  1479. width: 540rpx;
  1480. height: 270rpx;
  1481. margin: 0 auto;
  1482. margin-bottom: 50rpx;
  1483. background: url(https://shicai.liuniu946.com/img/img82.png) no-repeat center;
  1484. background-size: 410rpx 270rpx;
  1485. padding-top: 50rpx;
  1486. .rows-2-1{
  1487. font-size:42rpx;
  1488. font-weight:bold;
  1489. color:#000000;
  1490. line-height:63rpx;
  1491. }
  1492. .rows-2-2{
  1493. margin-top: 20rpx;
  1494. font-size:25rpx;
  1495. font-weight:400;
  1496. color:#000000;
  1497. line-height:37rpx;
  1498. }
  1499. .rows-2-3{
  1500. width: 100%;
  1501. margin: 0 auto;
  1502. margin-top: 20rpx;
  1503. display: flex;
  1504. justify-content: space-around;
  1505. align-items: center;
  1506. image{
  1507. width: 85rpx;
  1508. height: 85rpx;
  1509. border-radius: 50%;
  1510. margin-right: 20rpx;
  1511. }
  1512. .rows-2-3-2{
  1513. image{
  1514. width: 50rpx;
  1515. height: 50rpx;
  1516. border-radius: 50%;
  1517. }
  1518. }
  1519. }
  1520. }
  1521. .PinkT-success {
  1522. display: flex;
  1523. align-items: center;
  1524. justify-content: center;
  1525. }
  1526. .participate-5{
  1527. margin: 0 auto;
  1528. height:80rpx;
  1529. // background:linear-gradient(-14deg,#fe6b26,#ff3228);
  1530. background: linear-gradient(-14deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  1531. border-radius:40rpx;
  1532. font-size:30rpx;
  1533. color:#ffffff;
  1534. line-height:80rpx;
  1535. }
  1536. .participate-6{
  1537. height:1px;
  1538. background:#e9e9e9;
  1539. margin-top: 50rpx;
  1540. }
  1541. .participate-7{
  1542. color: #000000;
  1543. font-size:29rpx;
  1544. font-weight:500;
  1545. margin: 45rpx 0;
  1546. .participate-7-1{
  1547. .word{
  1548. color:#ff0a1a;
  1549. }
  1550. .word1{
  1551. font-size:25rpx;
  1552. color:#989aa0;
  1553. }
  1554. image{
  1555. width: 10rpx;
  1556. height: 20rpx;
  1557. margin-left: 15rpx;
  1558. }
  1559. }
  1560. }
  1561. .participate-8{
  1562. image{
  1563. width: 26rpx;
  1564. height: 12rpx;
  1565. }
  1566. .participate-8-1{
  1567. .img1{
  1568. width: 43rpx;
  1569. height: 50rpx;
  1570. }
  1571. .img2{
  1572. width: 43rpx;
  1573. height: 42rpx;
  1574. }
  1575. .img3{
  1576. width: 60rpx;
  1577. height: 46rpx;
  1578. }
  1579. .word-1{
  1580. font-size:23rpx;
  1581. color:#000000;
  1582. line-height:34rpx;
  1583. }
  1584. .word-2{
  1585. font-size:21rpx;
  1586. color:#91949B;
  1587. line-height:34rpx;
  1588. }
  1589. }
  1590. }
  1591. }
  1592. .info {
  1593. width: 714rpx;
  1594. margin: 15rpx auto 0;
  1595. background: rgba(255, 255, 255, 1);
  1596. border-radius: 10rpx;
  1597. padding: 30rpx;
  1598. .info-top {
  1599. display: flex;
  1600. justify-content: space-between;
  1601. .top-left {
  1602. display: flex;
  1603. .left-img {
  1604. width: 137rpx;
  1605. height: 137rpx;
  1606. border-radius: 5rpx;
  1607. margin-right: 10rpx;
  1608. }
  1609. .left-box {
  1610. .left-tit {
  1611. font-size: 27rpx;
  1612. font-weight: 400;
  1613. color: rgba(0, 0, 0, 1);
  1614. margin-bottom: 5rpx;
  1615. }
  1616. .left {
  1617. font-size: 23rpx;
  1618. font-weight: 400;
  1619. color: rgba(149, 149, 149, 1);
  1620. line-height: 35rpx;
  1621. }
  1622. }
  1623. }
  1624. .top-right {
  1625. font-size: 27rpx;
  1626. font-weight: 400;
  1627. color: rgba(0, 0, 0, 1);
  1628. }
  1629. }
  1630. .info-pic {
  1631. display: flex;
  1632. justify-content: space-between;
  1633. .pic-left {
  1634. margin-top: 30rpx;
  1635. font-size: 27rpx;
  1636. font-weight: 400;
  1637. color: rgba(74, 74, 74, 1);
  1638. width: 30%;
  1639. }
  1640. .pic-right {
  1641. width: 70%;
  1642. margin-top: 30rpx;
  1643. font-size: 27rpx;
  1644. font-weight: 400;
  1645. color: rgba(0, 0, 0, 1);
  1646. text-align: right;
  1647. &.red {
  1648. color: #FF0A31;
  1649. }
  1650. }
  1651. }
  1652. }
  1653. .PinkT-title {
  1654. padding-top: 30rpx;
  1655. font-size: 28rpx;
  1656. font-weight: bold;
  1657. }
  1658. .PinkT-info {
  1659. display: flex;
  1660. align-items: center;
  1661. margin-top: 20rpx;
  1662. .info-img {
  1663. width: 80rpx;
  1664. height: 80rpx;
  1665. border-radius: 50%;
  1666. position: relative;
  1667. image {
  1668. width: 100%;
  1669. height: 100%;
  1670. border-radius: 50%;
  1671. }
  1672. .PinkT-tuanzhang {
  1673. width: 60rpx;
  1674. height: 30rpx;
  1675. border-radius: 0;
  1676. position: absolute;
  1677. bottom: -10rpx;
  1678. left: 8rpx;
  1679. }
  1680. }
  1681. .PinkT-right {
  1682. width: 80%;
  1683. margin-left: 16rpx;
  1684. .PinkT-right-box {
  1685. }
  1686. .PinkT-last {
  1687. display: flex;
  1688. margin-top: 10rpx;
  1689. }
  1690. .PinkT-text {
  1691. font-size: 27rpx;
  1692. font-weight: 400;
  1693. color: #000000;
  1694. }
  1695. }
  1696. }
  1697. .infos {
  1698. width: 714rpx;
  1699. margin: 15rpx auto 0;
  1700. background: rgba(255, 255, 255, 1);
  1701. border-radius: 10rpx;
  1702. padding: 0 30rpx 30rpx 30rpx;
  1703. .info-top {
  1704. display: flex;
  1705. justify-content: space-between;
  1706. .top-left {
  1707. display: flex;
  1708. .left-img {
  1709. width: 137rpx;
  1710. height: 137rpx;
  1711. border-radius: 5rpx;
  1712. margin-right: 10rpx;
  1713. }
  1714. .left-box {
  1715. .left-tit {
  1716. font-size: 27rpx;
  1717. font-weight: 400;
  1718. color: #000000;
  1719. margin-bottom: 5rpx;
  1720. }
  1721. .left {
  1722. font-size: 23rpx;
  1723. font-weight: 400;
  1724. color: rgba(149, 149, 149, 1);
  1725. line-height: 35rpx;
  1726. }
  1727. }
  1728. }
  1729. .top-right {
  1730. font-size: 27rpx;
  1731. font-weight: 400;
  1732. color: #000000;
  1733. }
  1734. }
  1735. .info-pic {
  1736. display: flex;
  1737. justify-content: space-between;
  1738. .pic-left {
  1739. margin-top: 30rpx;
  1740. font-size: 27rpx;
  1741. font-weight: 400;
  1742. color: #000000;
  1743. }
  1744. .pic-right {
  1745. margin-top: 30rpx;
  1746. font-size: 27rpx;
  1747. font-weight: 400;
  1748. color: #000000;
  1749. &.red {
  1750. color: #000000;
  1751. }
  1752. }
  1753. }
  1754. }
  1755. .other{
  1756. .other-1{
  1757. font-size:27rpx;
  1758. color:#333333;
  1759. line-height: 55rpx;
  1760. }
  1761. .preferred_item {
  1762. width: 100%;
  1763. height: 100%;
  1764. padding: 25rpx 25rpx;
  1765. position: relative;
  1766. background-color: #FFFFFF;
  1767. border-radius: 15rpx;
  1768. margin-bottom: 15rpx;
  1769. .tlist-img {
  1770. width: 225rpx;
  1771. position: relative;
  1772. margin-right: 15rpx;
  1773. .leftImgIcon {
  1774. position: absolute;
  1775. top: 0;
  1776. left: 0;
  1777. font-size: 22rpx;
  1778. font-family: PingFangSC;
  1779. color: rgba(148, 71, 34, 1);
  1780. background: rgba(254, 242, 111, 1);
  1781. z-index: 99;
  1782. border-radius: 5rpx;
  1783. padding: 5rpx 10rpx;
  1784. }
  1785. .img {
  1786. width: 210rpx;
  1787. height: 210rpx;
  1788. image {
  1789. width: 100%;
  1790. height: 100%;
  1791. border-radius: 20rpx;
  1792. }
  1793. }
  1794. .stock {
  1795. margin-top: 13rpx;
  1796. font-size: 26rpx;
  1797. background: #fff1ee;
  1798. width: 100%;
  1799. color: #fb4912;
  1800. padding: 6rpx 0;
  1801. border-radius: 5rpx;
  1802. justify-content: center;
  1803. align-items: center;
  1804. position: absolute;
  1805. left: 0;
  1806. bottom: 0;
  1807. .img {
  1808. width: 20rpx;
  1809. height: 20rpx;
  1810. flex-shrink: 0;
  1811. }
  1812. .stock-num {
  1813. padding-left: 7rpx;
  1814. font-size: 22rpx;
  1815. border-radius: 5rpx;
  1816. height: 32rpx;
  1817. line-height: 32rpx;
  1818. }
  1819. }
  1820. }
  1821. .goods_name {
  1822. .goods_title {
  1823. padding-top: 15rpx;
  1824. color:rgba(0,0,0,1);
  1825. // white-space: nowrap;
  1826. // overflow: hidden;
  1827. // text-overflow: ellipsis;
  1828. font-size:32rpx;
  1829. color: $font-color-dark;
  1830. // height: 70rpx;
  1831. align-items: baseline;
  1832. .text{
  1833. border-radius: 8rpx;
  1834. border: 2rpx solid #FF1A27;
  1835. color: #FF1A27;
  1836. padding:0rpx 10rpx;
  1837. font-size: 26rpx !important;
  1838. margin-right: 15rpx;
  1839. }
  1840. .title {
  1841. width: 80%;
  1842. overflow : hidden;
  1843. text-overflow: ellipsis;
  1844. display: -webkit-box;
  1845. -webkit-line-clamp: 2;
  1846. -webkit-box-orient: vertical;
  1847. }
  1848. }
  1849. .goods-height {
  1850. min-height: 60rpx;
  1851. }
  1852. .goods_num {
  1853. font-size: 26rpx;
  1854. color: #8f8f97;
  1855. padding-bottom: 15rpx;
  1856. }
  1857. .goods-peplo {
  1858. height: 45rpx;
  1859. margin-top: 15rpx;
  1860. .right {
  1861. color:#8e8e8e;
  1862. font-size: 24rpx;
  1863. width:195rpx;
  1864. image {
  1865. width: 30rpx;
  1866. height: 33rpx;
  1867. margin-right: 15rpx;
  1868. }
  1869. }
  1870. .goods-tip {
  1871. .peplo {
  1872. background:linear-gradient(14deg,rgba(255,116,37,1),rgba(255,30,41,1));
  1873. padding: 5rpx 10rpx;
  1874. color: #ffffff;
  1875. border-top-left-radius:8rpx;
  1876. border-bottom-left-radius: 8rpx;
  1877. }
  1878. .make {
  1879. background-color: #fef26f;
  1880. color: #944722;
  1881. border-top-right-radius: 8rpx;
  1882. border-bottom-right-radius: 8rpx;
  1883. }
  1884. .make,
  1885. .peplo {
  1886. font-size: $font-sm;
  1887. padding: 5rpx 10rpx;
  1888. }
  1889. }
  1890. }
  1891. .price {
  1892. font-size: 28rpx;
  1893. position: relative;
  1894. padding-top: 15rpx;
  1895. .price_list {
  1896. .price-red {
  1897. font-size: 30rpx !important;
  1898. font-family: Source Han Sans CN;
  1899. color: rgba(253, 27, 42, 1);
  1900. font-size: $font-base;
  1901. font-weight: bold;
  1902. .moneyIcon {
  1903. font-weight: normal !important;
  1904. }
  1905. .money {
  1906. font-size: 58rpx;
  1907. }
  1908. .moneyType {
  1909. font-weight: 400;
  1910. }
  1911. .outMoney {
  1912. font-weight: 400;
  1913. text-decoration: line-through;
  1914. color: rgba(142, 142, 142, 1);
  1915. }
  1916. }
  1917. .price-green {
  1918. color: #2dbd59;
  1919. font-size: 26rpx !important;
  1920. font-weight: bold;
  1921. text {
  1922. background: linear-gradient(45deg, rgba(21, 197, 52, 1), rgba(21, 197, 52, 1));
  1923. color: #ffffff;
  1924. padding: 0rpx 10rpx;
  1925. border-radius: 7rpx;
  1926. font-size: 24rpx !important;
  1927. margin-left: 15rpx;
  1928. }
  1929. }
  1930. }
  1931. .img {
  1932. width: 265rpx;
  1933. height: 74rpx;
  1934. line-height: 74rpx;
  1935. // background:linear-gradient(14deg,rgba(255,116,37,1),rgba(255,30,41,1));
  1936. background: linear-gradient(270deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  1937. border-radius: 99rpx;
  1938. color: #ffffff;
  1939. font-size: $font-lg;
  1940. text-align: center;
  1941. }
  1942. .img1{
  1943. background-color: #D3D3D3;
  1944. width: 265rpx;
  1945. height: 74rpx;
  1946. line-height: 74rpx;
  1947. border-radius: 99rpx;
  1948. color: #ffffff;
  1949. font-size: $font-lg;
  1950. text-align: center;
  1951. }
  1952. .tomorrow {
  1953. background: #29a66e;
  1954. color: #ffffff;
  1955. border-radius: 25rpx;
  1956. padding: 10rpx 25rpx;
  1957. }
  1958. }
  1959. }
  1960. }
  1961. .other-2{
  1962. width: 100%;
  1963. background:#ffffff;
  1964. padding: 10rpx 15rpx ;
  1965. border-radius: 20rpx;
  1966. .content-row{
  1967. padding: 10rpx 0;
  1968. .row-1{
  1969. width: 210rpx;
  1970. position: relative;
  1971. margin-right: 20rpx;
  1972. text-align: center;
  1973. .row-1-1{
  1974. text-align: center;
  1975. height:40rpx;
  1976. background:#fff1ee;
  1977. border-radius:6rpx;
  1978. font-size:22rpx;
  1979. font-weight:500;
  1980. color:#fb4912;
  1981. line-height:40rpx;
  1982. image{
  1983. width: 23rpx;
  1984. height: 23rpx;
  1985. margin-right: 5rpx;
  1986. }
  1987. }
  1988. .img1{
  1989. width:170rpx;
  1990. height:170rpx;
  1991. border-radius:10rpx;
  1992. }
  1993. .img2{
  1994. position: absolute;
  1995. top: 0;
  1996. left: 16rpx;
  1997. width:80rpx;
  1998. height:32rpx;
  1999. border-radius:5px;
  2000. }
  2001. }
  2002. .row-2{
  2003. padding: 20rpx 0 20rpx 0;
  2004. width:calc(100% - 210rpx);
  2005. position: relative;
  2006. border-bottom: 1px solid #EAEAEA;
  2007. .word-1{
  2008. font-size:32rpx;
  2009. font-weight:bold;
  2010. color:#141821;
  2011. margin-left: 10rpx;
  2012. overflow: hidden;
  2013. text-overflow: ellipsis;
  2014. white-space: nowrap;
  2015. }
  2016. .word-2{
  2017. margin-top: 10rpx;
  2018. font-size:24rpx;
  2019. color:#979797;
  2020. }
  2021. .word-3{
  2022. margin-top: 10rpx;
  2023. position: relative;
  2024. font-size:20rpx;
  2025. color:#ffffff;
  2026. image{
  2027. width: 235rpx;
  2028. height: 50rpx;
  2029. }
  2030. .word-3-1{
  2031. position: absolute;
  2032. top:8px;
  2033. left:2px;
  2034. width: 230rpx;
  2035. text-align: center;
  2036. .word-3-1-1{
  2037. display: inline-block;
  2038. color:#FD1B2A;
  2039. width: 50%;
  2040. }
  2041. }
  2042. }
  2043. .word-4{
  2044. margin-top: 15rpx;
  2045. font-size:23rpx;
  2046. color:#fd1b2a;
  2047. margin-left: 10rpx;
  2048. text{
  2049. font-size:23rpx;
  2050. font-weight:bold;
  2051. }
  2052. .word-4-1{
  2053. font-size:36rpx;
  2054. }
  2055. }
  2056. .word-5{
  2057. margin-top: 15rpx;
  2058. font-size:21rpx;
  2059. color:#868686;
  2060. }
  2061. .button{
  2062. width:145rpx;
  2063. height:60rpx;
  2064. background:linear-gradient(14deg,#ff7425,#ff1e29);
  2065. border-radius:30rpx;
  2066. font-size:27rpx;
  2067. font-weight:bold;
  2068. color:#ffffff;
  2069. line-height:60rpx;
  2070. text-align: center;
  2071. position: absolute;
  2072. bottom: 20rpx;
  2073. right: 0;
  2074. }
  2075. }
  2076. }
  2077. }
  2078. }
  2079. .foot{
  2080. position: fixed;
  2081. bottom: 0;
  2082. width:100%;
  2083. height:80rpx;
  2084. // background:linear-gradient(90deg,#ff7425,#ff1e29);
  2085. background: linear-gradient(90deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  2086. font-size:30rpx;
  2087. font-weight:bold;
  2088. color:#ffffff;
  2089. line-height:80rpx;
  2090. text-align: center;
  2091. z-index: 99;
  2092. }
  2093. .popup1{
  2094. width:510rpx;
  2095. background:rgba(255,255,255,1);
  2096. border-radius:20rpx;
  2097. .popup-1{
  2098. height: 50%;
  2099. padding: 50rpx;
  2100. font-size:29rpx;
  2101. color:rgba(51,51,51,1);
  2102. line-height:42rpx;
  2103. border-bottom: 1px solid #EEEEEE;
  2104. }
  2105. .popup-2{
  2106. margin: 0 auto;
  2107. margin-top: 20rpx;
  2108. width:217rpx;
  2109. height:55rpx;
  2110. background:rgba(2,193,93,1);
  2111. font-size:35rpx;
  2112. font-weight:500;
  2113. color:#ffffff;
  2114. line-height:55rpx;
  2115. text-align: center;
  2116. }
  2117. }
  2118. .popup2{
  2119. width:600rpx;
  2120. background:rgba(255,255,255,1);
  2121. border-radius:20rpx;
  2122. padding-bottom:20rpx;
  2123. .popup2-1{
  2124. text-align: center;
  2125. height: 80%;
  2126. padding: 50rpx;
  2127. font-size:43rpx;
  2128. color:rgba(51,51,51,1);
  2129. border-bottom: 1px solid #EEEEEE;
  2130. }
  2131. .popup2-2{
  2132. margin: 0 auto;
  2133. margin-top: 20rpx;
  2134. width:100%;
  2135. height:55rpx;
  2136. font-size:35rpx;
  2137. font-weight:500;
  2138. color:#000000;
  2139. line-height:55rpx;
  2140. text-align: center;
  2141. .one{
  2142. width: 50%;
  2143. font-size:43rpx;
  2144. color:#000000;
  2145. line-height:65rpx;
  2146. border-right: 1px solid #EEEEEE;
  2147. &:nth-last-child(1){
  2148. border-right: 0px;
  2149. }
  2150. }
  2151. }
  2152. }
  2153. }
  2154. .mask {
  2155. z-index: 999;
  2156. width: 750rpx;
  2157. height: 100%;
  2158. position: fixed;
  2159. top: 0;
  2160. left: 0;
  2161. text-align: center;
  2162. background-color: rgba(0, 0, 0, 0.5);
  2163. .close {
  2164. width: 40rpx;
  2165. height: 40rpx;
  2166. position: absolute;
  2167. top: 12rpx;
  2168. z-index: 99;
  2169. right: 12%;
  2170. }
  2171. image {
  2172. width: 80%;
  2173. margin-top: 20%;
  2174. // opacity: 0.8;
  2175. }
  2176. .save-btn {
  2177. background: $base-color;
  2178. color: #FFFFFF;
  2179. border-radius: 100rpx;
  2180. width: 300rpx;
  2181. margin: auto;
  2182. padding: 10rpx 0;
  2183. margin-top: 20rpx;
  2184. font-size: $font-lg;
  2185. }
  2186. }
  2187. .pop-box {
  2188. background: #FFFFFF;
  2189. margin: 0 40rpx;
  2190. padding: 30rpx 30rpx;
  2191. border-radius: 20rpx;
  2192. .pop-tit {
  2193. font-size: 32rpx;
  2194. line-height: 1.5;
  2195. }
  2196. .pop-buttom {
  2197. margin: 40rpx 0;
  2198. background: #f0f0f0;
  2199. // color: #FFFFFF;
  2200. padding: 10rpx 20rpx;
  2201. border-radius: 10rpx;
  2202. border: 1px solid $border-color-dark;
  2203. font-size: $font-base;
  2204. }
  2205. .pop-qr {
  2206. background: $base-color;
  2207. width: 200rpx;
  2208. margin: auto;
  2209. padding: 20rpx;
  2210. color: #FFFFFF;
  2211. border-radius: 15rpx;
  2212. text-align: center;
  2213. }
  2214. }
  2215. .pop-box {
  2216. background: #FFFFFF;
  2217. width: 600rpx;
  2218. border-radius: 20rpx;
  2219. padding: 30rpx 20rpx;
  2220. .pop-text {
  2221. text-align: center;
  2222. font-size: 32rpx;
  2223. }
  2224. .pop-button {
  2225. margin: 0 auto;
  2226. font-size: 30rpx;
  2227. margin-top: 30rpx;
  2228. padding: 10rpx 0;
  2229. border-radius: 15rpx;
  2230. text-align: center;
  2231. width: 200rpx;
  2232. color: #FFFFFF;
  2233. background: $base-color;
  2234. }
  2235. }
  2236. </style>