From 909a18039f85396953186fac3510eaf144390f78 Mon Sep 17 00:00:00 2001 From: linju-json Date: Mon, 17 May 2021 15:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=86=99field=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 -- README.md | 15 ++------------- changelog.md | 4 ++++ common/uni-ui.scss | 2 -- package.json | 23 ++++++++++------------- pages/list/detail.vue | 2 +- pages/list/list.nvue | 2 +- 7 files changed, 18 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index 9bf8055e..06614901 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,4 @@ unpackage/ node_modules .DS_Store uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json -pages/grid/banner.json -pages/list/list.json manifest.json \ No newline at end of file diff --git a/README.md b/README.md index f65639f8..15b54e2f 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ -> uni-starter目前还处于公测阶段,公测QQ群号:869926521,欢迎大家加入!公测期间享受有疑问实时解答的福利。 -### ps:文档处于完善过程中 - ### 介绍 `uni-starter`,是一个云端一体的、集成了商用项目开发常见功能的项目模板。 如果说uniCloud admin是管理端项目的基础模板,那么uni-starter则是用户端、尤其是移动端的基础模板。 -在HBuilderX新建项目时选择`uni-starter`项目模板,在这个模板基础之上快速填充自己的业务,即可很快完成一个应用。 +在这个模板基础之上快速填充自己的业务,即可很快完成一个应用。 地址:[https://codechina.csdn.net/dcloud/uni-starter.git](https://codechina.csdn.net/dcloud/uni-starter.git) #### 项目背景 @@ -22,15 +19,6 @@ uni-starter + uniCloud admin,应用开发从未如此简单快捷! -
- ### uni-starter集成的功能包括: 1. 个人中心:登录注册(含用户名密码登录、手机号验证码登录、app一键登录、微信登录、Apple登录、微信小程序登录)、修改密码、忘记密码、头像更换、昵称修改、积分查看、指纹绑定、退出登录 @@ -182,6 +170,7 @@ img{ + message 二次确认提示框上的内容,支持richtext类型字符串 + buttonAccept 二次确认提示框上接受按钮的文本 + buttonRefuse 二次确认提示框上拒绝按钮的文本 + > 更多Android平台隐私与政策提示框配置方法,[详情](https://ask.dcloud.net.cn/article/36937) #### 注意: diff --git a/changelog.md b/changelog.md index e69de29b..69614f48 100644 --- a/changelog.md +++ b/changelog.md @@ -0,0 +1,4 @@ +## 1.0.1(2021-05-17) +manifest.json 在小程序平台增加了一个配置项 betterScopedSlots,启用新的作用域插槽编译,用于支持作用域插槽内使用复杂表达式。 +## 1.0.0(2021-05-17) +第一版 diff --git a/common/uni-ui.scss b/common/uni-ui.scss index 6ba0990e..de868c7f 100644 --- a/common/uni-ui.scss +++ b/common/uni-ui.scss @@ -29,7 +29,6 @@ .uni-title-sub { display: flex; - // margin-bottom: $uni-spacing-col-base; font-size: $uni-font-size-base; font-weight: 500; color: #3b4144; @@ -66,7 +65,6 @@ .uni-media-box { @extend .uni-flex-row; - // margin-bottom: $uni-spacing-col-base; border-radius: $uni-border-radius-lg; overflow: hidden; .uni-thumb { diff --git a/package.json b/package.json index d19c3c7e..9ebd794e 100644 --- a/package.json +++ b/package.json @@ -1,26 +1,23 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.0.0", + "version": "1.0.1", "description": "集成了商用项目开发常见功能的项目模板", "keywords": [ - "uni-starter", - "login", - "登录模版", + "uni-starter", + "login", + "登录模版", "uniCloud", - "搜索", - "search", - "usearch", - "unisearch" + "搜索" ], "repository": "https://codechina.csdn.net/dcloud/uni-starter.git", "engines": { - "HBuilderX": "^3.1.0" + "HBuilderX": "^3.1.14" }, "dcloudext": { "category": [ "uniCloud", - "集成了商用项目开发常见功能的项目模板" + "云端一体项目模板" ], "sale": { "regular": { @@ -51,7 +48,7 @@ "client": { "App": { "app-vue": "y", - "app-nvue": "y" + "app-nvue": "u" }, "H5-mobile": { "Safari": "u", @@ -60,14 +57,14 @@ "QQ浏览器(Android)": "u" }, "H5-pc": { - "Chrome": "u", + "Chrome": "y", "IE": "u", "Edge": "u", "Firefox": "u", "Safari": "u" }, "小程序": { - "微信": "u", + "微信": "y", "阿里": "u", "百度": "u", "字节跳动": "u", diff --git a/pages/list/detail.vue b/pages/list/detail.vue index aabc1055..02be34d4 100644 --- a/pages/list/detail.vue +++ b/pages/list/detail.vue @@ -61,7 +61,7 @@ title: 'title', // 数据表名 // 查询字段,多个字段用 , 分割 - field: 'user_id{username,_id},avatar,excerpt,last_modify_date,comment_count,like_count,title,content', + field: 'user_id.username,user_id._id,avatar,excerpt,last_modify_date,comment_count,like_count,title,content', formData: { noData: '

详情加载中...

' }, diff --git a/pages/list/list.nvue b/pages/list/list.nvue index 490ca02a..2d41dbe3 100644 --- a/pages/list/list.nvue +++ b/pages/list/list.nvue @@ -7,7 +7,7 @@ + field="avatar,title,last_modify_date,user_id.username">