提交 2f288711 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: study夏羽

删除多余文件

上级 155f359c
<script> <script>
import initApp from '@/common/appInit.js'; import initApp from '@/common/appInit.js';
import checkIsAgree from '@/uni_modules/uni-agree/utils/uni-agree.js'; import checkIsAgree from '@/pages/uni-agree/utils/uni-agree.js';
export default { export default {
globalData: { globalData: {
searchText: '', searchText: '',
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
// #endif // #endif
// #ifdef H5 // #ifdef H5
// checkIsAgree(); 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要 checkIsAgree();
// 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要
// #endif // #endif
// #ifdef APP-PLUS // #ifdef APP-PLUS
......
## 1.0.46(2021-08-05) ## 1.0.46(2021-08-05)
测试发布功能 删除多余文件
## 1.0.45(2021-08-05) ## 1.0.45(2021-08-05)
默认首页为nvue页面+fast 默认首页为nvue页面+fast
## 1.0.44(2021-08-05) ## 1.0.44(2021-08-05)
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
} }
} }
}, { }, {
"path": "uni_modules/uni-agree/pages/uni-agree/uni-agree", "path": "pages/uni-agree/uni-agree",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"app-plus": { "app-plus": {
......
...@@ -4,7 +4,7 @@ export default function(){ ...@@ -4,7 +4,7 @@ export default function(){
console.log('userprotocol',userprotocol); console.log('userprotocol',userprotocol);
if(!userprotocol){ if(!userprotocol){
uni.navigateTo({ uni.navigateTo({
url:'uni_modules/uni-agree/pages/uni-agree/uni-agree', url:'/pages/uni-agree/uni-agree',
animationType:"none" animationType:"none"
}) })
} }
......
{
"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
## 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 |- |副标题 |
## 1.0.0(2021-08-05)
1.0.0版本发布
{ {
"id": "uni-sign-in", "id": "uni-sign-in",
"displayName": "uni-sign-in", "displayName": "签到插件",
"version": "1.0.0", "version": "1.0.0",
"description": "uni-sign-in", "description": "uni-sign-in",
"keywords": [ "keywords": [
"uni-sign-in" "uni-sign-in",
"签到",
"营销"
], ],
"repository": "", "repository": "",
"engines": { "engines": {
...@@ -27,9 +29,9 @@ ...@@ -27,9 +29,9 @@
"qq": "" "qq": ""
}, },
"declaration": { "declaration": {
"ads": "", "ads": "",
"data": "", "data": "",
"permissions": "" "permissions": ""
}, },
"npmurl": "" "npmurl": ""
}, },
...@@ -38,29 +40,29 @@ ...@@ -38,29 +40,29 @@
"encrypt": [], "encrypt": [],
"platforms": { "platforms": {
"cloud": { "cloud": {
"tcb": "u", "tcb": "y",
"aliyun": "u" "aliyun": "y"
}, },
"client": { "client": {
"App": { "App": {
"app-vue": "u", "app-vue": "y",
"app-nvue": "u" "app-nvue": "u"
}, },
"H5-mobile": { "H5-mobile": {
"Safari": "u", "Safari": "y",
"Android Browser": "u", "Android Browser": "u",
"微信浏览器(Android)": "u", "微信浏览器(Android)": "u",
"QQ浏览器(Android)": "u" "QQ浏览器(Android)": "u"
}, },
"H5-pc": { "H5-pc": {
"Chrome": "u", "Chrome": "y",
"IE": "u", "IE": "u",
"Edge": "u", "Edge": "u",
"Firefox": "u", "Firefox": "u",
"Safari": "u" "Safari": "u"
}, },
"小程序": { "小程序": {
"微信": "u", "微信": "y",
"阿里": "u", "阿里": "u",
"百度": "u", "百度": "u",
"字节跳动": "u", "字节跳动": "u",
...@@ -69,6 +71,10 @@ ...@@ -69,6 +71,10 @@
"快应用": { "快应用": {
"华为": "u", "华为": "u",
"联盟": "u" "联盟": "u"
},
"Vue": {
"vue2": "y",
"vue3": "y"
} }
} }
} }
......
# 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
...@@ -163,5 +163,5 @@ ...@@ -163,5 +163,5 @@
"template" : "" "template" : ""
}, },
"_spaceID" : "76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e", "_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.
先完成此消息的编辑!
想要评论请 注册