articleShareDetail.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. <template>
  2. <div class="bookShare" :style="{background:bgColorList[activeIndex].contentBg}" v-if="articleInfo" :v-loading="loading">
  3. <div class="navBar" :class="['navBar-'+bgColorList[activeIndex].type]" :style="{background:bgColorList[activeIndex].navBg}">
  4. <div class="navBar-left" @click="cutLoginReg">
  5. <svg-icon icon-class="logo"></svg-icon>
  6. </div>
  7. <div class="navBar-right">
  8. <el-image
  9. :src="personTouxiang"
  10. fit="cover" style="width:24px;height:24px;margin:0 8px;border-radius:50%">
  11. </el-image>
  12. <span class="name">{{personName}}分享的文章</span>
  13. </div>
  14. </div>
  15. <div class="article-box">
  16. <div class="artricle-inner" :style="{background:bgColorList[activeIndex].contentInnerBg}">
  17. <!-- 文章 -->
  18. <div class="atricle-data">
  19. <normal-model :titleFontsize="wordFontsize+30" :wordFontsize="wordFontsize" :colorObj="bgColorList[activeIndex]" :articleType="articleType" :style="{'padding':'0 40px'}" v-if="menuType==='original'" :articleInfo="articleInfo"></normal-model>
  20. </div>
  21. <!-- 词汇表 -->
  22. <div class="glossary-box" :style="{borderTopColor:bgColorList[activeIndex].contentBg}">
  23. <div class="title" :style="{color:bgColorList[activeIndex].glossaryTitle}">
  24. <h2>词汇表</h2>
  25. <a @click="showGlossary=!showGlossary">{{showGlossary?'收起':'展开'}}</a>
  26. </div>
  27. <el-collapse-transition >
  28. <div v-if="showGlossary">
  29. <template v-if="articleInfo.art_voc_data.length>0">
  30. <h4 :style="{color:bgColorList[activeIndex].glossarySubtitle}">生词</h4>
  31. <new-word-list class="newWord-list" :list="articleInfo.art_voc_data" :style="{background:bgColorList[activeIndex].glossaryBg}" :colorObj="bgColorList[activeIndex]" :likeWordList="likeWordList" @changeLike="changeLike"></new-word-list>
  32. </template>
  33. <template v-if="articleInfo.art_phrase_data.length>0">
  34. <h4 :style="{color:bgColorList[activeIndex].glossarySubtitle}">短语</h4>
  35. <phrase-list class="newWord-list" :list="articleInfo.art_phrase_data" :style="{background:bgColorList[activeIndex].glossaryBg}" :colorObj="bgColorList[activeIndex]" :likePhraseList="likePhraseList" @changeLike="changeLike"></phrase-list>
  36. </template>
  37. <template v-if="articleInfo.art_explain_data.length>0">
  38. <h4 :style="{color:bgColorList[activeIndex].glossarySubtitle}">注释</h4>
  39. <annotation-list class="newWord-list" :list="articleInfo.art_explain_data" :style="{background:bgColorList[activeIndex].glossaryBg}" :colorObj="bgColorList[activeIndex]"></annotation-list>
  40. </template>
  41. </div>
  42. </el-collapse-transition>
  43. <div class="title" :style="{color:bgColorList[activeIndex].glossaryTitle,marginTop:'40px'}">
  44. <h2>详细统计</h2>
  45. </div>
  46. <h4 :style="{color:bgColorList[activeIndex].glossarySubtitle}">词汇信息</h4>
  47. <div class="word-info" v-if="articleInfo.art_corpus_data&&articleInfo.art_corpus_data.artStatInfo">
  48. <div :style="{background:bgColorList[activeIndex].glossaryBg}">
  49. <label :style="{color:bgColorList[activeIndex].statisticTitle}">文章长度</label>
  50. <span :style="{color:bgColorList[activeIndex].statisticValue}">{{articleInfo.art_corpus_data.artStatInfo.wc}}</span>
  51. </div>
  52. <div :style="{background:bgColorList[activeIndex].glossaryBg}">
  53. <label :style="{color:bgColorList[activeIndex].statisticTitle}">词汇数量</label>
  54. <span :style="{color:bgColorList[activeIndex].statisticValue}">{{articleInfo.art_corpus_data.artStatInfo.wdc}}</span>
  55. </div>
  56. <div :style="{background:bgColorList[activeIndex].glossaryBg}">
  57. <label :style="{color:bgColorList[activeIndex].statisticTitle}">平均词长</label>
  58. <span :style="{color:bgColorList[activeIndex].statisticValue}">{{articleInfo.art_corpus_data.artStatInfo.avgWordLen}}</span>
  59. </div>
  60. <div :style="{background:bgColorList[activeIndex].glossaryBg}">
  61. <label :style="{color:bgColorList[activeIndex].statisticTitle}">词汇密度</label>
  62. <span :style="{color:bgColorList[activeIndex].statisticValue}">{{articleInfo.art_corpus_data.artStatInfo.vocabDensity}}</span>
  63. </div>
  64. <div :style="{background:bgColorList[activeIndex].glossaryBg}">
  65. <label :style="{color:bgColorList[activeIndex].statisticTitle}">词汇难度</label>
  66. <span :style="{color:bgColorList[activeIndex].statisticValue}">{{articleInfo.art_corpus_data.artStatInfo.vocabHardLevel}}</span>
  67. </div>
  68. </div>
  69. <h4 :style="{color:bgColorList[activeIndex].glossarySubtitle}">词汇分布</h4>
  70. <div class="echarts-box" v-if="articleInfo&&articleInfo.art_corpus_data&&articleInfo.art_corpus_data.artStatInfo&&articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems">
  71. <ul class="echarts-type">
  72. <li v-for="(itemE,indexE) in articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems" :key="indexE"
  73. @mouseover="gaolangbzt(indexE, 'shanxing_main')"
  74. @mouseout="closegaolangbzt(indexE, 'shanxing_main')"
  75. :style="{background:bgColorList[activeIndex].type==='white'?itemE.bg:bgColorList[activeIndex].type==='darkGreen'?itemE.darkGreenBg:itemE.darkBg,color:bgColorList[activeIndex].type==='white'?itemE.color:bgColorList[activeIndex].type==='darkGreen'?itemE.darkGreenColor:itemE.darkColor,borderColor:bgColorList[activeIndex].type==='white'?itemE.border:bgColorList[activeIndex].type==='darkGreen'?itemE.darkGreenBorder:itemE.darkBorder}">
  76. <span class="name">{{itemE.vlCnName}}</span>
  77. <span class="number">{{itemE.value}}</span>
  78. <span class="percent">{{itemE.vocabPercentStr}}</span>
  79. </li>
  80. </ul>
  81. <div id="shanxing_main" style="height: 360px"></div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </template>
  88. <script>
  89. import NewWordList from './components/NewWordList.vue';
  90. import PhraseList from './components/PhraseList.vue';
  91. import AnnotationList from './components/AnnotationList.vue'
  92. import NormalModel from "./components/NormalModel.vue"
  93. import * as echarts from "echarts";
  94. import { getLogin } from "@/api/ajax";
  95. export default {
  96. name: 'articleDetail',
  97. computed: {
  98. },
  99. components: {
  100. NewWordList,
  101. PhraseList,
  102. AnnotationList,
  103. NormalModel,
  104. },
  105. data(){
  106. return{
  107. personTouxiang:localStorage.getItem('share_person_touxiang')?localStorage.getItem('share_person_touxiang'):require('../../assets/avatar.png'),
  108. personName:localStorage.getItem('share_person_name')?localStorage.getItem('share_person_name'):'',
  109. LoginNavIndex: 0,
  110. wordFontsize: 18, // 文章文字大小
  111. bgColorList:[
  112. {
  113. type:'white',
  114. contentBg:'#F2F3F5',
  115. contentInnerBg:'#FFFFFF',
  116. navBg:'#FFFFFF',
  117. border:'#E5E6EB',
  118. bg:'#FFFFFF',
  119. border_active:'#3459D2',
  120. boxBorder:'#E5E6EB',
  121. titleColor:'#1F2C5C',
  122. sourceColor:'#929CA8',
  123. contentColor:'#2F3742',
  124. btnColor:'#3459D2',
  125. glossaryTitle:'#2F3742',
  126. glossarySubtitle:'#4E5969',
  127. glossaryBg:'#F7F8FA',
  128. newWordColor:'#175DFF',
  129. newWordOtherColor:'#667180',
  130. newWordStar:'#FFB224',
  131. newWordType:{
  132. 'L0':{
  133. color:'#5B7217',
  134. bg:'#F1FCE3'
  135. },
  136. 'L1':{
  137. color:'#3D9A50',
  138. bg:'#EFFCEF'
  139. },
  140. 'L2':{
  141. color:'#0081F1',
  142. bg:'#E7F3FF'
  143. },
  144. 'L3':{
  145. color:'#3459D2',
  146. bg:'#EEF3FF'
  147. },
  148. 'LA':{
  149. color:'#E03177',
  150. bg:'#FFECF5'
  151. },
  152. 'LB':{
  153. color:'#CD2B31',
  154. bg:'#FFE8E8'
  155. },
  156. 'LC':{
  157. color:'#99A29E',
  158. bg:'#DFE4E2'
  159. },
  160. 'LD':{
  161. color:'#504F57',
  162. bg:'#C1C5CD'
  163. }
  164. },
  165. phraseColor:'#ED5F00',
  166. phraseOhterColor:'#2F3742',
  167. annotationTitle:'#4E5969',
  168. annotationOhter:'#667180',
  169. statisticTitle:'#2F3742',
  170. statisticValue:'#3459D2',
  171. menuBg:'#EEF3FF',
  172. audiobg:'#FFFFFF',
  173. audioBorder:'#EBEBEB'
  174. }
  175. ],
  176. activeIndex:0, // 选择主题色的索引
  177. showGlossary: true, // 是否展开词汇表
  178. wordInfo:{
  179. length: {
  180. label:'文章长度',
  181. value:463
  182. },
  183. number: {
  184. label:'词汇数量',
  185. value:236
  186. },
  187. averageLength: {
  188. label:'平均词长',
  189. value:4.52
  190. },
  191. lexicalDensity: {
  192. label:'词汇密度',
  193. value:0.51
  194. },
  195. wordDifficulty: {
  196. label:'词汇难度',
  197. value:2.05
  198. },
  199. },
  200. vocabularyType:{
  201. L0:{
  202. bg:'#F2FCE3',
  203. color:'#5B7217',
  204. darkBg:'#5B7217',
  205. border:'#F2FCE3',
  206. darkColor:'rgba(255, 255, 255, 0.64)',
  207. darkBorder:'rgba(255, 255, 255, 0.08)',
  208. darkGreenBg:'#F2FCE3',
  209. darkGreenColor:'#5B7217',
  210. darkGreenBorder:'#F2FCE3'
  211. },
  212. L1:{
  213. bg:'#EFFCEF',
  214. color:'#3D9A50',
  215. darkBg:'#2F6E3B',
  216. darkColor:'rgba(255, 255, 255, 0.64)',
  217. darkBorder:'rgba(255, 255, 255, 0.08)',
  218. darkGreenBg:'#EFFCEF',
  219. darkGreenColor:'#3D9A50',
  220. darkGreenBorder:'#EFFCEF'
  221. },
  222. L2:{
  223. bg:'#E7EEFF',
  224. color:'#175DFF',
  225. darkBg:'#006793',
  226. darkColor:'rgba(255, 255, 255, 0.64)',
  227. darkBorder:'rgba(255, 255, 255, 0.08)',
  228. darkGreenBg:'#E7F3FF',
  229. darkGreenColor:'#0081F1',
  230. darkGreenBorder:'#E7F3FF'
  231. },
  232. L3:{
  233. bg:'#EEF3FF',
  234. color:'#3459D2',
  235. darkBg:'#2C49AA',
  236. darkColor:'rgba(255, 255, 255, 0.64)',
  237. darkBorder:'rgba(255, 255, 255, 0.08)',
  238. darkGreenBg:'#EEF3FF',
  239. darkGreenColor:'#3459D2',
  240. darkGreenBorder:'#EEF3FF'
  241. },
  242. LA:{
  243. bg:'#FFECF5',
  244. color:'#E03177',
  245. darkBg:'#AE1955',
  246. darkColor:'rgba(255, 255, 255, 0.64)',
  247. darkBorder:'rgba(255, 255, 255, 0.08)',
  248. darkGreenBg:'#FFECF5',
  249. darkGreenColor:'#E03177',
  250. darkGreenBorder:'#FFECF5'
  251. },
  252. LB:{
  253. bg:'#FFE8E8',
  254. color:'#CD2B31',
  255. darkBg:'#8F2025',
  256. darkColor:'rgba(255, 255, 255, 0.64)',
  257. darkBorder:'rgba(255, 255, 255, 0.08)',
  258. darkGreenBg:'#FFE8E8',
  259. darkGreenColor:'#CD2B31',
  260. darkGreenBorder:'#FFE8E8'
  261. },
  262. LC:{
  263. bg:'#DFE4E2',
  264. color:'#99A29E',
  265. border:'rgba(0, 0, 0, 0.08)',
  266. darkBg:'#4A524E',
  267. darkColor:'rgba(255, 255, 255, 0.64)',
  268. darkBorder:'rgba(255, 255, 255, 0.08)',
  269. darkGreenBg:'#DFE4E2',
  270. darkGreenColor:'#4A524E',
  271. darkGreenBorder:'rgba(0, 0, 0, 0.08)'
  272. },
  273. LD:{
  274. bg:'#C1C5CD',
  275. color:'#504F57',
  276. darkBg:'#2F3742',
  277. darkColor:'rgba(255, 255, 255, 0.64)',
  278. darkBorder:'rgba(255, 255, 255, 0.08)',
  279. darkGreenBg:'#C1C5CD',
  280. darkGreenColor:'#504F57',
  281. darkGreenBorder:'#C1C5CD'
  282. }
  283. },
  284. articleType:this.$route.query.type?this.$route.query.type*1:1,
  285. articleId:this.$route.query.id?this.$route.query.id:'',
  286. noRead: true, // 未读
  287. support: false, // 点赞
  288. oppose: false, // 不支持
  289. timer: null,
  290. readLength: 0,
  291. articleInfo: null,
  292. loading: false,
  293. menuType: 'original',
  294. menuFeature: '', // 功能
  295. shareSrc: '', // 分享图片
  296. share_url: '', // 分享链接
  297. shareLoading: false,
  298. likeWordList: [], // 收藏短语list
  299. likePhraseList: [],
  300. likeSentencelist: [],
  301. }
  302. },
  303. methods: {
  304. inityuan() {
  305. if(this.articleInfo&&this.articleInfo.art_corpus_data&&this.articleInfo.art_corpus_data.artStatInfo&&this.articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems){
  306. var chartDom = document.getElementById("shanxing_main");
  307. var myChart = echarts.init(chartDom);
  308. var option;
  309. let newdata = JSON.parse(JSON.stringify(this.articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems));
  310. newdata.forEach((item) => {
  311. let percent = item.vocabPercent / 100;
  312. if (percent % 1 == 0) {
  313. item.name = item.vlCnName + " " + percent + "%";
  314. } else {
  315. item.name = item.vlCnName + " " + percent.toFixed(2) + "%";
  316. }
  317. });
  318. option = {
  319. color:this.bgColorList[this.activeIndex].type==='white'?this.articleInfo.vl_id==='VL26'?['#90C62F','#55B467','#F04F88','#F2555A','#D7DCDA','#99A29E']:['#90C62F','#55B467','#5FD4F4','#5373E7','#F04F88','#F2555A','#D7DCDA','#99A29E']:this.bgColorList[this.activeIndex].type==='darkGreen'?this.articleInfo.vl_id==='VL26'?['#90C62F','#55B467','#5FD4F4','#5373E7','#F04F88','#F2555A','#D7DCDA','#99A29E']:['#90C62F','#55B467','#F04F88','#F2555A','#D7DCDA','#99A29E']:this.articleInfo.vl_id==='VL26'?['#5B7217','#2F6E3B','#006793','#2C49AA','#AE1955','#F2555A','#4A524E','#2F3742']:['#5B7217','#2F6E3B','#AE1955','#F2555A','#4A524E','#2F3742'],
  320. series: [
  321. {
  322. name: "Access From",
  323. type: "pie",
  324. radius: ["50%", "90%"],
  325. data: newdata,
  326. itemStyle: {
  327. borderColor: "rgba(255, 255, 255, 0.24)",
  328. borderWidth: 1,
  329. },
  330. top: 50,
  331. emphasis: {
  332. itemStyle: {
  333. shadowBlur: 10,
  334. shadowOffsetX: 0,
  335. shadowColor: "rgba(0, 0, 0, 0.5)",
  336. },
  337. },
  338. },
  339. ],
  340. xAxis: {
  341. show: false, //不显示坐标轴线、坐标轴刻度线和坐标轴上的文字
  342. axisTick: {
  343. show: false, //不显示坐标轴刻度线
  344. },
  345. axisLine: {
  346. show: false, //不显示坐标轴线
  347. },
  348. axisLabel: {
  349. show: false, //不显示坐标轴上的文字
  350. },
  351. },
  352. };
  353. option && myChart.setOption(option);
  354. }
  355. },
  356. // 鼠标进入
  357. gaolangbzt(index, id) {
  358. var compareChart = echarts.getInstanceByDom(document.getElementById(id));
  359. compareChart.dispatchAction({
  360. type: "highlight",
  361. seriesIndex: 0,
  362. dataIndex: index,
  363. });
  364. },
  365. // 鼠标移出
  366. closegaolangbzt(index, id) {
  367. var compareChart = echarts.getInstanceByDom(document.getElementById(id));
  368. compareChart.dispatchAction({
  369. type: "downplay",
  370. seriesIndex: 0,
  371. dataIndex: index,
  372. });
  373. },
  374. getArticleDetail(){
  375. this.loading = true
  376. let this_ = this;
  377. let MethodName = "/PaperServer/Client/Article/GetArticleDetail";
  378. let data = {
  379. id: this.articleId,
  380. }
  381. getLogin(MethodName, data)
  382. .then((res) => {
  383. this.loading = false
  384. if(res.status===1){
  385. this_.articleInfo = res.data
  386. if(this.articleInfo&&this.articleInfo.art_corpus_data&&this.articleInfo.art_corpus_data.artStatInfo&&this.articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems){
  387. this.articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems.forEach(item=>{
  388. item.value = item.vocabCount
  389. item = Object.assign(item, this.vocabularyType[item.vlId])
  390. })
  391. }
  392. setTimeout(() => {
  393. this_.inityuan()
  394. }, 100);
  395. }
  396. })
  397. .catch(() => {
  398. this.loading = false
  399. });
  400. getLogin('/ShopServer/Client/CollectManager/GetMyCollectIntegrateInfo_Article', {
  401. article_id: this.articleId,
  402. })
  403. .then((res) => {
  404. if(res.status===1){
  405. this.likeWordList = []
  406. res.word_list.forEach(item=>{
  407. this.likeWordList.push(item.word)
  408. })
  409. this.likePhraseList = []
  410. res.phrase_list.forEach(item=>{
  411. this.likePhraseList.push(item.phrase)
  412. })
  413. this.likeSentencelist = []
  414. res.sentence_list.forEach(item=>{
  415. this.likeSentencelist.push(item.sentence_id)
  416. })
  417. }
  418. })
  419. .catch(() => {
  420. this.loading = false
  421. });
  422. },
  423. // 切换登录的注册
  424. cutLoginReg() {
  425. window.location.href = "/";
  426. },
  427. changeLike(type,list){
  428. this[type] = list
  429. }
  430. },
  431. created(){
  432. if(this.articleId){
  433. this.getArticleDetail()
  434. }
  435. },
  436. mounted(){
  437. }
  438. }
  439. </script>
  440. <style lang="scss" scoped>
  441. .bookShare{
  442. min-height: calc(100vh - 64px);
  443. .navBar-left{
  444. cursor: pointer;
  445. font-size: 0;
  446. z-index: 2;
  447. .svg-icon{
  448. width: 204px;
  449. height: 32px;
  450. color: rgba(29, 33, 41, 1);
  451. }
  452. }
  453. .navBar-right{
  454. display: flex;
  455. align-items: center;
  456. span{
  457. color: #86909C;
  458. font-size: 16px;
  459. font-weight: 500;
  460. line-height: 24px;
  461. }
  462. }
  463. .article-box{
  464. position: relative;
  465. padding: 20px 0;
  466. .artricle-inner{
  467. width: 1000px;
  468. margin: 0 auto;
  469. border-radius: 8px;
  470. }
  471. .mene-right{
  472. position: fixed;
  473. right: calc((100% - 1000px)/2 - 196px);
  474. top: 144px;
  475. width: 176px;
  476. background: #FFFFFF;
  477. border: 1px solid #E5E6EB;
  478. border-radius: 8px;
  479. padding: 4px;
  480. }
  481. }
  482. .atricle-data{
  483. padding: 120px 100px 40px 100px;
  484. }
  485. .glossary-box{
  486. border-top: 1px solid #F2F3F5;
  487. padding: 40px;
  488. .title{
  489. display: flex;
  490. justify-content: space-between;
  491. h2{
  492. margin: 0;
  493. font-weight: 400;
  494. font-size: 24px;
  495. line-height: 32px;
  496. }
  497. a{
  498. font-weight: 400;
  499. font-size: 16px;
  500. line-height: 24px;
  501. }
  502. }
  503. h4{
  504. margin: 24px 0 8px 0;
  505. font-weight: 400;
  506. font-size: 12px;
  507. line-height: 20px;
  508. }
  509. }
  510. .newWord-list{
  511. padding: 2px 4px;
  512. }
  513. .word-info{
  514. display: flex;
  515. justify-content: space-between;
  516. >div{
  517. width: 178px;
  518. height: 64px;
  519. border-radius: 4px;
  520. padding: 8px 12px;
  521. label{
  522. display: block;
  523. font-weight: 400;
  524. font-size: 12px;
  525. line-height: 20px;
  526. margin-bottom: 4px;
  527. }
  528. span{
  529. font-weight: 400;
  530. font-size: 16px;
  531. line-height: 24px;
  532. }
  533. }
  534. }
  535. .echarts-box{
  536. display: flex;
  537. .echarts-type{
  538. width: 232px;
  539. flex-shrink: 0;
  540. li{
  541. height: 38px;
  542. border-radius: 4px;
  543. margin-bottom: 8px;
  544. font-size: 14px;
  545. line-height: 20px;
  546. display: flex;
  547. padding: 8px 12px;
  548. cursor: pointer;
  549. border: 1px solid transparent;
  550. .name{
  551. flex: 1;
  552. }
  553. .number{
  554. width: 40px;
  555. text-align: right;
  556. }
  557. .percent{
  558. width: 80px;
  559. text-align: right;
  560. }
  561. }
  562. }
  563. #shanxing_main{
  564. flex: 1;
  565. }
  566. }
  567. }
  568. </style>
  569. <style lang="scss">
  570. .bookShare{
  571. .navBar{
  572. border-color: transparent;
  573. top: 0;
  574. &-white{
  575. border-color: #EBEBEB;
  576. .el-input-number__decrease, .el-input-number__increase,.el-input__inner{
  577. color: #1C2129;
  578. }
  579. .el-input-number__decrease{
  580. border-right: 1px solid #E5E6EB;
  581. }
  582. .el-input-number__increase{
  583. border-left: 1px solid #E5E6EB;
  584. }
  585. .goback{
  586. color: #1D2129;
  587. }
  588. .border{
  589. background: #E5E6EB;
  590. height: 16px;
  591. margin-top: 2px;
  592. }
  593. .article-title{
  594. color: #86909C;
  595. }
  596. }
  597. }
  598. }
  599. .login-dialog{
  600. .el-dialog__header,.el-dialog__body{
  601. padding: 0;
  602. }
  603. .el-dialog{
  604. border: 1px solid #E5E6EB;
  605. box-shadow: 0px 6px 30px 5px rgba(0, 0, 0, 0.05), 0px 16px 24px 2px rgba(0, 0, 0, 0.04), 0px 8px 10px -5px rgba(0, 0, 0, 0.08);
  606. border-radius: 4px;
  607. overflow: hidden;
  608. }
  609. }
  610. </style>