diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index be18780..67374c7 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -18,7 +18,7 @@
},
"mp-weixin" :
{
- "launchtype" : "local"
+ "launchtype" : "remote"
},
"provider" : "aliyun",
"type" : "uniCloud"
diff --git a/lang/zh-Hans.js b/lang/zh-Hans.js
index e1fd23c..c1f742b 100644
--- a/lang/zh-Hans.js
+++ b/lang/zh-Hans.js
@@ -110,12 +110,12 @@ export default {
ZBGJs: {
title: "压缩因子表格",
url: "/pagesPackage/ngtools_Par/ZBgJs",
- icon:'zt'
+ icon:'zt.png'
},
srjBGJs: {
title: "水容积表格",
url: "/pagesPackage/ngtools_CNG/srjBgJs",
- icon:'vt'
+ icon:'vt.png'
}
// ,
// SqgyJs: {
diff --git a/main.js b/main.js
index 1093ca3..f0be28c 100644
--- a/main.js
+++ b/main.js
@@ -1,6 +1,8 @@
import App from './App'
import i18n from './lang/i18n'
-Vue.prototype.staticDir = 'https://ngtools.cn/pic/static/';
+
+// 网络图片,减少小程序大小
+Vue.prototype.staticDir = 'https://ngtools.cn:3000/pic/static/';
Vue.prototype.getStaticFilePath = function(url) {
return Vue.prototype.staticDir + url;
}
diff --git a/pages-config-template.json b/pages-config-template.json
new file mode 100644
index 0000000..02273ac
--- /dev/null
+++ b/pages-config-template.json
@@ -0,0 +1,76 @@
+/* ===pages-tool===
+ 该文件是pages-tool插件的配置文件模板,仅供参考。可以删除,不影响插件的使用。
+ pages-tool插件可实现将pages.josn中的配置拆分到多个配置文件中,以便实现模块化配置。
+ 在应用中配置项较多、页面较多时,分别在不同文件中进行配置,可使项目代码更为清晰。
+ 在团队多人合作时,按模块分工,分别管理不同的配置文件,可避免同时修改pages.json带来的代码冲突问题。
+
+ 注意:启用该插件并设置了配置文件之后,pages.json配置文件中相关配置项的内容可能会被替换,应根据paes-config.json的设置情况决定哪些配置应该在pages.josn中设置,哪些应该在指定的文件中设置。
+ 提示:插件只会处理已设置的相关项点,不会覆盖pages.json中未指定的项点。详见配置示例
+
+*/
+
+{
+ //可指定一个文件路径,从该文件读取globalStyle配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"globalStyle" : "pages-config/globalStyle.json"
+ //文件的格式同pages.json,但只应包含globalStyle配置项
+ "globalStyle" : "",
+
+ //可指定一个文件路径,从该文件读取easycom配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"easycom" : "pages-config/easycom.json"
+ //文件的格式同pages.json,但只应包含easycom配置项
+ "easycom" : "",
+
+ //可指定一个文件路径,从该文件读取tabBar配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"tabBar" : "pages-config/tabBar.json"
+ //文件的格式同pages.json,但只应包含tabBar配置项
+ "tabBar" : "",
+
+ //可指定多个文件路径,合并多个文件的内容作为pages配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置为:"pages" : ["pages-config/pages-moduleA.json", "pages-config/pages-moduleB.json", "pages-config/pages-moduleC.json", ...]
+ //每个文件的格式同pages.json,但只应包含pages配置项
+ "pages" : [],
+
+ //可指定一个文件路径,从该文件读取condition配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"condition" : "pages-config/condition.json"
+ //文件的格式同pages.json,但只应包含condition配置项
+ "condition" : "",
+
+ //可对每个分包指定一个文件路径,从该文件读取对应分包的pages配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"subPackages" : [pages-config/subPackages-moduleNameA.json, pages-config/subPackages-moduleNameB.json, ...],
+ //文件的格式同pages.json,但只应包含subPackages配置项
+ //需要注意:分包中的pages不能再拆分为多个文件
+ "subPackages" : [],
+
+ //可指定一个文件路径,从该文件读取preloadRule配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"preloadRule" : "pages-config/preloadRule.json"
+ //文件的格式同pages.json,但只应包含preloadRule配置项
+ "preloadRule" : "",
+
+ //推荐配置:"workers" : "pages-config/workers.json"
+ //格式同pages.json
+ "workers" : "",
+
+ //可指定一个文件路径,从该文件读取leftWindow配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"leftWindow" : "pages-config/leftWindow.json"
+ //文件的格式同pages.json,但只应包含leftWindow配置项
+ "leftWindow" : "",
+
+ //可指定一个文件路径,从该文件读取topWindow配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"topWindow" : "pages-config/topWindow.json"
+ //文件的格式同pages.json,但只应包含topWindow配置项
+ "topWindow" : "",
+
+ //可指定一个文件路径,从该文件读取rightWindow配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"rightWindow" : "pages-config/rightWindow.json"
+ //文件的格式同pages.json,但只应包含rightWindow配置项
+ "rightWindow" : "",
+
+ //可指定一个文件路径,从该文件读取uniIdRouter配置;如果不设置,仍然使用pages.json中的配置项
+ //推荐配置:"uniIdRouter" : "pages-config/uniIdRouter.json"
+ //文件的格式同pages.json,但只应包含uniIdRouter配置项
+ "uniIdRouter" : "",
+
+ //默认启动首页,字符串配置(可以引入文件,也可以不引入文件),也可以直接在page.json中配置
+ //推荐配置:"entryPagePath" : "/...." 或 "entryPagePath" : "pages-config/entryPagePath.json"
+ "entryPagePath": ""
+}
diff --git a/pages-config.json b/pages-config.json
new file mode 100644
index 0000000..2027a7e
--- /dev/null
+++ b/pages-config.json
@@ -0,0 +1,40 @@
+/* ===pages-tool===
+ 该文件是pages-tool插件的配置文件
+ pages-tool插件可实现将pages.josn中的配置拆分到多个配置文件中,以便实现模块化配置。
+ 在应用中配置项较多、页面较多时,分别在不同文件中进行配置,可使项目代码更为清晰。
+ 在团队多人合作时,按模块分工,分别管理不同的配置文件,可避免同时修改pages.json带来的代码冲突问题。
+
+ 注意:启用该插件并设置了配置文件之后,pages.json配置文件中相关配置项的内容可能会被替换,应根据paes-config.json的设置情况决定哪些配置应该在pages.josn中设置,哪些应该在指定的文件中设置。
+ 提示:插件只会处理已设置的相关项点,不会覆盖pages.json中未指定的项点。详见配置示例
+
+*/
+
+{
+ "globalStyle" : "pages-config/globalStyle.json",
+
+ "easycom" : "",
+
+ "tabBar" : "pages-config/tabBar.json",
+
+ "pages" : ["pages-config/pages-all.json"],
+
+ "condition" : "pages-config/condition.json",
+
+ "leftWindow" : "",
+
+ "topWindow" : "",
+
+ "rightWindow" : "",
+
+ "uniIdRouter" : "pages-config/uniIdRouter.json",
+
+ ///以下各项为小程序特有配置
+
+ "subPackages" : ["pages-config/subPackages-all.json"],
+
+ "preloadRule" : "",
+
+ "workers" : "",
+
+ "entryPagePath": ""
+}
diff --git a/pages-config/condition.json b/pages-config/condition.json
new file mode 100644
index 0000000..d6f3e13
--- /dev/null
+++ b/pages-config/condition.json
@@ -0,0 +1,18 @@
+/* /// Pages-Tool: 该文件是pages-tool插件的配置文件,根据pages-config.json的配置,本文件的内容可能合并到pages.json*/
+{
+ "condition": {
+ "list": [
+ // {
+ // "path": "pages/list/detail"
+ // },
+ // {
+ // "path": "pages/list/list"
+ // },
+
+ // {
+ // "path": "pages/ucenter/settings/settings"
+ // }
+ ],
+ "current": 1
+ }
+}
\ No newline at end of file
diff --git a/pages-config/globalStyle.json b/pages-config/globalStyle.json
new file mode 100644
index 0000000..36e96cd
--- /dev/null
+++ b/pages-config/globalStyle.json
@@ -0,0 +1,19 @@
+/* /// Pages-Tool: 该文件是pages-tool插件的配置文件,根据pages-config.json的配置,本文件的内容可能合并到pages.json*/
+{
+ "globalStyle": {
+ // #ifdef H5
+ "h5": {
+ "titleNView": false
+ },
+ // #endif
+ "navigationBarTextStyle": "black",
+ // "navigationBarTitleText": "uni-starter",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "backgroundColor": "#F8F8F8",
+ "enablePullDownRefresh": false,
+ // "maxWidth":375,
+ "rpxCalcMaxDeviceWidth": 375,
+ "rpxCalcBaseDeviceWidth": 375
+ // "rpxCalcIncludeWidth":0
+ }
+}
\ No newline at end of file
diff --git a/pages-config/pages-all.json b/pages-config/pages-all.json
new file mode 100644
index 0000000..39620ad
--- /dev/null
+++ b/pages-config/pages-all.json
@@ -0,0 +1,57 @@
+/* /// Pages-Tool: 该文件是pages-tool插件的配置文件,根据pages-config.json的配置,本文件的内容可能合并到pages.json*/
+{
+ "pages": [
+ // {
+ // "path": "pages/grid/login",
+ // "style": {
+ // "navigationStyle": "custom"
+ // }
+ // }
+ // ,
+
+ {
+ "path": "pages/grid/grid",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },{
+ "path": "pages/ucenter",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/list/list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/list/detail",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+
+
+
+
+ // #ifdef APP-PLUS
+ ,{
+ "path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
+ "style": {
+ "disableScroll": true,
+ "app-plus": {
+ "backgroundColorTop": "transparent",
+ "background": "transparent",
+ "titleNView": false,
+ "scrollIndicator": false,
+ "popGesture": "none",
+ "animationType": "fade-in",
+ "animationDuration": 200
+ }
+ }
+ }
+ // #endif
+ ]
+}
\ No newline at end of file
diff --git a/pages-config/subPackages-all.json b/pages-config/subPackages-all.json
new file mode 100644
index 0000000..bdf98e5
--- /dev/null
+++ b/pages-config/subPackages-all.json
@@ -0,0 +1,561 @@
+/* /// Pages-Tool: 该文件是pages-tool插件的配置文件,根据pages-config.json的配置,本文件的内容可能合并到pages.json*/
+{
+ "subPackages": [{
+ "root": "pagesPackage/components",
+ "pages": [{
+ "path": "popup",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom",
+ "app-plus": {
+ "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型
+ "background": "transparent", // 背景透明
+ "backgroundColor": "transparent", // 背景透明
+ "webviewBGTransparent": true,
+ "mask": "none",
+ "popGesture": "none", // 关闭IOS屏幕左边滑动关闭当前页面的功能
+ "bounce": "none" // 将回弹属性关掉
+ }
+ }
+ }]
+ },
+ {
+ "root": "pagesPackage/opendb-banner",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationBarTitleText": "新增"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationBarTitleText": "编辑"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationBarTitleText": "列表"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationBarTitleText": "详情"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pagesPackage/uni-agree",
+ "pages": [{
+ "path": "uni-agree",
+ "style": {
+ "navigationStyle": "custom",
+ "app-plus": {
+ "popGesture": "none"
+ }
+ }
+ }]
+ },
+ {
+ "root": "pagesPackage/ucenter",
+ "pages": [{
+ "path": "invite/invite",
+ "style": {
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "settings/settings",
+ "style": {
+ "navigationBarTitleText": "设置"
+ }
+ },
+ {
+ "path": "read-news-log/read-news-log",
+ "style": {
+ "navigationBarTitleText": "阅读记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pay/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "about/about",
+ "style": {
+ "navigationBarTitleText": "关于",
+ "app-plus": {
+ "titleNView": {
+ "buttons": [{
+ "type": "share"
+ }]
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "uni_modules/uni-feedback",
+ "pages": [{
+ "path": "pages/opendb-feedback/opendb-feedback",
+ "style": {
+ "navigationBarTitleText": "意见反馈",
+ "enablePullDownRefresh": false
+ }
+ }]
+ }, {
+ "root": "uni_modules/uni-id-pages/pages",
+ "pages": [{
+ "path": "userinfo/userinfo",
+ "style": {
+ "navigationBarTitleText": "个人资料"
+ }
+ },
+ {
+ "path": "userinfo/realname-verify/realname-verify",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "实名认证"
+ }
+ },
+ {
+ "path": "login/login-withoutpwd"
+ },
+ {
+ "path": "login/login-withpwd"
+ },
+ {
+ "path": "userinfo/deactivate/deactivate",
+ "style": {
+ "navigationBarTitleText": "注销账号"
+ }
+ },
+ {
+ "path": "userinfo/bind-mobile/bind-mobile",
+ "style": {
+ "navigationBarTitleText": "绑定手机号码"
+ }
+ },
+ {
+ "path": "login/login-smscode",
+ "style": {
+ "navigationBarTitleText": "手机验证码登录"
+ }
+ },
+ {
+ "path": "register/register",
+ "style": {
+ "navigationBarTitleText": "注册"
+ }
+ },
+ {
+ "path": "retrieve/retrieve",
+ "style": {
+ "navigationBarTitleText": "重置密码"
+ }
+ }, {
+ "path": "common/webview/webview",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": ""
+ }
+ }, {
+ "path": "userinfo/change_pwd/change_pwd",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "修改密码"
+ }
+ }, {
+ "path": "register/register-by-email",
+ "style": {
+ "navigationBarTitleText": "邮箱验证码注册"
+ }
+ }, {
+ "path": "retrieve/retrieve-by-email",
+ "style": {
+ "navigationBarTitleText": "通过邮箱重置密码"
+ }
+ },
+ {
+ "path": "userinfo/set-pwd/set-pwd",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "设置密码"
+ }
+ }
+ // #ifdef H5
+ ,
+ {
+ "path": "userinfo/cropImage/cropImage"
+ },
+ {
+ "path": "register/register-admin",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "注册管理员账号"
+ }
+ }
+ // #endif
+ ]
+ }, {
+ "root": "pagesPackage/ngtools_Flow",
+ "pages": [{
+ "path": "cysllJs",
+ "style": {
+ "navigationBarTitleText": "差压式流量计算",
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "sdsllJs",
+ "style": {
+ "navigationBarTitleText": "速度式流量计算",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "ljlllJs",
+ "style": {
+ "navigationBarTitleText": "临界流流量计算",
+ "navigationStyle": "custom"
+
+
+ }
+ },
+ {
+ "path": "SqgyJs",
+ "style": {
+ "navigationBarTitleText": "输气工艺",
+ "navigationStyle": "custom"
+ }
+ }
+
+ ]
+ }, {
+ "root": "pagesPackage/ngtools_Par",
+ "pages": [{
+ "path": "zJs",
+ "style": {
+ "navigationBarTitleText": "压缩因子计算GB/T 17747",
+ "navigationStyle": "custom"
+
+
+ }
+ },
+ {
+ "path": "mdRzJs",
+ "style": {
+ "navigationBarTitleText": "密度热值计算GB/T 11062",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "qtJs",
+ "style": {
+ "navigationBarTitleText": "其他物性参数计算",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "ZBgJs",
+ "style": {
+ "navigationBarTitleText": "压缩因子表格",
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ }, {
+ "root": "pagesPackage/ngtools_CNG",
+ "pages": [{
+ "path": "LNGQhJs",
+ "style": {
+ "navigationBarTitleText": "LNG气化计算",
+ "navigationStyle": "custom"
+
+
+ }
+ },
+ {
+ "path": "srjJs",
+ "style": {
+ "navigationBarTitleText": "罐车水容积计算",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "zxcJs",
+ "style": {
+ "navigationBarTitleText": "装卸量计算",
+ "navigationStyle": "custom"
+ }
+ },
+
+ {
+ "path": "srjBgJs",
+ "style": {
+ "navigationBarTitleText": "水容积表格",
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ }, {
+ "root": "pagesPackage/ngTools_depart",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "edit",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "detail",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "departList/departList",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ }
+ ]
+ },
+ {
+ "root": "pagesPackage/ngTools_Dict",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
+
+ {
+ "root": "pagesPackage/ngTools_DictItem",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
+
+ {
+ "root": "pagesPackage/ngtools_information",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationBarTitleText": "新增"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationBarTitleText": "编辑"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationBarTitleText": "列表"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationBarTitleText": "详情"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pagesPackage/ngtools_categories",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationBarTitleText": "新增"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationBarTitleText": "编辑"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationBarTitleText": "列表"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationBarTitleText": "详情"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pagesPackage/ngTools_SamplingLocation",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pagesPackage/ngTools_MeterList",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pagesPackage/ngtools-goods",
+ "pages": [{
+ "path": "add",
+ "style": {
+ "navigationBarTitleText": "新增"
+ }
+ },
+ {
+ "path": "edit",
+ "style": {
+ "navigationBarTitleText": "编辑"
+ }
+ },
+ {
+ "path": "list",
+ "style": {
+ "navigationBarTitleText": "列表"
+ }
+ },
+ {
+ "path": "detail",
+ "style": {
+ "navigationBarTitleText": "详情"
+ }
+ }
+ ]
+ },
+ {
+ "root": "uni_modules/uni-pay",
+ "pages": [{
+ "path": "pages/success/success",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/ad-interactive-webview/ad-interactive-webview",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/pay-desk/pay-desk",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pages-config/tabBar.json b/pages-config/tabBar.json
new file mode 100644
index 0000000..bd786b9
--- /dev/null
+++ b/pages-config/tabBar.json
@@ -0,0 +1,28 @@
+/* /// Pages-Tool: 该文件是pages-tool插件的配置文件,根据pages-config.json的配置,本文件的内容可能合并到pages.json*/
+{
+ "tabBar": {
+ "color": "#7A7E83",
+ "selectedColor": "#007AFF",
+ "borderStyle": "black",
+ "backgroundColor": "#FFFFFF",
+ "list": [{
+ "pagePath": "pages/grid/grid",
+ "iconPath": "static/tabbar/list.png",
+ "selectedIconPath": "static/tabbar/list_active.png",
+ "text": "首页"
+ }
+ // , {
+ // "pagePath": "pages/list/list",
+ // "iconPath": "static/tabbar/grid.png",
+ // "selectedIconPath": "static/tabbar/grid_active.png",
+ // "text": "常用资料"
+ // }
+ , {
+ "pagePath": "pages/ucenter",
+ "iconPath": "static/tabbar/me.png",
+ "selectedIconPath": "static/tabbar/me_active.png",
+ "text": "我的"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/pages-config/uniIdRouter.json b/pages-config/uniIdRouter.json
new file mode 100644
index 0000000..f66bfaa
--- /dev/null
+++ b/pages-config/uniIdRouter.json
@@ -0,0 +1,10 @@
+/* /// Pages-Tool: 该文件是pages-tool插件的配置文件,根据pages-config.json的配置,本文件的内容可能合并到pages.json*/
+{
+ "uniIdRouter": {
+ "loginPage": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
+ "needLogin": [
+ "/uni_modules/uni-id-pages/pages/userinfo/userinfo"
+ ],
+ "resToLogin": true
+ }
+}
\ No newline at end of file
diff --git a/pages/grid/grid.vue b/pages/grid/grid.vue
index 81e227f..f9de758 100644
--- a/pages/grid/grid.vue
+++ b/pages/grid/grid.vue
@@ -1,10 +1,10 @@
-
-
-
-
+
+
+
+
@@ -36,7 +36,8 @@
-
+
+
{{ item.type }}
@@ -52,7 +53,8 @@
-
+
+
{{ item.type }}
@@ -68,7 +70,8 @@
-
+
+
{{ item.type }}
@@ -173,15 +176,18 @@
gridList = []
gridList.push({
"type": this.$t('wxcsJs.ysyzJs.title'),
- "url": this.$t('wxcsJs.ysyzJs.url')
+ "url": this.$t('wxcsJs.ysyzJs.url'),
+ "icon": this.$t('wxcsJs.ysyzJs.icon')
})
gridList.push({
"type": this.$t('wxcsJs.rzJs.title'),
- "url": this.$t('wxcsJs.rzJs.url')
+ "url": this.$t('wxcsJs.rzJs.url'),
+ "icon": this.$t('wxcsJs.rzJs.icon')
})
gridList.push({
"type": this.$t('wxcsJs.qtJs.title'),
- "url": this.$t('wxcsJs.qtJs.url')
+ "url": this.$t('wxcsJs.qtJs.url'),
+ "icon": this.$t('wxcsJs.qtJs.icon')
})
this.wxcsJsgridList = gridList
@@ -189,26 +195,31 @@
gridList.push({
"type": this.$t('CNGJs.srjJs.title'),
- "url": this.$t('CNGJs.srjJs.url')
+ "url": this.$t('CNGJs.srjJs.url'),
+ "icon": this.$t('CNGJs.srjJs.icon')
})
gridList.push({
"type": this.$t('CNGJs.zxcJs.title'),
- "url": this.$t('CNGJs.zxcJs.url')
+ "url": this.$t('CNGJs.zxcJs.url'),
+ "icon": this.$t('CNGJs.zxcJs.icon')
})
gridList.push({
"type": this.$t('CNGJs.LNGQhJs.title'),
- "url": this.$t('CNGJs.LNGQhJs.url')
+ "url": this.$t('CNGJs.LNGQhJs.url'),
+ "icon": this.$t('CNGJs.LNGQhJs.icon')
})
this.CNGJsgridList = gridList
gridList = []
gridList.push({
"type": this.$t('QtJs.ZBGJs.title'),
- "url": this.$t('QtJs.ZBGJs.url')
+ "url": this.$t('QtJs.ZBGJs.url'),
+ "icon": this.$t('QtJs.ZBGJs.icon')
})
gridList.push({
"type": this.$t('QtJs.srjBGJs.title'),
- "url": this.$t('QtJs.srjBGJs.url')
+ "url": this.$t('QtJs.srjBGJs.url'),
+ "icon": this.$t('QtJs.srjBGJs.icon')
})
// gridList.push({
// "type": this.$t('QtJs.SqgyJs.title'),
@@ -262,7 +273,7 @@
line-height: inherit;
}
-
+
/* #endif */
@@ -270,7 +281,7 @@
display: flex;
flex-direction: row;
align-items: left;
- padding-left : calc(10vw /2);
+ padding-left: calc(10vw /2);
padding-top: 10px;
padding-bottom: 10px;
}
@@ -296,7 +307,7 @@
/* #endif */
-
+
.Grid {
width: 90vw;
@@ -305,7 +316,7 @@
flex-wrap: wrap;
justify-content: flex-start;
align-content: space-between;
- padding-left : calc(10vw /2);
+ padding-left: calc(10vw /2);
column-gap: calc(25% / 3);
row-gap: 5rpx;
box-sizing: content-box;
@@ -329,6 +340,7 @@
height: 100rpx;
}
}
+
.GStitle {
width: 100%;
height: 34rpx;
diff --git a/pages/ucenter.vue b/pages/ucenter.vue
index 62029ad..8512bc1 100644
--- a/pages/ucenter.vue
+++ b/pages/ucenter.vue
@@ -127,11 +127,13 @@
// }
// // #endif
],
- [{
- "title": this.$t('mine.feedback'),
- "to": '/uni_modules/uni-feedback/pages/opendb-feedback/opendb-feedback',
- "icon": "help"
- }, {
+ [
+ // {
+ // "title": this.$t('mine.feedback'),
+ // "to": '/uni_modules/uni-feedback/pages/opendb-feedback/opendb-feedback',
+ // "icon": "help"
+ // },
+ {
"title": this.$t('mine.settings'),
"to": '/pagesPackage/ucenter/settings/settings',
"icon": "gear"
diff --git a/pagesPackage/components/popup.vue b/pagesPackage/components/popup.vue
index 1bb3bba..7eb7204 100644
--- a/pagesPackage/components/popup.vue
+++ b/pagesPackage/components/popup.vue
@@ -71,7 +71,7 @@
.mask-header {
height: 400rpx;
position: relative;
- background-image: url('http://h5.ngtools.cn/pic/static/logomain.png');
+ background-image: url('https://ngtools.cn:3000/pic/static/logomain.png');
background-repeat: no-repeat;
background-size: cover;
image {
diff --git a/uni-starter.config.js b/uni-starter.config.js
index 97ff00b..38b40ac 100644
--- a/uni-starter.config.js
+++ b/uni-starter.config.js
@@ -9,7 +9,7 @@ export default {
// //左侧显示的应用名称
"appname": '天然气计算',
// //应用的图标
- "logo": "https://ngtools.cnhttps://ngtools.cn/pic/static/logomain.png",
+ "logo": "https://ngtools.cn:3000/pic/static/logomain.png",
}
},
"mp": {
@@ -23,7 +23,7 @@ export default {
//应用名称
"appName": "天然气计算",
//应用logo
- "logo": "https://ngtools.cnhttps://ngtools.cn/pic/static/logomain.png",
+ "logo": "https://ngtools.cn:3000/pic/static/logomain.png",
//公司名称
"company": "妍杰丽云工作室",
//口号
diff --git a/uni_modules/next-search-more/changelog.md b/uni_modules/next-search-more/changelog.md
deleted file mode 100644
index 69512e2..0000000
--- a/uni_modules/next-search-more/changelog.md
+++ /dev/null
@@ -1,20 +0,0 @@
-## 1.0.9(2023-07-06)
-增加clear时,同事发送input事件
-## 1.0.8(2023-06-16)
-更新修复input事件
-## 1.0.7(2023-06-15)
-增加输入事件
-## 1.0.6(2023-06-09)
-增加demo
-## 1.0.5(2023-06-09)
-更新more插槽的使用说明
-## 1.0.4(2023-06-09)
-修复mode=more模式下input事件
-## 1.0.3(2023-06-08)
-更改模式
-## 1.0.2(2023-06-08)
-更改说明文件模式
-## 1.0.1(2023-06-08)
-更新说明
-## 1.0.0(2023-06-08)
-初始化next-search-more
diff --git a/uni_modules/next-search-more/components/next-search-more/next-search-more.vue b/uni_modules/next-search-more/components/next-search-more/next-search-more.vue
deleted file mode 100644
index 47b4e4a..0000000
--- a/uni_modules/next-search-more/components/next-search-more/next-search-more.vue
+++ /dev/null
@@ -1,239 +0,0 @@
-
-
-
-
-
-
-
-
-
- 搜索
-
-
-
- {{ !isFixedSearchBtn ? searchName : '搜索' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/uni_modules/next-search-more/package.json b/uni_modules/next-search-more/package.json
deleted file mode 100644
index f0f64e2..0000000
--- a/uni_modules/next-search-more/package.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "id": "next-search-more",
- "displayName": "next-search-more(vue2 vue3多端通用)搜索框组合、搜索下拉框组件全端可用",
- "version": "1.0.9",
- "description": "搜索下拉框,支持多种展示形式,可以结合第三方组件一起使用,可自定义",
- "keywords": [
- "远程搜索",
- "组合搜索",
- "配置搜索",
- "自定义搜索",
- "搜索下拉框"
-],
- "repository": "",
- "engines": {
- "HBuilderX": "^3.1.1"
- },
-"dcloudext": {
- "sale": {
- "regular": {
- "price": "0.00"
- },
- "sourcecode": {
- "price": "0.00"
- }
- },
- "contact": {
- "qq": ""
- },
- "declaration": {
- "ads": "无",
- "data": "插件不采集任何数据",
- "permissions": "无"
- },
- "npmurl": "",
- "type": "component-vue"
- },
- "uni_modules": {
- "platforms": {
- "cloud": {
- "tcb": "y",
- "aliyun": "y"
- },
- "client": {
- "App": {
- "app-vue": "n",
- "app-nvue": "n"
- },
- "H5-mobile": {
- "Safari": "n",
- "Android Browser": "y",
- "微信浏览器(Android)": "y",
- "QQ浏览器(Android)": "y"
- },
- "H5-pc": {
- "Chrome": "y",
- "IE": "n",
- "Edge": "n",
- "Firefox": "n",
- "Safari": "n"
- },
- "小程序": {
- "微信": "y",
- "阿里": "u",
- "百度": "u",
- "字节跳动": "u",
- "QQ": "u"
- },
- "快应用": {
- "华为": "n",
- "联盟": "n"
- },
- "Vue": {
- "vue2": "y",
- "vue3": "y"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/uni_modules/next-search-more/readme.md b/uni_modules/next-search-more/readme.md
deleted file mode 100644
index b418bae..0000000
--- a/uni_modules/next-search-more/readme.md
+++ /dev/null
@@ -1,215 +0,0 @@
-
-## next-search-more --搜索更多,搜索下拉,search-more
-
-> 遇到问题或有建议可以加入QQ群(455948571)反馈
-> 如果觉得组件不错,给五星鼓励鼓励咯!
-
-
-## 使用
-
->[从uniapp插件市场导入](https://ext.dcloud.net.cn/plugin?name=next-search-more)
-
-```html
-
-
- 1. mode=more模式
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2. mode=common;button=outside模式
-
- 3. mode=common;button=inside模式
-
- 4. mode=center;button=outside模式
-
- 5. mode=center;button=inside模式
-
- 6. mode=center;button=inside;isFixedSearchBtn=false模式
-
- 全站ICON图标海量下载iconfont图标大全,为你优选-包图网,全站ICON图标海量下载iconfont图标大全,为你优选-包图网
-
-
-```
-
-### vue3 + ts 使用
-
-```js
-
-
-
-
-
-```
-### vue2 同样支持,在这里不再写demo
-
-### 组件按需加载
-如果不需要组件全局加载,而已把组件拷贝到项目的components目录下,单独引入进来使用即可达到按需加载的效果
-### 预览
-
-***
-
-| 功能预览 | | 项目中应用演示 |
-| :--------------------------------------------------------------------------:| | :-----------------------------------------------------------------------------:|
-|  | |  |
-
-
-## 参数
-
-
-### next-search-more Props
-
-可选参数属性列表
-
-|参数名 |说明 |类型 |是否必填 |默认值 |可选值 |
-|---- |---- |---- |---- |---- |---- |
-|mode |模式mode,支持common模式 center模式 more模式 |String |否 |common |center,more|
-|button |搜索按钮的模式,支持outside模式 inside模式 |String |否 |outside |inside |
-|isFixedSearchBtn |是否固定搜索按钮 |Boolean |否 |true |false |
-|radius |搜索控件的radius |String, Number |否 |60 |- |
-|placeholder | placeholder |String |否 |请输入搜索内容 |- |
-|backgroundColor |搜索控件的背景颜色 |String |否 |#fff |- |
-|showMore | mode=more模式下,用于控制打开下拉弹层 |Boolean |否 |false |true |
-|border| border |String |否 |1px #f5f5f5 solid |- |
-
-
-# Event 事件
-|事件名 |说明 |类型 |回调参数 |
-|---- |---- |---- |---- |
-|input |搜索框输入事件 |emit |- |
-|search|搜索触发的事件 |emit |- |
-|moreClick|更多按钮点击触发事件 |emit |- |
-
-## Slot 插槽
-
-|名称 |说明 |参数 |
-|---- |---- |---- |
-|more |more插槽,在mode=more模式下用于存放下拉框内容 |无 |
diff --git a/uni_modules/next-tree/changelog.md b/uni_modules/next-tree/changelog.md
deleted file mode 100644
index efdddaf..0000000
--- a/uni_modules/next-tree/changelog.md
+++ /dev/null
@@ -1,169 +0,0 @@
-## 1.8.7(2024-05-08)
-fix bug
-## 1.8.6(2024-04-07)
-功能更新
-## 1.8.5(2024-04-07)
-修复bug
-## 1.8.3(2024-04-06)
-update
-## 1.8.2(2024-04-06)
-update
-## 1.8.1(2024-04-06)
-fix bug
-## 1.8.0(2024-04-03)
-优化
-## 1.7.9(2024-04-03)
-优化编辑tree功能
-## 1.7.8(2024-04-02)
-超集功能上线
-## 1.7.7(2024-03-26)
-增加expandedMode=singe
-## 1.7.6(2024-02-27)
-修复特殊字符的处理方法
-## 1.7.5(2024-02-26)
-增加无子节点的父节点配置
-## 1.7.4(2024-02-05)
-修复vue2,语法使用问题
-## 1.7.3(2024-02-05)
-修复vue2,插槽不显示bug
-## 1.7.2(2024-02-05)
-优化大数据的性能
-## 1.7.1(2024-01-25)
-优化功能说明
-## 1.7.0(2024-01-24)
-增加expandedKeys默认展开项目,配置
-## 1.6.9(2024-01-23)
-增加change事件
-## 1.6.8(2024-01-22)
-搜索模式下,不再响应展开收起逻辑
-## 1.6.7(2024-01-04)
-修复异步加载节点搜索展示bug
-## 1.6.6(2023-12-29)
-修复next-tree异步加载节点关闭bug
-## 1.6.5(2023-12-21)
-fix bug
-## 1.6.4(2023-12-21)
-fix bug
-## 1.6.3(2023-12-21)
-更新vue2版本说明文档
-## 1.6.2(2023-12-21)
-修复说明文档
-## 1.6.1(2023-12-18)
-增加empty插槽
-## 1.6.0(2023-12-18)
-增加empty插槽
-## 1.5.9(2023-12-15)
-修改说明文件
-## 1.5.8(2023-12-15)
-修复changeVerify函数单选时,返回参数bug
-## 1.5.7(2023-12-14)
-修复checkStrictlyModel === 'strong'的bug
-## 1.5.6(2023-12-13)
-代码优化
-## 1.5.5(2023-12-13)
-优化changeVerify的使用
-## 1.5.4(2023-12-12)
-修复提示层级问题
-## 1.5.3(2023-12-12)
-优化uiMode=page模式下的使用
-## 1.5.2(2023-12-11)
-增加uiMode配置,实现页面模式展示
-## 1.5.1(2023-12-06)
-更新说明
-## 1.5.0(2023-12-06)
-更新插件使用注意事项
-## 1.4.9(2023-12-01)
-增加topBar插槽
-## 1.4.8(2023-11-30)
-增加changeVerify验证函数,实现change的各种控制
-## 1.4.7(2023-11-30)
-增加弹层容器高度可配置
-## 1.4.6(2023-11-28)
-修复bug
-## 1.4.5(2023-11-28)
-修复disabled是,需要显示灰色不可操作
-## 1.4.4(2023-11-28)
-增加说明
-## 1.4.3(2023-11-28)
-增加主题配置
-## 1.4.2(2023-11-28)
-增加异步加载时,子节点说明
-## 1.4.1(2023-11-27)
-修复说明bug
-## 1.4.0(2023-11-27)
-next-tree 全面说明文档
-## 1.3.6(2023-11-27)
-增加远程加载loadData,全面实现全功能覆盖
-## 1.3.5(2023-11-27)
-增加title的定义
-## 1.3.4(2023-11-27)
-增加title支持自定义定制
-## 1.3.3(2023-11-21)
-增加搜索模式searchModel=depHighlight模式,从属高亮显示模式
-## 1.3.2(2023-11-20)
-修复valueKey设置bug
-## 1.3.1(2023-11-17)
-增加说明文件,和demo
-## 1.3.0(2023-11-17)
-修复clear时不支持关联模式的设置
-## 1.2.9(2023-11-17)
-增加checkStrictlyModel模式设置,强关联,和弱关联
-## 1.2.8(2023-11-16)
-增加next-tree的辅助线模式
-## 1.2.7(2023-11-16)
-优化next-tree
-## 1.2.6(2023-11-16)
-修复搜索时,隐藏未打开的数据
-## 1.2.5(2023-11-16)
-修复搜索无法点击,和级联半选不生效问题
-## 1.2.4(2023-11-16)
-更新新功能插件使用说明
-## 1.2.3(2023-11-16)
-增加插槽模式,只是高ui要求定制
-## 1.2.2(2023-11-15)
-修复checkStrictly配置下,子关联父的选择状态
-## 1.2.1(2023-11-15)
-增加半选提示功能配置showHalfCheckedTips
-## 1.2.0(2023-11-14)
-修复disabled配置状态下,父子级联,不需要改变disabled设置项的选择状态
-## 1.1.9(2023-11-13)
-增强大数据量体验交互,增加筛选搜索模式
-## 1.1.8(2023-11-13)
-增加清除clear和取消cancel事件
-## 1.1.7(2023-11-08)
-更新next-tree插件功能清单说明
-## 1.1.6(2023-11-07)
-update说明文档
-## 1.1.5(2023-11-07)
-update
-## 1.1.4(2023-11-07)
-更新readme.md说明
-## 1.1.3(2023-11-07)
-更新说明demo
-## 1.1.2(2023-11-07)
-增加子节点按需渲染演示demo
-## 1.1.1(2023-11-07)
-增加清空功能
-## 1.1.0(2023-11-07)
-增加子孙节点按需渲染,扩展本插件支持大数据量渲染;
-## 1.0.9(2023-10-26)
-增加文件说明
-## 1.0.8(2023-09-14)
-增加禁用节点属性配置disabledKey
-## 1.0.7(2023-09-06)
-增加checkStrictly,实现父子节点关联
-## 1.0.6(2023-09-06)
-更新vue2使用过程视图不更新的技术说明
-## 1.0.5(2023-09-06)
-修复说明文档
-## 1.0.4(2023-06-19)
-修改demo
-## 1.0.3(2023-06-19)
-更新vue2的使用demo
-## 1.0.2(2023-06-19)
-修复说明文档
-
-## 1.0.1(2023-05-10)
-更新说明文件
-## 1.0.0(2023-05-09)
-初始化项目
diff --git a/uni_modules/next-tree/components/next-tree/next-tree.vue b/uni_modules/next-tree/components/next-tree/next-tree.vue
deleted file mode 100644
index 5e47118..0000000
--- a/uni_modules/next-tree/components/next-tree/next-tree.vue
+++ /dev/null
@@ -1,1034 +0,0 @@
-
-
-
-
-
- 取消
- {{customTitle}}
-
- 清空
- 还原
-
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
- ✔
-
-
-
- 一
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/uni_modules/next-tree/components/next-tree/style.css b/uni_modules/next-tree/components/next-tree/style.css
deleted file mode 100644
index 76c987f..0000000
--- a/uni_modules/next-tree/components/next-tree/style.css
+++ /dev/null
@@ -1,269 +0,0 @@
-@font-face {
- font-family: 'iconfont';
- src: url('//at.alicdn.com/t/c/font_4110624_qs48wckazsh.ttf?t=1712479573821') format('truetype');
-}
-@keyframes spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
-}
-
-.iconfont {
- font-family: iconfont;
- font-style: normal;
-}
-.iconfont-loading {
- font-family: iconfont;
- display: inline-block;
- font-style: normal;
- animation: spin 1s linear infinite;
-}
-.next-tree-mask {
- position: fixed;
- top: 0rpx;
- right: 0rpx;
- bottom: 0rpx;
- left: 0rpx;
- z-index: 997;
- background-color: rgba(0, 0, 0, 0.6);
- opacity: 0;
- transition: all 0.3s ease;
- visibility: hidden;
-}
-.next-tree-mask.show {
- visibility: visible;
- opacity: 1;
-}
-.next-tree-cnt {
- position: fixed;
- top: 0rpx;
- right: 0rpx;
- bottom: 0rpx;
- left: 0rpx;
- z-index: 997;
- top: 360rpx;
- transition: all 0.3s ease;
- transform: translateY(100%);
-}
-.next-tree-cnt.next-tree-cnt-page {
- transition: none;
-}
-.next-tree-cnt.show {
- transform: translateY(0);
-}
-.next-tree-bar {
- background-color: #fff;
- height: 72rpx;
- padding-left: 20rpx;
- padding-right: 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- box-sizing: border-box;
- border-bottom-width: 1rpx !important;
- border-bottom-style: solid;
- border-bottom-color: #f5f5f5;
- font-size: 32rpx;
- color: #757575;
- line-height: 1;
-}
-.next-tree-bar-btns {
- display: inline-block;
- display: flex;
- flex-direction: row;
-}
-.btn-divid {
- display: inline-block;
- width: 1px;
- margin: 0 10px;
- background-color: #ccc;
-}
-.next-tree-bar-confirm {
- color: #f9ae3d;
-}
-.next-tree-view {
- position: absolute;
- top: 0rpx;
- right: 0rpx;
- bottom: 0rpx;
- left: 0rpx;
- top: 72rpx;
- background-color: #fff;
- padding-top: 20rpx;
- padding-right: 20rpx;
- padding-bottom: 20rpx;
- padding-left: 20rpx;
-}
-.next-tree-view-sc {
- height: 100%;
- overflow: hidden;
-}
-.next-tree-view-sc .empty {
- text-align: center;
- color: #757575;
- padding: 30rpx;
-}
-.next-tree-item-block {
-
-}
-.next-tree-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 26rpx;
- color: #757575;
- line-height: 1;
- height: 0;
- opacity: 0;
- transition: 0.2s;
- position: relative;
- overflow: hidden;
-}
-.next-tree-item .icon-btn {
- font-size: 30rpx;
- margin-right: 20rpx;
-}
-.next-tree-item .left-line {
- position: relative;
- width: 1rpx;
- height: 100%;
- box-sizing: border-box;
-}
-.next-tree-item .left-line::before {
- position: absolute;
- content: "";
- width: 1rpx;
- height: 100%;
- background-color: rgba(204,204,204,0.9);
- box-sizing: border-box;
-
- left: -18rpx;
-}
-.next-tree-item .parent-horizontal-line {
- width: 1rpx;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0rpx;
- box-sizing: border-box;
- background-color: rgba(204,204,204,0.9);
-}
-.next-tree-item .left-line .horizontal-line {
- width: 20rpx;
- height: 1rpx;
- position: absolute;
- top: 40rpx;
- left: 0rpx;
- background-color: rgba(204,204,204,0.9);
- box-sizing: border-box;
-}
-
-.next-tree-item.show {
- height: 80rpx;
- opacity: 1;
-}
-.next-tree-item.showchild:before {
- transform: rotate(90deg);
-}
-.next-tree-item.border {
- border-bottom: 1rpx solid rgba(204,204,204,0.2);
-}
-.next-tree-item.last:before {
- opacity: 0;
-}
-.next-tree-item.disabled {
- color: #ccc!important;
-}
-
-.next-tree-icon {
- width: 26rpx;
- height: 26rpx;
- margin-right: 8rpx;
-}
-.next-tree-label {
- flex: 1;
- display: flex;
- align-items: center;
- height: 100%;
- line-height: 1.2;
-}
-.next-tree-label .label-input {
- border: 1rpx solid #f0f0f0;
- border-radius: 10rpx;
- width: 100%;
- padding: 12rpx 18rpx;
- margin-right: 30rpx;
-}
-.next-tree-check {
- width: 40px;
- height: 40px;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-.next-tree-check-yes,
-.next-tree-check-no {
- width: 20px;
- height: 20px;
- border-top-left-radius: 20%;
- border-top-right-radius: 20%;
- border-bottom-right-radius: 20%;
- border-bottom-left-radius: 20%;
- border-top-width: 1rpx;
- border-left-width: 1rpx;
- border-bottom-width: 1rpx;
- border-right-width: 1rpx;
- border-style: solid;
- border-color: #f9ae3d;
- display: flex;
- justify-content: center;
- align-items: center;
- box-sizing: border-box;
-}
-.next-tree-check-yes-b {
- border-top-left-radius: 20%;
- border-top-right-radius: 20%;
- border-bottom-right-radius: 20%;
- border-bottom-left-radius: 20%;
- background-color: #f9ae3d;
- color: #fff;
-}
-.next-tree-check-yes-b .icon-text {
- font-size: 14px;
- font-weight: normal;
- font-family: uicon-iconfont;
- display: flex;
- flex-direction: row;
- align-items: center;
-}
-.next-tree-check .radio {
- border-top-left-radius: 50%;
- border-top-right-radius: 50%;
- border-bottom-right-radius: 50%;
- border-bottom-left-radius: 50%;
-}
-.next-tree-check .radio .next-tree-check-yes-b {
- border-top-left-radius: 50%;
- border-top-right-radius: 50%;
- border-bottom-right-radius: 50%;
- border-bottom-left-radius: 50%;
-}
-
-.next-tree-item.disabled .next-tree-check-no {
- color: #ccc!important;
-}
-.next-tree-item.disabled .next-tree-check-yes-b {
- background-color: #ccc!important;
-}
-.hover-c {
- opacity: 0.6;
-}
-
-.fixed-bottom-bar {
- position: fixed;
- bottom: 0rpx;
- left: 0rpx;
- right: 0rpx;
- z-index: 998;
-}
-
-
diff --git a/uni_modules/next-tree/package.json b/uni_modules/next-tree/package.json
deleted file mode 100644
index 6eb8ba2..0000000
--- a/uni_modules/next-tree/package.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "id": "next-tree",
- "displayName": "next-tree(超强树选择器、树组件、树插件、无限级联树、单选树、多选树、自定义样式树、树形选择器)",
- "version": "1.8.7",
- "description": "next-tree 弹窗树形选择器,支持多选,支持大数据, 无限级联,单选,父子级级联,远程/ajax加载,子节点增量/异步渲染,自定义样式定制,具名插槽等;支持h5/小程序/APP,全端通用",
- "keywords": [
- "树选择",
- "tree",
- "弹窗树选择器",
- "多选树",
- "单选树"
-],
-"engines": {
- },
-"dcloudext": {
- "sale": {
- "regular": {
- "price": "0.00"
- },
- "sourcecode": {
- "price": "0.00"
- }
- },
- "contact": {
- "qq": ""
- },
- "declaration": {
- "ads": "无",
- "data": "修改版本说明",
- "permissions": "无"
- },
- "npmurl": "",
- "type": "component-vue"
- },
- "uni_modules": {
- "dependencies": ["next-search-more"],
- "encrypt": [],
- "platforms": {
- "cloud": {
- "tcb": "y",
- "aliyun": "y",
- "alipay": "n"
- },
- "client": {
- "Vue": {
- "vue2": "y",
- "vue3": "y"
- },
- "App": {
- "app-vue": "y",
- "app-nvue": "u"
- },
- "H5-mobile": {
- "Safari": "y",
- "Android Browser": "y",
- "微信浏览器(Android)": "y",
- "QQ浏览器(Android)": "y"
- },
- "H5-pc": {
- "Chrome": "y",
- "IE": "n",
- "Edge": "y",
- "Firefox": "y",
- "Safari": "u"
- },
- "小程序": {
- "微信": "y",
- "阿里": "y",
- "百度": "y",
- "字节跳动": "u",
- "QQ": "y",
- "钉钉": "y",
- "快手": "u",
- "飞书": "u",
- "京东": "u"
- },
- "快应用": {
- "华为": "u",
- "联盟": "u"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/uni_modules/next-tree/readme.md b/uni_modules/next-tree/readme.md
deleted file mode 100644
index bf496f9..0000000
--- a/uni_modules/next-tree/readme.md
+++ /dev/null
@@ -1,843 +0,0 @@
-
-## next-tree --下拉树
-
-> 遇到问题或有建议可以加入QQ群(455948571)反馈
-> 如果觉得组件不错,给五星鼓励鼓励咯!
-
-## 亮点功能说明(打造你不得不用的好插件)
-
-### 本插件自1.5.0版本后支持一下功能
-
- > 1.大数据量渲染(本插件智能判断,如果子孙集数据量大于50时,会响应等待渲染视图;)
- > 2.子节点按需渲染(自动启用,无需配置)
- > 3.父子级联选择设置
- > 4.单选多选设置
- > 5.父节点是否可选设置
- > 6.回显默认选中值
- > 7.不可选项disabled设置
- > 8.增强大数据量体验交互,增加筛选搜索模式
- > 9.增强样式定制,提供自定义插槽,实现高要求样式定制
- > 10.增加辅助线模式,外观更加精美
- > 11.支持动态配置title
- > 12.支持搜索模式searchModel=depHighlight模式,从属高亮显示模式
- > 13.支持异步加载子节点,ajax加载子节点
- > 14.增加可配置主题,自由定制插件主题颜色
- > 15.支持动态校验,可以进行提示控制校验
- > 16.支持页面模式/弹层模式,可以进行单页面展示或者弹层展示
- > 17.支持半选提示状态显示
- > 18.支持展开项expandedKeys配置
- > 19.全面支持vue2/vue3
- > 20.增加无子节点的父节点配置支持(当item[childrenKey]为null时,代表无子节点的父节点)
- > 21.终极支持超数据量使用,增加展开模式配置单链路配置使用expandedMode=singe,使得ui组件使用进一步不在限制与数据量
- > 22.功能模式再次增强,支持单选tree,多选tree,编辑tree,展示tree;
-
-## 注意
-
-### 作者不介意你对组件源码进行改造使用,为了开源更加高效,谢谢你的配合;为了节省不必要的沟通浪费,以下情况请不要再反馈给作者,请自行解决;
-### 在这感各位的理解,我支持开源,但是作者时间有限;谢谢各位的配合;在这里期望我写的小小插件能为你提供便捷;
-
- > 1.如果你对源码进行了修改使用,请不需要对作者做任何的反馈,作者确实没有空陪你做技术分析解答;
- > 2.如果你引入插件,连插件是否有正常被uniapp框架识别解析都不清楚,请你换个插件使用;
- > 3.如果你引入插件,针对自己项目进行功能改造的,请自行仔细阅读源码并了解其原理,自行改造;这里作者不愿意浪费过多时间进行技术解答;
- > 4.如果你不想进行全局加载next-tree,需要按需加载;next-tree中有相关依赖的组件,需要你自行在组件内部单独引入;依赖组件可以在package.json中找到;
- > 5.理论上作者不再解决由于本地开发环境问题所导致的插件使用问题,请自行到uniapp官网学习解决;
-
-## 使用
-### 超集功能即将不对外开源;
-
->[从uniapp插件市场导入](https://ext.dcloud.net.cn/plugin?name=next-tree)
-
-## 关注作者的动态
-[点击进入主页,关注作者](https://ask.dcloud.net.cn/people/ponder_7464)
-
-## 关注作者其他开源
-
-npm开源包:[npm](https://www.npmjs.com/~lixueshiaa);
-github开源项目:[github](https://github.com/lixueshiaa);
-
-
-```html
-
-
- 1、设置单选和父级不可选
-
- 2、设置多选和父级不可选
-
- 3、设置单选和父级可选
-
- 4、设置多选和父级可选
-
- 4、设置多选和父级可选和父级关联子级选择
-
- 5、设置默认回显(默认选中: '上海-2', '黄埔区-35')
-
-
- 6、异步加载渲染demo
-
-
-
-
-
-
-
-
-
-
-
-
-```
-
-### vue3 + ts 使用
-
-```ts
-
-
-
-```
-
-### vue2 使用
-```html
-
-
-
- 1、设置单选和父级不可选
-
- 2、设置多选和父级不可选
-
- 3、设置单选和父级可选
-
- 4、设置多选和父级可选
-
- 4、设置多选和父级可选和父级关联子级选择
-
- 5、设置默认回显(默认选中: '上海-2', '黄埔区-35')
-
-
- 6、异步加载渲染demo
-
-
-
-
-
-
-
-
-
-
-
-
-```
-
-```js
-
-
-
-```
-
-### 个性化自定义样式渲染
-
-如果你的需求对样式需求比较高,请使用插槽模式渲染,本组件提供label插槽供你自定义定制;
-
-```js
-
-```
-
-### 预览
-###
-***
-
-| 功能预览 | 父子级关联演示 | 全面支持大数据量,子孙节点ui按需渲染(按需渲染数据) |
-| :------------------------------------------------------------------: | :------------------------------------------------------------------: | :------------------------------------------------------------------: |
-|  |  |  |
-
-
-
-| 增强控件交互能力,增加筛选search模式,全面支持大数据量交互 | 超强的样式定制能力,满足你高精美组件的需求 | 打开精美的辅助线模式,让你的控件更加友好 |
-| :------------------------------------------------------------------: | :------------------------------------------------------------------: | :------------------------------------------------------------------: |
-|  |  |  |
-
-
-| 增加搜索模式searchModel=depHighlight模式,从属高亮显示模式 | 支持异步加载子节点,子树集,ajax远程加载数据等 | 支持不同主题的切换,ui定制更简单 |
-| :------------------------------------------------------------------: | :------------------------------------------------------------------: | :------------------------------------------------------------------: |
-|  |  |  |
-
-| 增加验证函数和topBar插槽使得更加容易和组件进行交互 | 增加页面模式,支持整页ui展示模式 | 增加展开模式expandedMode配置,支持单链路展开,理论上支持几万数据量 |
-| :------------------------------------------------------------------: | :------------------------------------------------------------------: | :------------------------------------------------------------------: |
-| | |  |
-
-
-
-### 超集功能预览(增值功能)
-###
-| 实现tree的功能模式扩展,让你的tree组件实现可编辑态 |
-| :--------------------------------------------------------------------: |
-| |
-
-## 参数
-可选参数属性列表
-
-|参数名 |说明 |类型 |是否必填 |默认值 |可选值 |
-|---- |---- |---- |---- |---- |----------------------- |
-|uiMode |ui表现方式;popup<弹窗>, page<页面>;默认是 popup |String |是 |popup |page |
-|funcMode |功能模式配置;display<展示模式>, edit<编辑模式>,checkbox<多选模式>, radio<单选模式>;默认是 radio |String |是 |radio |dispaly,edit,checkbox |
-|treeData |树源数据列表 |Array |是 |[] |- |
-|valueKey |绑定value的键属性(项的唯一key标识) |String |否 |id |- |
-|labelKey |用于显示的字段 |String |否 |label |- |
-|disabledKey |禁用节点绑定属性 |String |否 |disabled |- |
-|childrenKey |子节点绑定属性 (注意:当item[childrenKey]的值设为null时,代表是无下级数据的父节点,即非叶子节点) |String |否 |children |- |
-|title | 弹出标题(如果是函数时会返回所选项的值作为回调参数如;title: (checked):String => {}) |String, Function |否 |'' |- |
-|selectParent |作用于funcMode=display模式下;是否可以选父级 |Boolean |否 |false |true |
-|foldAll| 折叠时关闭所有已经打开的子集,再次打开时需要一级一级打开 |Boolean |否 |false |true |
-|themeColor |主题颜色 |String |否 |#f9ae3d |- |
-|cancelColor |取消按钮颜色 |String |否 |#757575 |- |
-|titleColor |标题颜色 |String |否 |#757575 |- |
-|border |是否有分割线 |Boolean |否 |false |true |
-|checkStrictly|作用于funcMode=checkbox模式下; 状态下节点选择完全受控(父子节点选中状态不再关联) |Boolean |否 |false |true |
-|checkStrictlyModel|作用于funcMode=checkbox模式下;父子节点关联模式:strong:强关联(不再受限节点的disabled控制),weak:弱关联(节点关联受disabled控制) |String |是 |weak |strong |
-|showHalfCheckedTips|作用于funcMode=checkbox模式下; checkStrictly为false的状态下生效;父子节点选中状态不再关联,是否展示半选提示; |Boolean |否 |false |true |
-|ifSearch| 筛选search模式 |Boolean |否 |true |false |
-|searchModel| 搜索模式配置 depHighlight: 从属高亮(显示层级并高亮显示);common: 一般 |String |否 |common |depHighlight |
-|showAuxiliaryLine| 是否打开辅助线 |Boolean |否 |false |true |
-|loadData| 异步加载函数 (node):Promise([childData]) => {} // demo有说明 |Function |否 |- |- |
-|height| 只在uiMode=popup时生效;弹层容器的高度,默认是500 |Number |否 |500 |- |
-|changeVerify|作用于funcMode=display模式下; 验证函数 (current as any, chooseList as any []):String => {} // 验证函数会把当前控件的选择值作为参数返给函数体,demo有说明 |Function |否 |- |- |
-|expandedKeys| (Controlled) Specifies the keys of the expanded treeNodes 展开配置项,格式为[valueKey] |Array |否 |[] |- |
-|expandedMode| 展开模式配置: common: 一般模式;singe: 单一模式; |String |否 |common |singe |
-
-
-# Event 事件
-|事件名 |说明 |类型 |回调参数 |
-|---- |---- |---- |---- |
-|confirm|菜单收起时返回的筛选结果 |emit |array |
-|clear|点击清除按钮时触发 |emit |- |
-|cancel|关闭弹层和点击取消时触发 |emit |- |
-|change|选项改变时触发 |emit |array |
-
-## Slot 插槽
-
-|名称 |说明 |参数 |
-|---- |---- |---- |
-|label |label插槽 |data(当前项对于treeData里面的数据) |
-|topBar |topBar插槽 |----滚动区域顶部topBar插槽 |
-|bottomBar |bottomBar插槽 |----滚动区域底部bottomBar插槽 |
-|fixedBottomBar |fixedBottomBar插槽 |----固定在页面的底部,使用fixed进行定位 |
-|empty |empty插槽 |----数据为空的插槽 |
-
diff --git a/uni_modules/uni-calendar/changelog.md b/uni_modules/uni-calendar/changelog.md
index f291eec..30ca0df 100644
--- a/uni_modules/uni-calendar/changelog.md
+++ b/uni_modules/uni-calendar/changelog.md
@@ -1,3 +1,7 @@
+## 1.4.12(2024-09-21)
+- 修复 calendar在选择日期范围后重新选择日期需要点两次的Bug
+## 1.4.11(2024-01-10)
+- 修复 回到今天时,月份显示不一致问题
## 1.4.10(2023-04-10)
- 修复 某些情况 monthSwitch 未触发的Bug
## 1.4.9(2023-02-02)
diff --git a/uni_modules/uni-calendar/components/uni-calendar/calendar.js b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
index b8d7d6f..55eed81 100644
--- a/uni_modules/uni-calendar/components/uni-calendar/calendar.js
+++ b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
@@ -351,10 +351,8 @@ var calendar = {
s = '\u521d\u5341'; break
case 20:
s = '\u4e8c\u5341'; break
- break
case 30:
s = '\u4e09\u5341'; break
- break
default :
s = this.nStr2[Math.floor(d / 10)]
s += this.nStr1[d % 10]
diff --git a/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
index 17c958d..0beebfb 100644
--- a/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
+++ b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
@@ -328,11 +328,12 @@
const date = this.cale.getDate(new Date())
const todayYearMonth = `${date.year}-${date.month}`
+ this.init(date.fullDate)
+
if(nowYearMonth !== todayYearMonth) {
this.monthSwitch()
}
- this.init(date.fullDate)
this.change()
},
/**
diff --git a/uni_modules/uni-calendar/components/uni-calendar/util.js b/uni_modules/uni-calendar/components/uni-calendar/util.js
index 5ec8a92..e0c5103 100644
--- a/uni_modules/uni-calendar/components/uni-calendar/util.js
+++ b/uni_modules/uni-calendar/components/uni-calendar/util.js
@@ -296,7 +296,7 @@ class Calendar {
if (!this.range) return
if (before && after) {
- this.multipleStatus.before = ''
+ this.multipleStatus.before = fullDate
this.multipleStatus.after = ''
this.multipleStatus.data = []
} else {
diff --git a/uni_modules/uni-calendar/package.json b/uni_modules/uni-calendar/package.json
index fad841f..ec924e9 100644
--- a/uni_modules/uni-calendar/package.json
+++ b/uni_modules/uni-calendar/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-calendar",
"displayName": "uni-calendar 日历",
- "version": "1.4.10",
+ "version": "1.4.12",
"description": "日历组件",
"keywords": [
"uni-ui",
@@ -44,7 +44,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
@@ -82,4 +83,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/uni_modules/uni-captcha/changelog.md b/uni_modules/uni-captcha/changelog.md
index 8b4f585..af26e0f 100644
--- a/uni_modules/uni-captcha/changelog.md
+++ b/uni_modules/uni-captcha/changelog.md
@@ -1,3 +1,7 @@
+## 0.7.5(2023-12-18)
+- 修复 在uni-app x项目,部分情况下,执行uni-captcha组件的setFocus无效的问题
+## 0.7.4(2023-12-18)
+- 更新 `package.json` -> `dependencies` 增加 `uni-popup`
## 0.7.3(2023-11-15)
- 更新 uni-popup-captcha.uvue依赖的popup组件,直接使用uni_modules下的uni-popup组件
## 0.7.2(2023-11-07)
diff --git a/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue b/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue
index db3f707..62ef42a 100644
--- a/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue
+++ b/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue
@@ -4,7 +4,7 @@
-
diff --git a/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue b/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue
index 9963e12..d26537c 100644
--- a/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue
+++ b/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue
@@ -14,12 +14,8 @@
-
diff --git a/uni_modules/uni-upgrade-center-app/package.json b/uni_modules/uni-upgrade-center-app/package.json
index 2eb955a..4542246 100644
--- a/uni_modules/uni-upgrade-center-app/package.json
+++ b/uni_modules/uni-upgrade-center-app/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-upgrade-center-app",
"displayName": "升级中心 uni-upgrade-center - App",
- "version": "0.6.4",
+ "version": "0.8.3",
"description": "uni升级中心 - 客户端检查更新",
"keywords": [
"uniCloud",
@@ -11,7 +11,7 @@
],
"repository": "https://gitee.com/dcloud/uni-upgrade-center/tree/master/uni_modules/uni-upgrade-center-app",
"engines": {
- "HBuilderX": "^3.2.14"
+ "HBuilderX": "^4.03"
},
"dcloudext": {
"sale": {
@@ -34,42 +34,46 @@
"type": "unicloud-template-page"
},
"uni_modules": {
- "dependencies": [],
+ "dependencies": [
+ "uts-progressNotification",
+ "uts-openSchema"
+ ],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "y"
},
"client": {
"App": {
"app-vue": "y",
- "app-nvue": "u"
+ "app-nvue": "y"
},
"H5-mobile": {
- "Safari": "y",
- "Android Browser": "y",
- "微信浏览器(Android)": "y",
- "QQ浏览器(Android)": "y"
+ "Safari": "n",
+ "Android Browser": "n",
+ "微信浏览器(Android)": "n",
+ "QQ浏览器(Android)": "n"
},
"H5-pc": {
- "Chrome": "y",
- "IE": "y",
- "Edge": "y",
- "Firefox": "y",
- "Safari": "y"
+ "Chrome": "n",
+ "IE": "n",
+ "Edge": "n",
+ "Firefox": "n",
+ "Safari": "n"
},
"小程序": {
- "微信": "u",
- "阿里": "u",
- "百度": "u",
- "字节跳动": "u",
- "QQ": "u",
- "京东": "u"
+ "微信": "n",
+ "阿里": "n",
+ "百度": "n",
+ "字节跳动": "n",
+ "QQ": "n",
+ "京东": "n"
},
"快应用": {
- "华为": "u",
- "联盟": "u"
+ "华为": "n",
+ "联盟": "n"
},
"Vue": {
"vue2": "y",
diff --git a/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue b/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue
index 633df2d..9e143c2 100644
--- a/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue
+++ b/uni_modules/uni-upgrade-center-app/pages/upgrade-popup.vue
@@ -3,14 +3,14 @@
{{title}}
-
+
{{subTitle}}
-
+ {{version}}
@@ -28,8 +28,8 @@
-
+
{{downLoadingText}}
({{downloadedSize}}/{{packageFileSize}}M)
@@ -44,8 +44,12 @@
plain :loading="installing" :disabled="installing" @click="installPackage">
{{installing ? '正在安装……' : '下载完成,立即安装'}}
+
-
@@ -53,15 +57,19 @@
-
+