diff --git a/package.json b/package.json
index ed424da..9cf1150 100644
--- a/package.json
+++ b/package.json
@@ -69,6 +69,7 @@
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.63.6",
"tailwindcss": "^3.3.3",
+ "terser": "^5.39.0",
"typescript": "~5.0.4",
"unplugin-vue-components": "^0.26.0",
"vite": "^4.5.2",
diff --git a/src/assets/css/jyh.scss b/src/assets/css/jyh.scss
index 28fa572..29a4f8d 100644
--- a/src/assets/css/jyh.scss
+++ b/src/assets/css/jyh.scss
@@ -62,6 +62,12 @@
}
}
+.jyh-table-2 {
+ .devui-table__tbody tr {
+ border-bottom: 1px solid #e5e7eb;
+ }
+}
+
.jyh-tabs {
.devui-tabs__nav {
border-bottom: 0;
@@ -100,6 +106,12 @@
}
}
+.jyh-tabs-2 {
+ .devui-tab__content {
+ padding: 0;
+ }
+}
+
.jyh-checkbox-group {
div {
margin-top: 0;
@@ -145,3 +157,78 @@
.jyh-select-multiple {
}
+
+.split {
+ display: inline-block;
+ margin: 0 12px;
+ width: 1px;
+ height: 100%;
+ background-color: #3c3f41;
+}
+
+.fr {
+ flex: 1;
+ text-align: right;
+}
+
+.width-70 {
+ display: inline-block;
+ width: 90px;
+}
+
+.width-90 {
+ display: inline-block;
+ width: 90px;
+}
+.width-110 {
+ display: inline-block;
+ width: 110px;
+}.width-140 {
+ display: inline-block;
+ width: 140px;
+}.width-160 {
+ display: inline-block;
+ width: 160px;
+}
+
+.jyh-card {
+ padding: 16px 20px;
+ .card-title {
+ color: #252B3A;
+ font-family: HarmonyOS Sans SC;
+ font-weight: bold;
+ font-size: 14px;
+ line-height: 22px;
+ letter-spacing: 0px;
+ text-align: left;
+ margin-bottom: 16px;
+ }
+
+ .card-key {
+ color: #595959;
+ font-family: HarmonyOS Sans SC;
+ font-weight: regular;
+ font-size: 14px;
+ line-height: 22px;
+ letter-spacing: 0px;
+ text-align: left;
+ }
+ .card-val {
+ color: #191919;
+ font-family: HarmonyOS Sans;
+ font-weight: regular;
+ font-size: 14px;
+ line-height: 22px;
+ letter-spacing: 0px;
+ text-align: left;
+ }
+ .card-url {
+ color: #5E7CE0;
+ font-family: HarmonyOS Sans;
+ font-weight: regular;
+ font-size: 14px;
+ line-height: 22px;
+ letter-spacing: 0px;
+ text-align: left;
+ }
+}
diff --git a/src/assets/imgs/home/BG.svg b/src/assets/imgs/home/BG.svg
new file mode 100644
index 0000000..fb7c92b
--- /dev/null
+++ b/src/assets/imgs/home/BG.svg
@@ -0,0 +1,407 @@
+
diff --git a/src/assets/imgs/home/background@2x.png b/src/assets/imgs/home/background@2x.png
new file mode 100644
index 0000000..364b65c
Binary files /dev/null and b/src/assets/imgs/home/background@2x.png differ
diff --git a/src/assets/imgs/home/bg_@1x.png b/src/assets/imgs/home/bg_@1x.png
new file mode 100644
index 0000000..deabfcb
Binary files /dev/null and b/src/assets/imgs/home/bg_@1x.png differ
diff --git a/src/assets/imgs/home/home-title-logo-2x.webp b/src/assets/imgs/home/home-title-logo-2x.webp
new file mode 100644
index 0000000..1906326
Binary files /dev/null and b/src/assets/imgs/home/home-title-logo-2x.webp differ
diff --git a/src/assets/imgs/home/home-title-logo.png b/src/assets/imgs/home/home-title-logo.png
new file mode 100644
index 0000000..5e90a36
Binary files /dev/null and b/src/assets/imgs/home/home-title-logo.png differ
diff --git a/src/assets/imgs/home/informIcon@2x.png b/src/assets/imgs/home/informIcon@2x.png
new file mode 100644
index 0000000..75ae4be
Binary files /dev/null and b/src/assets/imgs/home/informIcon@2x.png differ
diff --git a/src/assets/imgs/jyh/工程首字母图标.png b/src/assets/imgs/jyh/工程首字母图标.png
new file mode 100644
index 0000000..1841c88
Binary files /dev/null and b/src/assets/imgs/jyh/工程首字母图标.png differ
diff --git a/src/router/config/home.ts b/src/router/config/home.ts
index 9a3a9a9..c96fe05 100644
--- a/src/router/config/home.ts
+++ b/src/router/config/home.ts
@@ -17,7 +17,7 @@ export default [
{
path: '',
name: 'home',
- component: () => import('@/views/micro-page/proxy-homeweb.vue'),
+ component: () => import('@/views/Jyh/Home/index.vue'),
meta: {
micorApp: ['micoro-app-homeweb-app'],
hasMobile: true,
@@ -61,7 +61,7 @@ export default [
}
},
{
- path: 'search',
+ path: 'repoList',
name: 'Search',
component: () => import('@/views/Jyh/Search/index.vue'),
meta: {
@@ -73,6 +73,19 @@ export default [
asideMenu: 'drawer' // 左侧菜单抽屉模式
}
},
+ {
+ path: 'repoDetail/basicInfo/:versionId',
+ name: 'VersionDetail',
+ component: () => import('@/views/Jyh/Version/Detail/index.vue'),
+ meta: {
+ title: '软件版本详情',
+ reportTitle: '软件版本详情页',
+ className: 'w-full min-w-full',
+ hiddenFooter: true,
+ hasMobile: true,
+ asideMenu: 'drawer' // 左侧菜单抽屉模式
+ }
+ },
{
path: 'explore',
name: 'explore',
diff --git a/src/router/index.ts b/src/router/index.ts
index dce525c..db2bb0a 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -7,14 +7,12 @@ import dashboardRouter from './config/dashboard';
import noticeRouter from './config/notice';
import accountRouter from './config/account';
import errorRouter from './config/error';
-import onLineEditor from './config/editor';
export { injectRouter } from './interceptor';
export const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
- ...onLineEditor,
...homeRouter,
...accountRouter,
...dashboardRouter,
diff --git a/src/views/Dashboard/Issue/index.vue b/src/views/Dashboard/Issue/index.vue
index 0aba375..6b13890 100644
--- a/src/views/Dashboard/Issue/index.vue
+++ b/src/views/Dashboard/Issue/index.vue
@@ -8,7 +8,6 @@
+
+
\ No newline at end of file
diff --git a/src/views/Jyh/Search/Components/OssQuery.vue b/src/views/Jyh/Search/Components/OssQuery.vue
index 5ed77f5..6fb349f 100644
--- a/src/views/Jyh/Search/Components/OssQuery.vue
+++ b/src/views/Jyh/Search/Components/OssQuery.vue
@@ -82,7 +82,7 @@
导出
-
+
@@ -94,26 +94,35 @@
- {{scope.row.version}}
+ {{scope.row.version}}
- {{scope.row.versionCode}}
+ {{scope.row.versionCode}}
-
+
- {{scope.row.versionCode}}
+ {{scope.row.smStatus}}
- {{scope.row.type}}
+ {{scope.row.type}}
+
+
+
+
+ {{scope.row.license}}
+ +3
+
+
+
+
+ {{scope.row.url}}
-
-
@@ -176,17 +185,17 @@ import { Message } from 'vue-devui';
const { namespace } = getOrgInfo();
const tableData = ref([
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- {code: '05822156', name:'联通智家通通中视频公司语音.',type:'客户指定预装软件(原预装软件)',risk:'中',useType:'软件',status:'未开始',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
- ]);
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+ {versionName:'CleanSource V8.0', name:'eslint-plugin-import',code: '05811AFV',version: '2.29.0',versionCode: '0583423820',smStatus: '同主软件(GA)',type:'依赖软件',license:'Apache License V2.0',risk:'中',useType:'软件',status:'未开始',url:'https://example17.com/security_updates_page',key:'',created:'2025-03-10 17:25:19',updated:'2025-03-10 17:25:19'},
+]);
const formData = ref({ title: '',type: '', useType: '',formData:'',select: '',time1:null,name:'',versionCode:'',pulishTime:'' });
const typeOptions = reactive(['主软件', '依赖软件']);
const riskOptions = reactive(['低', '中', '高']);
@@ -211,6 +220,13 @@ const openDelete = (row: any) => {
const router = useRouter();
+// 跳转
+const gotoDetail = (row) => {
+ // 后续请换成params,暂时params传参没传过去
+ router.push({
+ path: 'repoDetail/basicInfo/' + row.version
+ });
+};
// 分页
const changeIndex = () => {
// getGroupClaListData();
diff --git a/src/views/Jyh/Version/Detail/VersionInfo.vue b/src/views/Jyh/Version/Detail/VersionInfo.vue
new file mode 100644
index 0000000..5eb7719
--- /dev/null
+++ b/src/views/Jyh/Version/Detail/VersionInfo.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
diff --git a/src/views/Jyh/Version/Detail/index.vue b/src/views/Jyh/Version/Detail/index.vue
new file mode 100644
index 0000000..5ae3fae
--- /dev/null
+++ b/src/views/Jyh/Version/Detail/index.vue
@@ -0,0 +1,274 @@
+
+
+
+ 首页
+ 软件商城-软件版本列表
+ 软件商城-软件版本详情
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Mobile/Repo/Issue/index.vue b/src/views/Mobile/Repo/Issue/index.vue
index d10bfb7..5f9f4a1 100644
--- a/src/views/Mobile/Repo/Issue/index.vue
+++ b/src/views/Mobile/Repo/Issue/index.vue
@@ -29,7 +29,6 @@