|
@@ -68,6 +68,10 @@
|
|
|
<div id="shanxing_main" style="height: 360px"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- 右侧菜单 -->
|
|
|
+ <div class="mene-right" :style="{background:bgColorList[activeIndex].contentInnerBg,borderColor:bgColorList[activeIndex].glossaryBg}">
|
|
|
+ <menu-right :colorObj="bgColorList[activeIndex]"></menu-right>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -80,6 +84,7 @@ import NewWordList from './components/NewWordList.vue';
|
|
|
import PhraseList from './components/PhraseList.vue';
|
|
|
import AnnotationList from './components/AnnotationList.vue'
|
|
|
import NormalModel from "./components/NormalModel.vue"
|
|
|
+import MenuRight from "./components/MenuRight.vue"
|
|
|
import * as echarts from "echarts";
|
|
|
export default {
|
|
|
name: 'articleDetail',
|
|
@@ -92,7 +97,8 @@ export default {
|
|
|
NewWordList,
|
|
|
PhraseList,
|
|
|
AnnotationList,
|
|
|
- NormalModel
|
|
|
+ NormalModel,
|
|
|
+ MenuRight
|
|
|
},
|
|
|
data(){
|
|
|
return{
|
|
@@ -134,7 +140,10 @@ export default {
|
|
|
annotationTitle:'#4E5969',
|
|
|
annotationOhter:'#667180',
|
|
|
statisticTitle:'#2F3742',
|
|
|
- statisticValue:'#3459D2'
|
|
|
+ statisticValue:'#3459D2',
|
|
|
+ menuBg:'#EEF3FF',
|
|
|
+ audiobg:'#FFFFFF',
|
|
|
+ audioBorder:'#EBEBEB'
|
|
|
},
|
|
|
{
|
|
|
type:'darkGreen',
|
|
@@ -170,7 +179,10 @@ export default {
|
|
|
phraseColor:'#ED5F00',
|
|
|
phraseOhterColor:'#2F3742',
|
|
|
statisticTitle:'#393F3C',
|
|
|
- statisticValue:'#299772'
|
|
|
+ statisticValue:'#299772',
|
|
|
+ menuBg:'#E9F7F2',
|
|
|
+ audiobg:'#ECEFED',
|
|
|
+ audioBorder:'#DFE4E2'
|
|
|
},
|
|
|
{
|
|
|
type:'darkBlue',
|
|
@@ -206,7 +218,10 @@ export default {
|
|
|
phraseColor:'#ED5F00',
|
|
|
phraseOhterColor:'#929CA8',
|
|
|
statisticTitle:'#D0D3D9',
|
|
|
- statisticValue:'#5373E7'
|
|
|
+ statisticValue:'#5373E7',
|
|
|
+ menuBg:'#EEF3FF',
|
|
|
+ audiobg:'#3E4855',
|
|
|
+ audioBorder:'#2F3742'
|
|
|
},
|
|
|
{
|
|
|
type:'armyGreen',
|
|
@@ -242,7 +257,10 @@ export default {
|
|
|
phraseColor:'#ED5F00',
|
|
|
phraseOhterColor:'#99A29E',
|
|
|
statisticTitle:'#D0D3D9',
|
|
|
- statisticValue:'#30A47D'
|
|
|
+ statisticValue:'#30A47D',
|
|
|
+ menuBg:'#EEF3FF',
|
|
|
+ audiobg:'#4A524E',
|
|
|
+ audioBorder:'#393F3C'
|
|
|
}
|
|
|
],
|
|
|
activeIndex:0, // 选择主题色的索引
|
|
@@ -591,6 +609,16 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
border-radius: 8px;
|
|
|
}
|
|
|
+ .mene-right{
|
|
|
+ position: fixed;
|
|
|
+ right: calc((100% - 1000px)/2 - 196px);
|
|
|
+ top: 144px;
|
|
|
+ width: 176px;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border: 1px solid #E5E6EB;
|
|
|
+ border-radius: 8px;
|
|
|
+ padding: 4px;
|
|
|
+ }
|
|
|
}
|
|
|
.atricle-data{
|
|
|
padding: 120px 100px 40px 100px;
|