Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-starter
提交
3f579656
U
uni-starter
项目概览
DCloud
/
uni-starter
通知
4691
Star
229
Fork
210
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
3f579656
编写于
8月 31, 2021
作者:
DCloud_JSON
提交者:
study夏羽
9月 16, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改错误的文章表的读权限表达式
上级
f2ac920b
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
81 addition
and
76 deletion
+81
-76
changelog.md
changelog.md
+2
-0
package.json
package.json
+1
-1
pages/list/detail.vue
pages/list/detail.vue
+14
-10
pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue
pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue
+1
-1
pages/ucenter/ucenter.vue
pages/ucenter/ucenter.vue
+6
-4
pages/ucenter/userinfo/bind-mobile/bind-mobile.vue
pages/ucenter/userinfo/bind-mobile/bind-mobile.vue
+1
-1
pages/ucenter/userinfo/userinfo.vue
pages/ucenter/userinfo/userinfo.vue
+2
-1
uniCloud-aliyun/database/opendb-news-articles.schema.json
uniCloud-aliyun/database/opendb-news-articles.schema.json
+1
-1
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
...loudfunctions/common/uni-config-center/uni-id/config.json
+1
-1
uni_modules/uni-sign-in/components/uni-sign-in/uni-sign-in.vue
...odules/uni-sign-in/components/uni-sign-in/uni-sign-in.vue
+0
-4
uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
...loudfunctions/common/uni-config-center/uni-id/config.json
+52
-52
未找到文件。
changelog.md
浏览文件 @
3f579656
## 1.1.4(2021-08-31)
修改错误的文章表
`SChema`
的读权限表达式
## 1.1.3(2021-08-31)
修复在微信小程序端默认语言为英文的问题
## 1.1.2(2021-08-30)
...
...
package.json
浏览文件 @
3f579656
{
"id"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"version"
:
"1.1.
3
"
,
"version"
:
"1.1.
4
"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"keywords"
:
[
"login"
,
...
...
pages/list/detail.vue
浏览文件 @
3f579656
...
...
@@ -17,16 +17,20 @@
<template
v-if=
"!loading && data"
>
<uni-list
:border=
"false"
>
<uni-list-item
thumbSize=
"lg"
:thumb=
"data.image"
>
<!-- 通过body插槽定义作者信息内容 -->
<view
slot=
"body"
class=
"header-content"
>
<view
class=
"uni-title"
>
{{
data
.
user_id
&&
data
.
user_id
[
0
].
username
}}
</view>
</view>
<view
slot=
"footer"
class=
"footer"
>
<view
class=
"uni-note"
>
更新于
<uni-dateformat
:date=
"data.last_modify_date"
format=
"yyyy-MM-dd hh:mm"
:threshold=
"[60000, 2592000000]"
/>
</view>
</view>
<!-- 通过body插槽定义作者信息内容 -->
<template
v-slot:body
>
<view
class=
"header-content"
>
<view
class=
"uni-title"
>
{{
data
.
user_id
&&
data
.
user_id
[
0
].
username
}}
</view>
</view>
</
template
>
<
template
v-slot:footer
>
<view
class=
"footer"
>
<view
class=
"uni-note"
>
更新于
<uni-dateformat
:date=
"data.last_modify_date"
format=
"yyyy-MM-dd hh:mm"
:threshold=
"[60000, 2592000000]"
/>
</view>
</view>
</
template
>
</uni-list-item>
</uni-list>
<view
class=
"banner"
>
...
...
pages/ucenter/login-page/pwd-retrieve/pwd-retrieve.vue
浏览文件 @
3f579656
...
...
@@ -11,7 +11,7 @@
<uni-forms-item
name=
"code"
>
<uni-easyinput
:focus=
"formData.phone.length==11"
type=
"number"
class=
"easyinput"
:inputBorder=
"false"
v-model=
"formData.code"
maxlength=
"6"
:placeholder=
"$t('common.verifyCodePlaceholder')"
>
<template
slot=
"right"
>
<template
v-slot:right
>
<uni-send-sms-code
ref=
"shortCode"
:phone=
"formData.phone"
></uni-send-sms-code>
</
template
>
</uni-easyinput>
...
...
pages/ucenter/ucenter.vue
浏览文件 @
3f579656
...
...
@@ -19,10 +19,12 @@
<uni-list-item
v-for=
"(item,i) in sublist"
:title=
"item.title"
link
:rightText=
"item.rightText"
:key=
"i"
:clickable=
"true"
:to=
"item.to"
@
click=
"ucenterListClick(item)"
:show-extra-icon=
"true"
:extraIcon=
"
{type:item.icon,color:'#999'}">
<view
v-if=
"item.showBadge"
class=
"item-footer"
slot=
"footer"
>
<text
class=
"item-footer-text"
>
{{
item
.
rightText
}}
</text>
<view
class=
"item-footer-badge"
></view>
</view>
<template
v-slot:footer
>
<view
v-if=
"item.showBadge"
class=
"item-footer"
>
<text
class=
"item-footer-text"
>
{{
item
.
rightText
}}
</text>
<view
class=
"item-footer-badge"
></view>
</view>
</
template
>
</uni-list-item>
</uni-list>
</view>
...
...
pages/ucenter/userinfo/bind-mobile/bind-mobile.vue
浏览文件 @
3f579656
...
...
@@ -5,7 +5,7 @@
maxlength=
"11"
:placeholder=
"$t('common.phonePlaceholder')"
></uni-easyinput>
<uni-easyinput
clearable
type=
"number"
class=
"input-box"
:inputBorder=
"false"
v-model=
"formData.code"
maxlength=
"6"
:placeholder=
"$t('common.verifyCodePlaceholder')"
>
<template
slot=
"right"
>
<template
v-slot:right
>
<uni-send-sms-code
ref=
"shortCode"
code-type=
"bind"
:phone=
"formData.phone"
></uni-send-sms-code>
</
template
>
</uni-easyinput>
...
...
pages/ucenter/userinfo/userinfo.vue
浏览文件 @
3f579656
...
...
@@ -269,7 +269,8 @@
.chooseAvatar
{
border
:
dotted
1px
#ddd
;
border-radius
:
10px
;
border-radius
:
10px
;
text-align
:
center
;
width
:
50px
;
height
:
50px
;
line-height
:
50px
;
...
...
uniCloud-aliyun/database/opendb-news-articles.schema.json
浏览文件 @
3f579656
...
...
@@ -2,7 +2,7 @@
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
,
"title"
,
"content"
],
"permission"
:
{
"read"
:
"doc.article_status ==
0 || doc.article_status ==
1"
,
"read"
:
"doc.article_status == 1"
,
"create"
:
"auth.uid != null"
,
"update"
:
"doc.uid == auth.uid"
,
"delete"
:
"doc.uid == auth.uid"
...
...
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
浏览文件 @
3f579656
...
...
@@ -4,7 +4,7 @@
"tokenExpiresIn"
:
7200
,
"tokenExpiresThreshold"
:
600
,
"passwordErrorLimit"
:
6
,
"bindTokenToDevice"
:
fals
e
,
"bindTokenToDevice"
:
tru
e
,
"passwordErrorRetryTime"
:
3600
,
"autoSetInviteCode"
:
false
,
"forceInviteCode"
:
false
,
...
...
uni_modules/uni-sign-in/components/uni-sign-in/uni-sign-in.vue
浏览文件 @
3f579656
...
...
@@ -117,10 +117,6 @@
flex-direction
:
column
;
}
scroll-view
{
-webkit-overflow-scrolling
:
touch
;
}
.background-img
{
width
:
600rpx
;
height
:
600rpx
;
...
...
uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
浏览文件 @
3f579656
{
"passwordSecret"
:
"passwordSecret-demo"
,
"tokenSecret"
:
"tokenSecret-demo"
,
"tokenExpiresIn"
:
7200
,
"tokenExpiresThreshold"
:
600
,
"passwordErrorLimit"
:
6
,
"bindTokenToDevice"
:
false
,
"passwordErrorRetryTime"
:
3600
,
"autoSetInviteCode"
:
false
,
"forceInviteCode"
:
false
,
"app-plus"
:
{
"tokenExpiresIn"
:
2592000
,
"oauth"
:
{
"weixin"
:
{
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"appsecret"
:
"6c9119430d7be0a147bcbbb73ef33acf"
},
"apple"
:
{
"bundleId"
:
"苹果开发者后台获取的bundleId"
}
}
},
"mp-weixin"
:
{
"oauth"
:
{
"weixin"
:
{
"appid"
:
"wx81dbb061d2258234"
,
"appsecret"
:
"51977820eb14cd71377d4048a1b4754e"
}
}
},
"mp-alipay"
:
{
"oauth"
:
{
"alipay"
:
{
"appid"
:
"支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr"
,
"privateKey"
:
"支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr"
}
}
},
"service"
:
{
"sms"
:
{
"name"
:
"应用名称,对应短信模版的name"
,
"codeExpiresIn"
:
300
,
"smsKey"
:
"短信密钥key,开通短信服务处可以看到"
,
"smsSecret"
:
"短信密钥secret,开通短信服务处可以看到"
},
"univerify"
:
{
"appid"
:
"当前应用的appid,使用云函数URL化,此项必须配置"
,
"apiKey"
:
"apiKey 和 apiSecret 在开发者中心获取,开发者中心:https://dev.dcloud.net.cn/uniLogin/index?type=0,文档:https://ask.dcloud.net.cn/article/37965"
,
"apiSecret"
:
""
}
}
}
{
"passwordSecret"
:
"passwordSecret-demo"
,
"tokenSecret"
:
"tokenSecret-demo"
,
"tokenExpiresIn"
:
7200
,
"tokenExpiresThreshold"
:
600
,
"passwordErrorLimit"
:
6
,
"bindTokenToDevice"
:
true
,
"passwordErrorRetryTime"
:
3600
,
"autoSetInviteCode"
:
false
,
"forceInviteCode"
:
false
,
"app-plus"
:
{
"tokenExpiresIn"
:
2592000
,
"oauth"
:
{
"weixin"
:
{
"appid"
:
""
,
"appsecret"
:
""
},
"apple"
:
{
"bundleId"
:
""
}
}
},
"mp-weixin"
:
{
"oauth"
:
{
"weixin"
:
{
"appid"
:
""
,
"appsecret"
:
""
}
}
},
"mp-alipay"
:
{
"oauth"
:
{
"alipay"
:
{
"appid"
:
""
,
"privateKey"
:
""
}
}
},
"service"
:
{
"sms"
:
{
"name"
:
""
,
"codeExpiresIn"
:
300
,
"smsKey"
:
""
,
"smsSecret"
:
""
},
"univerify"
:
{
"appid"
:
""
,
"apiKey"
:
""
,
"apiSecret"
:
""
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录