bargainingAssistance.vue 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467
  1. <template>
  2. <div class="bargaining-assistance">
  3. <!-- 邀请人提示 -->
  4. <div class="inviter-tips" v-if="+type">
  5. <div>恭喜您选到喜欢的云手机</div>
  6. <div>您一定要免费带走</div>
  7. 好友注册获得助力 好友下单加速助力
  8. </div>
  9. <!-- 被邀请人提示 -->
  10. <div v-else class="invitee-tips">
  11. <div class="invitee-tips-user">用户</div>
  12. <div class="invitee-tips-text">
  13. 亲,我在用双子星云手机,可以<span>24小时运行游戏/聊天/看视频</span>,双子星云手机已经帮我节省<span>10086小时</span>,我得任务全做完了,游戏升级哇哇快,现在官方活动领云机,麻烦帮我助力!
  14. </div>
  15. </div>
  16. <!-- 砍价进度 -->
  17. <div class="bargaining-assistance-main">
  18. <!-- 被邀请人助力、邀请人砍价 -->
  19. <template v-if="!assistanceBool">
  20. <div class="package-name">
  21. <span> {{ info.phoneType }}{{ info.validityPeriod }}天</span>
  22. </div>
  23. <div class="package-price"><span>¥</span>{{ info.totalAmount }}</div>
  24. <div class="package-progress">
  25. <customProgress v-model="info.schedule" />
  26. </div>
  27. <div class="package-tips">
  28. <div>
  29. 仅差<span>{{ info.remainingPrice }}元</span>
  30. </div>
  31. <div>
  32. 必得价值<span>{{ info.totalAmount }}元</span>的免费云机
  33. </div>
  34. </div>
  35. <div
  36. class="package-btn"
  37. :style="!+type ? 'margin-bottom: 24px;' : ''"
  38. @click="btnFun"
  39. >
  40. {{
  41. +type
  42. ? info.bargainingStatus === 1
  43. ? `继续砍价${info.remainingQuantity || 0}次`
  44. : '邀请好友助力免单'
  45. : '帮他助力'
  46. }}
  47. </div>
  48. <div class="package-expire" v-if="+type && time">
  49. 免单失效时间:<van-count-down :time="time" />
  50. </div>
  51. </template>
  52. <!-- 被邀请人点击助力之后领取手机的页面 -->
  53. <template v-else>
  54. <div class="invitee-to-claim">
  55. <div class="invitee-to-claim_btn" @click="loginVisible = true">
  56. 免费领取
  57. </div>
  58. </div>
  59. </template>
  60. </div>
  61. <!-- 邀请人显示 -->
  62. <template v-if="+type">
  63. <!-- 砍价记录 -->
  64. <div class="bargaining-record">
  65. <div class="title">砍价记录</div>
  66. <div class="container">
  67. <loadList
  68. ref="assistRecodeList"
  69. url="activity/v5/assist/operation/assistRecodeList"
  70. description="暂无砍价记录"
  71. >
  72. <template #default="{ list }">
  73. <div
  74. v-for="item in list"
  75. :key="item.id"
  76. class="bargaining-record-item"
  77. >
  78. <div class="bargaining-record-item_info">
  79. <div>{{ item.surfaceName }}</div>
  80. <div>
  81. 道具砍掉<span>{{ item.assistPrice }}元</span>
  82. </div>
  83. </div>
  84. </div>
  85. </template>
  86. </loadList>
  87. </div>
  88. </div>
  89. <!-- 云机发放记录 -->
  90. <div class="distribution-records">
  91. <div class="title">云机发放记录</div>
  92. <div class="container">
  93. <div>
  94. <div>序号</div>
  95. <div>云机名称</div>
  96. <div>套餐类型</div>
  97. <div>云机时长</div>
  98. </div>
  99. <div>
  100. <loadList
  101. ref="assistGetPhoneRecode"
  102. url="activity/v5/assist/operation/assistGetPhoneRecode"
  103. description="当前您还没有白嫖到云手机"
  104. >
  105. <template #default="{ list }">
  106. <div
  107. v-for="(item, index) in list"
  108. :key="item.id"
  109. class="distribution-records-item"
  110. >
  111. <div>{{ index + 1 }}</div>
  112. <div>{{ item.diskName }}</div>
  113. <div>{{ item.phoneTypeStr }}</div>
  114. <div>{{ item.validTime }}天</div>
  115. </div>
  116. </template>
  117. </loadList>
  118. </div>
  119. </div>
  120. </div>
  121. </template>
  122. <!-- 参加活动的所有信息 -->
  123. <template v-if="barrageList.length">
  124. <div class="barrage"></div>
  125. </template>
  126. <div class="rule" @click="ruleVisible = true" v-if="+type">规则</div>
  127. <!-- 规则弹窗 -->
  128. <van-dialog v-model="ruleVisible" :showConfirmButton="false">
  129. <div class="rule-title">活动规则</div>
  130. <div class="rule-content">
  131. <div v-html="ruleHtml"></div>
  132. </div>
  133. <div class="rule-close">
  134. <van-icon name="cross" @click="ruleVisible = false" />
  135. </div>
  136. </van-dialog>
  137. <!-- 邀请人首次到砍价的页面的弹窗 -->
  138. <van-dialog v-model="bargainingVisible" :showConfirmButton="false">
  139. <div
  140. class="bargaining-img"
  141. @click="bargainingFun(true)"
  142. v-if="!bargainingTipsBool"
  143. ></div>
  144. <template v-else>
  145. <div class="bargaining-amount">
  146. <div class="bargaining-amount-text">
  147. 恭喜您,砍价成功<span>{{ bargainingAmount }}元</span>
  148. </div>
  149. <div class="bargaining-amount-img"></div>
  150. </div>
  151. </template>
  152. </van-dialog>
  153. <!-- 退出活动页的弹窗 -->
  154. <van-dialog v-model="exitVisible" :showConfirmButton="false">
  155. <div class="exit">
  156. <div class="exit-content">
  157. <div>确定要退出吗?</div>
  158. <div>
  159. 仅差<span>{{ info.remainingPrice }}元</span>免费带走云机
  160. </div>
  161. <div class="exit-content-progress">
  162. <customProgress v-model="info.schedule" />
  163. </div>
  164. <div class="exit-content-btn">
  165. <img
  166. @click="exitVisible = false"
  167. src="@/assets/image/claimCloudPhone/Inviting-others-img.png"
  168. alt=""
  169. />
  170. <div class="exit-content-btn_leave" @click="leaveFun">狠心离开</div>
  171. </div>
  172. </div>
  173. <img src="@/assets/image/claimCloudPhone/inviter-exit.png" alt="" />
  174. </div>
  175. </van-dialog>
  176. <!-- 砍价成功的弹窗-->
  177. <van-dialog
  178. v-model="successfulBargainingVisible"
  179. :showConfirmButton="false"
  180. >
  181. <div class="bargaining-success">
  182. <div class="bargaining-success-title">恭喜您,砍价成功</div>
  183. <div class="bargaining-success-tips">
  184. 您的云手机【获取云手机名称】发放成功/续费成功
  185. </div>
  186. <div class="bargaining-success-btn">
  187. <div @click="claimTheNextOne">免费领下一台云机</div>
  188. <div @click="leaveFun">返回云手机首页</div>
  189. </div>
  190. </div>
  191. </van-dialog>
  192. <!-- 免单时间过期弹窗 -->
  193. <van-dialog v-model="expireVisible" :showConfirmButton="false">
  194. <div class="expire">
  195. <div class="expire-btn" @click="claimTheNextOne">免费领下一台云机</div>
  196. </div>
  197. </van-dialog>
  198. <!-- 被邀请人登录 -->
  199. <van-dialog v-model="loginVisible" :showConfirmButton="false">
  200. <div class="login">
  201. <div class="login-title">双子星快捷登录</div>
  202. <van-field
  203. placeholder="手机号"
  204. type="digit"
  205. v-model="laoginData.phone"
  206. clearable
  207. maxLength="11"
  208. />
  209. <van-field
  210. placeholder="验证码"
  211. v-model="laoginData.code"
  212. clearable
  213. type="digit"
  214. maxLength="6"
  215. >
  216. <template #button>
  217. <div
  218. :class="[
  219. 'login-code',
  220. {
  221. disabled:
  222. codeNumber !== '获取验证码' || laoginData.phone.length < 11,
  223. },
  224. ]"
  225. @click="getCode"
  226. >
  227. {{ codeNumber }}
  228. </div>
  229. </template>
  230. </van-field>
  231. <van-button
  232. color="#3666F2"
  233. :disabled="
  234. !agreementBool ||
  235. !laoginData.code ||
  236. laoginData.phone.length < 11 ||
  237. loginLoading
  238. "
  239. @click="login"
  240. >
  241. <template v-if="loginLoading"> 正在登录中... </template>
  242. <template v-else> 登录 </template>
  243. </van-button>
  244. <div class="login-agreement">
  245. <van-checkbox icon-size="16px" v-model="agreementBool">
  246. 通过登录即可完成注册,成为我们的新用户登录后表示同意
  247. <span @click.stop="toAgreement">用户协议</span>
  248. </van-checkbox>
  249. </div>
  250. </div>
  251. </van-dialog>
  252. <Verify
  253. @success="success"
  254. mode="pop"
  255. captchaType="blockPuzzle"
  256. :imgSize="{ width: '300px', height: '155px' }"
  257. ref="verify"
  258. ></Verify>
  259. </div>
  260. </template>
  261. <script>
  262. import { sha256 } from 'js-sha256';
  263. import customProgress from './customProgress.vue';
  264. import loadList from '@/components/loadList';
  265. import { fileKeyToUrl } from '@/plugins/file-center.js';
  266. import Verify from '@/components/verifition/Verify';
  267. import { writeToClipboard } from '@/plugins/plugins.js';
  268. export default {
  269. props: {
  270. operateActivityId: {
  271. type: [String, Number],
  272. default: '',
  273. },
  274. type: {
  275. type: [Number, String],
  276. default: '',
  277. },
  278. getSystemTime: {
  279. type: Function,
  280. default: () => {
  281. return () => {};
  282. },
  283. },
  284. leaveFun: {
  285. type: Function,
  286. default: () => {
  287. return () => {};
  288. },
  289. },
  290. wxIntercept: {
  291. type: Function,
  292. default: () => {
  293. return () => {};
  294. },
  295. },
  296. inviteeData: {
  297. type: Object,
  298. default: () => {
  299. return {};
  300. },
  301. },
  302. },
  303. data() {
  304. return {
  305. total: 50, // 砍价百分比
  306. barrageList: [], // 滚动轮播数据
  307. ruleVisible: false, // 规则弹窗
  308. bargainingVisible: false, // 首次砍价弹窗
  309. bargainingTipsBool: false, // 是否切换成砍价金额的页面
  310. exitVisible: false, // 退出弹窗
  311. successfulBargainingVisible: false, // 砍价成功弹窗
  312. expireVisible: false, // 免单时间过期弹窗
  313. loginVisible: false, // 被邀请人登录框
  314. agreementBool: false, // 是否勾选协议
  315. ruleHtml: '', // 规则内容
  316. info: {}, // 砍价相关信息
  317. bargainingAmount: '', // 砍价金额
  318. systemTime: '', // 系统时间
  319. assistanceBool: false, // 是否触发助力
  320. laoginData: {
  321. // 被邀请人登录信息
  322. phone: '',
  323. code: '',
  324. },
  325. codeNumber: '获取验证码',
  326. loginLoading: false,
  327. };
  328. },
  329. components: {
  330. customProgress,
  331. loadList,
  332. Verify,
  333. },
  334. mounted() {
  335. if (sessionStorage.getItem('isAgreementBool')) {
  336. this.assistanceBool = true;
  337. this.loginVisible = true;
  338. this.laoginData.phone = sessionStorage.getItem('invitedPhone');
  339. this.laoginData.code = sessionStorage.getItem('invitedCode');
  340. sessionStorage.removeItem('isAgreementBool');
  341. sessionStorage.removeItem('invitedPhone');
  342. sessionStorage.removeItem('invitedCode');
  343. }
  344. if (+this.type === 1 || +this.type === 2) {
  345. this.getRule();
  346. this.getAssistAwardRecode();
  347. }
  348. setTimeout(() => {
  349. this.bargainingStatus(true);
  350. switch (+this.type) {
  351. case 3: // 成功,领取下一台云机界面
  352. this.successfulBargainingVisible = true;
  353. break;
  354. case 4: // 失败,领取下一台云机界面
  355. this.expireVisible = true;
  356. break;
  357. }
  358. });
  359. },
  360. computed: {
  361. time() {
  362. const { validityPeriodTimeStamp = 0 } = this.info;
  363. return validityPeriodTimeStamp
  364. ? validityPeriodTimeStamp - this.systemTime * 1000
  365. : 0;
  366. },
  367. },
  368. methods: {
  369. // 轮播活动参加的人的信息
  370. startBarrage() {
  371. const barrage = document.querySelector('.barrage');
  372. if (!barrage.childNodes.length) {
  373. const data = this.barrageList[0];
  374. this.barrageList.shift();
  375. this.barrageList.push(data);
  376. barrage.appendChild(writeIn(data));
  377. }
  378. const first = barrage.childNodes[0];
  379. setTimeout(() => {
  380. first.className = 'start';
  381. first.addEventListener('animationstart', () => {
  382. const data = this.barrageList[0];
  383. this.barrageList.shift();
  384. this.barrageList.push(data);
  385. const div = writeIn(data);
  386. barrage.appendChild(div);
  387. setTimeout(() => {
  388. div.style = 'opacity: 1';
  389. }, 100);
  390. });
  391. first.addEventListener('animationend', () => {
  392. barrage.removeChild(first);
  393. this.startBarrage();
  394. });
  395. }, 1000);
  396. function writeIn({ price, phoneNumber, phoneType, duration }) {
  397. const div = document.createElement('div');
  398. div.style = 'opacity: 0';
  399. div.innerHTML = `<div>
  400. <div>${phoneNumber}</div>
  401. </div>
  402. <div>${phoneType}${duration}天,价值<span>${price}元</span></div>`;
  403. return div;
  404. }
  405. },
  406. bargainingFun(bool = false) {
  407. // 首次砍价的时候进此判断
  408. if (bool) {
  409. this.$toast.loading({
  410. message: '加载中...',
  411. forbidClick: true,
  412. duration: 0,
  413. });
  414. const { menuRuleId, userCardId } = this.$route.query;
  415. const obj = {
  416. operateActivityId: this.operateActivityId,
  417. menuRuleId,
  418. };
  419. // 如果是续费,选择了对应云机,需要传云机id
  420. if (userCardId) obj.userCardId = userCardId;
  421. this.$axios
  422. .$post('activity/v5/assist/bargaining/userSelectedPackage', obj)
  423. .then((res) => {
  424. if (res.success) {
  425. // 砍价金额
  426. this.bargainingAmount = res.data.fristKnifeAmount;
  427. setTimeout(() => {
  428. this.bargainingTipsBool = true;
  429. });
  430. // 重新获取用户最新的数据
  431. setTimeout(this.bargainingStatus, 1000);
  432. }
  433. })
  434. .catch((error) => {
  435. setTimeout(() => {
  436. this.$toast(error.message);
  437. });
  438. })
  439. .finally(() => {
  440. this.$toast.clear();
  441. });
  442. return;
  443. }
  444. this.chopAKnife();
  445. },
  446. // 获取规则
  447. getRule() {
  448. this.$axios
  449. .$get('public/v4/agreement/content', {
  450. params: { agreementCoding: 'YDQLBHD10000' },
  451. })
  452. .then((res) => {
  453. if (res.success) {
  454. const html = res.data.content;
  455. const rx = /<body[^>]*>([\s\S]+?)<\/body>/i;
  456. let m = rx.exec(html);
  457. if (m) {
  458. m = m[1];
  459. }
  460. this.ruleHtml = m;
  461. }
  462. });
  463. },
  464. // 获取用户数据接口
  465. bargainingStatus(bool = false) {
  466. if (bool) {
  467. this.$toast.loading({
  468. message: '加载中...',
  469. forbidClick: true,
  470. duration: 0,
  471. });
  472. }
  473. const params = {};
  474. if (Object.keys(this.inviteeData).length) {
  475. params.userLaunchId = this.inviteeData.userLaunchId;
  476. }
  477. this.$axios
  478. .$get('activity/v5/assist/bargaining/current/bargainingStatus', {
  479. params,
  480. })
  481. .then(async (res) => {
  482. if (res.success) {
  483. this.info = res.data;
  484. localStorage.setItem(
  485. 'bargainingStatusInfo',
  486. JSON.stringify(this.info),
  487. );
  488. // 如果是被邀请人就不需要走下面流程
  489. if (Object.keys(this.inviteeData).length) {
  490. return;
  491. }
  492. const data = await this.getSystemTime();
  493. this.systemTime = data.data;
  494. if (this.info.bargainingStatus === 0) {
  495. this.bargainingVisible = true;
  496. return;
  497. }
  498. // 如果是安卓客户端登录的情况且bargainingStatus为 1 2 ,
  499. if (
  500. this.info.bargainingStatus === 1 ||
  501. this.info.bargainingStatus === 2
  502. ) {
  503. // 对安卓返回键做拦截
  504. if (
  505. (this.$userAgent.isSzx || this.$userAgent.isSzxBrowser) &&
  506. this.$userAgent.isAndroid
  507. ) {
  508. window.native.webBackStatus(true);
  509. window.appGoBackCallback = () => {
  510. this.exitVisible = true;
  511. };
  512. }
  513. // 对微信做拦截
  514. if (this.$userAgent.isWx) {
  515. this.wxIntercept(() => {
  516. history.pushState(null, null, document.URL);
  517. this.exitVisible = true;
  518. });
  519. }
  520. }
  521. if (
  522. [1, 2].includes(this.info.bargainingStatus) &&
  523. this.$refs.assistRecodeList &&
  524. this.$refs.assistGetPhoneRecode
  525. ) {
  526. this.$refs.assistRecodeList.data = [];
  527. this.$refs.assistGetPhoneRecode.data = [];
  528. this.$refs.assistRecodeList.list();
  529. this.$refs.assistGetPhoneRecode.list();
  530. }
  531. }
  532. })
  533. .catch((error) => {
  534. this.$toast(error.message);
  535. })
  536. .finally(() => {
  537. if (this.info.bargainingStatus !== 0) this.bargainingVisible = false;
  538. this.$toast.clear();
  539. });
  540. },
  541. // 滚动的相关数据
  542. getAssistAwardRecode() {
  543. this.$axios
  544. .$get('activity/v5/assist/operation/getAssistAwardRecode', {})
  545. .then((res) => {
  546. if (res.success) {
  547. this.barrageList = res.data;
  548. setTimeout(() => {
  549. this.barrageList.length && this.startBarrage();
  550. });
  551. }
  552. });
  553. },
  554. // 领取下一台手机
  555. claimTheNextOne() {
  556. this.$toast.loading({
  557. message: '加载中...',
  558. forbidClick: true,
  559. duration: 0,
  560. });
  561. this.$axios
  562. .$get('activity/v5/assist/operation/reportCutStatus', {
  563. params: {
  564. userLaunchId: this.info.userLaunchId,
  565. },
  566. })
  567. .then((res) => {
  568. if (res.success) {
  569. // 解除安卓返回按键
  570. if (
  571. (this.$userAgent.isSzx || this.$userAgent.isSzxBrowser) &&
  572. this.$userAgent.isAndroid
  573. ) {
  574. window.native.webBackStatus(false);
  575. }
  576. this.$router.replace('/claimCloudPhone/chooseCloudPhone?exit=1');
  577. }
  578. })
  579. .catch((error) => {
  580. setTimeout(() => {
  581. this.$toast(error.message);
  582. });
  583. })
  584. .finally(() => {
  585. this.$toast.clear();
  586. });
  587. },
  588. // 砍一刀
  589. chopAKnife() {
  590. this.$toast.loading({
  591. message: '加载中...',
  592. forbidClick: true,
  593. duration: 0,
  594. });
  595. this.$axios
  596. .$post('activity/v5/assist/operation/chopAKnife')
  597. .then((res) => {
  598. if (res.success) {
  599. this.bargainingTipsBool = true;
  600. this.bargainingAmount = res.data;
  601. setTimeout(() => {
  602. this.bargainingVisible = true;
  603. });
  604. // 重新获取用户最新的数据
  605. setTimeout(this.bargainingStatus, 1000);
  606. }
  607. })
  608. .catch((error) => {
  609. this.$toast(error.message);
  610. setTimeout(() => {
  611. this.$toast.clear();
  612. }, 500);
  613. });
  614. },
  615. btnFun() {
  616. if (!+this.type) this.assistanceBool = true;
  617. if (+this.type) {
  618. switch (this.info.bargainingStatus) {
  619. case 1:
  620. this.chopAKnife();
  621. break;
  622. case 2:
  623. this.$toast.loading({
  624. message: '加载中...',
  625. forbidClick: true,
  626. duration: 0,
  627. });
  628. this.$axios
  629. .$post('activity/v5/assist/bargaining/getGenerateInvitationLink')
  630. .then(async (res) => {
  631. if (res.success) {
  632. res.data.desc = res.data.content;
  633. res.data.link = res.data.url;
  634. res.data.imgUrl = fileKeyToUrl(res.data.imgUrl);
  635. const shareInfo = { ...res.data };
  636. if (this.$userAgent.isSzx || this.$userAgent.isSzxBrowser) {
  637. this.$native.share(shareInfo);
  638. } else {
  639. writeToClipboard(res.data.link)
  640. .then(() => {
  641. setTimeout(() => {
  642. this.$toast('链接复制成功');
  643. });
  644. })
  645. .catch((err) => {
  646. setTimeout(() => {
  647. this.$toast('链接复制失败');
  648. });
  649. });
  650. }
  651. }
  652. })
  653. .finally(() => {
  654. this.$toast.clear();
  655. });
  656. break;
  657. }
  658. }
  659. },
  660. // 获取验证码
  661. getCode() {
  662. if (
  663. this.laoginData.phone.length < 11 ||
  664. this.codeNumber !== '获取验证码'
  665. ) {
  666. return;
  667. }
  668. if (!/^1[3456789]\d{9}$/.test(this.laoginData.phone)) {
  669. this.$toast('手机号码有误,请重填');
  670. return;
  671. }
  672. this.$refs.verify.show();
  673. },
  674. // 登录
  675. async login() {
  676. this.loginLoading = true;
  677. let uuid = localStorage.getItem('uuid');
  678. if (!uuid) {
  679. const url = URL.createObjectURL(new Blob());
  680. uuid = url.toString();
  681. URL.revokeObjectURL(url);
  682. uuid = uuid.substring(uuid.lastIndexOf('/') + 1);
  683. // 去除 UUID 字符串中的连字符
  684. const uuidHex = uuid.replace(/-/g, '');
  685. // 将十六进制字符串解析为大整数
  686. const uuidNumber = BigInt('0x' + uuidHex);
  687. uuid = uuidNumber.toString().substring(0, 20); // 将大整数转换为字符串格式
  688. localStorage.setItem('uuid', uuid);
  689. }
  690. const data = await this.getSystemTime();
  691. const registerTime = this.timestampToTime(data.data);
  692. const params = {
  693. invitationType: 6,
  694. registerSource: 102,
  695. uuid,
  696. registerTime,
  697. };
  698. const headers = {
  699. devicesId: uuid,
  700. registerSign: this.jm(registerTime),
  701. };
  702. Object.assign(params, this.laoginData);
  703. Object.assign(params, this.inviteeData);
  704. params.activityId = params.operateActivityId;
  705. delete params.operateActivityId;
  706. this.$axios
  707. .$post('user/v5/client/register/forH5', params, { headers })
  708. .then((res) => {
  709. if (res.success) {
  710. localStorage.setItem('phone', params.phone);
  711. localStorage.setItem('auth._token.password', res.data.token);
  712. localStorage.setItem('token', res.data.token);
  713. localStorage.setItem(
  714. 'dataInfo',
  715. JSON.stringify({ type: Object, data: res.data }),
  716. );
  717. this.$toast('登录成功');
  718. const url = res.data.jumpToPage
  719. ? '/claimCloudPhone?bool=1'
  720. : '/claimCloudPhone/firstReward';
  721. this.$router[res.data.jumpToPage ? 'replace' : 'push'](url);
  722. }
  723. })
  724. .catch((error) => {
  725. setTimeout(() => {
  726. this.$toast(error.message);
  727. });
  728. })
  729. .finally(() => {
  730. this.loginLoading = false;
  731. });
  732. },
  733. timestampToTime(timestamp) {
  734. var date = new Date(timestamp * 1000);
  735. var Y = date.getFullYear() + '-';
  736. var M =
  737. (date.getMonth() + 1 < 10
  738. ? '0' + (date.getMonth() + 1)
  739. : date.getMonth() + 1) + '-';
  740. var D =
  741. (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' ';
  742. var h =
  743. (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':';
  744. var m =
  745. (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()) +
  746. ':';
  747. var s =
  748. date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
  749. return Y + M + D + h + m + s;
  750. },
  751. jm(systemTime) {
  752. const registerSign = sha256('Register_SZX_2023:' + systemTime);
  753. return registerSign;
  754. },
  755. // 跳转对应协议
  756. toAgreement() {
  757. sessionStorage.setItem('invitedPhone', this.laoginData.phone);
  758. sessionStorage.setItem('invitedCode', this.laoginData.code);
  759. this.$router.push(
  760. '/claimCloudPhone/agreement?agreementCoding=XYPZYHXY2002',
  761. );
  762. },
  763. success(data) {
  764. this.$toast.loading({
  765. message: '加载中...',
  766. forbidClick: true,
  767. duration: 0,
  768. });
  769. const params = {
  770. type: 'common',
  771. authorizationType: 4,
  772. phone: this.laoginData.phone,
  773. captchaVerification: data.captchaVerification,
  774. };
  775. this.$axios
  776. .$post('activity/v5/assist/bargaining/phone/send/activity', params)
  777. .then((res) => {
  778. if (res.success) {
  779. this.codeNumber = 60;
  780. const timer = setInterval(() => {
  781. this.codeNumber--;
  782. if (this.codeNumber === 0) {
  783. this.codeNumber = '获取验证码';
  784. clearInterval(timer);
  785. }
  786. }, 1000);
  787. setTimeout(() => {
  788. this.$toast('获取成功');
  789. });
  790. }
  791. })
  792. .catch((error) => {
  793. setTimeout(() => {
  794. this.$toast(error.message);
  795. });
  796. })
  797. .finally(() => {
  798. this.$toast.clear();
  799. });
  800. },
  801. },
  802. };
  803. </script>
  804. <style lang="less" scoped>
  805. .bargaining-assistance {
  806. height: 100%;
  807. /deep/ .van-overlay {
  808. z-index: 0 !important;
  809. }
  810. /deep/ .van-dialog {
  811. z-index: 0 !important;
  812. }
  813. .inviter-tips,
  814. .invitee-tips {
  815. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  816. }
  817. .inviter-tips {
  818. font-weight: 400;
  819. font-size: 12px;
  820. color: #ffffff;
  821. line-height: 17px;
  822. text-align: center;
  823. font-style: normal;
  824. margin-bottom: 14px;
  825. & > div {
  826. font-size: 26px;
  827. line-height: 30px;
  828. }
  829. }
  830. .invitee-tips {
  831. .invitee-tips-user {
  832. font-weight: bold;
  833. font-size: 18px;
  834. color: #ffffff;
  835. line-height: 22px;
  836. text-align: left;
  837. font-style: normal;
  838. margin-bottom: 8px;
  839. }
  840. .invitee-tips-text {
  841. font-weight: 400;
  842. font-size: 14px;
  843. color: #ffffff;
  844. line-height: 22px;
  845. text-align: left;
  846. font-style: normal;
  847. span {
  848. color: #fceba9;
  849. }
  850. margin-bottom: 24px;
  851. }
  852. }
  853. .bargaining-assistance-main {
  854. background: #ffffff;
  855. border-radius: 20px;
  856. margin-bottom: 24px;
  857. overflow: hidden;
  858. .package-name {
  859. display: flex;
  860. justify-content: center;
  861. span {
  862. display: inline-block;
  863. padding: 5px 61px;
  864. background: #ffe8e8;
  865. border-radius: 0 0 15px 15px;
  866. margin: 0 auto;
  867. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  868. font-weight: bold;
  869. font-size: 16px;
  870. color: #c00202;
  871. line-height: 20px;
  872. text-align: center;
  873. font-style: normal;
  874. }
  875. }
  876. .package-price {
  877. font-family: Alibaba-PuHuiTi, Alibaba-PuHuiTi;
  878. height: 120px;
  879. font-weight: normal;
  880. box-sizing: border-box;
  881. padding-top: 30px;
  882. font-size: 30px;
  883. color: #c70b0b;
  884. line-height: 62px;
  885. text-align: center;
  886. font-style: normal;
  887. font-weight: bold;
  888. width: calc(100% - 24px);
  889. margin: 0 auto;
  890. background: #ffffff;
  891. box-shadow: 0px 0px 8px 2px #f4f7f8, 0px 2px 4px 0px #ecedf8;
  892. border-radius: 20px;
  893. margin-top: -20px;
  894. span {
  895. font-size: 20px;
  896. }
  897. }
  898. .package-progress {
  899. margin: 40px 42px 28px;
  900. }
  901. .package-tips {
  902. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  903. text-align: center;
  904. font-size: 16px;
  905. font-weight: bold;
  906. color: #000000;
  907. line-height: 22px;
  908. font-style: normal;
  909. margin-bottom: 24px;
  910. span {
  911. color: #f04646;
  912. }
  913. & > div:first-of-type {
  914. font-size: 21px;
  915. line-height: 29px;
  916. }
  917. }
  918. .package-btn {
  919. height: 54px;
  920. background: linear-gradient(178deg, #fd8c50 0%, #fc3307 100%);
  921. border-radius: 28px;
  922. margin: 0 27px;
  923. font-family: AlimamaShuHeiTi, AlimamaShuHeiTi;
  924. font-weight: bold;
  925. font-size: 20px;
  926. color: #ffffff;
  927. line-height: 54px;
  928. text-align: center;
  929. font-style: normal;
  930. // margin-bottom: 24px;
  931. }
  932. .package-expire {
  933. margin-top: 12px;
  934. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  935. text-align: center;
  936. font-style: normal;
  937. margin-bottom: 24px;
  938. &,
  939. .van-count-down {
  940. font-weight: 400;
  941. font-size: 12px;
  942. color: #7d6156;
  943. line-height: 16px;
  944. }
  945. .van-count-down {
  946. display: inline-block;
  947. }
  948. }
  949. .invitee-to-claim {
  950. height: 339px;
  951. border-radius: 20px;
  952. background: url('~/assets/image/claimCloudPhone/Invitee-to-claim.png')
  953. no-repeat 0 0;
  954. background-size: 100% 100%;
  955. position: relative;
  956. .invitee-to-claim_btn {
  957. height: 54px;
  958. background: linear-gradient(90deg, #ff6d2b 0%, #ff1500 100%);
  959. box-shadow: inset 9px -7px 19px 0px #ffba57,
  960. inset -1px 2px 6px 0px #ffbd63;
  961. border-radius: 27px;
  962. text-align: center;
  963. position: absolute;
  964. bottom: 14px;
  965. width: 200px;
  966. font-family: YouSheBiaoTiYuan;
  967. font-size: 28px;
  968. color: #ffffff;
  969. line-height: 23px;
  970. left: 50%;
  971. transform: translateX(-50%);
  972. font-style: normal;
  973. font-weight: bold;
  974. line-height: 54px;
  975. }
  976. }
  977. }
  978. .bargaining-record {
  979. margin-bottom: 24px;
  980. }
  981. .bargaining-record,
  982. .distribution-records {
  983. background: #ffffff;
  984. border-radius: 12px;
  985. .title {
  986. height: 44px;
  987. background: #ffe8e8;
  988. border-radius: 12px 12px 0px 0px;
  989. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  990. font-weight: bold;
  991. font-size: 16px;
  992. color: #c00202;
  993. line-height: 44px;
  994. text-align: center;
  995. font-style: normal;
  996. }
  997. .container {
  998. height: 250px;
  999. overflow-y: auto;
  1000. padding: 0 20px;
  1001. scrollbar-width: none !important; /* 对于 Firefox 隐藏滚动条 */
  1002. &::-webkit-scrollbar {
  1003. display: none !important; /* 对于 Chrome, Safari 和 Opera 隐藏滚动条 */
  1004. }
  1005. .van-empty {
  1006. padding: 0 !important;
  1007. }
  1008. }
  1009. .bargaining-record-item {
  1010. height: 53px;
  1011. border-bottom: 2px #f1f1f1 solid;
  1012. display: flex;
  1013. align-items: center;
  1014. .bargaining-record-item_info {
  1015. font-family: PingFangSC, PingFang SC;
  1016. font-weight: 400;
  1017. font-size: 14px;
  1018. color: #7d6156;
  1019. line-height: 18px;
  1020. font-style: normal;
  1021. & > div:first-of-type,
  1022. span {
  1023. font-weight: bold;
  1024. }
  1025. span {
  1026. color: #c00202;
  1027. }
  1028. }
  1029. }
  1030. }
  1031. .distribution-records {
  1032. .container {
  1033. padding: 0px;
  1034. position: relative;
  1035. & > div:first-of-type {
  1036. position: absolute;
  1037. width: 100%;
  1038. left: 0;
  1039. height: 20px;
  1040. background: #ffffff;
  1041. box-shadow: 0px 2px 4px 0px #ecedf8;
  1042. top: 0;
  1043. font-family: PingFangSC, PingFang SC;
  1044. font-weight: 400;
  1045. font-size: 12px;
  1046. color: #7d6156;
  1047. line-height: 20px;
  1048. text-align: center;
  1049. display: flex;
  1050. font-style: normal;
  1051. & > div {
  1052. width: 25%;
  1053. }
  1054. }
  1055. & > div:last-of-type {
  1056. height: 100%;
  1057. box-sizing: border-box;
  1058. padding-top: 20px;
  1059. overflow-y: auto;
  1060. scrollbar-width: none !important; /* 对于 Firefox 隐藏滚动条 */
  1061. &::-webkit-scrollbar {
  1062. display: none !important; /* 对于 Chrome, Safari 和 Opera 隐藏滚动条 */
  1063. }
  1064. ::v-deep .van-empty {
  1065. padding: 0px;
  1066. .van-empty__image {
  1067. img {
  1068. display: none;
  1069. }
  1070. background: url('~/assets/image/claimCloudPhone/distribution-records-empty.png')
  1071. no-repeat center bottom;
  1072. background-size: 90px 90px;
  1073. }
  1074. }
  1075. .distribution-records-item {
  1076. height: 46px;
  1077. line-height: 46px;
  1078. box-sizing: border-box;
  1079. display: flex;
  1080. border-bottom: 2px #f1f1f1 solid;
  1081. & > div {
  1082. width: 25%;
  1083. text-align: center;
  1084. font-family: PingFangSC, PingFang SC;
  1085. font-weight: 400;
  1086. font-size: 14px;
  1087. color: #6d2b12;
  1088. text-align: center;
  1089. font-style: normal;
  1090. }
  1091. }
  1092. }
  1093. }
  1094. }
  1095. .barrage {
  1096. position: fixed;
  1097. bottom: 11%;
  1098. transform: translateY(-11%);
  1099. right: 11px;
  1100. & > ::v-deep div {
  1101. transition: all 0.7s;
  1102. &.start {
  1103. opacity: 1;
  1104. animation: barrage 0.5s linear;
  1105. @keyframes barrage {
  1106. 0% {
  1107. opacity: 1;
  1108. transform: translateY(0px);
  1109. }
  1110. 100% {
  1111. transform: translateY(-30px);
  1112. opacity: 0;
  1113. }
  1114. }
  1115. }
  1116. opacity: 1;
  1117. width: 143px;
  1118. height: 40px;
  1119. position: absolute;
  1120. bottom: 11%;
  1121. right: 11px;
  1122. background: linear-gradient(
  1123. 90deg,
  1124. #992bff 0%,
  1125. rgba(255, 21, 0, 0.4) 100%
  1126. );
  1127. border-radius: 23px;
  1128. border-image: linear-gradient(
  1129. 94deg,
  1130. rgba(255, 255, 255, 1),
  1131. rgba(255, 255, 255, 0.35)
  1132. )
  1133. 1 1;
  1134. padding-left: 20px;
  1135. font-size: 10px;
  1136. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1137. font-weight: 400;
  1138. color: #ffffff;
  1139. display: flex;
  1140. flex-direction: column;
  1141. justify-content: center;
  1142. & > div {
  1143. height: 16px;
  1144. line-height: 16px;
  1145. &:first-of-type {
  1146. display: flex;
  1147. & > div {
  1148. overflow: hidden;
  1149. text-overflow: ellipsis;
  1150. white-space: nowrap;
  1151. }
  1152. }
  1153. &:last-of-type span {
  1154. color: #fddb2b;
  1155. }
  1156. }
  1157. }
  1158. }
  1159. .rule {
  1160. position: fixed;
  1161. top: 12.5%;
  1162. right: 0;
  1163. width: 40px;
  1164. height: 20px;
  1165. line-height: 20px;
  1166. background: #f04646;
  1167. border-radius: 17px 0px 0px 17px;
  1168. z-index: 2;
  1169. font-family: PingFangSC, PingFang SC;
  1170. font-weight: 400;
  1171. font-size: 12px;
  1172. color: #ffffff;
  1173. text-align: center;
  1174. font-style: normal;
  1175. }
  1176. .rule-title {
  1177. height: 53px;
  1178. border-radius: 16px 16px 0 0;
  1179. background: linear-gradient(90deg, #f6cdb9 0%, #fbdbde 100%);
  1180. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1181. font-weight: bold;
  1182. font-size: 18px;
  1183. color: #751d13;
  1184. line-height: 53px;
  1185. text-align: center;
  1186. font-style: normal;
  1187. }
  1188. .rule-content {
  1189. height: 325px;
  1190. padding: 16px;
  1191. box-sizing: border-box;
  1192. background: #fff;
  1193. border-radius: 0 0 16px 16px;
  1194. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1195. font-weight: 400;
  1196. font-size: 14px;
  1197. color: #751d13;
  1198. line-height: 16px;
  1199. text-align: left;
  1200. font-style: normal;
  1201. overflow-y: auto;
  1202. }
  1203. .rule-close {
  1204. height: 32px;
  1205. width: 32px;
  1206. background: #c1c1c1;
  1207. z-index: 5;
  1208. margin: 20px auto 0;
  1209. border-radius: 50%;
  1210. display: flex;
  1211. justify-content: center;
  1212. align-items: center;
  1213. font-size: 24px;
  1214. color: #666666;
  1215. }
  1216. ::v-deep .van-dialog {
  1217. background: transparent !important;
  1218. }
  1219. .bargaining-img {
  1220. height: 512px;
  1221. width: 100%;
  1222. background: url('~/assets/image/claimCloudPhone/bargaining-popUp.png')
  1223. no-repeat 0 20px;
  1224. background-size: 100% 100%;
  1225. }
  1226. .bargaining-amount {
  1227. height: 234px;
  1228. background: url('~/assets/image/claimCloudPhone/bargaining-amount-img.png')
  1229. no-repeat 0 20px;
  1230. padding-top: 30px;
  1231. box-sizing: border-box;
  1232. background-size: 100% 210px;
  1233. .bargaining-amount-text {
  1234. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1235. font-weight: bold;
  1236. font-size: 24px;
  1237. color: #ffffff;
  1238. text-align: center;
  1239. font-style: normal;
  1240. span {
  1241. color: #ff0000;
  1242. }
  1243. }
  1244. }
  1245. .exit {
  1246. height: 520px;
  1247. position: relative;
  1248. & > img {
  1249. height: 100%;
  1250. width: 100%;
  1251. }
  1252. .exit-content {
  1253. position: absolute;
  1254. top: 25%;
  1255. left: 50%;
  1256. width: 200px;
  1257. transform: translateX(-50%);
  1258. font-family: AlimamaShuHeiTi, AlimamaShuHeiTi;
  1259. font-weight: bold;
  1260. font-size: 16px;
  1261. color: #171815;
  1262. line-height: 24px;
  1263. text-align: center;
  1264. font-style: normal;
  1265. & > div span {
  1266. color: #f04646;
  1267. }
  1268. .exit-content-progress {
  1269. margin: 50px 0 80px;
  1270. }
  1271. .exit-content-btn {
  1272. & > img {
  1273. height: 42px;
  1274. width: 100%;
  1275. }
  1276. .exit-content-btn_leave {
  1277. font-weight: 400;
  1278. font-size: 12px;
  1279. color: #faf3d8;
  1280. }
  1281. }
  1282. }
  1283. }
  1284. .bargaining-success {
  1285. height: 378px;
  1286. background: url('~/assets/image/claimCloudPhone/successful-bargaining-img.png')
  1287. no-repeat 0 0;
  1288. background-size: 100% 100%;
  1289. overflow: hidden;
  1290. position: relative;
  1291. .bargaining-success-title {
  1292. margin-top: 24px;
  1293. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1294. font-weight: bold;
  1295. font-size: 28px;
  1296. color: #fdf9c8;
  1297. line-height: 38px;
  1298. text-align: center;
  1299. font-style: normal;
  1300. }
  1301. .bargaining-success-tips {
  1302. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1303. width: 165px;
  1304. font-weight: bold;
  1305. font-size: 12px;
  1306. color: #ffffff;
  1307. line-height: 17px;
  1308. text-align: center;
  1309. margin: 0 auto;
  1310. }
  1311. .bargaining-success-btn {
  1312. position: absolute;
  1313. bottom: 20px;
  1314. left: 50%;
  1315. transform: translateX(-50%);
  1316. display: flex;
  1317. flex-direction: column;
  1318. justify-content: center;
  1319. & > div {
  1320. width: 180px;
  1321. height: 48px;
  1322. line-height: 48px;
  1323. text-align: center;
  1324. border-radius: 24px;
  1325. color: #fff;
  1326. font-weight: bold;
  1327. &:first-of-type {
  1328. margin-bottom: 8px;
  1329. background: linear-gradient(178deg, #fd8c50 0%, #fc3307 100%);
  1330. }
  1331. &:last-of-type {
  1332. color: #e63b47;
  1333. border: 1px solid #e63b47;
  1334. }
  1335. }
  1336. }
  1337. }
  1338. .expire {
  1339. height: 378px;
  1340. background: url('~/assets/image/claimCloudPhone/expire-img.png') no-repeat 0
  1341. 0;
  1342. background-size: 100% 100%;
  1343. position: relative;
  1344. .expire-btn {
  1345. position: absolute;
  1346. bottom: 20px;
  1347. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  1348. font-weight: 500;
  1349. font-size: 16px;
  1350. color: #ffffff;
  1351. line-height: 48px;
  1352. left: 50%;
  1353. transform: translateX(-50%);
  1354. text-align: center;
  1355. font-style: normal;
  1356. width: 180px;
  1357. height: 48px;
  1358. background: linear-gradient(178deg, #fd8c50 0%, #fc3307 100%);
  1359. border-radius: 24px;
  1360. }
  1361. }
  1362. .login {
  1363. height: 312px;
  1364. background: #ffffff;
  1365. border-radius: 24px;
  1366. padding: 16px 28px;
  1367. box-sizing: border-box;
  1368. .login-title {
  1369. font-family: DingTalk, DingTalk;
  1370. font-weight: normal;
  1371. font-weight: bold;
  1372. font-size: 24px;
  1373. color: #0a132b;
  1374. line-height: 28px;
  1375. text-align: left;
  1376. font-style: normal;
  1377. margin-bottom: 14px;
  1378. }
  1379. .van-field {
  1380. margin-bottom: 14px;
  1381. border-radius: 8px;
  1382. border: 1px solid #e6e6e6;
  1383. }
  1384. .van-button {
  1385. width: 100%;
  1386. border-radius: 8px;
  1387. }
  1388. .login-code {
  1389. font-family: PingFangSC, PingFang SC;
  1390. font-weight: 500;
  1391. font-size: 14px;
  1392. color: #3666f2;
  1393. line-height: 16px;
  1394. text-align: left;
  1395. font-style: normal;
  1396. &.disabled {
  1397. color: #999;
  1398. }
  1399. }
  1400. .login-agreement {
  1401. font-family: PingFangSC, PingFang SC;
  1402. font-weight: 400;
  1403. font-size: 12px;
  1404. font-style: normal;
  1405. margin-top: 12px;
  1406. display: flex;
  1407. span {
  1408. color: #3666f2;
  1409. }
  1410. .van-checkbox {
  1411. align-items: start;
  1412. ::v-deep .van-checkbox__label {
  1413. color: #999999;
  1414. }
  1415. ::v-deep .van-checkbox__icon {
  1416. margin-top: 3px;
  1417. }
  1418. }
  1419. }
  1420. }
  1421. ::v-deep .phone-container {
  1422. background: transparent;
  1423. }
  1424. }
  1425. </style>