mobile.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. <template>
  2. <div class="wrapper" v-if="detail">
  3. <!--顶部tab-->
  4. <div class="switch-bar" :class="active===0?'switch-bar-brown':current===0?'switch-bar-blue':'switch-bar-green'">
  5. <div class="switch-item" :class="{'switch-item-active':active===0}" @click="handleSwitchClick(0)">
  6. <div class="switch-item-title">开发者会员</div>
  7. <div class="switch-item-border"/>
  8. </div>
  9. <div class="switch-item" :class="{'switch-item-active':active===1}" @click="handleSwitchClick(1)">
  10. <div class="switch-item-title">企业会员</div>
  11. <div class="switch-item-border"/>
  12. </div>
  13. </div>
  14. <!--名片-->
  15. <div class="banner-brown-wrapper" v-show="active===0">
  16. <div class="banner-brown">
  17. <div class="banner-content">
  18. <div class="avatar">
  19. <img :src="userInfo.icon_url" alt/>
  20. </div>
  21. <div class="name-wrapper">
  22. <div class="name">{{ userInfo.nickname }}</div>
  23. <div class="validity">{{ vipType === 2 ? endTimeCalc : '暂未开通' }}</div>
  24. </div>
  25. <div
  26. class="renew-btn"
  27. :class="vipColor"
  28. @click="clickPay('dev')"
  29. >{{ vipType === 2 ? '续费' : '开通' }}
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. <!--企业会员信息-->
  35. <div v-swiper:mySwiper="swiperOption" v-show="active===1">
  36. <div class="swiper-wrapper">
  37. <div class="swiper-slide">
  38. <div class="banner-blue-wrapper">
  39. <div class="banner-blue">
  40. <div class="banner-content">
  41. <div class="avatar">
  42. <img :src="userInfo.icon_url" alt/>
  43. </div>
  44. <div class="name-wrapper">
  45. <div class="name">{{ userInfo.nickname }}</div>
  46. <div class="validity">{{ vipType === 1 ? endTimeCalc : '暂未开通' }}</div>
  47. </div>
  48. <div
  49. class="renew-btn"
  50. :class="vipColor"
  51. @click="clickPay('com')"
  52. >{{ vipType === 1 ? '续费' : '开通' }}
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="swiper-slide">
  59. <div class="banner-green-wrapper">
  60. <div class="banner-green">
  61. <div class="banner-content">
  62. <div class="avatar">
  63. <img :src="userInfo.icon_url" alt/>
  64. </div>
  65. <div class="name-wrapper">
  66. <div class="name">{{ userInfo.nickname }}</div>
  67. <div class="validity">{{ vipType === 3 ? endTimeCalc : '暂未开通' }}</div>
  68. </div>
  69. <div
  70. class="renew-btn"
  71. :class="vipColor"
  72. @click="clickPay('pre')"
  73. >{{ vipType === 3 ? '续费' : '开通' }}
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="swiper-pagination swiper-pagination-bullets"></div>
  81. </div>
  82. <div class="content" style="background: #f4f5f9">
  83. <div class="title-wrapper app__bg_w app__pl_10 app__pr_10 app__bd_b_eee" style="margin: 0;width:100vw">
  84. <div class="title">{{ vipName }}</div>
  85. <div class="price-wrapper">
  86. <div class="monthly-price-wrapper">
  87. <div class="monthly-origin-price">原价¥{{ detail.monthly_origin_price }}/月</div>
  88. <div class="monthly-discount-price">
  89. <span>¥{{ detail.monthly_real_price }}</span>/月
  90. </div>
  91. </div>
  92. <div class="quarterly-price">
  93. 按季付费
  94. <span>¥{{ detail.quarterly_real_price }}</span>
  95. </div>
  96. </div>
  97. </div>
  98. <div class="app__f_r app__al_c app__fs_15 app__pd_10 app__pt_10 app__pb_10 app__bg_w app__h_50"
  99. @click="viewRateDetail()" v-if="active===0">
  100. <p class="app__ml_10 app_f_g_1">会员数据:</p>
  101. <span class="app__fc_999">优先派单:{{ Number(vipInfo.jobCount || 0) + Number(vipInfo.projectCount || 0) }}</span>
  102. <span class="app__fc_999 app__mr_5 app__ml_10">收益提升:{{ vipInfo.vipFee || 0 }}元</span>
  103. </div>
  104. <div
  105. class="app__fs_14 app__lh_3 app__pl_20 app__pr_20 app__fc_666 app__fw_400 app__h_275 app__bg_w app__mt_10 app__f_c app__jf_c"
  106. v-if="active===0">
  107. <div class="app__f_r app__al_c">
  108. <p class="app_f_g_1">系统优先派单,提升综合接单率</p>
  109. <img src="@/assets/img/vip/icon_include_brown.png" style="width:16px;height:11px;">
  110. </div>
  111. <div class="app__f_r app__al_c">
  112. <p class="app_f_g_1">每天可ping5次,综合提升接单率</p>
  113. <img src="@/assets/img/vip/icon_include_brown.png" style="width:16px;height:11px;">
  114. </div>
  115. <div class="app__f_r app__al_c">
  116. <p class="app_f_g_1">程序员列表置顶</p>
  117. <img src="@/assets/img/vip/icon_include_brown.png" style="width:16px;height:11px;">
  118. </div>
  119. <div class="app__f_r app__al_c">
  120. <p class="app_f_g_1">每月不限接单上限,最多同时派2单</p>
  121. <img src="@/assets/img/vip/icon_include_brown.png" style="width:16px;height:11px;">
  122. </div>
  123. <div class="app__f_r app__al_c">
  124. <p class="app_f_g_1">减免1%平台服务费,资质认证低至2折</p>
  125. <img src="@/assets/img/vip/icon_include_brown.png" style="width:16px;height:11px;">
  126. </div>
  127. <div class="app__f_r app__al_c">
  128. <p class="app_f_g_1">每月可交换名片{{detail.name_card_num}}次</p>
  129. <img src="@/assets/img/vip/icon_include_brown.png" style="width:16px;height:11px;">
  130. </div>
  131. </div>
  132. <!-- <div class="list" v-show="active===0">
  133. <div class="item">
  134. <div class="item-title">· 整包项目-平台服务费(减免{{detail.project_reduction_rate}}%)</div>
  135. <div class="item-discount">{{detail.project_discount}}折</div>
  136. </div>
  137. <div class="item">
  138. <div class="item-title">· 云端工作-平台服务费(减免{{detail.job_reduction_rate}}%)</div>
  139. <div class="item-discount">{{detail.job_discount}}折</div>
  140. </div>
  141. <div class="item">
  142. <div class="item-title">· 认证的自由开发者可同时接2单</div>
  143. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt />
  144. </div>
  145. </div>-->
  146. <div class="list app__bg_w app__mt_10" v-show="active===1 && current===0">
  147. <div class="item">
  148. <div class="item-title">· 雇佣服务{{ detail.hire_times }}次</div>
  149. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  150. </div>
  151. <div class="item">
  152. <div class="item-title">· 程序员聊一聊{{ detail.chat_times }}次</div>
  153. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  154. </div>
  155. <div class="item">
  156. <div class="item-title">· 每月名片交换{{ detail.name_card_num }}次</div>
  157. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  158. </div>
  159. <div class="item">
  160. <div class="item-title">· 平台服务费减免</div>
  161. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  162. </div>
  163. <div class="item">
  164. <div class="item-title">· 免费企业认证</div>
  165. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  166. </div>
  167. <div class="item">
  168. <div class="item-title">· 免费技术信用服务</div>
  169. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  170. </div>
  171. <div class="item">
  172. <div class="item-title">· 招聘岗位{{ detail.recruit_num }}次</div>
  173. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  174. </div>
  175. </div>
  176. <div class="list app__bg_w app__mt_10" v-show="active===1 && current===1">
  177. <div class="item">
  178. <div class="item-title">· 雇佣服务{{ detail.hire_times }}次</div>
  179. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  180. </div>
  181. <div class="item">
  182. <div class="item-title">· 程序员聊一聊{{ detail.chat_times }}次</div>
  183. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  184. </div>
  185. <div class="item">
  186. <div class="item-title">· 每月名片交换{{ detail.name_card_num }}次</div>
  187. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  188. </div>
  189. <div class="item">
  190. <div class="item-title">· 平台服务费减免</div>
  191. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  192. </div>
  193. <div class="item">
  194. <div class="item-title">· 免费企业认证</div>
  195. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  196. </div>
  197. <div class="item">
  198. <div class="item-title">· 免费技术信用服务</div>
  199. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  200. </div>
  201. <div class="item">
  202. <div class="item-title">· 招聘岗位不限次</div>
  203. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  204. </div>
  205. </div>
  206. <!-- <h4 class="app__pl_20 app__pt_10">会员权益</h4>-->
  207. <div class="tips-wrapper">
  208. <div class="tips-title">会员说明</div>
  209. <div class="tips-content">
  210. <p>1.购买会员按季付费;</p>
  211. <p>2.开通会员即代表您已同意<a href="https://support.proginn.com/rule/member/" style="color: #308eff;">《程序员客栈会员服务条款》</a>;</p>
  212. <p>3.如有任何问题,欢迎咨询在线客服,或拨打热线:0571-28120931 转1。</p>
  213. </div>
  214. </div>
  215. </div>
  216. <!-- 底部浮动立即开通/续费按钮 -->
  217. <!-- <div class="buy-dev-btn" v-if="active===0" @click="handleClickBuyDev">
  218. {{ vipType === 2 ? '立即续费' : '立即开通' }}
  219. </div> -->
  220. <buy-dialog
  221. :handleClose="handleClose"
  222. :buyDialog="buyDialog"
  223. :gotoPay="gotoPay"
  224. :type="type"
  225. :item="detail"
  226. :vipDetail="vipDetail"
  227. :pricePrefix="pricePrefix"
  228. ></buy-dialog>
  229. </div>
  230. </template>
  231. <script>
  232. let touchX = 0;
  233. import getDeviceType from "@/mixins/getDeviceType";
  234. import qs from "qs";
  235. import buyDialog from "./buy-dialog";
  236. import bridge from '../../../plugins/bridge';
  237. export default {
  238. props: ["com", "dev", "pre", "vipDetail"],
  239. data() {
  240. const _this = this;
  241. return {
  242. active: 0,
  243. current: 0,
  244. swiperOption: {
  245. loop: false,
  246. slidesPerView: "auto",
  247. centeredSlides: true,
  248. spaceBetween: 30,
  249. pagination: {
  250. el: ".swiper-pagination",
  251. dynamicBullets: true,
  252. },
  253. on: {
  254. slideChange() {
  255. _this.current = this.realIndex;
  256. if (bridge.isInApp) {
  257. if (_this.active === 1 && _this.current === 0) {
  258. bridge.setNavigationBarColor('#308EFF');
  259. _this.currentType = 1;
  260. } else if (_this.active === 1 && _this.current === 1) {
  261. bridge.setNavigationBarColor('#00BF66');
  262. _this.currentType = 3;
  263. }
  264. }
  265. },
  266. },
  267. },
  268. buyDialog: false,
  269. type: "com", // com: 企业会员, dev: 开发者会员
  270. currentType: 2,
  271. vipInfo: {}
  272. };
  273. },
  274. components: {
  275. buyDialog,
  276. },
  277. mixins: [getDeviceType],
  278. computed: {
  279. endTimeCalc() {
  280. return "有效期至" + this.userInfo.vip_end_date;
  281. },
  282. detail() {
  283. if (this.active === 0) {
  284. return this.dev;
  285. } else if (this.active === 1) {
  286. if (this.current === 0) {
  287. return this.com;
  288. } else if (this.current === 1) {
  289. return this.pre;
  290. } else {
  291. return [];
  292. }
  293. }
  294. },
  295. vipType() {
  296. return this.userInfo.vip_type || 0;
  297. },
  298. userInfo() {
  299. return this.vipDetail.user_info || {};
  300. },
  301. pricePrefix() {
  302. return this.deviceType === "ios" ? "apple_" : "";
  303. },
  304. vipName() {
  305. if (this.active === 0) {
  306. return "开发者会员";
  307. } else if (this.active === 1) {
  308. if (this.current === 0) {
  309. return "初创版会员";
  310. } else if (this.current === 1) {
  311. return "企业版会员";
  312. }
  313. }
  314. },
  315. vipColor() {
  316. if (this.active === 0) {
  317. return "yellow";
  318. } else if (this.active === 1) {
  319. if (this.current === 0) {
  320. return "blue";
  321. } else if (this.current === 1) {
  322. return "green";
  323. }
  324. }
  325. },
  326. },
  327. mounted() {
  328. const activeName = this.$route.query.activeName;
  329. const current = this.$route.query.current;
  330. if (activeName === "enterprise") {
  331. this.active = 1;
  332. } else {
  333. this.active = 0;
  334. }
  335. if (current === "1") {
  336. this.current = 1;
  337. }
  338. if (bridge.isInApp) {
  339. if (this.active === 0) {
  340. bridge.setNavigationBarColor('#B07F29');
  341. } else if (this.active === 1 && this.current === 0) {
  342. bridge.setNavigationBarColor('#308EFF');
  343. } else if (this.active === 1 && this.current === 1) {
  344. bridge.setNavigationBarColor('#00BF66');
  345. }
  346. }
  347. this.getVipInfo();
  348. },
  349. methods: {
  350. async clickPay(type) {
  351. if (!this.userInfo || !this.userInfo.nickname) {
  352. if (this.deviceType === "ios" || this.deviceType === "android") {
  353. location.href = "proginn://login?backToPage=true";
  354. } else {
  355. location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show&next=' + encodeURIComponent(location.href)
  356. }
  357. return
  358. }
  359. this.type = type;
  360. this.buyDialog = true;
  361. // location.href = `/vip/pay?product_id=${item.id}&number=3&next=/type/vip/`;
  362. },
  363. handleClose() {
  364. this.buyDialog = false;
  365. },
  366. async gotoPay(number) {
  367. const item = this[this.type];
  368. let query = {
  369. product_type: 11,
  370. number: number,
  371. product_id: item.id,
  372. };
  373. // if (this.deviceType === "ios") {
  374. // // alert('ios begin pay..');
  375. // let cookie = this.getSign();
  376. // let res = await this.$axios.$post("/api/vip/pay", {
  377. // product_type: 11,
  378. // number: number,
  379. // product_id: item.id,
  380. // channel: "apple",
  381. // needLogin: true,
  382. // ...cookie
  383. // });
  384. // if (res && res.data) {
  385. // query = Object.assign({}, query, res.data);
  386. // location.href = "proginn://pay?" + qs.stringify(query);
  387. // }
  388. // } else {
  389. location.href = "proginn://pay?" + qs.stringify(query);
  390. // }
  391. },
  392. /**
  393. * 手指右划
  394. */
  395. swipeRight() {
  396. this.currentCom = false;
  397. },
  398. /**
  399. * 手指左划
  400. */
  401. swipeLeft() {
  402. this.currentCom = true;
  403. },
  404. touchStart(e) {
  405. touchX = e.touches[0].clientX;
  406. },
  407. touchEnd(e) {
  408. var offsetX = e.changedTouches[0].clientX - touchX;
  409. if (offsetX < -50) this.swipeLeft();
  410. else if (offsetX > 50) this.swipeRight();
  411. },
  412. handleSwitchClick(index) {
  413. this.active = index;
  414. if (bridge.isInApp) {
  415. if (this.active === 0) {
  416. bridge.setNavigationBarColor('#B07F29');
  417. } else if (this.active === 1 && this.current === 0) {
  418. bridge.setNavigationBarColor('#308EFF');
  419. } else if (this.active === 1 && this.current === 1) {
  420. bridge.setNavigationBarColor('#00BF66');
  421. }
  422. }
  423. },
  424. viewRateDetail() {
  425. if (bridge.isAndroid) {
  426. location.href = `proginn://webview?url=${this.$store.state.domainConfig.siteUrl}/type/vip/orderRateDetail&title=会员中心`
  427. } else
  428. location.href = "/type/vip/orderRateDetail";
  429. },
  430. async getVipInfo() {
  431. let _this = this;
  432. let res = await this.$axios.$post(`/api/user/getUserVipInfo`, { notShowError: true });
  433. if (Number(res.status) === 1) {
  434. console.log("6666", res);
  435. this.vipInfo = res.data;
  436. }
  437. },
  438. /**
  439. * 点击开通/续费开发者会员
  440. */
  441. handleClickBuyDev () {
  442. this.$message('开通/续费开发者会员,跳转端原生页面')
  443. }
  444. },
  445. };
  446. </script>
  447. <style scoped lang="scss">
  448. @import "../../../assets/css/scssCommon.scss";
  449. @import "../../../assets/css/public.css";
  450. .wrapper {
  451. overflow: hidden;
  452. margin-top: 0 !important;
  453. width: 100%;
  454. background-color: #f4f5f9;
  455. }
  456. .switch-bar {
  457. display: flex;
  458. background-color: #d89823;
  459. }
  460. .switch-bar-brown {
  461. background-color: #d89823;
  462. }
  463. .switch-bar-blue {
  464. background-color: #308eff;
  465. }
  466. .switch-bar-green {
  467. background-color: #00bf66;
  468. }
  469. .switch-item {
  470. flex: 1;
  471. padding-top: remtovw(0.4);
  472. padding-bottom: remtovw(0.15);
  473. }
  474. .switch-item .switch-item-title {
  475. line-height: remtovw(0.42);
  476. text-align: center;
  477. font-size: remtovw(0.3);
  478. color: #ffffff;
  479. }
  480. .switch-item .switch-item-border {
  481. margin: remtovw(0.18) auto 0;
  482. width: remtovw(0.6);
  483. height: remtovw(0.06);
  484. background-color: transparent;
  485. }
  486. .switch-item-active .switch-item-title {
  487. font-weight: 600;
  488. }
  489. .switch-item-active .switch-item-border {
  490. background-color: #ffffff;
  491. }
  492. .banner-brown-wrapper {
  493. background-color: #d89823;
  494. }
  495. .banner-brown {
  496. overflow: hidden;
  497. margin: 0 auto;
  498. width: remtovw(7);
  499. height: remtovw(2.9);
  500. background-image: url("~@/assets/img/vip/banner_brown.png");
  501. background-size: 100%;
  502. background-repeat: no-repeat;
  503. }
  504. .banner-blue-wrapper {
  505. background-color: #308eff;
  506. }
  507. .banner-blue {
  508. overflow: hidden;
  509. margin: 0 auto;
  510. width: remtovw(7);
  511. height: remtovw(2.9);
  512. background-image: url("~@/assets/img/vip/banner_blue.png");
  513. background-size: 100%;
  514. background-repeat: no-repeat;
  515. }
  516. .banner-green-wrapper {
  517. background-color: #00bf66;
  518. }
  519. .banner-green {
  520. overflow: hidden;
  521. margin: 0 auto;
  522. width: remtovw(7);
  523. height: remtovw(2.9);
  524. background-image: url("~@/assets/img/vip/banner_green.png");
  525. background-size: 100%;
  526. background-repeat: no-repeat;
  527. }
  528. .banner-content {
  529. margin-top: remtovw(1.12);
  530. display: flex;
  531. align-items: center;
  532. }
  533. .avatar {
  534. position: relative;
  535. margin-left: remtovw(0.32);
  536. width: remtovw(1.1);
  537. height: remtovw(1.1);
  538. }
  539. .avatar img {
  540. width: 100%;
  541. height: 100%;
  542. border-radius: 50%;
  543. border: remtovw(0.03) solid #e1a83f;
  544. }
  545. .name-wrapper {
  546. flex: 1;
  547. margin-left: remtovw(0.23);
  548. }
  549. .name {
  550. line-height: remtovw(0.48);
  551. font-weight: 500;
  552. font-size: remtovw(0.34);
  553. color: #222222;
  554. }
  555. .validity {
  556. margin-top: remtovw(0.02);
  557. line-height: remtovw(0.3);
  558. font-size: remtovw(0.22);
  559. color: rgba(34, 34, 34, 0.6);
  560. }
  561. .renew-btn {
  562. margin-right: remtovw(0.3);
  563. width: remtovw(1.54);
  564. height: remtovw(0.64);
  565. border-radius: remtovw(0.32);
  566. background-color: #d89823;
  567. line-height: remtovw(0.64);
  568. font-weight: 600;
  569. text-align: center;
  570. font-size: remtovw(0.26);
  571. color: #ffffff;
  572. }
  573. .content {
  574. overflow: hidden;
  575. background-color: #ffffff;
  576. }
  577. .title-wrapper {
  578. margin: 0 auto;
  579. width: remtovw(7.1);
  580. padding-bottom: remtovw(0.2);
  581. display: flex;
  582. }
  583. .title {
  584. flex: 1;
  585. margin-top: remtovw(0.17);
  586. margin-left: remtovw(0.24);
  587. line-height: remtovw(0.75);
  588. font-weight: 600;
  589. font-size: remtovw(0.29);
  590. color: #222222;
  591. }
  592. .price-wrapper {
  593. margin-top: remtovw(0.23);
  594. text-align: right;
  595. }
  596. .monthly-price-wrapper {
  597. display: flex;
  598. }
  599. .monthly-origin-price {
  600. margin-top: remtovw(0.17);
  601. line-height: remtovw(0.3);
  602. font-size: remtovw(0.22);
  603. color: #919aa7;
  604. text-decoration: line-through;
  605. }
  606. .monthly-discount-price {
  607. margin-left: remtovw(0.07);
  608. line-height: remtovw(0.62);
  609. font-size: remtovw(0.24);
  610. color: #222222;
  611. }
  612. .monthly-discount-price span {
  613. font-weight: 600;
  614. font-size: remtovw(0.45);
  615. }
  616. .quarterly-price {
  617. margin-top: remtovw(0.01);
  618. margin-right: remtovw(0.05);
  619. line-height: remtovw(0.33);
  620. font-size: remtovw(0.24);
  621. color: #666666;
  622. }
  623. .quarterly-price span {
  624. color: #333333;
  625. }
  626. .list {
  627. padding-top: remtovw(0.3);
  628. padding-bottom: remtovw(0.33);
  629. }
  630. .item {
  631. margin: 0 auto;
  632. width: remtovw(7.1);
  633. display: flex;
  634. align-items: center;
  635. }
  636. .item-title {
  637. flex: 1;
  638. line-height: remtovw(0.74);
  639. font-size: remtovw(0.28);
  640. color: #1d2a3a;
  641. }
  642. .item-discount {
  643. width: remtovw(1.02);
  644. height: remtovw(0.44);
  645. background-image: url("~@/assets/img/vip/icon_discount_brown.png");
  646. background-size: 100%;
  647. background-repeat: no-repeat;
  648. line-height: remtovw(0.44);
  649. text-indent: remtovw(0.16);
  650. font-size: remtovw(0.22);
  651. color: #e1a83f;
  652. }
  653. .item-include {
  654. margin-right: remtovw(0.35);
  655. width: remtovw(0.3);
  656. height: remtovw(0.2);
  657. }
  658. .tips-wrapper {
  659. overflow: hidden;
  660. margin-top: 10px;
  661. padding-bottom: remtovw(0.39);
  662. background-color: #ffffff;
  663. }
  664. .tips-title {
  665. margin-top: remtovw(0.36);
  666. margin-left: remtovw(0.2);
  667. line-height: remtovw(0.4);
  668. font-weight: 600;
  669. font-size: remtovw(0.28);
  670. color: #666666;
  671. }
  672. .tips-content {
  673. margin-top: remtovw(0.18);
  674. margin-left: remtovw(0.2);
  675. width: remtovw(6.8);
  676. line-height: remtovw(0.56);
  677. font-size: remtovw(0.26);
  678. color: #999999;
  679. }
  680. .green {
  681. background-color: #00bf66;
  682. }
  683. .yellow {
  684. background-color: #d89823;
  685. }
  686. .blue {
  687. background-color: #308eff;
  688. }
  689. .dev-wrapper {
  690. margin: 0;
  691. padding-bottom: 84px;
  692. }
  693. .buy-dev-btn {
  694. position: fixed;
  695. z-index: 11;
  696. width: calc(100% - 20px);
  697. height: 40px;
  698. line-height: 40px;
  699. left: 10px;
  700. bottom: 32px;
  701. opacity: 1;
  702. background: #e1a83f;
  703. border-radius: 6px;
  704. font-size: 15px;
  705. font-family: PingFangSC, PingFangSC-Medium;
  706. font-weight: 500;
  707. text-align: center;
  708. color: #ffffff;
  709. cursor: pointer;
  710. }
  711. </style>