@opendesign-plus/components 0.0.1-rc.28 → 0.0.1-rc.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +152 -152
- package/dist/components/activity/OActivityApproval.vue.d.ts +8 -8
- package/dist/components/activity/OActivityForm.vue.d.ts +6 -6
- package/dist/components/activity/OActivityMyCalendar.vue.d.ts +8 -4
- package/dist/components/activity/index.d.ts +17 -15
- package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +24 -0
- package/dist/components/config-provider/index.d.ts +30 -0
- package/dist/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
- package/dist/components/cookie-notice/index.d.ts +53 -0
- package/dist/components/events/types.d.ts +4 -0
- package/dist/components/{OFooter.vue.d.ts → footer/OFooter.vue.d.ts} +2 -2
- package/dist/components/footer/index.d.ts +89 -0
- package/dist/components/header/index.d.ts +1 -0
- package/dist/components/header/types.d.ts +1 -0
- package/dist/components/{OLanguageSwitcher.vue.d.ts → header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts} +5 -5
- package/dist/components/header-language-switcher/index.d.ts +90 -0
- package/dist/components/{OHeaderSearch.vue.d.ts → header-search/OHeaderSearch.vue.d.ts} +165 -145
- package/dist/components/header-search/index.d.ts +607 -0
- package/dist/components/header-source-code/OHeaderSourceCode.vue.d.ts +18 -0
- package/dist/components/header-source-code/index.d.ts +23 -0
- package/dist/components/header-theme/OHeaderTheme.vue.d.ts +25 -0
- package/dist/components/header-theme/index.d.ts +50 -0
- package/dist/components/{OHeaderUser.vue.d.ts → header-user/OHeaderUser.vue.d.ts} +7 -7
- package/dist/components/header-user/index.d.ts +53 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +2 -2
- package/dist/components/meeting/OMeetingForm.vue.d.ts +4 -6
- package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +8 -4
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +4 -4
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +1 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +11 -15
- package/dist/components/meeting/types.d.ts +6 -4
- package/dist/components/meeting/utils.d.ts +2 -1
- package/dist/components/search/OSearchInput.vue.d.ts +54 -34
- package/dist/components/search/index.d.ts +32 -22
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +41 -21
- package/dist/components/search/internal/SearchPanel.vue.d.ts +1 -1
- package/dist/components/{OSection.vue.d.ts → section/OSection.vue.d.ts} +4 -4
- package/dist/components/section/index.d.ts +47 -0
- package/dist/components.cjs.js +40 -40
- package/dist/components.css +1 -1
- package/dist/components.es.js +16758 -16562
- package/dist/index.d.ts +9 -14
- package/docs/design.md +2 -2
- package/package.json +8 -8
- package/scripts/generate-components-index.js +2 -44
- package/src/assets/meeting/svg-icons/icon-all.svg +2 -1
- package/src/assets/meeting/svg-icons/icon-event.svg +2 -1
- package/src/assets/meeting/svg-icons/icon-meet.svg +2 -1
- package/src/assets/meeting/svg-icons/icon-summit.svg +2 -1
- package/src/assets/styles/element-plus.scss +24 -0
- package/src/components/activity/OActivityMyCalendar.vue +19 -12
- package/src/components/common/ClientOnly.vue +13 -0
- package/src/components/{OPlusConfigProvider.vue → config-provider/OPlusConfigProvider.vue} +5 -5
- package/src/components/config-provider/index.ts +10 -0
- package/src/components/{OCookieNotice.vue → cookie-notice/OCookieNotice.vue} +1 -1
- package/src/components/cookie-notice/index.ts +10 -0
- package/src/components/element-plus/OElCookieNotice.vue +2 -2
- package/src/components/events/OEventsApply.vue +85 -1
- package/src/components/events/OEventsList.vue +112 -40
- package/src/components/events/types.ts +1 -0
- package/src/components/{OFooter.vue → footer/OFooter.vue} +4 -4
- package/src/components/footer/index.ts +10 -0
- package/src/components/header/index.ts +2 -0
- package/src/components/header/types.ts +1 -0
- package/src/components/header-language-switcher/index.ts +10 -0
- package/src/components/{OHeaderSearch.vue → header-search/OHeaderSearch.vue} +4 -4
- package/src/components/header-search/index.ts +10 -0
- package/src/components/{OSourceCode.vue → header-source-code/OHeaderSourceCode.vue} +2 -2
- package/src/components/header-source-code/index.ts +10 -0
- package/src/components/{OThemeSwitcher.vue → header-theme/OHeaderTheme.vue} +4 -4
- package/src/components/header-theme/index.ts +10 -0
- package/src/components/{OHeaderUser.vue → header-user/OHeaderUser.vue} +4 -4
- package/src/components/header-user/index.ts +10 -0
- package/src/components/meeting/OMeetingCalendar.vue +32 -21
- package/src/components/meeting/OMeetingForm.vue +44 -37
- package/src/components/meeting/OMeetingMyCalendar.vue +28 -38
- package/src/components/meeting/OMeetingSigCalendar.vue +43 -20
- package/src/components/meeting/components/OMeetingCalendarList.vue +80 -29
- package/src/components/meeting/components/OMeetingDetail.vue +29 -10
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +1 -1
- package/src/components/meeting/components/OMeetingSigAside.vue +11 -6
- package/src/components/meeting/types.ts +7 -5
- package/src/components/meeting/utils.ts +4 -4
- package/src/components/{OSection.vue → section/OSection.vue} +1 -1
- package/src/components/section/index.ts +10 -0
- package/src/i18n/en.ts +2 -2
- package/src/i18n/zh.ts +4 -2
- package/src/index.ts +9 -38
- package/dist/components/OCookieNotice.vue.d.ts +0 -17
- package/dist/components/OPlusConfigProvider.vue.d.ts +0 -23
- package/dist/components/OSourceCode.vue.d.ts +0 -18
- package/dist/components/OThemeSwitcher.vue.d.ts +0 -25
- package/src/components/common/ClientOnlyWrapper.ts +0 -21
- /package/src/components/{OLanguageSwitcher.vue → header-language-switcher/OHeaderLanguageSwitcher.vue} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { default as OCookieNotice } from './components/OCookieNotice.vue';
|
|
2
|
-
import { default as OFooter } from './components/OFooter.vue';
|
|
3
|
-
import { default as OHeaderSearch } from './components/OHeaderSearch.vue';
|
|
4
|
-
import { default as OHeaderUser } from './components/OHeaderUser.vue';
|
|
5
|
-
import { default as OLanguageSwitcher } from './components/OLanguageSwitcher.vue';
|
|
6
|
-
import { default as OPlusConfigProvider } from './components/OPlusConfigProvider.vue';
|
|
7
|
-
import { default as OSection } from './components/OSection.vue';
|
|
8
|
-
import { default as OSourceCode } from './components/OSourceCode.vue';
|
|
9
|
-
import { default as OThemeSwitcher } from './components/OThemeSwitcher.vue';
|
|
10
|
-
export { OCookieNotice, OFooter, OHeaderSearch, OHeaderUser, OLanguageSwitcher, OPlusConfigProvider, OSection, OSourceCode, OThemeSwitcher };
|
|
11
1
|
export * from './components/activity';
|
|
12
2
|
export * from './components/banner';
|
|
3
|
+
export * from './components/config-provider';
|
|
4
|
+
export * from './components/cookie-notice';
|
|
13
5
|
export * from './components/element-plus';
|
|
14
6
|
export * from './components/events';
|
|
7
|
+
export * from './components/footer';
|
|
15
8
|
export * from './components/header';
|
|
9
|
+
export * from './components/header-language-switcher';
|
|
10
|
+
export * from './components/header-search';
|
|
11
|
+
export * from './components/header-source-code';
|
|
12
|
+
export * from './components/header-theme';
|
|
13
|
+
export * from './components/header-user';
|
|
16
14
|
export * from './components/meeting';
|
|
17
15
|
export * from './components/search';
|
|
18
|
-
|
|
19
|
-
install: (app: any) => void;
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
16
|
+
export * from './components/section';
|
package/docs/design.md
CHANGED
|
@@ -21,7 +21,7 @@ components
|
|
|
21
21
|
| openEuler社区页头| OHeader_openEuler.vue | 11月完成 ||
|
|
22
22
|
| openEuler社区页脚| OFooter_openEuler.vue | 11月完成 ||
|
|
23
23
|
| 悬浮按钮| OFloatingButton.vue | 11月完成 ||
|
|
24
|
-
| 语言切换|
|
|
25
|
-
| 风格切换|
|
|
24
|
+
| 语言切换| OHeaderLanguageSwitcher.vue | 11月完成 |调用useLocale的能力|
|
|
25
|
+
| 风格切换| OHeaderTheme.vue | 11月完成 |调用useTheme的能力|
|
|
26
26
|
| 导航用户信息| OUserInfo.vue | 11月完成 |调用useLogin的能力|
|
|
27
27
|
| 隐私管理| OCookieNotice.vue | 11月完成 ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -25,26 +25,26 @@
|
|
|
25
25
|
"require": "./dist/components.css"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"
|
|
29
|
-
"@opensig/opendesign": "1.2.
|
|
30
|
-
"@vueuse/core": "
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@opensig/opendesign": "1.2.4",
|
|
30
|
+
"@vueuse/core": "^14.0.0",
|
|
31
31
|
"aos": "^2.3.4",
|
|
32
32
|
"dayjs": "^1.11.13",
|
|
33
33
|
"video.js": "^8.23.7",
|
|
34
34
|
"vue-dompurify-html": "^3.1.2",
|
|
35
|
-
"
|
|
35
|
+
"vue": "^3.5.13",
|
|
36
|
+
"element-plus": "2.13.1",
|
|
37
|
+
"@opendesign-plus/composables": "0.0.1-rc.9",
|
|
36
38
|
"@opendesign-plus/styles": "0.0.1-rc.2"
|
|
37
39
|
},
|
|
38
40
|
"devDependencies": {
|
|
39
|
-
"@vitejs/plugin-vue": "^5.1
|
|
40
|
-
"element-plus": "^2.13.1",
|
|
41
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
41
42
|
"sass": "^1.71.1",
|
|
42
43
|
"typescript": "~5.8.2",
|
|
43
44
|
"unplugin-element-plus": "^0.11.2",
|
|
44
45
|
"unplugin-icons": "^0.14.1",
|
|
45
46
|
"vite": "^6.2.3",
|
|
46
47
|
"vite-plugin-dts": "^4.5.3",
|
|
47
|
-
"vue": "^3.4.0",
|
|
48
48
|
"vue-tsc": "2.2.8"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
@@ -17,11 +17,6 @@ function generateComponentsIndex() {
|
|
|
17
17
|
// 读取组件目录
|
|
18
18
|
const files = fs.readdirSync(componentsDir);
|
|
19
19
|
|
|
20
|
-
// 过滤出.vue文件(不包含子目录)
|
|
21
|
-
const vueFiles = files.filter(file =>
|
|
22
|
-
file.endsWith('.vue') && !fs.statSync(path.join(componentsDir, file)).isDirectory()
|
|
23
|
-
);
|
|
24
|
-
|
|
25
20
|
// 扫描子目录,查找包含 index.ts 的目录
|
|
26
21
|
const subDirs = files.filter(file => {
|
|
27
22
|
const fullPath = path.join(componentsDir, file)
|
|
@@ -29,59 +24,22 @@ function generateComponentsIndex() {
|
|
|
29
24
|
fs.existsSync(path.join(fullPath, 'index.ts'))
|
|
30
25
|
})
|
|
31
26
|
|
|
32
|
-
console.log(`发现 ${ vueFiles.length } 个组件文件`)
|
|
33
27
|
console.log(`发现 ${ subDirs.length } 个子目录: ${ subDirs.join(', ') }`)
|
|
34
28
|
|
|
35
|
-
// 生成 .vue 文件的导入语句
|
|
36
|
-
const vueImportStatements = vueFiles.map(file => {
|
|
37
|
-
const componentName = file.replace('.vue', '');
|
|
38
|
-
return `import ${componentName} from './components/${file}';`;
|
|
39
|
-
}).join('\n');
|
|
40
|
-
|
|
41
29
|
// 生成子目录的重新导出语句
|
|
42
30
|
const subDirExportStatements = subDirs.map(dir => {
|
|
43
31
|
return `export * from './components/${ dir }';`
|
|
44
32
|
}).join('\n')
|
|
45
33
|
|
|
46
|
-
// 生成组件列表
|
|
47
|
-
const componentNames = vueFiles.map(file => file.replace('.vue', ''));
|
|
48
|
-
const componentsObject = componentNames.map(name => ` ${name}`).join(',\n');
|
|
49
|
-
|
|
50
|
-
// 生成导出语句
|
|
51
|
-
const exportStatement = componentNames.length > 0
|
|
52
|
-
? `export { ${ componentNames.join(', ') } };`
|
|
53
|
-
: ''
|
|
54
|
-
|
|
55
34
|
// 生成完整的index.ts内容
|
|
56
35
|
const indexContent = `// OpenDesignPlus Components 库入口文件
|
|
57
36
|
// 此文件由 scripts/generate-components-index.js 自动生成
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
${ componentsObject.length > 0 ? `// 导出组件
|
|
62
|
-
const components = {
|
|
63
|
-
${componentsObject}
|
|
64
|
-
};` : '' }
|
|
65
|
-
|
|
66
|
-
${ exportStatement ? `// 导出单个组件\n${ exportStatement }` : '' }
|
|
67
|
-
|
|
68
|
-
${ subDirExportStatements ? `// 重新导出子目录中的组件\n${ subDirExportStatements }` : '' }
|
|
69
|
-
|
|
70
|
-
// 默认导出(用于Vue插件安装)
|
|
71
|
-
export default {
|
|
72
|
-
install: (app: any) => {
|
|
73
|
-
${ componentsObject.length > 0 ? `// 注册所有组件
|
|
74
|
-
Object.entries(components).forEach(([name, component]) => {
|
|
75
|
-
app.component(name, component);
|
|
76
|
-
});` : '' }
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
`;
|
|
37
|
+
${ subDirExportStatements }
|
|
38
|
+
`.trim();
|
|
80
39
|
|
|
81
40
|
// 写入文件
|
|
82
41
|
fs.writeFileSync(indexFilePath, indexContent, 'utf-8');
|
|
83
42
|
console.log(`组件索引文件已生成: ${indexFilePath}`);
|
|
84
|
-
console.log(`成功导出 ${ componentNames.length } 个 .vue 组件`)
|
|
85
43
|
if (subDirs.length > 0) {
|
|
86
44
|
console.log(`成功重新导出 ${ subDirs.length } 个子目录: ${ subDirs.join(', ') }`)
|
|
87
45
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path
|
|
2
|
+
<path fill="#000"
|
|
3
|
+
d="M14.671 15.599c0.129 0 0.248-0.023 0.358-0.068l0-0c0.11-0.045 0.211-0.114 0.302-0.205s0.159-0.192 0.205-0.302l0-0.001c0.045-0.11 0.068-0.229 0.068-0.357v-4.667c0-0.413-0.044-0.817-0.131-1.211l-0-0.001c-0.073-0.33-0.176-0.652-0.31-0.968-0.134-0.318-0.295-0.618-0.482-0.902v0c-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.638-0.237-0.968-0.31l-0.001-0c-0.394-0.087-0.798-0.131-1.212-0.131s-0.816 0.043-1.209 0.13l-0.002 0.001-0.001 0c-0.329 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.001 0.001-0.002 0.001-0.003 0.002-0.313 0.207-0.604 0.445-0.875 0.716s-0.511 0.564-0.718 0.878l-0 0.001c-0.187 0.283-0.347 0.583-0.481 0.901-0.134 0.316-0.237 0.638-0.31 0.968l-0 0.001-0 0.001c-0.087 0.394-0.131 0.798-0.131 1.211s0.043 0.816 0.13 1.21v0l0 0.001v0c0.073 0.33 0.176 0.652 0.31 0.968 0.134 0.318 0.295 0.618 0.482 0.902 0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31l0.001 0c0.394 0.087 0.798 0.131 1.211 0.131h4.667zM16.401 14.666c0 0.129 0.023 0.248 0.068 0.358s0.114 0.211 0.205 0.302c0.091 0.091 0.192 0.159 0.302 0.205s0.229 0.068 0.358 0.068h4.667c0.414 0 0.817-0.044 1.212-0.131h0c0.329-0.073 0.652-0.176 0.968-0.31 0.318-0.135 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878l0-0c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968v-0c0.087-0.394 0.131-0.798 0.131-1.211s-0.044-0.817-0.131-1.212c-0.073-0.33-0.176-0.652-0.31-0.968s-0.294-0.617-0.481-0.9l-0.001-0.002v-0c-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.639-0.237-0.968-0.31-0.394-0.087-0.798-0.131-1.212-0.131s-0.817 0.044-1.212 0.131c-0.33 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.314 0.207-0.607 0.446-0.878 0.718s-0.511 0.564-0.718 0.878c-0.187 0.283-0.347 0.584-0.482 0.902-0.134 0.316-0.237 0.639-0.31 0.968-0.087 0.394-0.131 0.798-0.131 1.212v4.667zM22.001 13.732h-3.733v-3.733c0-0.287 0.031-0.568 0.094-0.84 0.048-0.208 0.114-0.413 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586 0.14-0.215 0.303-0.416 0.489-0.601s0.386-0.349 0.601-0.489l0.001-0.001c0.184-0.12 0.379-0.224 0.585-0.311 0.2-0.085 0.404-0.151 0.612-0.199 0.273-0.063 0.553-0.094 0.84-0.094s0.567 0.031 0.84 0.094c0.208 0.048 0.413 0.114 0.613 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.304 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612l0 0.001c0.063 0.273 0.094 0.553 0.094 0.84s-0.031 0.568-0.094 0.84c-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.586l-0.001 0.002c-0.14 0.214-0.303 0.414-0.488 0.599s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.613 0.199l-0.001 0c-0.273 0.063-0.552 0.094-0.84 0.094zM13.734 9.999v3.733h-3.733c-0.287 0-0.567-0.031-0.84-0.094v-0c-0.208-0.048-0.413-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311-0.215-0.14-0.416-0.304-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612v-0c-0.063-0.273-0.094-0.553-0.094-0.84s0.031-0.568 0.094-0.84c0.048-0.208 0.114-0.413 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586v-0c0.141-0.215 0.304-0.416 0.489-0.601s0.386-0.349 0.601-0.489l0-0c0.184-0.12 0.38-0.224 0.586-0.311 0.195-0.083 0.395-0.148 0.598-0.196 0.005-0.001 0.009-0.002 0.014-0.003 0.273-0.063 0.553-0.094 0.84-0.094s0.568 0.031 0.841 0.094c0.208 0.048 0.413 0.114 0.612 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.304 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612 0.063 0.273 0.094 0.553 0.094 0.84zM16.401 21.999c0 0.413 0.044 0.817 0.131 1.212 0.073 0.329 0.176 0.652 0.31 0.968 0.135 0.318 0.295 0.618 0.482 0.902 0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31 0.394 0.087 0.798 0.131 1.212 0.131s0.817-0.044 1.212-0.131c0.329-0.073 0.652-0.176 0.968-0.31 0.318-0.134 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968 0.087-0.394 0.131-0.798 0.131-1.212s-0.044-0.817-0.131-1.212c-0.073-0.329-0.176-0.652-0.31-0.968-0.134-0.318-0.295-0.618-0.482-0.902-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.639-0.237-0.968-0.31-0.394-0.087-0.798-0.131-1.212-0.131h-4.667c-0.129 0-0.248 0.023-0.358 0.068s-0.211 0.114-0.302 0.205c-0.182 0.182-0.273 0.402-0.273 0.66v4.667zM10.004 16.399c-0.413 0-0.817 0.044-1.212 0.131-0.329 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.314 0.207-0.607 0.446-0.878 0.718s-0.511 0.564-0.718 0.878c-0.187 0.283-0.348 0.584-0.482 0.901-0.134 0.316-0.237 0.639-0.31 0.968-0.087 0.394-0.131 0.798-0.131 1.212s0.044 0.817 0.131 1.212c0.073 0.329 0.176 0.652 0.31 0.968 0.134 0.318 0.295 0.618 0.482 0.902v0c0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31 0.394 0.087 0.798 0.131 1.212 0.131s0.817-0.044 1.212-0.131v-0c0.33-0.073 0.652-0.176 0.968-0.31 0.318-0.134 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878v-0c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968 0.087-0.394 0.131-0.798 0.131-1.212v-4.667c0-0.258-0.091-0.478-0.273-0.66-0.091-0.091-0.192-0.159-0.302-0.205s-0.23-0.068-0.358-0.068h-4.667zM13.734 18.266v3.733c0 0.287-0.031 0.567-0.094 0.84-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.585l-0 0c-0.14 0.215-0.303 0.416-0.489 0.601s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.612 0.199-0.273 0.063-0.553 0.094-0.841 0.094s-0.567-0.031-0.84-0.094l-0.001-0c-0.208-0.048-0.412-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311l-0-0c-0.215-0.14-0.416-0.303-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612-0.063-0.273-0.094-0.553-0.094-0.84s0.031-0.568 0.094-0.841c0.048-0.208 0.114-0.412 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586 0.14-0.215 0.304-0.416 0.489-0.601s0.386-0.349 0.601-0.489c0.184-0.12 0.38-0.224 0.586-0.311 0.2-0.085 0.404-0.151 0.612-0.199l0.001-0 0.004-0.001c0.272-0.062 0.55-0.093 0.836-0.093h3.733zM18.268 18.266h3.733c0.287 0 0.567 0.031 0.84 0.094 0.208 0.048 0.413 0.114 0.613 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.303 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612 0.063 0.273 0.094 0.553 0.094 0.841s-0.031 0.567-0.094 0.84c-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.586-0.141 0.215-0.303 0.416-0.489 0.601s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.613 0.199-0.273 0.063-0.553 0.094-0.84 0.094s-0.567-0.031-0.84-0.094c-0.208-0.048-0.413-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311-0.215-0.141-0.416-0.304-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612-0.063-0.273-0.094-0.553-0.094-0.84v-3.733z"></path>
|
|
3
4
|
</svg>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path
|
|
2
|
+
<path opacity="0.8" fill="#000"
|
|
3
|
+
d="M25.091 14.218l-0.852 0.781c-0.385 0.353-0.411 0.933-0.058 1.319s0.933 0.411 1.319 0.058l2.116-1.938c0.193-0.177 0.349-0.374 0.467-0.591 0.092-0.17 0.162-0.351 0.208-0.546 0.045-0.189 0.067-0.378 0.063-0.566-0.004-0.222-0.041-0.444-0.112-0.665s-0.17-0.423-0.297-0.605c-0.107-0.155-0.235-0.295-0.382-0.422-0.151-0.13-0.314-0.237-0.488-0.321-0.223-0.107-0.464-0.176-0.724-0.207l-5.601-0.661c-0.031-0.012-0.159-0.053-0.187-0.073-0.021-0.026-0.113-0.124-0.128-0.155l-2.377-5.087c-0.11-0.235-0.25-0.441-0.42-0.618-0.133-0.138-0.285-0.259-0.454-0.362-0.165-0.1-0.338-0.177-0.517-0.232l-0-0c-0.211-0.064-0.432-0.096-0.662-0.096s-0.451 0.032-0.662 0.096v0c-0.002 0.001-0.004 0.001-0.006 0.002-0.177 0.054-0.348 0.131-0.511 0.23-0.17 0.103-0.321 0.224-0.454 0.362-0.17 0.177-0.31 0.383-0.42 0.618l-2.377 5.087c-0.021 0.026-0.1 0.135-0.128 0.155-0.031 0.012-0.153 0.069-0.187 0.073l-5.601 0.661c-0.26 0.031-0.501 0.1-0.724 0.207l-0 0c-0.174 0.084-0.336 0.191-0.488 0.321-0.147 0.127-0.275 0.267-0.382 0.422-0.127 0.182-0.226 0.384-0.297 0.605s-0.109 0.443-0.112 0.665v0.001c-0.003 0.188 0.018 0.376 0.063 0.565 0.047 0.194 0.116 0.376 0.208 0.546 0.118 0.217 0.274 0.414 0.467 0.591l4.119 3.773c0.018 0.029 0.099 0.137 0.11 0.171 0.001 0.009 0.002 0.025 0.004 0.044l0 0.002c0.005 0.054 0.013 0.132 0.008 0.157l-1.093 5.462c-0.051 0.255-0.060 0.505-0.028 0.749 0.025 0.191 0.076 0.378 0.152 0.562 0.074 0.179 0.168 0.343 0.28 0.493 0.133 0.177 0.293 0.333 0.479 0.47s0.384 0.241 0.593 0.315c0.177 0.062 0.362 0.101 0.555 0.118 0.198 0.017 0.392 0.009 0.581-0.025l0.001-0c0.242-0.043 0.478-0.127 0.705-0.253l4.953-2.737c0.032-0.008 0.159-0.050 0.193-0.050 0.032 0.008 0.163 0.033 0.193 0.050l4.831 2.669c0.233 0.129 0.473 0.214 0.72 0.256l0.001 0c0.192 0.033 0.388 0.039 0.588 0.020 0.195-0.019 0.382-0.061 0.56-0.126 0.211-0.077 0.411-0.187 0.598-0.329s0.347-0.305 0.478-0.488c0.111-0.154 0.201-0.323 0.271-0.506 0.072-0.188 0.119-0.379 0.139-0.573 0.026-0.25 0.008-0.504-0.053-0.762l-2.084-8.779c-0.121-0.509-0.615-0.813-1.124-0.693s-0.813 0.615-0.693 1.124l2.084 8.779c0.020 0.084 0.018 0.161-0.007 0.229s-0.071 0.129-0.141 0.181c-0.069 0.053-0.14 0.081-0.213 0.087s-0.147-0.013-0.223-0.055l-4.831-2.669c-0.171-0.094-0.347-0.165-0.53-0.212v-0c-0.183-0.047-0.372-0.071-0.566-0.071s-0.384 0.024-0.566 0.071c-0.183 0.047-0.359 0.118-0.53 0.212l-4.953 2.737c-0.075 0.041-0.148 0.059-0.219 0.055s-0.142-0.032-0.21-0.082c-0.069-0.050-0.116-0.109-0.142-0.176s-0.031-0.142-0.014-0.226l1.093-5.462c0.039-0.195 0.053-0.387 0.041-0.579s-0.048-0.381-0.109-0.57c-0.062-0.189-0.144-0.363-0.248-0.525s-0.229-0.309-0.375-0.443l-4.119-3.773c-0.063-0.058-0.104-0.122-0.122-0.191s-0.014-0.145 0.012-0.227c0.026-0.081 0.067-0.145 0.123-0.191s0.126-0.074 0.211-0.084l5.601-0.661c0.195-0.023 0.381-0.069 0.558-0.138s0.345-0.161 0.504-0.276c0.159-0.115 0.299-0.245 0.42-0.392s0.223-0.308 0.306-0.486l2.377-5.087c0.036-0.077 0.084-0.135 0.145-0.173s0.133-0.058 0.218-0.058c0.085 0 0.157 0.019 0.218 0.058s0.109 0.096 0.144 0.173l2.377 5.087c0.083 0.178 0.185 0.34 0.306 0.486s0.261 0.277 0.42 0.392c0.159 0.115 0.327 0.207 0.504 0.276s0.363 0.115 0.558 0.138l5.601 0.661c0.085 0.010 0.155 0.038 0.211 0.084s0.097 0.109 0.123 0.191c0.026 0.081 0.030 0.157 0.012 0.227s-0.059 0.133-0.122 0.191l-1.263 1.157zM12.006 17.328l-2-2c-0.37-0.37-0.37-0.95 0-1.32s0.951-0.369 1.32 0l2 2c0.37 0.37 0.37 0.95-0 1.32s-0.95 0.37-1.32 0z"></path>
|
|
3
4
|
</svg>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path
|
|
2
|
+
<path opacity="0.8" fill="#000"
|
|
3
|
+
d="M16.933 4.002v1.733h8.4c0.163 0 0.323 0.017 0.479 0.050 0.137 0.030 0.272 0.072 0.404 0.128 0.131 0.055 0.254 0.122 0.37 0.199 0.125 0.083 0.242 0.179 0.35 0.287s0.204 0.225 0.287 0.35c0.077 0.116 0.143 0.24 0.199 0.37 0.056 0.132 0.098 0.266 0.128 0.404 0.034 0.156 0.050 0.315 0.050 0.479v7.222c0 0.523-0.411 0.933-0.933 0.933s-0.933-0.411-0.933-0.933v-7.222c0-0.055-0.010-0.106-0.029-0.154s-0.178-0.178-0.217-0.217c-0.047-0.020-0.098-0.029-0.154-0.029h-18.667c-0.055 0-0.106 0.010-0.153 0.029s-0.178 0.178-0.217 0.217c-0.020 0.047-0.029 0.098-0.029 0.154v13.333c0 0.055 0.010 0.106 0.029 0.153l0 0c0.020 0.047 0.178 0.178 0.217 0.217 0.047 0.019 0.098 0.029 0.153 0.029h18.667c0.055 0 0.107-0.010 0.154-0.029s0.178-0.178 0.217-0.217c0.019-0.047 0.029-0.098 0.029-0.153v-2.953c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933v2.953c0 0.163-0.017 0.323-0.050 0.479-0.030 0.137-0.072 0.272-0.128 0.404-0.055 0.131-0.121 0.254-0.199 0.37-0.083 0.125-0.179 0.242-0.287 0.35s-0.225 0.204-0.35 0.287c-0.116 0.077-0.24 0.143-0.37 0.199-0.132 0.056-0.266 0.098-0.404 0.128-0.156 0.034-0.316 0.051-0.479 0.051h-0.44l2.42 2.42c0.37 0.37 0.37 0.95 0 1.32s-0.95 0.37-1.32 0l-3.74-3.74h-12.507l-3.74 3.74c-0.37 0.37-0.95 0.37-1.32 0s-0.369-0.95 0-1.32l2.42-2.42h-0.44c-0.161 0-0.319-0.017-0.474-0.049l-0.005-0.001-0-0c-0.137-0.030-0.272-0.072-0.404-0.128-0.131-0.055-0.254-0.122-0.37-0.199-0.125-0.083-0.242-0.179-0.35-0.287s-0.204-0.225-0.287-0.35c-0.077-0.116-0.143-0.24-0.199-0.37-0.056-0.132-0.098-0.267-0.128-0.404-0.034-0.156-0.050-0.315-0.050-0.479v-13.333c0-0.163 0.017-0.323 0.050-0.479v0l0-0c0.030-0.137 0.072-0.272 0.128-0.404 0.055-0.131 0.121-0.254 0.199-0.37 0.083-0.125 0.179-0.242 0.287-0.35s0.225-0.204 0.35-0.287c0.116-0.077 0.24-0.143 0.37-0.199 0.132-0.056 0.266-0.098 0.404-0.128h0c0.002-0 0.003-0.001 0.005-0.001v0c0.154-0.033 0.312-0.049 0.474-0.049h8.4v-1.733c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933zM23.332 12.652l-4.615 4.741c-0.195 0.169-0.479 0.298-0.736 0.28s-0.47-0.125-0.639-0.32l-3.397-3.925-3.91 4.518c-0.342 0.395-0.921 0.437-1.316 0.095s-0.437-0.921-0.095-1.317l4.615-5.333c0.169-0.195 0.382-0.302 0.639-0.32s0.483 0.056 0.678 0.225l3.532 4.067 3.906-4.012c0.365-0.374 0.945-0.382 1.32-0.018s0.382 0.945 0.018 1.32z"></path>
|
|
3
4
|
</svg>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
-
<path
|
|
2
|
+
<path opacity="0.8" fill="#000"
|
|
3
|
+
d="M10.634 5.455c-1.119 0.457-2.181 1.053-3.185 1.79-0.422 0.309-0.51 0.883-0.201 1.305s0.883 0.51 1.305 0.201c0.927-0.68 1.908-1.223 2.943-1.629 0.185-0.073 0.373-0.141 0.562-0.205 0.658-0.223 1.325-0.389 2.001-0.497 0.639-0.103 1.287-0.154 1.943-0.154s1.304 0.051 1.943 0.154v0c0.676 0.108 1.343 0.274 2.001 0.497 0.189 0.064 0.376 0.133 0.562 0.205v0c1.035 0.407 2.015 0.95 2.943 1.629 0.422 0.309 0.996 0.221 1.305-0.201s0.221-0.996-0.201-1.305c-1.005-0.736-2.066-1.333-3.185-1.79-0.271-0.111-0.545-0.213-0.823-0.307-0.755-0.256-1.52-0.447-2.297-0.572-0.739-0.119-1.489-0.179-2.247-0.179s-1.508 0.060-2.247 0.179l-0 0c-0.776 0.125-1.541 0.316-2.296 0.572-0.278 0.094-0.552 0.197-0.823 0.307h-0zM28.934 18.666v1.333c0 0.163-0.017 0.323-0.050 0.479-0.030 0.137-0.072 0.272-0.128 0.404s-0.121 0.254-0.199 0.37c-0.083 0.125-0.179 0.242-0.287 0.35s-0.225 0.204-0.35 0.287c-0.116 0.077-0.24 0.143-0.371 0.199-0.132 0.056-0.266 0.098-0.404 0.128-0.156 0.034-0.315 0.050-0.479 0.050h-21.333c-0.163 0-0.323-0.017-0.479-0.050-0.137-0.030-0.272-0.072-0.404-0.128-0.131-0.055-0.254-0.121-0.37-0.199-0.125-0.083-0.242-0.179-0.35-0.287s-0.204-0.225-0.287-0.35c-0.077-0.116-0.143-0.24-0.199-0.37s-0.098-0.266-0.128-0.404c-0.034-0.156-0.050-0.315-0.050-0.479v-8c0-0.163 0.017-0.323 0.050-0.479 0.030-0.137 0.072-0.272 0.128-0.404 0.055-0.131 0.122-0.254 0.199-0.37 0.083-0.125 0.179-0.242 0.287-0.35s0.225-0.204 0.35-0.287c0.116-0.077 0.24-0.143 0.37-0.199 0.132-0.056 0.266-0.098 0.404-0.128 0.156-0.034 0.316-0.050 0.479-0.050h21.333c0.163 0 0.323 0.017 0.479 0.050 0.137 0.030 0.272 0.072 0.404 0.128 0.131 0.055 0.254 0.122 0.371 0.199 0.125 0.083 0.241 0.178 0.35 0.287s0.204 0.225 0.287 0.35c0.077 0.116 0.143 0.24 0.199 0.37 0.056 0.132 0.098 0.266 0.128 0.404 0.034 0.156 0.050 0.315 0.050 0.479v4c0 0.523-0.411 0.933-0.933 0.933s-0.933-0.411-0.933-0.933v-4c0-0.055-0.010-0.106-0.029-0.154s-0.178-0.178-0.217-0.217c-0.047-0.020-0.098-0.029-0.153-0.029h-21.333c-0.055 0-0.106 0.010-0.154 0.029v0c-0.047 0.020-0.178 0.178-0.217 0.217-0.020 0.047-0.029 0.098-0.029 0.154v8c0 0.055 0.010 0.106 0.029 0.154s0.178 0.178 0.217 0.217c0.047 0.020 0.098 0.029 0.154 0.029h21.333c0.055 0 0.106-0.010 0.153-0.029s0.178-0.178 0.217-0.217c0.019-0.047 0.029-0.098 0.029-0.154v-1.333c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933zM20.479 23.116h-0c-0.156-0.034-0.315-0.050-0.479-0.050h-8c-0.163 0-0.323 0.017-0.479 0.050-0.137 0.030-0.272 0.072-0.404 0.128-0.131 0.055-0.254 0.121-0.37 0.199-0.125 0.083-0.242 0.179-0.35 0.287s-0.204 0.225-0.287 0.35c-0.077 0.116-0.143 0.24-0.199 0.37s-0.098 0.266-0.128 0.404c-0.034 0.156-0.050 0.315-0.050 0.479s0.017 0.323 0.050 0.479v0c0.030 0.137 0.072 0.272 0.128 0.404s0.121 0.254 0.199 0.37c0.083 0.125 0.179 0.242 0.287 0.35s0.225 0.204 0.35 0.287c0.116 0.077 0.24 0.143 0.37 0.199 0.132 0.056 0.266 0.098 0.404 0.128 0.156 0.034 0.316 0.050 0.479 0.050h8c0.163 0 0.323-0.017 0.479-0.050 0.137-0.030 0.272-0.072 0.404-0.128 0.131-0.055 0.254-0.121 0.37-0.199 0.125-0.083 0.242-0.179 0.35-0.287s0.204-0.225 0.287-0.35c0.077-0.116 0.143-0.24 0.199-0.37s0.098-0.266 0.128-0.404c0.034-0.156 0.051-0.316 0.051-0.479s-0.017-0.323-0.051-0.479v-0c-0.030-0.137-0.072-0.272-0.128-0.404s-0.121-0.254-0.199-0.37c-0.083-0.125-0.179-0.242-0.287-0.35s-0.225-0.204-0.35-0.287c-0.116-0.077-0.24-0.143-0.37-0.199-0.132-0.056-0.266-0.099-0.404-0.128zM12 24.932h8c0.055 0 0.106 0.010 0.153 0.029 0.039 0.039 0.198 0.17 0.217 0.217v0c0.020 0.047 0.029 0.098 0.029 0.154s-0.010 0.106-0.029 0.154c-0.039 0.039-0.17 0.198-0.217 0.217s-0.098 0.029-0.153 0.029h-8c-0.055 0-0.106-0.010-0.154-0.029-0.039-0.039-0.198-0.17-0.217-0.217s-0.029-0.098-0.029-0.154 0.010-0.106 0.029-0.154c0.039-0.039 0.17-0.198 0.217-0.217s0.098-0.029 0.154-0.029z"></path>
|
|
3
4
|
</svg>
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
--el-input-placeholder-color: var(--el-text-color-placeholder);
|
|
8
8
|
--el-input-hover-border-color: var(--el-border-color-hover);
|
|
9
9
|
--el-input-clear-hover-color: var(--el-text-color-secondary);
|
|
10
|
+
--el-component-size-large: 36px;
|
|
11
|
+
@include respond('<=pad_v') {
|
|
12
|
+
--el-component-size-large: var(--o-control_size-l);
|
|
13
|
+
}
|
|
10
14
|
|
|
11
15
|
.el-date-editor {
|
|
12
16
|
&.el-date-editor--daterange {
|
|
@@ -169,6 +173,8 @@
|
|
|
169
173
|
|
|
170
174
|
.el-input__wrapper {
|
|
171
175
|
background: var(--o-color-fill2);
|
|
176
|
+
box-shadow: none;
|
|
177
|
+
border: 1px solid var(--el-input-border-color);
|
|
172
178
|
}
|
|
173
179
|
|
|
174
180
|
.el-select__wrapper {
|
|
@@ -206,6 +212,24 @@
|
|
|
206
212
|
}
|
|
207
213
|
}
|
|
208
214
|
}
|
|
215
|
+
|
|
216
|
+
.el-input-number {
|
|
217
|
+
--el-component-size-large: 34px;
|
|
218
|
+
@include respond('<=pad_v') {
|
|
219
|
+
--el-component-size-large: calc(var(--o-control_size-l) - 2px);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.el-input-number__decrease,
|
|
223
|
+
.el-input-number__increase {
|
|
224
|
+
&:hover ~ .el-input:not(.is-disabled) .el-input__wrapper {
|
|
225
|
+
box-shadow: none;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.el-input-number--large {
|
|
230
|
+
line-height: var(--el-component-size-large);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
209
233
|
}
|
|
210
234
|
|
|
211
235
|
|
|
@@ -410,7 +410,7 @@ const confirmDelete = () => {
|
|
|
410
410
|
}
|
|
411
411
|
dialogLoading.value = true;
|
|
412
412
|
props.deleteActivityRequest(currentRow.value?.id)
|
|
413
|
-
.then((flag) => {
|
|
413
|
+
.then((flag: any) => {
|
|
414
414
|
if (typeof flag === 'boolean' && !flag) {
|
|
415
415
|
return;
|
|
416
416
|
}
|
|
@@ -611,6 +611,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
611
611
|
:value="row.sub_id || row.id"
|
|
612
612
|
:class="{
|
|
613
613
|
'last-item': idx === activityList.length - 1 && rowIdx === act.list.length - 1,
|
|
614
|
+
'is-delete': row.is_delete,
|
|
615
|
+
'is-end': row.isExpired,
|
|
614
616
|
}"
|
|
615
617
|
>
|
|
616
618
|
<template #title>
|
|
@@ -618,7 +620,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
618
620
|
<div
|
|
619
621
|
class="act-icon"
|
|
620
622
|
:style="{
|
|
621
|
-
backgroundColor: `${getConfig(CalendarDataType.EVENTS, 'color')}`
|
|
623
|
+
backgroundColor: `${row.is_delete ? 'var(--o-color-info4)' : getConfig(CalendarDataType.EVENTS, 'color')}`
|
|
622
624
|
}"
|
|
623
625
|
>
|
|
624
626
|
<OIcon>
|
|
@@ -626,13 +628,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
626
628
|
</OIcon>
|
|
627
629
|
</div>
|
|
628
630
|
<div class="header-info">
|
|
629
|
-
<div
|
|
630
|
-
:class="{
|
|
631
|
-
'act-title': true,
|
|
632
|
-
'is-delete': row.is_delete,
|
|
633
|
-
'is-end': row.isExpired,
|
|
634
|
-
}"
|
|
635
|
-
>
|
|
631
|
+
<div class="act-title">
|
|
636
632
|
<div class="title-text">{{ row.title }}</div>
|
|
637
633
|
<OTag
|
|
638
634
|
color="primary"
|
|
@@ -1236,6 +1232,10 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1236
1232
|
padding: var(--o-gap-3) var(--o-gap-4);
|
|
1237
1233
|
}
|
|
1238
1234
|
|
|
1235
|
+
@include respond('phone') {
|
|
1236
|
+
--icon-size: 20px;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
1239
|
&:hover {
|
|
1240
1240
|
.title-text {
|
|
1241
1241
|
color: var(--o-color-primary1);
|
|
@@ -1245,10 +1245,17 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1248
|
+
&.is-delete,
|
|
1249
|
+
&.is-end {
|
|
1250
|
+
|
|
1251
|
+
.act-title {
|
|
1252
|
+
color: var(--o-color-info4);
|
|
1251
1253
|
|
|
1254
|
+
.title-text {
|
|
1255
|
+
color: var(--o-color-info4);
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1252
1259
|
&.o-collapse-item-expanded {
|
|
1253
1260
|
border-bottom: none;
|
|
1254
1261
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { computed, provide, reactive } from 'vue';
|
|
3
3
|
|
|
4
4
|
import { OConfigProvider } from '@opensig/opendesign';
|
|
5
|
-
import zhCN from '@opensig/opendesign/es/locale/lang/zh-cn
|
|
6
|
-
import enUS from '@opensig/opendesign/es/locale/lang/en-us
|
|
5
|
+
import zhCN from '@opensig/opendesign/es/locale/lang/zh-cn';
|
|
6
|
+
import enUS from '@opensig/opendesign/es/locale/lang/en-us';
|
|
7
7
|
|
|
8
8
|
import { configProviderInjectKey } from '@/shared/provide';
|
|
9
9
|
|
|
10
10
|
export interface OPlusConfigProviderPropsT {
|
|
11
|
-
locale
|
|
12
|
-
theme
|
|
11
|
+
locale?: 'zh' | 'en';
|
|
12
|
+
theme?: 'light' | 'dark';
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
const props = withDefaults(defineProps<OPlusConfigProviderPropsT>(), {
|
|
16
|
-
|
|
16
|
+
locale: 'zh',
|
|
17
17
|
theme: 'light',
|
|
18
18
|
});
|
|
19
19
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _OPlusConfigProvider from './OPlusConfigProvider.vue';
|
|
2
|
+
import type { App } from 'vue';
|
|
3
|
+
|
|
4
|
+
const OPlusConfigProvider = Object.assign(_OPlusConfigProvider, {
|
|
5
|
+
install(app: App) {
|
|
6
|
+
app.component('OPlusConfigProvider', _OPlusConfigProvider);
|
|
7
|
+
},
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
export { OPlusConfigProvider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, onMounted, computed, nextTick, watch } from 'vue';
|
|
3
|
-
import ClientOnly from '
|
|
3
|
+
import ClientOnly from '../common/ClientOnly.vue';
|
|
4
4
|
import { useScreen } from '@opendesign-plus/composables';
|
|
5
5
|
import { useI18n } from '@/i18n';
|
|
6
6
|
import { DialogActionT, OButton, ODialog, OIcon, OIconClose, OSwitch } from '@opensig/opendesign';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, onMounted, computed, nextTick, watch } from 'vue';
|
|
3
|
-
import ClientOnly from '../common/
|
|
3
|
+
import ClientOnly from '../common/ClientOnly.vue';
|
|
4
4
|
import { useScreen } from '@opendesign-plus/composables';
|
|
5
5
|
import { useI18n } from '@/i18n';
|
|
6
6
|
import { ElButton, ElDialog, ElSwitch, ElIcon, ElDivider } from 'element-plus';
|
|
@@ -586,7 +586,7 @@ defineExpose({
|
|
|
586
586
|
@media (1680px >= width >= 1201px) {
|
|
587
587
|
margin-top: 16px;
|
|
588
588
|
}
|
|
589
|
-
@include respond('<=
|
|
589
|
+
@include respond('<=pad_h') {
|
|
590
590
|
margin-top: 12px;
|
|
591
591
|
}
|
|
592
592
|
.el-button+.el-button {
|
|
@@ -103,6 +103,18 @@ defineProps<EventsApplyPropsT>();
|
|
|
103
103
|
--height: var(--o-gap-6);
|
|
104
104
|
height: calc(100% + var(--height) - 40px); // 延伸到下一个元素
|
|
105
105
|
background-color: var(--o-color-control4);
|
|
106
|
+
@include respond('laptop') {
|
|
107
|
+
--height: var(--o-gap-5);
|
|
108
|
+
}
|
|
109
|
+
@include respond('pad_h') {
|
|
110
|
+
--height: var(--o-gap-4);
|
|
111
|
+
}
|
|
112
|
+
@include respond('pad_v') {
|
|
113
|
+
--height: var(--o-gap-5);
|
|
114
|
+
}
|
|
115
|
+
@include respond('phone') {
|
|
116
|
+
--height: var(--o-gap-5);
|
|
117
|
+
}
|
|
106
118
|
}
|
|
107
119
|
|
|
108
120
|
// 最后一个序号不显示连接线(倒数第2个子元素,因为最后一个是step-item)
|
|
@@ -117,12 +129,38 @@ defineProps<EventsApplyPropsT>();
|
|
|
117
129
|
grid-template-columns: repeat(3, 1fr); // 桌面端:3列
|
|
118
130
|
grid-template-rows: repeat(3, auto); // 桌面端:3行
|
|
119
131
|
gap: var(--o-gap-6);
|
|
132
|
+
@include respond('laptop') {
|
|
133
|
+
gap: var(--o-gap-5);
|
|
134
|
+
}
|
|
135
|
+
@include respond('pad_h') {
|
|
136
|
+
gap: var(--o-gap-4);
|
|
137
|
+
}
|
|
138
|
+
@include respond('pad_v') {
|
|
139
|
+
gap: var(--o-gap-5);
|
|
140
|
+
}
|
|
141
|
+
@include respond('phone') {
|
|
142
|
+
gap: var(--o-gap-5);
|
|
143
|
+
}
|
|
120
144
|
|
|
121
145
|
// 移动端:2列布局(序号列 + 内容列)
|
|
122
146
|
@include respond('<=pad_v') {
|
|
123
147
|
grid-template-columns: auto 1fr; // 第1列自适应,第2列占满
|
|
124
148
|
grid-template-rows: auto; // 行数自动
|
|
125
149
|
gap: var(--o-gap-3); // 列间距12px,行间距12px
|
|
150
|
+
row-gap: var(--o-gap-6); // 行间距
|
|
151
|
+
|
|
152
|
+
@include respond('laptop') {
|
|
153
|
+
row-gap: var(--o-gap-5);
|
|
154
|
+
}
|
|
155
|
+
@include respond('pad_h') {
|
|
156
|
+
row-gap: var(--o-gap-4);
|
|
157
|
+
}
|
|
158
|
+
@include respond('pad_v') {
|
|
159
|
+
row-gap: var(--o-gap-3);
|
|
160
|
+
}
|
|
161
|
+
@include respond('phone') {
|
|
162
|
+
row-gap: var(--o-gap-3);
|
|
163
|
+
}
|
|
126
164
|
}
|
|
127
165
|
|
|
128
166
|
.step-item {
|
|
@@ -132,6 +170,12 @@ defineProps<EventsApplyPropsT>();
|
|
|
132
170
|
flex-direction: column; // 垂直排列子元素
|
|
133
171
|
--idx-size: 20px;
|
|
134
172
|
--idx-gap: var(--o-gap-3);
|
|
173
|
+
@include respond('laptop') {
|
|
174
|
+
--idx-gap: var(--o-gap-2);
|
|
175
|
+
}
|
|
176
|
+
@include respond('pad_h') {
|
|
177
|
+
--idx-gap: var(--o-gap-2);
|
|
178
|
+
}
|
|
135
179
|
// 移动端:强制在第2列显示
|
|
136
180
|
@include respond('<=pad_v') {
|
|
137
181
|
grid-column: 2 !important;
|
|
@@ -146,6 +190,14 @@ defineProps<EventsApplyPropsT>();
|
|
|
146
190
|
display: flex;
|
|
147
191
|
align-items: center;
|
|
148
192
|
@include h2;
|
|
193
|
+
@include respond('laptop') {
|
|
194
|
+
margin-bottom: var(--o-gap-3);
|
|
195
|
+
padding: var(--o-gap-4) var(--o-gap-5) 0 var(--o-gap-5);
|
|
196
|
+
}
|
|
197
|
+
@include respond('pad_h') {
|
|
198
|
+
margin-bottom: var(--o-gap-2);
|
|
199
|
+
padding: var(--o-gap-3) var(--o-gap-4) 0 var(--o-gap-4);
|
|
200
|
+
}
|
|
149
201
|
@include respond('pad_v') {
|
|
150
202
|
margin-bottom: 0;
|
|
151
203
|
padding: var(--o-gap-3) var(--o-gap-4);
|
|
@@ -183,6 +235,12 @@ defineProps<EventsApplyPropsT>();
|
|
|
183
235
|
color: var(--o-color-info2);
|
|
184
236
|
padding: 0 var(--o-gap-6) var(--o-gap-4) var(--o-gap-6);
|
|
185
237
|
@include tip1;
|
|
238
|
+
@include respond('laptop') {
|
|
239
|
+
padding: 0 var(--o-gap-5) var(--o-gap-3) var(--o-gap-5);
|
|
240
|
+
}
|
|
241
|
+
@include respond('pad_h') {
|
|
242
|
+
padding: 0 var(--o-gap-4) var(--o-gap-3) var(--o-gap-4);
|
|
243
|
+
}
|
|
186
244
|
@include respond('pad_v') {
|
|
187
245
|
padding: var(--o-gap-3) var(--o-gap-4);
|
|
188
246
|
}
|
|
@@ -215,6 +273,12 @@ defineProps<EventsApplyPropsT>();
|
|
|
215
273
|
font-size: 16px;
|
|
216
274
|
margin-right: var(--o-gap-4);
|
|
217
275
|
color: #fff;
|
|
276
|
+
@include respond('laptop') {
|
|
277
|
+
margin-right: var(--o-gap-3);
|
|
278
|
+
}
|
|
279
|
+
@include respond('pad_h') {
|
|
280
|
+
margin-right: var(--o-gap-2);
|
|
281
|
+
}
|
|
218
282
|
@include respond('pad_v') {
|
|
219
283
|
margin-right: var(--o-gap-2);
|
|
220
284
|
}
|
|
@@ -237,6 +301,12 @@ defineProps<EventsApplyPropsT>();
|
|
|
237
301
|
--padding-left: var(--o-gap-4);
|
|
238
302
|
padding-left: calc(var(--o-gap-4) + var(--o-gap-4));
|
|
239
303
|
color: rgba(255, 255, 255, 0.8);
|
|
304
|
+
@include respond('laptop') {
|
|
305
|
+
--padding-left: var(--o-gap-3);
|
|
306
|
+
}
|
|
307
|
+
@include respond('pad_h') {
|
|
308
|
+
--padding-left: var(--o-gap-2);
|
|
309
|
+
}
|
|
240
310
|
@include respond('pad_v') {
|
|
241
311
|
padding-left: var(--o-gap-5);
|
|
242
312
|
}
|
|
@@ -335,9 +405,23 @@ defineProps<EventsApplyPropsT>();
|
|
|
335
405
|
|
|
336
406
|
.img-wrapper {
|
|
337
407
|
height: 280px;
|
|
338
|
-
width:
|
|
408
|
+
--width: var(--o-gap-6);
|
|
409
|
+
width: calc(100% - var(--width) * 2);
|
|
339
410
|
margin-left: auto;
|
|
340
411
|
margin-right: auto;
|
|
412
|
+
@include respond('laptop') {
|
|
413
|
+
--width: var(--o-gap-5);
|
|
414
|
+
}
|
|
415
|
+
@include respond('pad_h') {
|
|
416
|
+
--width: var(--o-gap-4);
|
|
417
|
+
height: 220px;
|
|
418
|
+
}
|
|
419
|
+
@include respond('pad_v') {
|
|
420
|
+
--width: var(--o-gap-5);
|
|
421
|
+
}
|
|
422
|
+
@include respond('phone') {
|
|
423
|
+
--width: var(--o-gap-5);
|
|
424
|
+
}
|
|
341
425
|
}
|
|
342
426
|
|
|
343
427
|
.img-wrapper-phone {
|