header.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. <template>
  2. <div id="proginn-header" :class="{ transparent: transparent }">
  3. <div class="list">
  4. <a :href="baseUrl" class="nav-item">
  5. <img
  6. class="logo"
  7. :src="
  8. transparent
  9. ? WhiteLogo
  10. : 'https://stacdn.proginn.com/image/common/logo3@2x.png'
  11. "
  12. />
  13. </a>
  14. <a :href="baseUrl" class="nav-item">首页</a>
  15. <a :href="baseUrl + '/users'" class="nav-item">程序员</a>
  16. <div class="dropDownArea">
  17. <el-button type="text" class="dashboard-title">技术人力</el-button>
  18. <el-button type="text" class="dashboard-title">开发</el-button>
  19. <div class="showDropDownArea">
  20. <div class="contentArea">
  21. <div class="leftSelect">
  22. <div
  23. class="downCell"
  24. v-for="(item, index) in dropDownData"
  25. @mouseover="selectedDrop = index"
  26. :class="{ choosed: index === selectedDrop }"
  27. >
  28. <div class="cnName">{{ item.title }}</div>
  29. <div class="enName">{{ item.titleEn }}</div>
  30. </div>
  31. </div>
  32. <div class="rightShow">
  33. <div
  34. class="rightBigCell"
  35. v-for="(big, bigIndex) in dropDownData"
  36. :class="{ ok: selectedDrop === bigIndex }"
  37. >
  38. <a
  39. class="smallCell"
  40. v-for="(small, smallIndex) in big.list"
  41. :href="small.href"
  42. :target="small.blank ? '_blank' : ''"
  43. >
  44. <div class="cellLeftIcon">
  45. <img :src="small.icon" alt="" />
  46. </div>
  47. <div class="cellRightArea">
  48. <div class="cellRightName">{{ small.title }}</div>
  49. <div class="cellRightDesc">{{ small.desc }}</div>
  50. </div>
  51. </a>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <div>
  58. <div style="position: relative;">
  59. <input
  60. class="input"
  61. autocomplete="off"
  62. placeholder="搜索您感兴趣的解决方案"
  63. v-model="keywork"
  64. @keyup.enter="clickInputEnter"
  65. />
  66. <i class="el-icon-search" @click="clickInputEnter"></i>
  67. </div>
  68. <div class="dropdown" style="display:none;"></div>
  69. <div class="dropdown" style="display:none;"></div>
  70. </div>
  71. <template v-if="myInfo.nickname">
  72. <el-dropdown class="nav-dropdown">
  73. <el-button type="text" class="dashboard-title">
  74. <i class="el-icon-tickets"></i>工作台
  75. </el-button>
  76. <el-dropdown-menu slot="dropdown">
  77. <el-dropdown-item>
  78. <a class="workstation" :href="baseUrl + '/wo/work_todo'">
  79. <i class="el-icon-edit"></i>我的待办
  80. </a>
  81. </el-dropdown-item>
  82. <el-dropdown-item>
  83. <a class="workstation" :href="baseUrl + '/wo/work_platform'">
  84. <i class="el-icon-date"></i>我的项目
  85. </a>
  86. </el-dropdown-item>
  87. <el-dropdown-item>
  88. <a class="workstation" :href="baseUrl + '/wo/work_hire'">
  89. <i class="el-icon-news"></i>我的雇佣
  90. </a>
  91. </el-dropdown-item>
  92. <el-dropdown-item>
  93. <a class="workstation" :href="baseUrl + '/wo/work_cloud'">
  94. <i class="el-icon-service"></i>我的远程
  95. </a>
  96. </el-dropdown-item>
  97. </el-dropdown-menu>
  98. </el-dropdown>
  99. <el-dropdown class="nav-dropdown">
  100. <el-button type="text" class="message-box-title">
  101. <i class="el-icon-message"></i>消息
  102. <span
  103. v-if="messageCount.total > 0"
  104. class="message-count message-total"
  105. >{{ messageCount.total }}</span
  106. >
  107. </el-button>
  108. <el-dropdown-menu slot="dropdown">
  109. <el-dropdown-item
  110. class="message-box"
  111. @click.native="clickMessages('/message/system')"
  112. >
  113. <i class="circle blue"></i>系统消息
  114. <span v-if="messageCount.system" class="message-count">{{
  115. messageCount.system
  116. }}</span>
  117. </el-dropdown-item>
  118. <el-dropdown-item
  119. class="message-box"
  120. @click.native="clickMessages('/message/project')"
  121. >
  122. <i class="circle orange"></i>工作通知
  123. <span v-if="messageCount.work" class="message-count">{{
  124. messageCount.work
  125. }}</span>
  126. </el-dropdown-item>
  127. <el-dropdown-item
  128. class="message-box"
  129. @click.native="clickMessages('/message/comment')"
  130. >
  131. <i class="circle red"></i>评论回复
  132. <span v-if="messageCount.reply" class="message-count">{{
  133. messageCount.reply
  134. }}</span>
  135. </el-dropdown-item>
  136. <el-dropdown-item
  137. class="message-box"
  138. @click.native="clickMessages('/message/at')"
  139. >
  140. <i class="circle green"></i>@我的
  141. <span v-if="messageCount.at" class="message-count">{{
  142. messageCount.at
  143. }}</span>
  144. </el-dropdown-item>
  145. <el-dropdown-item
  146. class="message-box"
  147. @click.native="clickMessages('/message/plus')"
  148. >
  149. <i class="circle pink"></i>赞及其它
  150. <span v-if="messageCount.community_other" class="message-count">{{
  151. messageCount.community_other
  152. }}</span>
  153. </el-dropdown-item>
  154. <el-dropdown-item
  155. class="message-box"
  156. @click.native="clickMessages('/message/coin')"
  157. >
  158. <i class="circle yellow"></i>收支信息
  159. <span v-if="messageCount.balance" class="message-count">{{
  160. messageCount.balance
  161. }}</span>
  162. </el-dropdown-item>
  163. </el-dropdown-menu>
  164. </el-dropdown>
  165. <el-popover
  166. class="nav-popover"
  167. placement="bottom"
  168. width="226"
  169. trigger="hover"
  170. >
  171. <div class="ref" slot="reference">
  172. <a class="nav-header" :href="baseUrl + '/wo/work_todo'">
  173. <img class="header-user" :src="myInfo.icon_url" />
  174. <img
  175. v-if="myInfo.is_vip"
  176. class="header-vip-icon"
  177. :src="baseUrl + `/Public/image/h5/vip_icon${vipImage}.png`"
  178. alt="vip-icon"
  179. />
  180. </a>
  181. <span class="nickname">{{ myInfo.nickname }}</span>
  182. </div>
  183. <div class="menu">
  184. <div v-if="myInfo.is_vip" class="vip-info vip-info-com">
  185. <div class="vip-info-top">
  186. <img
  187. class="vip-icon"
  188. :src="baseUrl + `/Public/image/h5/vip_icon${vipImage}.png`"
  189. alt="vip-icon"
  190. />
  191. <span class="vip-content">
  192. <span class="vip-title" :class="vipTextClass">{{
  193. vipText
  194. }}</span>
  195. <br />
  196. <span class="vip-end-date">{{ vipInfo.endDate }}到期</span>
  197. </span>
  198. </div>
  199. <div class="vip-arcs">
  200. <a
  201. class="vip-arc"
  202. :class="vipTextClass"
  203. :href="baseUrl + '/type/vip/' + vipType"
  204. >查看权益</a
  205. >
  206. <a
  207. class="vip-arc"
  208. :class="vipTextClass"
  209. :href="
  210. baseUrl +
  211. '/vip/pay?number=3&amp;product_id=' +
  212. this.$store.state.userinfo.vip_type_id +
  213. '&amp;next=/type/vip/' +
  214. vipType
  215. "
  216. >立即续费</a
  217. >
  218. </div>
  219. </div>
  220. <div class="vip-items">
  221. <a class="vip-item divider" :href="baseUrl + '/wo/work_platform'">
  222. <i class="el-icon-date"></i>我的项目
  223. </a>
  224. <a class="vip-item" :href="baseUrl + '/wo/work_hire'">
  225. <i class="el-icon-news"></i>我的雇佣
  226. </a>
  227. <a class="vip-item" :href="baseUrl + '/wo/work_cloud'">
  228. <i class="el-icon-service"></i>我的远程
  229. </a>
  230. <a
  231. class="vip-item divider"
  232. :href="baseUrl + `/wo/manage_homepage/`"
  233. >
  234. <i class="el-icon-document"></i>我的主页
  235. </a>
  236. <a class="vip-item" :href="baseUrl + '/credit/pages'">
  237. <i class="el-icon-credit"></i>技术信用
  238. </a>
  239. <a
  240. class="vip-item"
  241. :href="baseUrl + '/otherpage/user/collection'"
  242. >
  243. <i class="el-icon-collection"></i>收藏中心
  244. </a>
  245. <a class="vip-item divider" :href="baseUrl + '/index/app'">
  246. <i class="el-icon-download-app"></i>APP下载
  247. </a>
  248. <a class="vip-item" @click="clickQuit">
  249. <i class="el-icon-back" style="margin: 0 10px !important;"></i
  250. >退出
  251. </a>
  252. </div>
  253. </div>
  254. </el-popover>
  255. </template>
  256. <div v-else>
  257. <a
  258. class="account-ctrl"
  259. style="margin-right: 40px"
  260. :href="baseUrl + '/index/app'"
  261. >APP下载</a
  262. >
  263. <a class="account-ctrl" :href="loginUrl">登录</a>
  264. <a
  265. class="account-ctrl"
  266. style="margin-left: 40px;"
  267. :href="baseUrl + '/user/register'"
  268. >注册</a
  269. >
  270. </div>
  271. </div>
  272. </div>
  273. </template>
  274. <script>
  275. import WhiteLogo from "@/assets/img/white_logo@2x.png";
  276. import DropDownData from "./headers/dropDownData.js";
  277. export default {
  278. props: ["transparent"],
  279. data() {
  280. return {
  281. baseUrl: "",
  282. jishuBaseUrl: "",
  283. kaifainUrl: "",
  284. jobUrl: "",
  285. // 搜索的关键词
  286. keywork: "",
  287. // 消息数量
  288. messageCount: {},
  289. WhiteLogo,
  290. loginUrl: "",
  291. dropDownData: [],
  292. selectedDrop: 0,
  293. showDropDown: false
  294. };
  295. },
  296. computed: {
  297. vipInfo() {
  298. let userinfo = this.$store.state.userinfo;
  299. return {
  300. id: userinfo.vip_type_id,
  301. endDate: userinfo.vip_end_date
  302. };
  303. },
  304. myInfo() {
  305. return this.$store.state.userinfo;
  306. },
  307. isCom() {
  308. return this.$store.state.userinfo.vip_type_id === "1";
  309. },
  310. vipImage() {
  311. switch (parseInt(this.$store.state.userinfo.vip_type_id)) {
  312. case 1:
  313. return "_com";
  314. case 2:
  315. return "";
  316. case 3:
  317. return "_premium";
  318. default:
  319. return "";
  320. }
  321. },
  322. vipType() {
  323. switch (parseInt(this.$store.state.userinfo.vip_type_id)) {
  324. case 1:
  325. case 3:
  326. return "enterprise";
  327. break;
  328. case 2:
  329. return "developer";
  330. }
  331. },
  332. vipTextClass() {
  333. switch (parseInt(this.$store.state.userinfo.vip_type_id)) {
  334. case 1:
  335. return "is-newly";
  336. case 2:
  337. return "is-dev";
  338. case 3:
  339. return "is-premium";
  340. default:
  341. return "";
  342. }
  343. },
  344. vipText() {
  345. switch (parseInt(this.$store.state.userinfo.vip_type_id)) {
  346. case 1:
  347. return "初创版会员";
  348. case 2:
  349. return "开发者会员";
  350. case 3:
  351. return "企业版会员";
  352. default:
  353. return "";
  354. }
  355. }
  356. },
  357. mounted() {
  358. // console.error(this.app.co)
  359. if (this.myInfo && this.myInfo.nickname) {
  360. this.getMessageCount();
  361. }
  362. this.loginUrl =
  363. this.baseUrl +
  364. "/?loginbox=show&next=" +
  365. encodeURIComponent(location.href);
  366. this.keywork = this.$route.query.keyword;
  367. // console.log("this.keywork = ", this.key)
  368. },
  369. methods: {
  370. async clickQuit() {
  371. location.href = this.baseUrl + "/user/quit";
  372. },
  373. clickMessages(url) {
  374. location.href = this.baseUrl + url;
  375. },
  376. clickInputEnter() {
  377. let url = "";
  378. console.log(this.$route)
  379. if (this.$route.name === "job") {
  380. url = "/?keyword=" + this.keywork;
  381. } else if (this.$route.name==="user-searchTopic") {
  382. url = "/user/searchTopic?keyword=" + this.keywork;
  383. }
  384. console.log(url);
  385. window.location.href = url;
  386. },
  387. async getMessageCount() {
  388. let res = await this.$axios.$get(
  389. "/api/message/getUnreadCount",
  390. {},
  391. { neverLogout: true }
  392. );
  393. if (res) {
  394. this.messageCount = res.data;
  395. }
  396. }
  397. },
  398. created() {
  399. this.dropDownData = DropDownData(this.$store.state.domainConfig);
  400. this.baseUrl = this.$store.state.domainConfig.siteUrl;
  401. this.jishuBaseUrl = this.$store.state.domainConfig.jishuinUrl;
  402. this.kaifainUrl = this.$store.state.domainConfig.kaifainUrl;
  403. this.jobUrl = this.$store.state.domainConfig.jobUrl;
  404. }
  405. };
  406. </script>
  407. <style lang="scss" scoped>
  408. .dropDownArea {
  409. position: relative;
  410. .showDropDownArea {
  411. display: none;
  412. }
  413. &:hover {
  414. .showDropDownArea {
  415. padding-top: 60px;
  416. display: block;
  417. position: absolute;
  418. left: 0;
  419. top: 0;
  420. background: transparent;
  421. transform: translateX(-30%);
  422. .contentArea {
  423. display: flex;
  424. box-sizing: content-box;
  425. width: 830px;
  426. height: 550px;
  427. background: #ffffff;
  428. border-radius: 6px;
  429. box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.06);
  430. .leftSelect {
  431. width: 180px;
  432. height: 100%;
  433. background: #f4f5f9;
  434. .downCell {
  435. height: 75px;
  436. box-sizing: border-box;
  437. padding-left: 30px;
  438. display: flex;
  439. justify-content: center;
  440. flex-direction: column;
  441. .cnName {
  442. height: 23px;
  443. font-size: 17px;
  444. text-align: left;
  445. color: #222222;
  446. line-height: 23px;
  447. font-weight: 600;
  448. }
  449. .enName {
  450. height: 17px;
  451. font-size: 12px;
  452. text-align: left;
  453. color: #999999;
  454. line-height: 17px;
  455. }
  456. &.choosed {
  457. background: #fff;
  458. position: relative;
  459. &:after {
  460. position: absolute;
  461. content: "";
  462. width: 3px;
  463. height: 31px;
  464. background: #308eff;
  465. left: 0;
  466. top: 50%;
  467. transform: translateY(-50%);
  468. }
  469. }
  470. }
  471. }
  472. .rightShow {
  473. width: 650px;
  474. background: #fff;
  475. height: 100%;
  476. box-sizing: border-box;
  477. padding: 0 34px 0 23px;
  478. .rightBigCell {
  479. display: flex;
  480. justify-content: space-between;
  481. width: 594px;
  482. height: auto;
  483. box-shadow: 0px -1px 0px 0px #e2e8ee inset;
  484. padding-bottom: 14px;
  485. box-sizing: border-box;
  486. flex-wrap: wrap;
  487. &:last-child {
  488. box-shadow: none;
  489. }
  490. .smallCell {
  491. height: 110px;
  492. margin-top: 14px;
  493. display: flex;
  494. justify-content: flex-start;
  495. align-items: center;
  496. width: 280px;
  497. cursor: pointer;
  498. box-sizing: border-box;
  499. padding-left: 40px;
  500. border-radius: 12px;
  501. .cellLeftIcon {
  502. flex-shrink: 0;
  503. width: 40px;
  504. height: 40px;
  505. img {
  506. width: 40px;
  507. height: 40px;
  508. }
  509. }
  510. .cellRightArea {
  511. margin-left: 11px;
  512. .cellRightName {
  513. height: 24px;
  514. font-size: 18px;
  515. text-align: left;
  516. color: #222222;
  517. line-height: 24px;
  518. font-weight: 600;
  519. }
  520. .cellRightDesc {
  521. margin-top: 1px;
  522. height: 19px;
  523. font-size: 14px;
  524. text-align: left;
  525. color: #999999;
  526. line-height: 19px;
  527. }
  528. }
  529. }
  530. &.ok {
  531. .smallCell {
  532. background-color: rgb(238, 246, 254);
  533. }
  534. }
  535. }
  536. }
  537. }
  538. }
  539. }
  540. }
  541. </style>
  542. <style scoped>
  543. #proginn-header {
  544. position: relative;
  545. display: flex;
  546. justify-content: center;
  547. width: 100%;
  548. background: white;
  549. z-index: 10;
  550. }
  551. .list {
  552. display: flex;
  553. justify-content: space-between;
  554. align-items: center;
  555. width: 1000px;
  556. }
  557. .nav-item {
  558. display: flex;
  559. height: 83px;
  560. align-items: center;
  561. font-size: 15px;
  562. color: #515151;
  563. /* padding: 0 15px; */
  564. box-sizing: border-box;
  565. }
  566. .nav-item:first-child {
  567. padding: 0;
  568. }
  569. .nav-item:nth-child(n + 2):hover {
  570. color: #1782d9;
  571. border-top: 5px solid transparent;
  572. border-bottom: 5px solid #1782d9;
  573. }
  574. .nav-dropdown,
  575. .nav-popover {
  576. --imgWidth: 28px;
  577. height: 40px;
  578. display: flex;
  579. align-items: center;
  580. }
  581. .nav-popover > .ref {
  582. display: flex;
  583. align-items: center;
  584. }
  585. .nav-header {
  586. position: relative;
  587. width: var(--imgWidth);
  588. height: var(--imgWidth);
  589. margin-right: 5px;
  590. }
  591. .logo {
  592. width: 140px;
  593. height: auto;
  594. }
  595. .input {
  596. width: 234px;
  597. height: 40px;
  598. border-radius: 20px;
  599. background: #f6f6f6;
  600. padding: 0 40px;
  601. border: 1px solid #ebebeb;
  602. font-size: 13px;
  603. }
  604. .el-icon-search {
  605. position: absolute;
  606. top: 12px;
  607. right: 20px;
  608. color: grey;
  609. cursor: pointer;
  610. }
  611. .el-icon-credit {
  612. background: url("~@/assets/img/header/creditIconMine.png") no-repeat;
  613. background-size: cover;
  614. width: 16px;
  615. height: 16px;
  616. vertical-align: middle;
  617. margin: 0 9px !important;
  618. }
  619. .el-icon-download-app {
  620. background: url("~@/assets/img/header/download@2x.png") no-repeat;
  621. background-size: cover;
  622. width: 16px;
  623. height: 16px;
  624. vertical-align: middle;
  625. margin: 0 9px !important;
  626. }
  627. .el-icon-search::before {
  628. font-size: 14px;
  629. font-weight: 800;
  630. }
  631. i {
  632. margin-right: 4px;
  633. }
  634. i.circle {
  635. display: inline-block;
  636. --width: 12px;
  637. width: var(--width);
  638. height: var(--width);
  639. border-radius: calc(var(--width) / 2);
  640. }
  641. i.blue {
  642. background: #3b83c0;
  643. }
  644. i.orange {
  645. background: #e07b53;
  646. }
  647. i.red {
  648. background: #d95c5c;
  649. }
  650. i.green {
  651. background: #5bbd72;
  652. }
  653. i.pink {
  654. background: #d9499a;
  655. }
  656. i.yellow {
  657. background: #f2c61f;
  658. }
  659. .message-box {
  660. position: relative;
  661. display: flex;
  662. align-items: center;
  663. }
  664. .message-count {
  665. color: white;
  666. margin-left: 4px;
  667. display: block;
  668. line-height: 18px;
  669. padding: 0 8px;
  670. border-radius: 9px;
  671. background: grey;
  672. }
  673. .message-count.message-total {
  674. position: absolute;
  675. top: 0px;
  676. right: -10px;
  677. background: #d95c5c;
  678. }
  679. span.other-icon {
  680. display: block;
  681. margin-left: 30px;
  682. }
  683. .nickname {
  684. font-size: 15px;
  685. }
  686. .vip-info {
  687. display: flex;
  688. flex-direction: column;
  689. justify-content: center;
  690. align-items: center;
  691. width: 206px;
  692. height: 120px;
  693. }
  694. .vip-info-top {
  695. display: flex;
  696. width: 142px;
  697. }
  698. .vip-title {
  699. color: #cb9d53;
  700. font-size: 16px;
  701. line-height: 36px;
  702. }
  703. .vip-icon {
  704. width: 24px;
  705. height: 24px;
  706. margin: 10px 8px 0 0;
  707. }
  708. .vip-end-date {
  709. font-size: 12px;
  710. color: #999;
  711. }
  712. .vip-arcs {
  713. display: flex;
  714. justify-content: space-between;
  715. width: 142px;
  716. margin-top: 11px;
  717. }
  718. .vip-arc {
  719. flex: 1;
  720. font-size: 13px;
  721. color: #cb9d53;
  722. text-align: center;
  723. }
  724. .vip-arc:first-child {
  725. border-right: 1px solid rgba(245, 245, 245, 1);
  726. }
  727. .vip-info-com .vip-title {
  728. color: rgb(113, 177, 253);
  729. }
  730. .vip-info-com .vip-arc {
  731. color: rgb(113, 177, 253);
  732. }
  733. .header-user {
  734. width: var(--imgWidth);
  735. height: var(--imgWidth);
  736. border-radius: 20px;
  737. }
  738. .header-vip-icon {
  739. position: absolute;
  740. top: 16px;
  741. left: 18px;
  742. width: 16px;
  743. height: 16px;
  744. }
  745. .vip-items {
  746. display: flex;
  747. flex-direction: column;
  748. }
  749. .vip-item {
  750. line-height: 32px;
  751. color: #606266;
  752. }
  753. .vip-item > i {
  754. margin: 0 10px;
  755. }
  756. .divider {
  757. border-top: 1px solid rgba(0, 0, 0, 0.05);
  758. margin-top: 10px;
  759. padding-top: 10px;
  760. cursor: pointer;
  761. }
  762. .vip-info-com .is-dev {
  763. color: #cb9d53;
  764. }
  765. .vip-info-com .is-newly {
  766. color: #308eff;
  767. }
  768. .vip-info-com .is-premium {
  769. color: #00c469;
  770. }
  771. .workstation {
  772. color: #606266;
  773. }
  774. .account-ctrl {
  775. color: #606266;
  776. font-size: 15px;
  777. }
  778. #proginn-header a {
  779. text-decoration: none !important;
  780. }
  781. #proginn-header.transparent {
  782. background: transparent;
  783. border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  784. }
  785. #proginn-header.transparent a {
  786. color: white;
  787. }
  788. .message-box-title,
  789. .dashboard-title {
  790. color: #515151;
  791. font-size: 15px;
  792. }
  793. #proginn-header.transparent .message-box-title,
  794. #proginn-header.transparent .dashboard-title {
  795. color: white;
  796. }
  797. #proginn-header.transparent .nickname {
  798. color: white;
  799. }
  800. </style>