Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
德宏大魔王
uni-starter
提交
2f288711
U
uni-starter
项目概览
德宏大魔王
/
uni-starter
与 Fork 源项目一致
Fork自
DCloud / uni-starter
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
2f288711
编写于
8月 05, 2021
作者:
DCloud_JSON
提交者:
study夏羽
9月 16, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除多余文件
上级
155f359c
变更
14
显示空白变更内容
内联
并排
Showing
14 changed file
with
76 addition
and
131 deletion
+76
-131
App.vue
App.vue
+3
-2
changelog.md
changelog.md
+1
-1
components/uni-section/uni-section.vue
components/uni-section/uni-section.vue
+0
-0
pages.json
pages.json
+1
-1
pages/uni-agree/uni-agree.nvue
pages/uni-agree/uni-agree.nvue
+0
-0
pages/uni-agree/utils/uni-agree.js
pages/uni-agree/utils/uni-agree.js
+1
-1
uni_modules/uni-section/changelog.md
uni_modules/uni-section/changelog.md
+0
-0
uni_modules/uni-section/package.json
uni_modules/uni-section/package.json
+0
-79
uni_modules/uni-section/readme.md
uni_modules/uni-section/readme.md
+0
-33
uni_modules/uni-sign-in/changelog.md
uni_modules/uni-sign-in/changelog.md
+2
-0
uni_modules/uni-sign-in/package.json
uni_modules/uni-sign-in/package.json
+17
-11
uni_modules/uni-sign-in/readme.md
uni_modules/uni-sign-in/readme.md
+49
-1
uni_modules/uni-sign-in/uniCloud/database/opendb-sign-in.schema.json
.../uni-sign-in/uniCloud/database/opendb-sign-in.schema.json
+1
-1
uni_modules_tools/copy/manifest.json
uni_modules_tools/copy/manifest.json
+1
-1
未找到文件。
App.vue
浏览文件 @
2f288711
<
script
>
import
initApp
from
'
@/common/appInit.js
'
;
import
checkIsAgree
from
'
@/
uni_modul
es/uni-agree/utils/uni-agree.js
'
;
import
checkIsAgree
from
'
@/
pag
es/uni-agree/utils/uni-agree.js
'
;
export
default
{
globalData
:
{
searchText
:
''
,
...
...
@@ -15,7 +15,8 @@
// #endif
// #ifdef H5
// checkIsAgree(); 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要
checkIsAgree
();
// 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要
// #endif
// #ifdef APP-PLUS
...
...
changelog.md
浏览文件 @
2f288711
## 1.0.46(2021-08-05)
测试发布功能
删除多余文件
## 1.0.45(2021-08-05)
默认首页为nvue页面+fast
## 1.0.44(2021-08-05)
...
...
uni_modules/uni-section/
components/uni-section/uni-section.vue
→
components/uni-section/uni-section.vue
浏览文件 @
2f288711
文件已移动
pages.json
浏览文件 @
2f288711
...
...
@@ -97,7 +97,7 @@
}
}
},
{
"path"
:
"
uni_modules/uni-agree/
pages/uni-agree/uni-agree"
,
"path"
:
"pages/uni-agree/uni-agree"
,
"style"
:
{
"navigationStyle"
:
"custom"
,
"app-plus"
:
{
...
...
uni_modules/uni-agree/
pages/uni-agree/uni-agree.nvue
→
pages/uni-agree/uni-agree.nvue
浏览文件 @
2f288711
文件已移动
uni_modul
es/uni-agree/utils/uni-agree.js
→
pag
es/uni-agree/utils/uni-agree.js
浏览文件 @
2f288711
...
...
@@ -4,7 +4,7 @@ export default function(){
console
.
log
(
'
userprotocol
'
,
userprotocol
);
if
(
!
userprotocol
){
uni
.
navigateTo
({
url
:
'
uni_modules/uni-agree
/pages/uni-agree/uni-agree
'
,
url
:
'
/pages/uni-agree/uni-agree
'
,
animationType
:
"
none
"
})
}
...
...
uni_modules/uni-section/changelog.md
已删除
100644 → 0
浏览文件 @
155f359c
uni_modules/uni-section/package.json
已删除
100644 → 0
浏览文件 @
155f359c
{
"id"
:
"uni-section"
,
"displayName"
:
"Section 标题栏"
,
"version"
:
"0.0.1"
,
"description"
:
""
,
"keywords"
:
[
""
],
"repository"
:
"https://github.com/dcloudio/uni-ui"
,
"engines"
:
{
"HBuilderX"
:
""
},
"directories"
:
{
"example"
:
"../../temps/example_temps"
},
"dcloudext"
:
{
"category"
:
[
"前端组件"
,
"通用组件"
],
"sale"
:
{
"regular"
:
{
"price"
:
"0.00"
},
"sourcecode"
:
{
"price"
:
"0.00"
}
},
"contact"
:
{
"qq"
:
""
},
"declaration"
:
{
"ads"
:
"无"
,
"data"
:
"无"
,
"permissions"
:
"无"
},
"npmurl"
:
"https://www.npmjs.com/package/@dcloudio/uni-ui"
},
"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
uni_modules/uni-section/readme.md
已删除
100644 → 0
浏览文件 @
155f359c
## Section 标题栏
> 代码块: `uSection`
标题栏,用于显示标题。
### 安装方式
本组件符合
[
easycom
](
https://uniapp.dcloud.io/collocation/pages?id=easycom
)
规范,
`HBuilderX 2.5.5`
起,只需将本组件导入项目,在页面
`template`
中即可直接使用,无需在页面中
`import`
和注册
`components`
。
如需通过
`npm`
方式使用
`uni-ui`
组件,另见文档:
[
https://ext.dcloud.net.cn/plugin?id=55
](
https://ext.dcloud.net.cn/plugin?id=55
)
### 基本用法
在
``template``
中使用组件
```
html
<uni-section
title=
"只有主标题"
></uni-section>
<uni-section
title=
"竖线装饰"
sub-title=
"副标题"
type=
"line"
></uni-section>
<uni-section
title=
"圆形装饰"
sub-title=
"副标题"
type=
"circle"
></uni-section>
```
## API
### Section Props
|属性名 |类型 |默认值 |说明 |
|:-: |:-: |:-: |:-: |
|type |String |- |标题装饰类型 ,可选值:line(竖线)、circle(圆形)|
|title |String |- |主标题 |
|sub-title |String |- |副标题 |
uni_modules/uni-sign-in/changelog.md
浏览文件 @
2f288711
## 1.0.0(2021-08-05)
1.
0.0版本发布
uni_modules/uni-sign-in/package.json
浏览文件 @
2f288711
{
"id"
:
"uni-sign-in"
,
"displayName"
:
"
uni-sign-in
"
,
"displayName"
:
"
签到插件
"
,
"version"
:
"1.0.0"
,
"description"
:
"uni-sign-in"
,
"keywords"
:
[
"uni-sign-in"
"uni-sign-in"
,
"签到"
,
"营销"
],
"repository"
:
""
,
"engines"
:
{
...
...
@@ -27,9 +29,9 @@
"qq"
:
""
},
"declaration"
:
{
"ads"
:
""
,
"data"
:
""
,
"permissions"
:
""
"ads"
:
"
无
"
,
"data"
:
"
无
"
,
"permissions"
:
"
无
"
},
"npmurl"
:
""
},
...
...
@@ -38,29 +40,29 @@
"encrypt"
:
[],
"platforms"
:
{
"cloud"
:
{
"tcb"
:
"
u
"
,
"aliyun"
:
"
u
"
"tcb"
:
"
y
"
,
"aliyun"
:
"
y
"
},
"client"
:
{
"App"
:
{
"app-vue"
:
"
u
"
,
"app-vue"
:
"
y
"
,
"app-nvue"
:
"u"
},
"H5-mobile"
:
{
"Safari"
:
"
u
"
,
"Safari"
:
"
y
"
,
"Android Browser"
:
"u"
,
"微信浏览器(Android)"
:
"u"
,
"QQ浏览器(Android)"
:
"u"
},
"H5-pc"
:
{
"Chrome"
:
"
u
"
,
"Chrome"
:
"
y
"
,
"IE"
:
"u"
,
"Edge"
:
"u"
,
"Firefox"
:
"u"
,
"Safari"
:
"u"
},
"小程序"
:
{
"微信"
:
"
u
"
,
"微信"
:
"
y
"
,
"阿里"
:
"u"
,
"百度"
:
"u"
,
"字节跳动"
:
"u"
,
...
...
@@ -69,6 +71,10 @@
"快应用"
:
{
"华为"
:
"u"
,
"联盟"
:
"u"
},
"Vue"
:
{
"vue2"
:
"y"
,
"vue3"
:
"y"
}
}
}
...
...
uni_modules/uni-sign-in/readme.md
浏览文件 @
2f288711
# uni-sign-in
\ No newline at end of file
#### 简介:培养应用用户习惯,提升用户粘性。签到得积分的应用营销功能。
#### 功能支持:
1.
每日签到奖励
2.
周期性连续7日签到,奖励翻倍
##### 使用方式
```
js
<
template
>
<
uni
-
sign
-
in
ref
=
"
signIn
"
><
/uni-sign-in
>
<
template
>
<
script
>
export
default
{
methods
:
{
signIn
()
{
//签到
this
.
$refs
.
signIn
.
open
()
}
}
}
<
script
>
```
> 详情参考[uni-starter](https://ext.dcloud.net.cn/plugin?id=5057)
##### 插件组成
1.
前端组件
<img
style=
"margin-left:30px;width:60vw;max-width:300px;"
src=
"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ff94178d-6d67-4408-8dde-b06eee8212c9.jpg"
/>
2.
`DB Schema`
表结构,
-
描述签到表字段及含义以及读写权限。
-
路径:
`/uniCloud/database/opendb-sign-in.schema.json`
> 更多表结构说明详情:[https://uniapp.dcloud.io/uniCloud/schema](https://uniapp.dcloud.io/uniCloud/schema)
3.
`uni-clientDB-actions`
一个可编程的
`clientDB`
前置后置操作
-
前置操作,添加操作时检查今日是否未签到,否则拦截
-
后置操作,判断是否已经连续签到7天,决定本次签到用户可得积分
-
后置操作,输出本轮已签到几天,当前积分,已签到的日期数组,本轮签到可得多少分
#### 常见问题
1.
是否支持配置积分数
答:暂不支持,今后的版本有计划支持
2.
有没有更多玩法
答:计划今后推出需要看广告才能签到或者补签的玩法
\ No newline at end of file
uni_modules/uni-sign-in/uniCloud/database/opendb-sign-in.schema.json
浏览文件 @
2f288711
uni_modules_tools/copy/manifest.json
浏览文件 @
2f288711
...
...
@@ -163,5 +163,5 @@
"template"
:
""
},
"_spaceID"
:
"76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e"
,
"vueVersion"
:
"
3
"
"vueVersion"
:
"
2
"
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录