diff --git a/.env b/.env index 8538a58..850c0b2 100644 --- a/.env +++ b/.env @@ -2,23 +2,23 @@ VITE_API_PREFIX = '/api' # 接口地址,可在其它环境配置文件进行覆盖 -VITE_API_URL = 'http://localhost:10010' +VITE_API_URL = 'http://82.157.20.36:10020' # 静态资源地址 -VITE_RESOURCE_PREFIX = 'http://localhost:10010/resource' +VITE_RESOURCE_PREFIX = '/resource' # 站点配置 # - 站点标题 -VITE_SITE_TITLE = '天津市南开区智慧云平台' +VITE_SITE_TITLE = '天津市南开区民政局' # - 站点副标题 VITE_SITE_SUB_TITLE = '' # - 主办单位 VITE_SITE_ORGANIZATION = '天津市南开区民政局' # - 备案号 -VITE_SITE_ICP = '津ICP备2021010010号-3' +VITE_SITE_ICP = '津ICP备13005196号-1' # - 地址 -VITE_SITE_ADDRESS = '天津市南开区' +VITE_SITE_ADDRESS = '天津市南开区红旗南路263号' # SEO配置 -VITE_SEO_KEYWORDS = '天津市南开区民政局' -VITE_SEO_DESCRIPTION = '天津市南开区民政局' +VITE_SEO_KEYWORDS = '天津市,民政局,南开区民政局' +VITE_SEO_DESCRIPTION = '天津市、民政局、南开区民政局' diff --git a/.env.production b/.env.production index b5107ee..0a86d64 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ VITE_APP_ENV = 'production' # 接口地址 -VITE_API_URL = 'http://localhost:10010/' +VITE_API_URL = 'http://82.157.20.36:10020/' diff --git a/.env.staging b/.env.staging index 5ebd73a..50b2a7b 100644 --- a/.env.staging +++ b/.env.staging @@ -1,4 +1,4 @@ VITE_APP_ENV = 'staging' # 接口地址 -VITE_API_URL = 'http://localhost:10010/' +VITE_API_URL = 'http://82.157.20.36:10020/' diff --git a/assets/style/app.scss b/assets/style/app.scss index 7b48b8b..bb5e5ad 100644 --- a/assets/style/app.scss +++ b/assets/style/app.scss @@ -1,4 +1,3 @@ -@import "variables"; html body { padding: 0; margin: 0; @@ -8,7 +7,7 @@ html body { font-family: var(--font-family-base); min-width: var(--body-min-width); .content-wrap { - max-width: var(--page-width); + width: var(--page-width); margin: 0 auto; box-sizing: border-box; } @@ -63,22 +62,3 @@ html body { font-weight: bold; } -// 首页内容宽度 -@media (max-width: $--mobile-max-width) { - html body { - --page-width: 100%; - --body-min-width: 100%; - } -} - -// 移动端 -@media (max-width: $--mobile-max-width) { - html body { - // 边距 - --gap: 15px; - --gap-mini: 8px; - --gap-midele: 20px; - --gap-large: 25px; - --gap-huge: 30px; - } -} \ No newline at end of file diff --git a/assets/style/theme.scss b/assets/style/theme.scss index 47b9fc3..29eea82 100644 --- a/assets/style/theme.scss +++ b/assets/style/theme.scss @@ -31,10 +31,4 @@ body { // 覆盖element-plus的默认字体大小 --el-font-size-base: var(--font-size-base); - // 边距 - --gap: 20px; - --gap-mini: 10px; - --gap-midele: 30px; - --gap-large: 40px; - --gap-huge: 50px; } diff --git a/components/cms/ArticleList.vue b/components/cms/ArticleList.vue index fc06f92..164264c 100644 --- a/components/cms/ArticleList.vue +++ b/components/cms/ArticleList.vue @@ -3,7 +3,7 @@