diff --git a/App.vue b/App.vue index f10b684..be95a69 100644 --- a/App.vue +++ b/App.vue @@ -12,6 +12,7 @@ export default { }; - diff --git a/components/tabBar/index.vue b/components/tabBar/index.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/components/tabBar/index.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/main.js b/main.js index c1caf36..234139f 100644 --- a/main.js +++ b/main.js @@ -1,22 +1,24 @@ -import App from './App' +import App from './App'; +import uviewPlus from '@/uni_modules/uview-plus'; // #ifndef VUE3 -import Vue from 'vue' -import './uni.promisify.adaptor' -Vue.config.productionTip = false -App.mpType = 'app' +import Vue from 'vue'; +import './uni.promisify.adaptor'; +Vue.config.productionTip = false; +App.mpType = 'app'; const app = new Vue({ ...App -}) -app.$mount() +}); +app.$mount(); // #endif // #ifdef VUE3 -import { createSSRApp } from 'vue' +import { createSSRApp } from 'vue'; export function createApp() { - const app = createSSRApp(App) + const app = createSSRApp(App); + app.use(uviewPlus); return { app - } + }; } -// #endif \ No newline at end of file +// #endif diff --git a/pages.json b/pages.json index b7bd9b0..8abeeb8 100644 --- a/pages.json +++ b/pages.json @@ -1,6 +1,14 @@ { - "pages": [ - { + "easycom": { + "autoscan": true, + // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175 + "custom": { + "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue", + "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue", + "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue" + } + }, + "pages": [{ "path": "pages/index/index", "style": { "navigationStyle": "custom" @@ -55,8 +63,7 @@ }, "uniIdRouter": {}, "tabBar": { - "list": [ - { + "list": [{ "pagePath": "pages/index/index", "text": "首页" }, @@ -74,4 +81,4 @@ } ] } -} +} \ No newline at end of file diff --git a/pages/my/components/install/index.vue b/pages/my/components/install/index.vue index 0f41f34..df306e0 100644 --- a/pages/my/components/install/index.vue +++ b/pages/my/components/install/index.vue @@ -34,44 +34,44 @@ const { safeAreaInsets } = uni.getSystemInfoSync(); const serve = ref([ { text: '登录密码修改', - icon: '../../../../static/我的设置/1.png', + icon: '../../../../static/wodeshezhi/1.png', id: 0 }, { text: '手势密码修改', - icon: '../../../../static/我的设置/2.png', + icon: '../../../../static/wodeshezhi/2.png', id: 1 }, { text: '删除帐号', - icon: '../../../../static/我的设置/3.png', + icon: '../../../../static/wodeshezhi/3.png', id: 2 }, { text: '帐号迁移', - icon: '../../../../static/我的设置/4.png', + icon: '../../../../static/wodeshezhi/4.png', id: 3 }, { text: '大字版', - icon: '../../../../static/我的设置/5.png', + icon: '../../../../static/wodeshezhi/5.png', id: 4 }, { text: '分享12123给好友', - icon: '../../../../static/我的设置/6.png', + icon: '../../../../static/wodeshezhi/6.png', id: 5 }, { text: '清理缓存', - icon: '../../../../static/我的设置/7.png', + icon: '../../../../static/wodeshezhi/7.png', id: 6 }, { text: '关于', - icon: '../../../../static/我的设置/8.png', + icon: '../../../../static/wodeshezhi/8.png', id: 7 } ]); diff --git a/pages/my/index.vue b/pages/my/index.vue index b85138b..e023940 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -42,54 +42,54 @@ import { ref } from 'vue'; const serve = ref([ { text: '实人认证', - icon: '../../static/我的/1.png', + icon: '../../static/wode/1.png', queenicon: '', user: '', id: 0 }, { text: '我的证件', - icon: '../../static/我的/2.png', + icon: '../../static/wode/2.png', queenicon: '', user: '', id: 1 }, { text: '证件号码', - icon: '../../static/我的/3.png', + icon: '../../static/wode/3.png', queenicon: '', user: '', id: 2 }, { text: '有效期限', - icon: '../../static/我的/4.png', + icon: '../../static/wode/4.png', queenicon: '\ue612', user: '', id: 3 }, { text: '手机号码', - icon: '../../static/我的/5.png', + icon: '../../static/wode/5.png', queenicon: '\ue612', user: '', id: 4 }, { text: '邮寄地址', - icon: '../../static/我的/6.png', + icon: '../../static/wode/6.png', queenicon: '\ue612', id: 5 }, { text: '电子文书', - icon: '../../static/我的/7.png', + icon: '../../static/wode/7.png', queenicon: '\ue612', id: 6 }, { text: '信息申诉', - icon: '../../static/我的/8.png', + icon: '../../static/wode/8.png', queenicon: '\ue612', id: 7 }, @@ -101,7 +101,7 @@ const serve = ref([ }, { text: '咨询反馈', - icon: '../../static/我的/10.png', + icon: '../../static/wode/10.png', queenicon: '\ue612', id: 9 } @@ -117,7 +117,7 @@ const set = () => { \ No newline at end of file + diff --git a/static/网办进度/oe.png b/static/wangban/oe.png similarity index 100% rename from static/网办进度/oe.png rename to static/wangban/oe.png diff --git a/static/我的/1.png b/static/wode/1.png similarity index 100% rename from static/我的/1.png rename to static/wode/1.png diff --git a/static/我的/10.png b/static/wode/10.png similarity index 100% rename from static/我的/10.png rename to static/wode/10.png diff --git a/static/我的/2.png b/static/wode/2.png similarity index 100% rename from static/我的/2.png rename to static/wode/2.png diff --git a/static/我的/3.png b/static/wode/3.png similarity index 100% rename from static/我的/3.png rename to static/wode/3.png diff --git a/static/我的/4.png b/static/wode/4.png similarity index 100% rename from static/我的/4.png rename to static/wode/4.png diff --git a/static/我的/5.png b/static/wode/5.png similarity index 100% rename from static/我的/5.png rename to static/wode/5.png diff --git a/static/我的/6.png b/static/wode/6.png similarity index 100% rename from static/我的/6.png rename to static/wode/6.png diff --git a/static/我的/7.png b/static/wode/7.png similarity index 100% rename from static/我的/7.png rename to static/wode/7.png diff --git a/static/我的/8.png b/static/wode/8.png similarity index 100% rename from static/我的/8.png rename to static/wode/8.png diff --git a/static/我的/9.png b/static/wode/9.png similarity index 100% rename from static/我的/9.png rename to static/wode/9.png diff --git a/static/我的/iconfont.ttf b/static/wode/iconfont.ttf similarity index 100% rename from static/我的/iconfont.ttf rename to static/wode/iconfont.ttf diff --git a/static/我的设置/1.png b/static/wodeshezhi/1.png similarity index 100% rename from static/我的设置/1.png rename to static/wodeshezhi/1.png diff --git a/static/我的设置/2.png b/static/wodeshezhi/2.png similarity index 100% rename from static/我的设置/2.png rename to static/wodeshezhi/2.png diff --git a/static/我的设置/3.png b/static/wodeshezhi/3.png similarity index 100% rename from static/我的设置/3.png rename to static/wodeshezhi/3.png diff --git a/static/我的设置/4.png b/static/wodeshezhi/4.png similarity index 100% rename from static/我的设置/4.png rename to static/wodeshezhi/4.png diff --git a/static/我的设置/5.png b/static/wodeshezhi/5.png similarity index 100% rename from static/我的设置/5.png rename to static/wodeshezhi/5.png diff --git a/static/我的设置/6.png b/static/wodeshezhi/6.png similarity index 100% rename from static/我的设置/6.png rename to static/wodeshezhi/6.png diff --git a/static/我的设置/7.png b/static/wodeshezhi/7.png similarity index 100% rename from static/我的设置/7.png rename to static/wodeshezhi/7.png diff --git a/static/我的设置/8.png b/static/wodeshezhi/8.png similarity index 100% rename from static/我的设置/8.png rename to static/wodeshezhi/8.png diff --git a/static/业务中心/1/1.png b/static/yewuzhongxin/1/1.png similarity index 100% rename from static/业务中心/1/1.png rename to static/yewuzhongxin/1/1.png diff --git a/static/业务中心/1/2.png b/static/yewuzhongxin/1/2.png similarity index 100% rename from static/业务中心/1/2.png rename to static/yewuzhongxin/1/2.png diff --git a/static/业务中心/1/3.png b/static/yewuzhongxin/1/3.png similarity index 100% rename from static/业务中心/1/3.png rename to static/yewuzhongxin/1/3.png diff --git a/static/业务中心/1/5.png b/static/yewuzhongxin/1/5.png similarity index 100% rename from static/业务中心/1/5.png rename to static/yewuzhongxin/1/5.png diff --git a/static/业务中心/1/7.png b/static/yewuzhongxin/1/7.png similarity index 100% rename from static/业务中心/1/7.png rename to static/yewuzhongxin/1/7.png diff --git a/static/业务中心/1/8.png b/static/yewuzhongxin/1/8.png similarity index 100% rename from static/业务中心/1/8.png rename to static/yewuzhongxin/1/8.png diff --git a/static/业务中心/1/9.png b/static/yewuzhongxin/1/9.png similarity index 100% rename from static/业务中心/1/9.png rename to static/yewuzhongxin/1/9.png diff --git a/static/业务中心/2/1.png b/static/yewuzhongxin/2/1.png similarity index 100% rename from static/业务中心/2/1.png rename to static/yewuzhongxin/2/1.png diff --git a/static/业务中心/2/2.png b/static/yewuzhongxin/2/2.png similarity index 100% rename from static/业务中心/2/2.png rename to static/yewuzhongxin/2/2.png diff --git a/static/业务中心/2/3.png b/static/yewuzhongxin/2/3.png similarity index 100% rename from static/业务中心/2/3.png rename to static/yewuzhongxin/2/3.png diff --git a/static/业务中心/2/4.png b/static/yewuzhongxin/2/4.png similarity index 100% rename from static/业务中心/2/4.png rename to static/yewuzhongxin/2/4.png diff --git a/static/业务中心/2/5.png b/static/yewuzhongxin/2/5.png similarity index 100% rename from static/业务中心/2/5.png rename to static/yewuzhongxin/2/5.png diff --git a/static/业务中心/2/6.png b/static/yewuzhongxin/2/6.png similarity index 100% rename from static/业务中心/2/6.png rename to static/yewuzhongxin/2/6.png diff --git a/static/业务中心/3/1.png b/static/yewuzhongxin/3/1.png similarity index 100% rename from static/业务中心/3/1.png rename to static/yewuzhongxin/3/1.png diff --git a/static/业务中心/3/2.png b/static/yewuzhongxin/3/2.png similarity index 100% rename from static/业务中心/3/2.png rename to static/yewuzhongxin/3/2.png diff --git a/static/业务中心/4/1.png b/static/yewuzhongxin/4/1.png similarity index 100% rename from static/业务中心/4/1.png rename to static/yewuzhongxin/4/1.png diff --git a/static/业务中心/4/2.png b/static/yewuzhongxin/4/2.png similarity index 100% rename from static/业务中心/4/2.png rename to static/yewuzhongxin/4/2.png diff --git a/static/业务中心/4/3.png b/static/yewuzhongxin/4/3.png similarity index 100% rename from static/业务中心/4/3.png rename to static/yewuzhongxin/4/3.png diff --git a/static/业务中心/4/5.png b/static/yewuzhongxin/4/5.png similarity index 100% rename from static/业务中心/4/5.png rename to static/yewuzhongxin/4/5.png diff --git a/static/业务中心/5/1.png b/static/yewuzhongxin/5/1.png similarity index 100% rename from static/业务中心/5/1.png rename to static/yewuzhongxin/5/1.png diff --git a/static/业务中心/5/2.png b/static/yewuzhongxin/5/2.png similarity index 100% rename from static/业务中心/5/2.png rename to static/yewuzhongxin/5/2.png diff --git a/static/业务中心/5/3.png b/static/yewuzhongxin/5/3.png similarity index 100% rename from static/业务中心/5/3.png rename to static/yewuzhongxin/5/3.png diff --git a/static/业务中心/5/4.png b/static/yewuzhongxin/5/4.png similarity index 100% rename from static/业务中心/5/4.png rename to static/yewuzhongxin/5/4.png diff --git a/static/业务中心/6/1.png b/static/yewuzhongxin/6/1.png similarity index 100% rename from static/业务中心/6/1.png rename to static/yewuzhongxin/6/1.png diff --git a/static/业务中心/6/2.png b/static/yewuzhongxin/6/2.png similarity index 100% rename from static/业务中心/6/2.png rename to static/yewuzhongxin/6/2.png diff --git a/static/业务中心/6/3.png b/static/yewuzhongxin/6/3.png similarity index 100% rename from static/业务中心/6/3.png rename to static/yewuzhongxin/6/3.png diff --git a/static/业务中心/6/4.png b/static/yewuzhongxin/6/4.png similarity index 100% rename from static/业务中心/6/4.png rename to static/yewuzhongxin/6/4.png diff --git a/uni.scss b/uni.scss index b9249e9..367281a 100644 --- a/uni.scss +++ b/uni.scss @@ -13,6 +13,7 @@ */ /* 颜色变量 */ +@import '@/uni_modules/uview-plus/theme.scss'; /* 行为相关颜色 */ $uni-color-primary: #007aff; @@ -21,32 +22,32 @@ $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d; /* 文字基本颜色 */ -$uni-text-color:#333;//基本色 -$uni-text-color-inverse:#fff;//反色 -$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 +$uni-text-color: #333; //基本色 +$uni-text-color-inverse: #fff; //反色 +$uni-text-color-grey: #999; //辅助灰色,如加载更多的提示信息 $uni-text-color-placeholder: #808080; -$uni-text-color-disable:#c0c0c0; +$uni-text-color-disable: #c0c0c0; /* 背景颜色 */ -$uni-bg-color:#ffffff; -$uni-bg-color-grey:#f8f8f8; -$uni-bg-color-hover:#f1f1f1;//点击状态颜色 -$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 +$uni-bg-color: #ffffff; +$uni-bg-color-grey: #f8f8f8; +$uni-bg-color-hover: #f1f1f1; //点击状态颜色 +$uni-bg-color-mask: rgba(0, 0, 0, 0.4); //遮罩颜色 /* 边框颜色 */ -$uni-border-color:#c8c7cc; +$uni-border-color: #c8c7cc; /* 尺寸变量 */ /* 文字尺寸 */ -$uni-font-size-sm:12px; -$uni-font-size-base:14px; -$uni-font-size-lg:16px; +$uni-font-size-sm: 12px; +$uni-font-size-base: 14px; +$uni-font-size-lg: 16px; /* 图片尺寸 */ -$uni-img-size-sm:20px; -$uni-img-size-base:26px; -$uni-img-size-lg:40px; +$uni-img-size-sm: 20px; +$uni-img-size-base: 26px; +$uni-img-size-lg: 40px; /* Border Radius */ $uni-border-radius-sm: 2px; @@ -68,9 +69,9 @@ $uni-spacing-col-lg: 12px; $uni-opacity-disabled: 0.3; // 组件禁用态的透明度 /* 文章场景相关 */ -$uni-color-title: #2C405A; // 文章标题颜色 -$uni-font-size-title:20px; +$uni-color-title: #2c405a; // 文章标题颜色 +$uni-font-size-title: 20px; $uni-color-subtitle: #555555; // 二级标题颜色 -$uni-font-size-subtitle:26px; -$uni-color-paragraph: #3F536E; // 文章段落颜色 -$uni-font-size-paragraph:15px; +$uni-font-size-subtitle: 26px; +$uni-color-paragraph: #3f536e; // 文章段落颜色 +$uni-font-size-paragraph: 15px; diff --git a/unpackage/dist/cache/.vite/deps/_metadata.json b/unpackage/dist/cache/.vite/deps/_metadata.json index e3dd742..7c16ed3 100644 --- a/unpackage/dist/cache/.vite/deps/_metadata.json +++ b/unpackage/dist/cache/.vite/deps/_metadata.json @@ -1,6 +1,6 @@ { - "hash": "4a204181", - "configHash": "eb966fb1", + "hash": "f0e888ba", + "configHash": "046e9b57", "lockfileHash": "fa978dd2", "browserHash": "f56c9596", "optimized": { @@ -12,4 +12,4 @@ } }, "chunks": {} -} +} \ No newline at end of file