diff --git a/pages.json b/pages.json
index 2e77521312cb19c08b70623a880e61c8b14ccba8..13d57b87fecd13c3df282ce6fb4b713a4301bdfa 100644
--- a/pages.json
+++ b/pages.json
@@ -69,8 +69,7 @@
}, {
"path": "uni_modules/opendb-feedback/pages/opendb-feedback/list",
"style": {
- "navigationBarTitleText": "反馈列表",
- "enablePullDownRefresh":true
+ "navigationBarTitleText": "反馈列表"
}
}, {
"path": "uni_modules/opendb-feedback/pages/opendb-feedback/add",
diff --git a/uni_modules/opendb-feedback/pages/opendb-feedback/add.vue b/uni_modules/opendb-feedback/pages/opendb-feedback/add.vue
index 0b2b87cf1af6c548e1c90370f29c35e5a645391a..211e5045cf2d6ff3e208d446e576a0b972f0155a 100644
--- a/uni_modules/opendb-feedback/pages/opendb-feedback/add.vue
+++ b/uni_modules/opendb-feedback/pages/opendb-feedback/add.vue
@@ -97,6 +97,8 @@
.then(imgs=>{
res.imgs = imgs;
res.create_date = Date.now();
+
+ res.is_reply = true;
this.submitForm(res)
});
}).catch((errors) => {
diff --git a/uni_modules/opendb-feedback/pages/opendb-feedback/list.vue b/uni_modules/opendb-feedback/pages/opendb-feedback/list.vue
index 403e996847fd3347d8a0b97b56c561ec1978e61f..c3710a9777dc679cfe25b6b73a10923de875288d 100644
--- a/uni_modules/opendb-feedback/pages/opendb-feedback/list.vue
+++ b/uni_modules/opendb-feedback/pages/opendb-feedback/list.vue
@@ -1,67 +1,63 @@
-
-
-
- {{error.message}}
-
-
-
-
-
- {{item.content}}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/uni_modules/opendb-feedback/uniCloud/database/opendb-feedback.schema.json b/uni_modules/opendb-feedback/uniCloud/database/opendb-feedback.schema.json
index a5a2d6830d8708302aa0990d666043b6ee43211b..3f37774e212059499d03f967015b9bf61018fc19 100644
--- a/uni_modules/opendb-feedback/uniCloud/database/opendb-feedback.schema.json
+++ b/uni_modules/opendb-feedback/uniCloud/database/opendb-feedback.schema.json
@@ -1,7 +1,7 @@
{
"bsonType": "object",
"permission": {
- "read": "auth.uid && doc.uid == auth.uid",
+ "read": "!doc.is_reply",
"create": true,
"update": false,
"delete": false
@@ -17,6 +17,9 @@
"forceDefaultValue": {
"$env": "uid"
}
+ },
+ "title":{
+ "description": "反馈标题(用于列表展示)"
},
"ip": {
"forceDefaultValue": {
diff --git a/uni_modules/uni-nodata/changelog.md b/uni_modules/uni-nodata/changelog.md
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/uni_modules/uni-nodata/components/uni-nodata/uni-nodata.nvue b/uni_modules/uni-nodata/components/uni-nodata/uni-nodata.nvue
new file mode 100644
index 0000000000000000000000000000000000000000..e1944f15bdb4b38d797da69485d6fce7854ab18c
--- /dev/null
+++ b/uni_modules/uni-nodata/components/uni-nodata/uni-nodata.nvue
@@ -0,0 +1,214 @@
+
+
+
+
+ {{textTypes[networkType]}}
+
+
+
+
+
+
+ 重试
+
+
+ 设置
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-nodata/package.json b/uni_modules/uni-nodata/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..475832fbc6108b9b8d4bd3cfaf9798e8d377aa84
--- /dev/null
+++ b/uni_modules/uni-nodata/package.json
@@ -0,0 +1,76 @@
+{
+ "id": "uni-nodata",
+ "displayName": "uni-nodata",
+ "version": "1.0.0",
+ "description": "uni-nodata",
+ "keywords": [
+ "uni-nodata"
+],
+ "repository": "",
+ "engines": {
+ "HBuilderX": "^3.1.0"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "",
+ "data": "",
+ "permissions": ""
+ },
+ "npmurl": ""
+ },
+ "uni_modules": {
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "u",
+ "aliyun": "u"
+ },
+ "client": {
+ "App": {
+ "app-vue": "u",
+ "app-nvue": "u"
+ },
+ "H5-mobile": {
+ "Safari": "u",
+ "Android Browser": "u",
+ "微信浏览器(Android)": "u",
+ "QQ浏览器(Android)": "u"
+ },
+ "H5-pc": {
+ "Chrome": "u",
+ "IE": "u",
+ "Edge": "u",
+ "Firefox": "u",
+ "Safari": "u"
+ },
+ "小程序": {
+ "微信": "u",
+ "阿里": "u",
+ "百度": "u",
+ "字节跳动": "u",
+ "QQ": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-nodata/readme.md b/uni_modules/uni-nodata/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..004b43c5dab8c156f2b5ea196c867415a42e0987
--- /dev/null
+++ b/uni_modules/uni-nodata/readme.md
@@ -0,0 +1 @@
+# uni-nodata
\ No newline at end of file
diff --git a/uni_modules/uni-nodata/static/nodata.png b/uni_modules/uni-nodata/static/nodata.png
new file mode 100644
index 0000000000000000000000000000000000000000..21616ae7325f1e2a3fddf3c663855b2281a05f25
Binary files /dev/null and b/uni_modules/uni-nodata/static/nodata.png differ
diff --git a/uni_modules/uni-nodata/static/nowifi.png b/uni_modules/uni-nodata/static/nowifi.png
new file mode 100644
index 0000000000000000000000000000000000000000..df2d87c014c685baa701f852e16ac8c4410ac9f8
Binary files /dev/null and b/uni_modules/uni-nodata/static/nowifi.png differ
diff --git a/uni_modules/uni-quick-login/uniCloud/cloudfunctions/user/package-lock.json b/uni_modules/uni-quick-login/uniCloud/cloudfunctions/user/package-lock.json
index 7e3037fa82ddad8ccaa8db9579840018c4cfb720..d8a3cee346a99209a514046927298b116c2b0af8 100644
--- a/uni_modules/uni-quick-login/uniCloud/cloudfunctions/user/package-lock.json
+++ b/uni_modules/uni-quick-login/uniCloud/cloudfunctions/user/package-lock.json
@@ -1,46 +1,8 @@
{
"name": "user",
"version": "1.0.0",
- "lockfileVersion": 2,
+ "lockfileVersion": 1,
"requires": true,
- "packages": {
- "": {
- "version": "1.0.0",
- "license": "ISC",
- "dependencies": {
- "uni-captcha": "file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha",
- "uni-config-center": "file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center",
- "uni-id": "file:../../../../uni-id/uniCloud/cloudfunctions/common/uni-id"
- }
- },
- "../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha": {
- "version": "0.1.0",
- "license": "Apache-2.0"
- },
- "../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center": {
- "version": "0.0.1",
- "license": "Apache-2.0"
- },
- "../../../../uni-id/uniCloud/cloudfunctions/common/uni-id": {
- "version": "3.0.8",
- "license": "Apache-2.0",
- "dependencies": {
- "uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
- }
- },
- "node_modules/uni-captcha": {
- "resolved": "../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha",
- "link": true
- },
- "node_modules/uni-config-center": {
- "resolved": "../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center",
- "link": true
- },
- "node_modules/uni-id": {
- "resolved": "../../../../uni-id/uniCloud/cloudfunctions/common/uni-id",
- "link": true
- }
- },
"dependencies": {
"uni-captcha": {
"version": "file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
@@ -51,7 +13,12 @@
"uni-id": {
"version": "file:../../../../uni-id/uniCloud/cloudfunctions/common/uni-id",
"requires": {
- "uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
+ "uni-config-center": "file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
+ },
+ "dependencies": {
+ "uni-config-center": {
+ "version": "file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
+ }
}
}
}