From 178e49187de55126790c505f93dd96bd9411f81f Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 28 Oct 2019 17:51:59 +0800 Subject: [PATCH 1/3] =?UTF-8?q?desc:=20=E8=B0=83=E6=95=B4=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E8=87=AA=E9=80=82=E5=BA=94=EF=BC=8C=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=9C=B0=E5=9B=BE=E7=BB=98=E5=88=B6=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=8C=BA=E6=AE=B5=EF=BC=8C=E9=81=93=E5=B2=94=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/tip.js | 3 +- src/i18n/langs/zh/tip.js | 3 +- src/layout/components/AppMain.vue | 17 ----- src/layout/components/index.js | 2 +- src/layout/index.vue | 61 ++++++++++++++-- src/views/designPlatform/demonList.vue | 31 +++++--- src/views/designPlatform/index.vue | 18 ++--- src/views/designPlatform/userDemonList.vue | 73 +++++++++---------- src/views/designPlatform/userIndex.vue | 26 ++----- .../mapedit/mapoperate/config/data.vue | 4 +- .../mapedit/mapoperate/config/list.vue | 4 +- .../map/mapdraft/mapedit/mapoperate/line.vue | 2 +- .../mapdraft/mapedit/mapoperate/section.vue | 30 ++++---- .../mapdraft/mapedit/mapoperate/switch.vue | 25 ++++--- 14 files changed, 165 insertions(+), 134 deletions(-) delete mode 100644 src/layout/components/AppMain.vue diff --git a/src/i18n/langs/en/tip.js b/src/i18n/langs/en/tip.js index 0906d6b29..d02b978a2 100644 --- a/src/i18n/langs/en/tip.js +++ b/src/i18n/langs/en/tip.js @@ -205,5 +205,6 @@ export default { publishTheCourseHint: 'This operation will publish the course. Are you sure?', rejectedCourseReleaseApplicationSuccessful: 'Rejected course release application successful!', rejectedCourseReleaseApplicationFailed: 'Rejected course release application failed!', - duplicatePlanFailedTips: 'The interval needs to be more than 30 seconds or the times is more than 1' + duplicatePlanFailedTips: 'The interval needs to be more than 30 seconds or the times is more than 1', + createSwitchPortion: 'The relevant turnout is not formed' }; diff --git a/src/i18n/langs/zh/tip.js b/src/i18n/langs/zh/tip.js index a84170e28..d4e308a98 100644 --- a/src/i18n/langs/zh/tip.js +++ b/src/i18n/langs/zh/tip.js @@ -205,5 +205,6 @@ export default { publishTheCourseHint: '此操作将发布课程,是否确定?', rejectedCourseReleaseApplicationSuccessful: '驳回课程发布申请成功!', rejectedCourseReleaseApplicationFailed: '驳回课程发布申请失败!', - duplicatePlanFailedTips: '间隔时间需要大于30秒或次数大于1' + duplicatePlanFailedTips: '间隔时间需要大于30秒或次数大于1', + createSwitchPortion: '相关道岔未生成' }; diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue deleted file mode 100644 index 98c839e9f..000000000 --- a/src/layout/components/AppMain.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/src/layout/components/index.js b/src/layout/components/index.js index 6744940ba..4cd35432d 100644 --- a/src/layout/components/index.js +++ b/src/layout/components/index.js @@ -1,3 +1,3 @@ export { default as Navbar } from './Navbar'; export { default as Sidebar } from './Sidebar'; -export { default as AppMain } from './AppMain'; +// export { default as AppMain } from './AppMain'; diff --git a/src/layout/index.vue b/src/layout/index.vue index 41c752b36..764245aa6 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -2,13 +2,12 @@
-
- - - - - + + + + +
Copyright ©2018 北京玖琏科技有限公司 京ICP备18028522号 @@ -24,7 +23,6 @@ export default { name: 'Layout', components: { Navbar - // AppMain }, data() { return { @@ -77,6 +75,10 @@ export default { overflow: hidden; } + .app-main{ + overflow-y: auto; + } + .drawer-bg { background: #000; opacity: 0.3; @@ -94,4 +96,49 @@ export default { height: 100%; } } + + // 定义公共card样式 + .joylink-card{ + border: 1px solid #EBEEF5; + background-color: #FFF; + color: #303133; + transition: .3s; + box-shadow: 0 2px 12px 0 rgba(0,0,0,.1); + } + + // 谷歌、safari、qq浏览器、360浏览器滚动条样式 + // 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 + ::-webkit-scrollbar { + width: 6px; + height: 110px; + background-color: #FFFFFF; + } + /*定义滚动条轨道 内阴影+圆角*/ + ::-webkit-scrollbar-track { + // box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + border-radius: 10px; + background-color: #FFFFFF;; + } + /*定义滑块 内阴影+圆角*/ + ::-webkit-scrollbar-thumb { + border-radius: 10px; + // box-shadow: inset 0 0 6px rgba(0,0,0,.3); + background-color: #eaeaea; + } + /*滑块效果*/ + ::-webkit-scrollbar-thumb:hover { + border-radius: 5px; + // box-shadow: inset 0 0 5px rgba(0,0,0,0.2); + background: rgba(0,0,0,0.4); + } + /*IE滚动条颜色*/ + html { + scrollbar-face-color:#bfbfbf;/*滚动条颜色*/ + scrollbar-highlight-color:#000; + scrollbar-3dlight-color:#000; + scrollbar-darkshadow-color:#000; + scrollbar-Shadow-color:#adadad;/*滑块边色*/ + scrollbar-arrow-color:rgba(0,0,0,0.4);/*箭头颜色*/ + scrollbar-track-color:#eeeeee;/*背景颜色*/ + } diff --git a/src/views/designPlatform/demonList.vue b/src/views/designPlatform/demonList.vue index 79039d803..2c306d3a3 100644 --- a/src/views/designPlatform/demonList.vue +++ b/src/views/designPlatform/demonList.vue @@ -1,17 +1,20 @@ diff --git a/src/views/designPlatform/userIndex.vue b/src/views/designPlatform/userIndex.vue index b1c1ef93b..a856f93e6 100644 --- a/src/views/designPlatform/userIndex.vue +++ b/src/views/designPlatform/userIndex.vue @@ -1,20 +1,13 @@ @@ -47,9 +40,6 @@ export default { ...mapGetters([ 'lessonbar' ]), - height() { - return this.$store.state.app.height - 50; - }, width() { return this.$store.state.app.width; } @@ -140,8 +130,6 @@ export default { } .examList { - // position: fixed; - // top: 61px; float: left; height: 100%; } diff --git a/src/views/map/mapdraft/mapedit/mapoperate/config/data.vue b/src/views/map/mapdraft/mapedit/mapoperate/config/data.vue index 263a90896..0e1572878 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/config/data.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/config/data.vue @@ -104,6 +104,7 @@