diff --git a/.env.development b/.env.development index 14e6bd1..4ff5a90 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,6 @@ #环境标识 VITE_ENV="开发环境" #基础服务 -VITE_BASE_URL="http://localhost:7001/api/v1" +VITE_BASE_URL="http://192.168.1.144:8080/mz-api" #每日一言服务 VITE_BASE_URL_YIYAN_SERVICE="https://tenapi.cn" -#电影服务 -VITE_BASE_URL_MOVIE_SERVICE="https://api.52vmy.cn/api" diff --git a/.env.production b/.env.production index 77dacef..0b91c20 100644 --- a/.env.production +++ b/.env.production @@ -3,6 +3,4 @@ VITE_ENV="生产环境" #基础服务 VITE_BASE_URL="http://localhost:7001/api/v1" #每日一言服务 -VITE_BASE_URL_YIYAN_SERVICE="https://tenapi.cn" -#电影服务 -VITE_BASE_URL_MOVIE_SERVICE="https://api.52vmy.cn/api" +VITE_BASE_URL_YIYAN_SERVICE="https://tenapi.cn" \ No newline at end of file diff --git a/package.json b/package.json index 21fb9b0..71bf31c 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@vitejs/plugin-vue": "^5.0.5", "autoprefixer": "^10.4.19", "postcss": "^8.4.39", + "sass": "^1.89.0", "tailwindcss": "^3.4.4", "typescript": "^5.2.2", "unplugin-auto-import": "^0.17.6", diff --git a/src/api/policy.ts b/src/api/policy.ts new file mode 100644 index 0000000..0709989 --- /dev/null +++ b/src/api/policy.ts @@ -0,0 +1,19 @@ +import request from '@/utils/http.ts' + +/** + * 获取政策资讯列表 + * @param params + * @returns + */ +export const gePolicytList = (params: object) => { + return request.get('/byspc/mzPolicy/page', params) +} + +/** + * 获取政策资讯信息 + * @param id + * @returns + */ +export const getPolicyInfo = (id: number) => { + return request.get(`/asdh5/mzPolicy/${id}`) +} diff --git a/src/assets/images/boke.png b/src/assets/images/boke.png deleted file mode 100644 index bb65242..0000000 Binary files a/src/assets/images/boke.png and /dev/null differ diff --git a/src/assets/images/ewm1.png b/src/assets/images/ewm1.png new file mode 100644 index 0000000..320e3eb Binary files /dev/null and b/src/assets/images/ewm1.png differ diff --git a/src/assets/images/ewm2.png b/src/assets/images/ewm2.png new file mode 100644 index 0000000..6cd3361 Binary files /dev/null and b/src/assets/images/ewm2.png differ diff --git a/src/assets/images/ewm3.png b/src/assets/images/ewm3.png new file mode 100644 index 0000000..7e381ec Binary files /dev/null and b/src/assets/images/ewm3.png differ diff --git a/src/assets/images/ewm4.png b/src/assets/images/ewm4.png new file mode 100644 index 0000000..73bbce8 Binary files /dev/null and b/src/assets/images/ewm4.png differ diff --git a/src/assets/images/logo2.png b/src/assets/images/logo2.png new file mode 100644 index 0000000..e4303f8 Binary files /dev/null and b/src/assets/images/logo2.png differ diff --git a/src/assets/images/nav_bottom.png b/src/assets/images/nav_bottom.png new file mode 100644 index 0000000..e04641f Binary files /dev/null and b/src/assets/images/nav_bottom.png differ diff --git a/src/assets/images/policy-bg.png b/src/assets/images/policy-bg.png new file mode 100644 index 0000000..824aca8 Binary files /dev/null and b/src/assets/images/policy-bg.png differ diff --git a/src/components/BottomNavigation.vue b/src/components/BottomNavigation.vue index 40cdc10..c0dbeca 100644 --- a/src/components/BottomNavigation.vue +++ b/src/components/BottomNavigation.vue @@ -1,20 +1,54 @@ + \ No newline at end of file diff --git a/src/components/NavigationBar.vue b/src/components/NavigationBar.vue index fa7b917..a202d36 100644 --- a/src/components/NavigationBar.vue +++ b/src/components/NavigationBar.vue @@ -1,8 +1,8 @@ + + + + \ No newline at end of file diff --git a/src/view/services/index.vue b/src/view/services/index.vue deleted file mode 100644 index ef6cf41..0000000 --- a/src/view/services/index.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - \ No newline at end of file diff --git a/tailwind.config.ts b/tailwind.config.ts index c4109d2..ee64870 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -9,6 +9,9 @@ export default { extend: { spacing: { "42px": "42px", + "108px": "108px", + "690px": "690px", + "60px": "60px", }, colors: { primary: '#42b983', // 主题色 蓝色