Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
952f68d0
提交
952f68d0
authored
3月 09, 2026
作者:
hsx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:通用样式加入devStyle
上级
d4b65227
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
76 行增加
和
3 行删除
+76
-3
index.vue
src/components/devStyle/components/RadioPage/index.vue
+31
-0
index.vue
src/components/devStyle/components/TabsPage/index.vue
+29
-0
index.vue
src/components/devStyle/components/index.vue
+16
-3
没有找到文件。
src/components/devStyle/components/RadioPage/index.vue
0 → 100644
浏览文件 @
952f68d0
<
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/components/devStyle/components/TabsPage/index.vue
0 → 100644
浏览文件 @
952f68d0
<
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/index.vue
浏览文件 @
952f68d0
<
template
>
<
template
>
<el-scrollbar>
<el-scrollbar>
<div
class=
"common-page"
>
<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-0-show"
>
开发样式
</div>
<div
class=
"text-title-1-show"
>
样式变量
</div>
<div
class=
"text-title-1-show"
>
样式变量
</div>
<ConstStyle
/>
<ConstStyle
/>
<div
class=
"text-title-1-show"
>
文字样式
</div>
<div
class=
"text-title-1-show"
>
文字样式
</div>
<TextStyle
/>
<TextStyle
/>
<div
class=
"text-title-1-show"
>
通用组件
</div>
<el-tabs
tabPosition=
"left"
>
<el-tab-pane
label=
"单选框"
lazy
>
<radio-page
/>
</el-tab-pane>
<el-tab-pane
label=
"选项卡"
lazy
>
<tabs-page
/>
</el-tab-pane>
</el-tabs>
</el-space>
</el-space>
</div>
</div>
</el-scrollbar>
</el-scrollbar>
...
@@ -16,5 +25,9 @@
...
@@ -16,5 +25,9 @@
import
"@/styles/container.scss"
import
"@/styles/container.scss"
import
TextStyle
from
'./textStyle.vue'
;
import
TextStyle
from
'./textStyle.vue'
;
import
ConstStyle
from
'./constStyle.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'
;
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
\ No newline at end of file
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论