mobile.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  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_233 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>
  128. <!-- <div class="list" v-show="active===0">
  129. <div class="item">
  130. <div class="item-title">· 整包项目-平台服务费(减免{{detail.project_reduction_rate}}%)</div>
  131. <div class="item-discount">{{detail.project_discount}}折</div>
  132. </div>
  133. <div class="item">
  134. <div class="item-title">· 云端工作-平台服务费(减免{{detail.job_reduction_rate}}%)</div>
  135. <div class="item-discount">{{detail.job_discount}}折</div>
  136. </div>
  137. <div class="item">
  138. <div class="item-title">· 认证的自由开发者可同时接2单</div>
  139. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt />
  140. </div>
  141. </div>-->
  142. <div class="list app__bg_w app__mt_10" v-show="active===1 && current===0">
  143. <div class="item">
  144. <div class="item-title">· 整包项目-平台服务费(减免{{ detail.project_reduction_rate }}%)</div>
  145. <div class="item-discount">{{ detail.project_discount }}折</div>
  146. </div>
  147. <div class="item">
  148. <div class="item-title">· 云端工作-平台服务费(减免{{ detail.job_reduction_rate }}%)</div>
  149. <div class="item-discount">{{ detail.job_discount }}折</div>
  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.hire_times }}次雇佣项目发布次数</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>
  164. <div class="list app__bg_w app__mt_10" v-show="active===1 && current===1">
  165. <div class="item">
  166. <div class="item-title">· 整包项目-平台服务费(减免{{ detail.project_reduction_rate }}%)</div>
  167. <div class="item-discount">{{ detail.project_discount }}折</div>
  168. </div>
  169. <div class="item">
  170. <div class="item-title">· 云端工作-平台服务费(减免{{ detail.job_reduction_rate }}%)</div>
  171. <div class="item-discount">{{ detail.job_discount }}折</div>
  172. </div>
  173. <div class="item">
  174. <div class="item-title">· 每天不限次程序员聊天次数</div>
  175. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  176. </div>
  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">· 免费进行企业认证</div>
  183. <img class="item-include" src="@/assets/img/vip/icon_include_brown.png" alt/>
  184. </div>
  185. </div>
  186. <!-- <h4 class="app__pl_20 app__pt_10">会员权益</h4>-->
  187. <div class="tips-wrapper">
  188. <div class="tips-title">会员说明</div>
  189. <div class="tips-content">
  190. <p>1.购买会员按季付费;</p>
  191. <p>2.开通会员即代表您已同意《程序员客栈会员服务条款》;</p>
  192. <p>3.如有任何问题,欢迎咨询在线客服,或拨打热线:0571-28120931 转1。</p>
  193. </div>
  194. </div>
  195. </div>
  196. <buy-dialog
  197. :handleClose="handleClose"
  198. :buyDialog="buyDialog"
  199. :gotoPay="gotoPay"
  200. :type="type"
  201. :item="detail"
  202. :vipDetail="vipDetail"
  203. :pricePrefix="pricePrefix"
  204. ></buy-dialog>
  205. </div>
  206. </template>
  207. <script>
  208. let touchX = 0;
  209. import getDeviceType from "@/mixins/getDeviceType";
  210. import qs from "qs";
  211. import buyDialog from "./buy-dialog";
  212. import bridge from '../../../plugins/bridge';
  213. export default {
  214. props: ["com", "dev", "pre", "vipDetail"],
  215. data() {
  216. const _this = this;
  217. return {
  218. active: 0,
  219. current: 0,
  220. swiperOption: {
  221. loop: false,
  222. slidesPerView: "auto",
  223. centeredSlides: true,
  224. spaceBetween: 30,
  225. pagination: {
  226. el: ".swiper-pagination",
  227. dynamicBullets: true,
  228. },
  229. on: {
  230. slideChange() {
  231. _this.current = this.realIndex;
  232. if (bridge.isInApp) {
  233. if (_this.active === 1 && _this.current === 0) {
  234. bridge.setNavigationBarColor('#308EFF');
  235. _this.currentType = 1;
  236. } else if (_this.active === 1 && _this.current === 1) {
  237. bridge.setNavigationBarColor('#00BF66');
  238. _this.currentType = 3;
  239. }
  240. }
  241. },
  242. },
  243. },
  244. buyDialog: false,
  245. type: "com", // com: 企业会员, dev: 开发者会员
  246. currentType: 2,
  247. vipInfo: {}
  248. };
  249. },
  250. components: {
  251. buyDialog,
  252. },
  253. mixins: [getDeviceType],
  254. computed: {
  255. endTimeCalc() {
  256. return "有效期至" + this.userInfo.vip_end_date;
  257. },
  258. detail() {
  259. if (this.active === 0) {
  260. return this.dev;
  261. } else if (this.active === 1) {
  262. if (this.current === 0) {
  263. return this.com;
  264. } else if (this.current === 1) {
  265. return this.pre;
  266. } else {
  267. return [];
  268. }
  269. }
  270. },
  271. vipType() {
  272. return this.userInfo.vip_type || 0;
  273. },
  274. userInfo() {
  275. return this.vipDetail.user_info || {};
  276. },
  277. pricePrefix() {
  278. return this.deviceType === "ios" ? "apple_" : "";
  279. },
  280. vipName() {
  281. if (this.active === 0) {
  282. return "开发者会员";
  283. } else if (this.active === 1) {
  284. if (this.current === 0) {
  285. return "初创版会员";
  286. } else if (this.current === 1) {
  287. return "企业版会员";
  288. }
  289. }
  290. },
  291. vipColor() {
  292. if (this.active === 0) {
  293. return "yellow";
  294. } else if (this.active === 1) {
  295. if (this.current === 0) {
  296. return "blue";
  297. } else if (this.current === 1) {
  298. return "green";
  299. }
  300. }
  301. },
  302. },
  303. mounted() {
  304. const activeName = this.$route.query.activeName;
  305. const current = this.$route.query.current;
  306. if (activeName === "enterprise") {
  307. this.active = 1;
  308. } else {
  309. this.active = 0;
  310. }
  311. if (current === "1") {
  312. this.current = 1;
  313. }
  314. if (bridge.isInApp) {
  315. if (this.active === 0) {
  316. bridge.setNavigationBarColor('#B07F29');
  317. } else if (this.active === 1 && this.current === 0) {
  318. bridge.setNavigationBarColor('#308EFF');
  319. } else if (this.active === 1 && this.current === 1) {
  320. bridge.setNavigationBarColor('#00BF66');
  321. }
  322. }
  323. this.getVipInfo();
  324. },
  325. methods: {
  326. clickPay(type) {
  327. this.type = type;
  328. this.buyDialog = true;
  329. // location.href = `/vip/pay?product_id=${item.id}&number=3&next=/type/vip/`;
  330. },
  331. handleClose() {
  332. this.buyDialog = false;
  333. },
  334. async gotoPay(number) {
  335. const item = this[this.type];
  336. let query = {
  337. product_type: 11,
  338. number: number,
  339. product_id: item.id,
  340. };
  341. // if (this.deviceType === "ios") {
  342. // // alert('ios begin pay..');
  343. // let cookie = this.getSign();
  344. // let res = await this.$axios.$post("/api/vip/pay", {
  345. // product_type: 11,
  346. // number: number,
  347. // product_id: item.id,
  348. // channel: "apple",
  349. // needLogin: true,
  350. // ...cookie
  351. // });
  352. // if (res && res.data) {
  353. // query = Object.assign({}, query, res.data);
  354. // location.href = "proginn://pay?" + qs.stringify(query);
  355. // }
  356. // } else {
  357. location.href = "proginn://pay?" + qs.stringify(query);
  358. // }
  359. },
  360. /**
  361. * 手指右划
  362. */
  363. swipeRight() {
  364. this.currentCom = false;
  365. },
  366. /**
  367. * 手指左划
  368. */
  369. swipeLeft() {
  370. this.currentCom = true;
  371. },
  372. touchStart(e) {
  373. touchX = e.touches[0].clientX;
  374. },
  375. touchEnd(e) {
  376. var offsetX = e.changedTouches[0].clientX - touchX;
  377. if (offsetX < -50) this.swipeLeft();
  378. else if (offsetX > 50) this.swipeRight();
  379. },
  380. handleSwitchClick(index) {
  381. this.active = index;
  382. if (bridge.isInApp) {
  383. if (this.active === 0) {
  384. bridge.setNavigationBarColor('#B07F29');
  385. } else if (this.active === 1 && this.current === 0) {
  386. bridge.setNavigationBarColor('#308EFF');
  387. } else if (this.active === 1 && this.current === 1) {
  388. bridge.setNavigationBarColor('#00BF66');
  389. }
  390. }
  391. },
  392. viewRateDetail() {
  393. if (bridge.isAndroid) {
  394. location.href = `proginn://webview?url=${this.$store.state.domainConfig.siteUrl}/type/vip/orderRateDetail&title=会员中心`
  395. } else
  396. location.href = "/type/vip/orderRateDetail";
  397. },
  398. async getVipInfo() {
  399. let _this = this;
  400. let res = await this.$axios.$post(`/api/user/getUserVipInfo`);
  401. if (Number(res.status) === 1) {
  402. console.log("6666", res);
  403. this.vipInfo = res.data;
  404. }
  405. },
  406. },
  407. };
  408. </script>
  409. <style scoped lang="scss">
  410. @import "../../../assets/css/scssCommon.scss";
  411. @import "../../../assets/css/public.css";
  412. .wrapper {
  413. overflow: hidden;
  414. margin-top: 0;
  415. width: 100%;
  416. background-color: #f4f5f9;
  417. }
  418. .switch-bar {
  419. display: flex;
  420. background-color: #d89823;
  421. }
  422. .switch-bar-brown {
  423. background-color: #d89823;
  424. }
  425. .switch-bar-blue {
  426. background-color: #308eff;
  427. }
  428. .switch-bar-green {
  429. background-color: #00bf66;
  430. }
  431. .switch-item {
  432. flex: 1;
  433. padding-top: remtovw(0.4);
  434. padding-bottom: remtovw(0.15);
  435. }
  436. .switch-item .switch-item-title {
  437. line-height: remtovw(0.42);
  438. text-align: center;
  439. font-size: remtovw(0.3);
  440. color: #ffffff;
  441. }
  442. .switch-item .switch-item-border {
  443. margin: remtovw(0.18) auto 0;
  444. width: remtovw(0.6);
  445. height: remtovw(0.06);
  446. background-color: transparent;
  447. }
  448. .switch-item-active .switch-item-title {
  449. font-weight: 600;
  450. }
  451. .switch-item-active .switch-item-border {
  452. background-color: #ffffff;
  453. }
  454. .banner-brown-wrapper {
  455. background-color: #d89823;
  456. }
  457. .banner-brown {
  458. overflow: hidden;
  459. margin: 0 auto;
  460. width: remtovw(7);
  461. height: remtovw(2.9);
  462. background-image: url("~@/assets/img/vip/banner_brown.png");
  463. background-size: 100%;
  464. background-repeat: no-repeat;
  465. }
  466. .banner-blue-wrapper {
  467. background-color: #308eff;
  468. }
  469. .banner-blue {
  470. overflow: hidden;
  471. margin: 0 auto;
  472. width: remtovw(7);
  473. height: remtovw(2.9);
  474. background-image: url("~@/assets/img/vip/banner_blue.png");
  475. background-size: 100%;
  476. background-repeat: no-repeat;
  477. }
  478. .banner-green-wrapper {
  479. background-color: #00bf66;
  480. }
  481. .banner-green {
  482. overflow: hidden;
  483. margin: 0 auto;
  484. width: remtovw(7);
  485. height: remtovw(2.9);
  486. background-image: url("~@/assets/img/vip/banner_green.png");
  487. background-size: 100%;
  488. background-repeat: no-repeat;
  489. }
  490. .banner-content {
  491. margin-top: remtovw(1.12);
  492. display: flex;
  493. align-items: center;
  494. }
  495. .avatar {
  496. position: relative;
  497. margin-left: remtovw(0.32);
  498. width: remtovw(1.1);
  499. height: remtovw(1.1);
  500. }
  501. .avatar img {
  502. width: 100%;
  503. height: 100%;
  504. border-radius: 50%;
  505. border: remtovw(0.03) solid #e1a83f;
  506. }
  507. .name-wrapper {
  508. flex: 1;
  509. margin-left: remtovw(0.23);
  510. }
  511. .name {
  512. line-height: remtovw(0.48);
  513. font-weight: 500;
  514. font-size: remtovw(0.34);
  515. color: #222222;
  516. }
  517. .validity {
  518. margin-top: remtovw(0.02);
  519. line-height: remtovw(0.3);
  520. font-size: remtovw(0.22);
  521. color: rgba(34, 34, 34, 0.6);
  522. }
  523. .renew-btn {
  524. margin-right: remtovw(0.3);
  525. width: remtovw(1.54);
  526. height: remtovw(0.64);
  527. border-radius: remtovw(0.32);
  528. background-color: #d89823;
  529. line-height: remtovw(0.64);
  530. font-weight: 600;
  531. text-align: center;
  532. font-size: remtovw(0.26);
  533. color: #ffffff;
  534. }
  535. .content {
  536. overflow: hidden;
  537. background-color: #ffffff;
  538. }
  539. .title-wrapper {
  540. margin: 0 auto;
  541. width: remtovw(7.1);
  542. padding-bottom: remtovw(0.2);
  543. display: flex;
  544. }
  545. .title {
  546. flex: 1;
  547. margin-top: remtovw(0.17);
  548. margin-left: remtovw(0.24);
  549. line-height: remtovw(0.75);
  550. font-weight: 600;
  551. font-size: remtovw(0.29);
  552. color: #222222;
  553. }
  554. .price-wrapper {
  555. margin-top: remtovw(0.23);
  556. text-align: right;
  557. }
  558. .monthly-price-wrapper {
  559. display: flex;
  560. }
  561. .monthly-origin-price {
  562. margin-top: remtovw(0.17);
  563. line-height: remtovw(0.3);
  564. font-size: remtovw(0.22);
  565. color: #919aa7;
  566. text-decoration: line-through;
  567. }
  568. .monthly-discount-price {
  569. margin-left: remtovw(0.07);
  570. line-height: remtovw(0.62);
  571. font-size: remtovw(0.24);
  572. color: #222222;
  573. }
  574. .monthly-discount-price span {
  575. font-weight: 600;
  576. font-size: remtovw(0.45);
  577. }
  578. .quarterly-price {
  579. margin-top: remtovw(0.01);
  580. margin-right: remtovw(0.05);
  581. line-height: remtovw(0.33);
  582. font-size: remtovw(0.24);
  583. color: #666666;
  584. }
  585. .quarterly-price span {
  586. color: #333333;
  587. }
  588. .list {
  589. padding-top: remtovw(0.3);
  590. padding-bottom: remtovw(0.33);
  591. }
  592. .item {
  593. margin: 0 auto;
  594. width: remtovw(7.1);
  595. display: flex;
  596. align-items: center;
  597. }
  598. .item-title {
  599. flex: 1;
  600. line-height: remtovw(0.74);
  601. font-size: remtovw(0.28);
  602. color: #1d2a3a;
  603. }
  604. .item-discount {
  605. width: remtovw(1.02);
  606. height: remtovw(0.44);
  607. background-image: url("~@/assets/img/vip/icon_discount_brown.png");
  608. background-size: 100%;
  609. background-repeat: no-repeat;
  610. line-height: remtovw(0.44);
  611. text-indent: remtovw(0.16);
  612. font-size: remtovw(0.22);
  613. color: #e1a83f;
  614. }
  615. .item-include {
  616. margin-right: remtovw(0.35);
  617. width: remtovw(0.3);
  618. height: remtovw(0.2);
  619. }
  620. .tips-wrapper {
  621. overflow: hidden;
  622. margin-top: 10px;
  623. padding-bottom: remtovw(0.39);
  624. background-color: #ffffff;
  625. }
  626. .tips-title {
  627. margin-top: remtovw(0.36);
  628. margin-left: remtovw(0.2);
  629. line-height: remtovw(0.4);
  630. font-weight: 600;
  631. font-size: remtovw(0.28);
  632. color: #666666;
  633. }
  634. .tips-content {
  635. margin-top: remtovw(0.18);
  636. margin-left: remtovw(0.2);
  637. width: remtovw(6.8);
  638. line-height: remtovw(0.56);
  639. font-size: remtovw(0.26);
  640. color: #999999;
  641. }
  642. .green {
  643. background-color: #00bf66;
  644. }
  645. .yellow {
  646. background-color: #d89823;
  647. }
  648. .blue {
  649. background-color: #308eff;
  650. }
  651. </style>