Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
56ecccd2
提交
56ecccd2
authored
3月 09, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'hsx' 到 'master'
Hsx 查看合并请求
!154
上级
10c2a15c
ea108b0d
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
113 行增加
和
4 行删除
+113
-4
devStyle.js
src/router/modules/devStyle.js
+1
-1
index.vue
src/styles/components/CommonPage/index.vue
+32
-0
index.vue
src/styles/components/RadioPage/index.vue
+31
-0
index.vue
src/styles/components/TabsPage/index.vue
+29
-0
constStyle.vue
src/styles/components/constStyle.vue
+0
-0
index.vue
src/styles/components/index.vue
+20
-3
textStyle.vue
src/styles/components/textStyle.vue
+0
-0
没有找到文件。
src/router/modules/devStyle.js
浏览文件 @
56ecccd2
//样式主页
const
StylePages
=
()
=>
import
(
"@/
components/devStyle
/components/index.vue"
);
const
StylePages
=
()
=>
import
(
"@/
styles
/components/index.vue"
);
const
stylePagesRoutes
=
[
// 智库系统的主要路由
...
...
src/styles/components/CommonPage/index.vue
0 → 100644
浏览文件 @
56ecccd2
<
script
setup
lang=
"ts"
>
import
{
ElRow
,
ElCol
}
from
'element-plus'
;
import
'@/styles/common.scss'
const
span
=
12
</
script
>
<
template
>
<el-row
class=
"wrapper"
>
<el-col
:span=
"span"
>
<pre>
{{
`import '@/styles/common.scss';
<template>
<div class="background-as-card"></div>
</template>
`
}}
</pre>
<div
class=
"background-as-card"
>
<div
v-for=
"item in [1, 2, 3, 4]"
:key=
"item"
>
{{
item
}}
</div>
</div>
</el-col>
</el-row>
</
template
>
<
style
lang=
"scss"
scoped
>
.wrapper
{
background-color
:
rgba
(
0
,
0
,
0
,
0
.068
);
padding
:
10px
;
}
</
style
>
\ No newline at end of file
src/styles/components/RadioPage/index.vue
0 → 100644
浏览文件 @
56ecccd2
<
script
setup
lang=
"ts"
>
import
{
ElRadioGroup
,
ElRadioButton
,
ElRow
,
ElCol
}
from
'element-plus'
;
import
{
ref
}
from
'vue'
;
import
'@/styles/radio.scss'
;
const
radio
=
ref
(
1
)
const
span
=
12
</
script
>
<
template
>
<el-row>
<el-col
:span=
"span"
>
<pre>
{{
`import '@/styles/radio.scss';
<template>
<el-radio-group class="radio-group-as-gap-btn">
</el-radio-group>
</template>
`
}}
</pre>
<el-radio-group
v-model=
"radio"
class=
"radio-group-as-gap-btn"
>
<el-radio-button
:value=
"1"
>
选项1
</el-radio-button>
<el-radio-button
:value=
"2"
>
选项2
</el-radio-button>
<el-radio-button
:value=
"3"
>
选项3
</el-radio-button>
</el-radio-group>
</el-col>
</el-row>
</
template
>
<
style
lang=
"scss"
scoped
></
style
>
\ No newline at end of file
src/styles/components/TabsPage/index.vue
0 → 100644
浏览文件 @
56ecccd2
<
script
setup
lang=
"ts"
>
import
{
ElTabs
,
ElTabPane
,
ElSpace
,
ElRow
,
ElCol
}
from
'element-plus'
;
import
{
ref
}
from
'vue'
;
import
'@/styles/tabs.scss'
const
span
=
12
</
script
>
<
template
>
<el-row>
<el-col
:span=
"span"
>
<pre>
{{
`import '@/styles/tabs.scss';
<template>
<el-tabs stretch class="tabs-header-as-card tabs-nav-no-wrap tabs-bar-as-btn">
</el-tabs>
</template>
`
}}
</pre>
<el-tabs
stretch
class=
"tabs-header-as-card tabs-nav-no-wrap tabs-bar-as-btn"
>
<el-tab-pane
label=
"tab1"
>
tab1
</el-tab-pane>
<el-tab-pane
label=
"tab2"
>
tab2
</el-tab-pane>
<el-tab-pane
label=
"tab3"
>
tab3
</el-tab-pane>
</el-tabs>
</el-col>
</el-row>
</
template
>
<
style
lang=
"scss"
scoped
></
style
>
\ No newline at end of file
src/
components/devStyle
/components/constStyle.vue
→
src/
styles
/components/constStyle.vue
浏览文件 @
56ecccd2
File moved
src/
components/devStyle
/components/index.vue
→
src/
styles
/components/index.vue
浏览文件 @
56ecccd2
<
template
>
<el-scrollbar>
<div
class=
"common-page"
>
<el-space
direction=
"vertical"
:size=
"20"
alignment=
"flex-start"
>
<el-space
direction=
"vertical"
:size=
"20"
alignment=
"flex-start"
fill
>
<div
class=
"text-title-0-show"
>
开发样式
</div>
<div
class=
"text-title-1-show"
>
样式变量
</div>
<ConstStyle
/>
<div
class=
"text-title-1-show"
>
文字样式
</div>
<TextStyle
/>
<div
class=
"text-title-1-show"
>
通用样式/组件
</div>
<el-tabs
tabPosition=
"left"
>
<el-tab-pane
label=
"通用"
lazy
>
<common-page
/>
</el-tab-pane>
<el-tab-pane
label=
"单选框"
lazy
>
<radio-page
/>
</el-tab-pane>
<el-tab-pane
label=
"选项卡"
lazy
>
<tabs-page
/>
</el-tab-pane>
</el-tabs>
</el-space>
</div>
</el-scrollbar>
...
...
@@ -16,5 +28,10 @@
import
"@/styles/container.scss"
import
TextStyle
from
'./textStyle.vue'
;
import
ConstStyle
from
'./constStyle.vue'
;
import
{
ElTabs
,
ElTabPane
,
ElSpace
}
from
"element-plus"
;
import
RadioPage
from
'./RadioPage/index.vue'
;
import
TabsPage
from
'./TabsPage/index.vue'
;
import
CommonPage
from
'./CommonPage/index.vue'
;
</
script
>
</
script
>
\ No newline at end of file
<
style
lang=
"scss"
scoped
></
style
>
\ No newline at end of file
src/
components/devStyle
/components/textStyle.vue
→
src/
styles
/components/textStyle.vue
浏览文件 @
56ecccd2
File moved
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论