master
xy 1 year ago
parent db57d414af
commit 68db38f87e

@ -2,6 +2,6 @@
ENV='development' ENV='development'
# base api # base api
VUE_APP_BASE_API=http://starter.ali251.langye.net VUE_APP_BASE_API=http://yikangyang.ali251.langye.net
VUE_APP_UPLOAD_API=http://starter.ali251.langye.net/api/admin/upload-file VUE_APP_UPLOAD_API=http://yikangyang.ali251.langye.net/api/admin/upload-file
VUE_APP_PREVIEW_API=http://view.ali251.langye.net:8012/onlinePreview VUE_APP_PREVIEW_API=http://view.ali251.langye.net:8012/onlinePreview

@ -1,7 +1,7 @@
# just a flag # just a flag
ENV = 'production' ENV='production'
# base api # base api
VUE_APP_BASE_API = http://starter.ali251.langye.net VUE_APP_BASE_API=http://yikangyang.ali251.langye.net
VUE_APP_UPLOAD_API =http://starter.ali251.langye.net/api/admin/upload-file VUE_APP_UPLOAD_API=http://yikangyang.ali251.langye.net/api/admin/upload-file
VUE_APP_PREVIEW_API=http://view.ali251.langye.net:8012/onlinePreview VUE_APP_PREVIEW_API=http://view.ali251.langye.net:8012/onlinePreview

@ -1,9 +1,9 @@
NODE_ENV = production NODE_ENV=production
# just a flag # just a flag
ENV = 'staging' ENV='staging'
# base api # base api
VUE_APP_BASE_API=http://starter.ali251.langye.net VUE_APP_BASE_API=http://yikangyang.ali251.langye.net
VUE_APP_UPLOAD_API=http://starter.ali251.langye.net/api/admin/upload-file VUE_APP_UPLOAD_API=http://yikangyang.ali251.langye.net/api/admin/upload-file
VUE_APP_PREVIEW_API=http://view.ali251.langye.net:8012/onlinePreview

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -31,7 +31,7 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="scss" scoped>
.v-header { .v-header {
display: flex; display: flex;
border-bottom: 1px solid #dcdee2; border-bottom: 1px solid #dcdee2;
@ -42,10 +42,10 @@ export default {
// padding-top: 10px; // padding-top: 10px;
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 15px;
color: #0077CC; color: $primaryColor;
white-space: nowrap; white-space: nowrap;
border-bottom: 2px solid #0077CC; border-bottom: 2px solid $primaryColor;
> span { & > span {
position: relative; position: relative;
} }

@ -6,7 +6,7 @@
<img src="../../../assets/logo-mini.png?v=1" class="sidebar-logo"> <img src="../../../assets/logo-mini.png?v=1" class="sidebar-logo">
</router-link> </router-link>
<router-link v-else key="expand" class="sidebar-logo-link" to="/"> <router-link v-else key="expand" class="sidebar-logo-link" to="/">
<img src="../../../assets/logo-mini.png?v=1" class="sidebar-logo"> <!-- <img src="../../../assets/logo-mini.png?v=1" class="sidebar-logo">-->
<img src="../../../assets/logo.png?v=2" class="sidebar-name-logo" /> <img src="../../../assets/logo.png?v=2" class="sidebar-name-logo" />
</router-link> </router-link>
</transition> </transition>
@ -36,8 +36,8 @@
transition: opacity 1.5s; transition: opacity 1.5s;
} }
.sidebar-name-logo { .sidebar-name-logo {
width: 120px; height: 76%;
height: 22px; object-fit: contain;
} }
.sidebarLogoFade-enter, .sidebarLogoFade-enter,
@ -50,7 +50,7 @@
width: 100%; width: 100%;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
background: #fff; background: $primaryColor;
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;

@ -1,7 +1,7 @@
module.exports = { module.exports = {
title: '朗业基础平台', title: '医康养',
TOKEN_KEY: 'starter_token', TOKEN_KEY: 'yikangyang_web_token',
/** /**
* @type {boolean} true | false * @type {boolean} true | false
* @description Whether fix the header * @description Whether fix the header

@ -1,5 +1,5 @@
/* 改变主题色变量 */ /* 改变主题色变量 */
$--color-primary: #0077CC; $--color-primary: #b3241d;
/* 改变 icon 字体路径变量,必需 */ /* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts'; $--font-path: '~element-ui/lib/theme-chalk/fonts';

@ -11,7 +11,7 @@
transition: width 0.28s; transition: width 0.28s;
width: $sideBarWidth !important; width: $sideBarWidth !important;
//background-color: $menuBg; //background-color: $menuBg;
background: linear-gradient(180deg, #0284cd, #0077CC); background: transparent;
box-shadow: 1px 1px 15px 0px rgba(17, 76, 157, 0.2); box-shadow: 1px 1px 15px 0px rgba(17, 76, 157, 0.2);
height: 100%; height: 100%;
position: fixed; position: fixed;
@ -89,7 +89,7 @@
//border-right: 5px solid $subMenuActiveText !important; //border-right: 5px solid $subMenuActiveText !important;
} }
.is-active>.el-submenu__title { .is-active>.el-submenu__title {
color: $subMenuActiveText !important; color: $primaryColor !important;
} }
@ -104,7 +104,7 @@
} }
&.is-active{ &.is-active{
background-color: $submenuActiveBg !important; background-color: $submenuActiveBg !important;
border-right: 5px solid $subMenuActiveText !important; border-right: 5px solid $subMenuHover !important;
color: $subMenuActiveText !important; color: $subMenuActiveText !important;
} }
} }

@ -1,19 +1,20 @@
$primaryColor: #b3241d;
// sidebar // sidebar
$menuText:#ffffff; $menuText:#606266;
$menuActiveText:#ffffff; $menuActiveText:#ffffff;
$subMenuActiveText:#ffffff; //https://github.com/ElemeFE/element/issues/12951 $subMenuActiveText:#ffffff; //https://github.com/ElemeFE/element/issues/12951
$menuBg:rgb(255, 255, 255,0);//#304156 $menuBg:#ffffff;//#304156
$menuHover:rgba(242, 242, 242, .4); $menuHover:#d96d68;
$menuActiveBg:rgba(242, 242, 242, .4); $menuActiveBg:#b3241d;
$subMenuBg:rgb(255, 255, 255,0);//#304156 $subMenuBg:#ffffff;//#1f2d3d
$subMenuHover:rgba(242, 242, 242, .4); $subMenuHover:#d96d68;
$submenuActiveBg:rgba(242, 242, 242, .4); $submenuActiveBg: #b3241d;
$sideBarWidth: 210px; $sideBarWidth: 210px;
$primaryColor: #0077CC;
// the :export directive is the magic sauce for webpack // the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export { :export {

@ -1,4 +1,4 @@
@import '~view-design/src/styles/index.less'; @import '~view-design/src/styles/index.less';
// Here are the variables to cover, such as: // Here are the variables to cover, such as:
@primary-color: #0077CC; @primary-color: #b3241d;

Loading…
Cancel
Save