Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yq-ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaopanyu
yq-ui
Commits
c17fe362
Commit
c17fe362
authored
Oct 28, 2024
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy
parent
ee5d1eef
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
91 additions
and
196 deletions
+91
-196
.env.development
+2
-2
.env.production
+2
-2
.env.staging
+2
-2
package.json
+1
-1
src/views/index.vue
+25
-56
src/views/zyyq/cs.vue
+12
-18
src/views/zyyq/index copy.vue
+0
-0
src/views/zyyq/index.vue
+0
-0
src/views/zyyqsj/index.vue
+44
-112
vue.config.js
+3
-3
No files found.
.env.development
View file @
c17fe362
# 页面标题
VUE_APP_TITLE =
若依管理系统
VUE_APP_TITLE =
胜利智联油气智能化品牌
# 开发环境配置
ENV = 'development'
#
若依管理系统
/开发环境
#
胜利智联油气智能化品牌
/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
...
...
.env.production
View file @
c17fe362
# 页面标题
VUE_APP_TITLE =
若依管理系统
VUE_APP_TITLE =
胜利智联油气智能化品牌
# 生产环境配置
ENV = 'production'
#
若依管理系统
/生产环境
#
胜利智联油气智能化品牌
/生产环境
VUE_APP_BASE_API = '/prod-api'
.env.staging
View file @
c17fe362
# 页面标题
VUE_APP_TITLE =
若依管理系统
VUE_APP_TITLE =
胜利智联油气智能化品牌
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
#
若依管理系统
/测试环境
#
胜利智联油气智能化品牌
/测试环境
VUE_APP_BASE_API = '/stage-api'
package.json
View file @
c17fe362
{
"name"
:
"
ruoyi
"
,
"version"
:
"3.8.8"
,
"description"
:
"
若依管理系统
"
,
"description"
:
"
胜利智联油气智能化品牌
"
,
"author"
:
"若依"
,
"license"
:
"
MIT
"
,
"scripts"
:
{
...
...
src/views/index.vue
View file @
c17fe362
...
...
@@ -5,30 +5,20 @@
<blockquote
class=
"text-warning"
style=
"font-size: 14px"
>
领取阿里云通用云产品1888优惠券
<br
/>
<el-link
href=
"https://www.aliyun.com/minisite/goods?userCode=brki8iof"
type=
"primary"
target=
"_blank"
>
https://www.aliyun.com/minisite/goods?userCode=brki8iof
</el-link
>
<el-link
href=
"https://www.aliyun.com/minisite/goods?userCode=brki8iof"
type=
"primary"
target=
"_blank"
>
https://www.aliyun.com/minisite/goods?userCode=brki8iof
</el-link>
<br
/>
领取腾讯云通用云产品2860优惠券
<br
/>
<el-link
href=
"https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console"
type=
"primary"
target=
"_blank"
>
https://cloud.tencent.com/redirect.php?redirect=1025
&
cps_key=198c8df2ed259157187173bc7f4f32fd
&
from=console
</el-link
>
target=
"_blank"
>
https://cloud.tencent.com/redirect.php?redirect=1025
&
cps_key=198c8df2ed259157187173bc7f4f32fd
&
from=console
</el-link>
<br
/>
阿里云服务器折扣区
<el-link
href=
"http://aly.ruoyi.vip"
type=
"primary"
target=
"_blank"
>
>☛☛点我进入☚☚
</el-link
>
<el-link
href=
"http://aly.ruoyi.vip"
type=
"primary"
target=
"_blank"
>
>☛☛点我进入☚☚
</el-link>
腾讯云服务器秒杀区
<el-link
href=
"http://txy.ruoyi.vip"
type=
"primary"
target=
"_blank"
>
>☛☛点我进入☚☚
</el-link
><br
/>
<el-link
href=
"http://txy.ruoyi.vip"
type=
"primary"
target=
"_blank"
>
>☛☛点我进入☚☚
</el-link><br
/>
<h4
class=
"text-danger"
>
云产品通用红包,可叠加官网常规优惠使用。(仅限新用户)
</h4>
...
...
@@ -41,7 +31,7 @@
<el-col
:sm=
"24"
:lg=
"12"
style=
"padding-left: 20px"
>
<h2>
若依后台管理框架
</h2>
<p>
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了
若依管理系统
,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了
胜利智联油气智能化品牌
,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
</p>
<p>
<b>
当前版本:
</b>
<span>
v
{{
version
}}
</span>
...
...
@@ -50,21 +40,9 @@
<el-tag
type=
"danger"
>
¥
免费开源
</el-tag>
</p>
<p>
<el-button
type=
"primary"
size=
"mini"
icon=
"el-icon-cloudy"
plain
@
click=
"goTarget('https://gitee.com/y_project/RuoYi-Vue')"
>
访问码云
</el-button
>
<el-button
size=
"mini"
icon=
"el-icon-s-home"
plain
@
click=
"goTarget('http://ruoyi.vip')"
>
访问主页
</el-button
>
<el-button
type=
"primary"
size=
"mini"
icon=
"el-icon-cloudy"
plain
@
click=
"goTarget('https://gitee.com/y_project/RuoYi-Vue')"
>
访问码云
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-s-home"
plain
@
click=
"goTarget('http://ruoyi.vip')"
>
访问主页
</el-button>
</p>
</el-col>
...
...
@@ -111,11 +89,8 @@
</div>
<div
class=
"body"
>
<p>
<i
class=
"el-icon-s-promotion"
></i>
官网:
<el-link
href=
"http://www.ruoyi.vip"
target=
"_blank"
>
http://www.ruoyi.vip
</el-link
>
<i
class=
"el-icon-s-promotion"
></i>
官网:
<el-link
href=
"http://www.ruoyi.vip"
target=
"_blank"
>
http://www.ruoyi.vip
</el-link>
</p>
<p>
<i
class=
"el-icon-user-solid"
></i>
QQ群:
<s>
满937441
</s>
<s>
满887144332
</s>
...
...
@@ -123,20 +98,15 @@
<s>
满101456076
</s>
<s>
满101539465
</s>
<s>
满264312783
</s>
<s>
满167385320
</s>
<s>
满104748341
</s>
<s>
满160110482
</s>
<s>
满170801498
</s>
<s>
满108482800
</s>
<s>
满101046199
</s>
<s>
满136919097
</s>
<s>
满143961921
</s>
<s>
满174951577
</s>
<s>
满161281055
</s>
<s>
满138988063
</s>
<a
href=
"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SUc-msaypcqB2UTFif4eqGlBHkKcvMNP&authKey=JdQBouY2PG%2BS%2BCzAfIgbCGNgxyahpfh24IW%2F03rPxGilhqVbisLma%2FFFnt79DHNh&noverify=0&group_code=151450850"
target=
"_blank"
>
151450850
</a>
<s>
满161281055
</s>
<s>
满138988063
</s>
<a
href=
"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SUc-msaypcqB2UTFif4eqGlBHkKcvMNP&authKey=JdQBouY2PG%2BS%2BCzAfIgbCGNgxyahpfh24IW%2F03rPxGilhqVbisLma%2FFFnt79DHNh&noverify=0&group_code=151450850"
target=
"_blank"
>
151450850
</a>
</p>
<p>
<i
class=
"el-icon-chat-dot-round"
></i>
微信:
<a
href=
"javascript:;"
>
/ *若依
</a
>
<i
class=
"el-icon-chat-dot-round"
></i>
微信:
<a
href=
"javascript:;"
>
/ *若依
</a>
</p>
<p>
<i
class=
"el-icon-money"
></i>
支付宝:
<a
href=
"javascript:;"
class=
"支付宝信息"
>
/ *若依
</a
>
<i
class=
"el-icon-money"
></i>
支付宝:
<a
href=
"javascript:;"
class=
"支付宝信息"
>
/ *若依
</a>
</p>
</div>
</el-card>
...
...
@@ -999,14 +969,8 @@
<span>
捐赠支持
</span>
</div>
<div
class=
"body"
>
<img
src=
"@/assets/images/pay.png"
alt=
"donate"
width=
"100%"
/>
<span
style=
"display: inline-block; height: 30px; line-height: 30px"
>
你可以请作者喝杯咖啡表示鼓励
</span
>
<img
src=
"@/assets/images/pay.png"
alt=
"donate"
width=
"100%"
/>
<span
style=
"display: inline-block; height: 30px; line-height: 30px"
>
你可以请作者喝杯咖啡表示鼓励
</span>
</div>
</el-card>
</el-col>
...
...
@@ -1039,12 +1003,14 @@ export default {
font-size
:
17.5px
;
border-left
:
5px
solid
#eee
;
}
hr
{
margin-top
:
20px
;
margin-bottom
:
20px
;
border
:
0
;
border-top
:
1px
solid
#eee
;
}
.col-item
{
margin-bottom
:
20px
;
}
...
...
@@ -1054,7 +1020,11 @@ export default {
margin
:
0
;
}
font-family
:
"open sans"
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
"open sans"
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
13px
;
color
:
#676a6c
;
overflow-x
:
hidden
;
...
...
@@ -1094,4 +1064,3 @@ export default {
}
}
</
style
>
src/views/zyyq/cs.vue
View file @
c17fe362
<
template
>
<div
class=
"container"
>
<div
style=
"width: 400px"
>
<el-menu
default-active=
"2"
class=
"el-menu-vertical-demo"
@
open=
"handleOpen"
@
close=
"handleClose"
background-color=
"#545c64"
text-color=
"#fff"
active-text-color=
"#ffd04b"
>
<div
style=
"width: 400px"
>
<el-menu
default-active=
"2"
class=
"el-menu-vertical-demo"
@
open=
"handleOpen"
@
close=
"handleClose"
background-color=
"#545c64"
text-color=
"#fff"
active-text-color=
"#ffd04b"
>
<div
v-for=
"outerItem in collapseDataOuter"
>
<div
v-if=
"outerItem.cplx === '产品'"
>
<div
v-if=
"outerItem.cplx === '产品'"
>
<el-submenu
:index=
"outerItem.mc"
>
<template
slot=
"title"
>
{{
outerItem
.
mc
}}
</
template
>
<template
slot=
"title"
>
{{
outerItem
.
mc
}}
</
template
>
<div
v-for=
"outerItem2 in outerItem.cpChildren"
>
<el-submenu
:index=
"outerItem2.id"
>
<
template
slot=
"title"
>
{{
outerItem2
.
mc
}}
</
template
>
<
template
slot=
"title"
>
{{
outerItem2
.
mc
}}
</
template
>
<div
v-for=
"outerItem3 in outerItem2.children2"
>
<el-menu-item
:index=
"outerItem3.mc"
>
{{outerItem3.mc
}}
</el-menu-item>
<el-menu-item
:index=
"outerItem3.mc"
>
{{ outerItem3.mc
}}
</el-menu-item>
</div>
</el-submenu>
</div>
</el-submenu>
</div>
<div
v-if=
"outerItem.cplx === '服务类'"
>
<div
v-if=
"outerItem.cplx === '服务类'"
>
<el-submenu
:index=
"outerItem.mc"
>
<
template
slot=
"title"
>
{{
outerItem
.
mc
}}
</
template
>
<
template
slot=
"title"
>
{{
outerItem
.
mc
}}
</
template
>
<div
v-for=
"outerItem2 in outerItem.fwlChildren"
>
<el-menu-item
:index=
"outerItem2.mc"
>
{{outerItem2.mc
}}
</el-menu-item>
<el-menu-item
:index=
"outerItem2.mc"
>
{{ outerItem2.mc
}}
</el-menu-item>
</div>
</el-submenu>
...
...
@@ -39,7 +33,7 @@
</el-menu>
</div>
</div>
</div>
</template>
<
script
>
...
...
src/views/zyyq/index copy.vue
View file @
c17fe362
This diff is collapsed.
Click to expand it.
src/views/zyyq/index.vue
View file @
c17fe362
This diff is collapsed.
Click to expand it.
src/views/zyyqsj/index.vue
View file @
c17fe362
...
...
@@ -2,10 +2,7 @@
<div
class=
"container"
>
<el-row
style=
"margin: 0px auto 150px"
>
<div
class=
"bjt"
>
<img
src=
"../../assets/images/background.png"
alt=
""
style=
"
<img
src=
"../../assets/images/background.png"
alt=
""
style=
"
height: 111px;
width: 877px;
/* background-size: cover;
...
...
@@ -14,107 +11,73 @@
left: 50%;
transform: translate(-50%, -50%);
object-fit: cover; */
"
/>
"
/>
</div>
</el-row>
<el-row
class=
"content"
style=
"background-color: #f5f8fe; height: 100vh"
>
<el-col
:xs=
"24"
:sm=
"24"
:md=
"24"
:lg=
"24"
:xl=
"24"
style=
"
<el-col
:xs=
"24"
:sm=
"24"
:md=
"24"
:lg=
"24"
:xl=
"24"
style=
"
padding: 20px;
border-radius: 10px;
height: auto;
background-color: #f5f8fe;
"
>
<el-menu
v-if=
"activeNameOuter === '产品'"
:default-active=
"activeNameInner"
class=
"product-menu"
:background-color=
"'transparent'"
:text-color=
"'#333'"
:active-text-color=
"'#409EFF'"
:default-openeds=
"defaultOpeneds"
>
"
>
<el-menu
v-if=
"activeNameOuter === '产品'"
:default-active=
"activeNameInner"
class=
"product-menu"
:background-color=
"'transparent'"
:text-color=
"'#333'"
:active-text-color=
"'#409EFF'"
:default-openeds=
"defaultOpeneds"
>
<!-- 外层菜单 -->
<el-submenu
v-for=
"outerItem in collapseDataOuter"
:key=
"outerItem.px"
:index=
"outerItem.px"
@
click
.
native=
"setActiveOuter(outerItem.cplx)"
>
<el-submenu
v-for=
"outerItem in collapseDataOuter"
:key=
"outerItem.px"
:index=
"outerItem.px"
@
click
.
native=
"setActiveOuter(outerItem.cplx)"
>
<template
#
title
>
<img
src=
"../../assets/images/tag.png"
alt=
""
/>
<span
style=
"
<span
style=
"
font-family: 'PingFang SC';
font-weight: 800;
font-size: 23px;
color: #222222;
line-height: 40px;
"
>
"
>
{{
outerItem
.
mc
}}
</span>
</
template
>
<!-- 第二级菜单 -->
<el-submenu
v-for=
"innerItem in outerItem.cpChildren"
:key=
"innerItem.id"
:index=
"innerItem.px"
<el-submenu
v-for=
"innerItem in outerItem.cpChildren"
:key=
"innerItem.id"
:index=
"innerItem.px"
:class=
"{ 'inner-submenu-active': isInnerActive(innerItem.name) }"
@
click
.
native=
"setActiveInner(innerItem.mc)"
>
@
click
.
native=
"setActiveInner(innerItem.mc)"
>
<
template
#
title
>
<span
style=
"
<span
style=
"
font-family: 'PingFang SC';
font-weight: 800;
font-size: 17px;
color: #222222;
line-height: 26px;
"
>
"
>
{{
innerItem
.
mc
}}
</span>
</
template
>
<!-- 第三级菜单 -->
<el-menu-item
v-for=
"content in innerItem.children2"
:key=
"content.id"
:index=
"innerItem.name + '-' + content.mc"
@
click
.
native=
"
<el-menu-item
v-for=
"content in innerItem.children2"
:key=
"content.id"
:index=
"innerItem.name + '-' + content.mc"
@
click
.
native=
"
handleInnerClick(
innerItem.name,
content.mc,
content.id,
content.remark
)
"
:class=
"{
"
:class=
"{
'menu-item-active':
activeNameInner === innerItem.name + '-' + content.mc,
}"
>
<span
:style=
"{
}"
>
<span
:style=
"{
width: '6px',
height: '6px',
background: '#165BFF',
borderRadius: '50%',
display: 'inline-block',
marginRight: '10px',
}"
></span>
<span
:style=
"{
}"
></span>
<span
:style=
"{
fontFamily: 'PingFang SC',
fontWeight: '500',
fontSize: '15px',
...
...
@@ -134,87 +97,60 @@
activeNameInner === innerItem.name + '-' + content.mc
? '8px'
: '0',
}"
>
}"
>
{{ content.mc }}
</span>
<img
v-if=
"content.zx === '1'"
src=
"../../assets/images/new.png"
alt=
"new"
style=
"
<img
v-if=
"content.zx === '1'"
src=
"../../assets/images/new.png"
alt=
"new"
style=
"
width: 40px;
height: 40px;
margin-left: 5px;
vertical-align: middle;
"
/>
"
/>
</el-menu-item>
</el-submenu>
</el-submenu>
</el-menu>
<el-menu
v-if=
"activeNameOuter === '服务类'"
:default-active=
"activeNameInner"
class=
"product-menu"
:background-color=
"'transparent'"
:text-color=
"'#333'"
:active-text-color=
"'#409EFF'"
:default-openeds=
"defaultOpeneds"
>
<el-menu
v-if=
"activeNameOuter === '服务类'"
:default-active=
"activeNameInner"
class=
"product-menu"
:background-color=
"'transparent'"
:text-color=
"'#333'"
:active-text-color=
"'#409EFF'"
:default-openeds=
"defaultOpeneds"
>
<!-- 外层菜单 -->
<el-submenu
v-for=
"outerItem in collapseDataOuter"
:key=
"outerItem.px"
:index=
"outerItem.px"
@
click
.
native=
"setActiveOuter(outerItem.cplx)"
>
<el-submenu
v-for=
"outerItem in collapseDataOuter"
:key=
"outerItem.px"
:index=
"outerItem.px"
@
click
.
native=
"setActiveOuter(outerItem.cplx)"
>
<
template
#
title
>
<img
src=
"../../assets/images/tag.png"
alt=
""
/>
<span
style=
"
<span
style=
"
font-family: 'PingFang SC';
font-weight: 800;
font-size: 23px;
color: #222222;
line-height: 40px;
"
>
"
>
{{
outerItem
.
mc
}}
</span>
</
template
>
<!-- 服务类的第二级菜单 -->
<el-menu-item
v-for=
"service in outerItem.fwlChildren"
:key=
"service.id"
:index=
"service.mc"
@
click
.
native=
"
<el-menu-item
v-for=
"service in outerItem.fwlChildren"
:key=
"service.id"
:index=
"service.mc"
@
click
.
native=
"
handleServiceClick(
outerItem.mc,
service.mc,
service.id,
service.remark
)
"
:class=
"{
"
:class=
"{
'menu-item-active':
activeNameInner === outerItem.mc + '-' + service.mc,
'service-menu-item-active':
activeNameInner === outerItem.mc + '-' + service.mc,
}"
>
<span
:style=
"{
}"
>
<span
:style=
"{
width: '6px',
height: '6px',
background: '#165BFF',
borderRadius: '50%',
display: 'inline-block',
marginRight: '10px',
}"
></span>
<span
:style=
"{
}"
></span>
<span
:style=
"{
fontFamily: 'PingFang SC',
fontWeight: '500',
fontSize: '15px',
...
...
@@ -234,21 +170,15 @@
activeNameInner === outerItem.mc + '-' + service.mc
? '8px'
: '0',
}"
>
}"
>
{{ service.mc }}
<!-- 判断 zx 是否为 1,如果是则显示图片 -->
<img
v-if=
"service.zx === '1'"
src=
"../../assets/images/new.png"
alt=
"new"
style=
"
<img
v-if=
"service.zx === '1'"
src=
"../../assets/images/new.png"
alt=
"new"
style=
"
width: 40px;
height: 40px;
margin-left: 5px;
vertical-align: middle;
"
/>
"
/>
</span>
</el-menu-item>
</el-submenu>
...
...
@@ -598,7 +528,7 @@ export default {
//
/* 设置字体颜色 */
//
}
::v-deep
.el-tabs--card
>
.el-tabs__header
.el-tabs__nav
{
::v-deep
.el-tabs--card
>
.el-tabs__header
.el-tabs__nav
{
border
:
1px
none
;
}
...
...
@@ -681,6 +611,7 @@ export default {
}
::v-deep
.product-menu
{
//
内层菜单展开时的背景色
.inner-submenu-active
{
background-color
:
#ffffff
;
//
内层菜单背景色为白色
...
...
@@ -830,6 +761,7 @@ p {
color
:
#165bff
;
line-height
:
26px
;
}
.el-menu
{
border-right
:
1px
none
!important
;
}
...
...
vue.config.js
View file @
c17fe362
...
...
@@ -7,7 +7,7 @@ function resolve(dir) {
const
CompressionPlugin
=
require
(
"compression-webpack-plugin"
);
const
name
=
process
.
env
.
VUE_APP_TITLE
||
"
若依管理系统
"
;
// 网页标题
const
name
=
process
.
env
.
VUE_APP_TITLE
||
"
胜利智联油气智能化品牌
"
;
// 网页标题
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
80
;
// 端口
...
...
@@ -35,10 +35,10 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://localhost:8081`
,
//
target: `http://localhost:8081`,
// target: `http://192.168.31.190:8899`,
// target: `http://192.168.31.95:8081`,
//
target: `http://192.168.31.95:8081`,
target
:
`http://192.168.31.95:8081`
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment