本地项目调整&elementUI升版本至2.12.0

This commit is contained in:
fan 2020-04-01 15:32:06 +08:00
parent c1abbaed49
commit ebd90d2485
6 changed files with 28 additions and 27 deletions

View File

@ -18,7 +18,7 @@
"dependencies": {
"axios": "0.18.0",
"echarts": "^4.7.0",
"element-ui": "^2.7.2",
"element-ui": "^2.12.0",
"file-saver": "^1.3.3",
"js-cookie": "2.2.0",
"js-md5": "^0.7.3",

View File

@ -18,9 +18,9 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/vuex/3.1.0/vuex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.1.2/vue-router.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.7.2/index.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.7.2/locale/en.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.7.2/locale/zh-CN.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.12.0/index.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.12.0/locale/en.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.12.0/locale/zh-CN.min.js"></script>
<% } %>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.4.0/sockjs.min.js"></script>-->
</head>

View File

@ -240,8 +240,8 @@ class SkinCode extends defaultStyle {
fontWeight: 'normal'
},
stopTime: { // 停站时间
offset: {x: -8, y: -4}, // 运行时间偏移量
textColor: '#C0C0C0', // 停站时间字体颜色
offset: {x: -50, y: 10}, // 运行时间偏移量
textColor: '#FFFFFF', // 停站时间字体颜色
textFontSize: 10
},
jump: {

View File

@ -93,7 +93,8 @@ export default {
selected: null,
tempData: [],
stationName: '',
signalName: ''
signalName: '',
domIdChoose: ''
};
},
computed: {

View File

@ -51,6 +51,7 @@ export default {
},
data() {
return {
lineCode: ''
};
},
computed: {

View File

@ -12,11 +12,10 @@
/>
</div>
</div>
<el-drawer
<div
v-show="drawer"
direction="rtl"
:show-close="false"
size="50%"
style="height: 100%;"
>
<div class="menuTrainList">
<el-table :data="trainList" height="100%" :highlight-current-row="true" @row-click="selectTrain">
@ -26,7 +25,7 @@
<!-- <el-table-column property="right" label="是否上行" width="90" /> -->
</el-table>
</div>
</el-drawer>
</div>
</div>
</template>
<script>