mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2026-07-13 09:31:08 +08:00
Compare commits
5 Commits
8457af6511
...
ca587e3bfb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca587e3bfb | ||
|
|
ae80eb3d04 | ||
|
|
aae9b1a95d | ||
|
|
d0d3e240b9 | ||
|
|
cfbab1f650 |
@ -152,3 +152,13 @@ npm run dev
|
||||
```
|
||||
|
||||
接着打开微信开发者工具,导入`example`目录的项目就可以预览示例了。
|
||||
|
||||
### 关于用户隐私保护指引
|
||||
|
||||
@vant/weapp 部分组件使用了微信提供的接口,其中部分接口涉及获取用户隐私信息。
|
||||
|
||||
例如 `<Uploader />` 使用了微信提供的选择用户相册中图片接口`(wx.chooseImage)`。
|
||||
|
||||
当小程序引入 @vant/weapp 并发布时,
|
||||
根据微信[《用户隐私保护指引填写说明》](https://developers.weixin.qq.com/miniprogram/dev/framework/user-privacy/),
|
||||
如检测到代码中存在涉及用户隐私信息接口则需填写用户隐私保护指引信息,如已填写则无需重复填写。
|
||||
|
||||
@ -12,6 +12,10 @@ VantComponent({
|
||||
dot: Boolean,
|
||||
info: String,
|
||||
icon: String,
|
||||
classPrefix: {
|
||||
type: String,
|
||||
value: 'van-icon',
|
||||
},
|
||||
disabled: Boolean,
|
||||
loading: Boolean,
|
||||
},
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
name="{{ icon }}"
|
||||
dot="{{ dot }}"
|
||||
info="{{ info }}"
|
||||
class-prefix="{{ classPrefix }}"
|
||||
class="van-goods-action-icon__icon"
|
||||
custom-class="icon-class"
|
||||
/>
|
||||
|
||||
@ -117,6 +117,7 @@ Page({
|
||||
| send-message-path | 会话内消息卡片点击跳转小程序路径 | _string_ | 当前分享路径 |
|
||||
| send-message-img | sendMessageImg | _string_ | 截图 |
|
||||
| show-message-card | 显示会话内消息卡片 | _string_ | `false` |
|
||||
| class-prefix `v1.10.1` | 类名前缀 | _string_ | `van-icon` |
|
||||
|
||||
### GoodsActionButton Props
|
||||
|
||||
|
||||
52
yarn.lock
52
yarn.lock
@ -2350,9 +2350,9 @@
|
||||
"@types/istanbul-lib-report" "*"
|
||||
|
||||
"@types/jest@^27.0.1", "@types/jest@^27.0.2":
|
||||
version "27.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.0.3.tgz#0cf9dfe9009e467f70a342f0f94ead19842a783a"
|
||||
integrity sha512-cmmwv9t7gBYt7hNKH5Spu7Kuu/DotGa+Ff+JGRKZ4db5eh8PnKS4LuebJ3YLUoyOyIHraTGyULn23YtEAm0VSg==
|
||||
version "27.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.4.0.tgz#037ab8b872067cae842a320841693080f9cb84ed"
|
||||
integrity sha512-gHl8XuC1RZ8H2j5sHv/JqsaxXkDDM9iDOgu0Wp8sjs4u/snb2PVehyWXJPr+ORA0RPpgw231mnutWI1+0hgjIQ==
|
||||
dependencies:
|
||||
jest-diff "^27.0.0"
|
||||
pretty-format "^27.0.0"
|
||||
@ -2582,9 +2582,9 @@
|
||||
eslint-plugin-vue "^7.15.2"
|
||||
|
||||
"@vant/icons@^1.7.1":
|
||||
version "1.7.1"
|
||||
resolved "https://registry.npmjs.org/@vant/icons/-/icons-1.7.1.tgz#49ae420302b5581e54e6894891e5a05bc76e9f87"
|
||||
integrity sha512-66LPEq89w4kl258nALZcRNd14eUJC8VajvTJwvZKOaZawz6CUeVZ6ybhedTUhQhRjeA8SyWD7dFt4ALf33Sabw==
|
||||
version "1.7.3"
|
||||
resolved "https://registry.yarnpkg.com/@vant/icons/-/icons-1.7.3.tgz#e51b46065cfde445617401ebe309a33b62a29725"
|
||||
integrity sha512-tW4EqzxN4kXw1rnlnQJQHofEifPbt/gECOWiibomht8QLyvoGuE4iUmDFS288dJ07ZjuTy0bhdABj0SENo2fmQ==
|
||||
|
||||
"@vant/markdown-vetur@^2.2.0":
|
||||
version "2.2.0"
|
||||
@ -7554,7 +7554,7 @@ is-callable@^1.1.4, is-callable@^1.2.3:
|
||||
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
|
||||
integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
|
||||
|
||||
is-ci@3.0.0, is-ci@^3.0.0:
|
||||
is-ci@3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.npm.taobao.org/is-ci/download/is-ci-3.0.0.tgz?cache=0&sync_timestamp=1613631987391&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-ci%2Fdownload%2Fis-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994"
|
||||
integrity sha1-x+e+PJ2O730PoUQ5C9HkuI3EyZQ=
|
||||
@ -8392,19 +8392,7 @@ jest-snapshot@^27.4.5:
|
||||
pretty-format "^27.4.2"
|
||||
semver "^7.3.2"
|
||||
|
||||
jest-util@^27.0.0, jest-util@^27.2.0:
|
||||
version "27.2.0"
|
||||
resolved "https://registry.npmjs.org/jest-util/-/jest-util-27.2.0.tgz#bfccb85cfafae752257319e825a5b8d4ada470dc"
|
||||
integrity sha512-T5ZJCNeFpqcLBpx+Hl9r9KoxBCUqeWlJ1Htli+vryigZVJ1vuLB9j35grEBASp4R13KFkV7jM52bBGnArpJN6A==
|
||||
dependencies:
|
||||
"@jest/types" "^27.1.1"
|
||||
"@types/node" "*"
|
||||
chalk "^4.0.0"
|
||||
graceful-fs "^4.2.4"
|
||||
is-ci "^3.0.0"
|
||||
picomatch "^2.2.3"
|
||||
|
||||
jest-util@^27.4.2:
|
||||
jest-util@^27.0.0, jest-util@^27.2.0, jest-util@^27.4.2:
|
||||
version "27.4.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.4.2.tgz#ed95b05b1adfd761e2cda47e0144c6a58e05a621"
|
||||
integrity sha512-YuxxpXU6nlMan9qyLuxHaMMOzXAl5aGZWCSzben5DhLHemYQxCc4YK+4L3ZrCutT8GPQ+ui9k5D8rUJoDioMnA==
|
||||
@ -8971,7 +8959,7 @@ lodash.uniq@^4.5.0:
|
||||
resolved "https://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
||||
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
|
||||
|
||||
lodash@4.17.21, lodash@4.x, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0:
|
||||
lodash@4.17.21, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0:
|
||||
version "4.17.21"
|
||||
resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.21.tgz?cache=0&sync_timestamp=1613835817439&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
||||
integrity sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=
|
||||
@ -12346,24 +12334,10 @@ trough@^1.0.0:
|
||||
resolved "https://registry.npm.taobao.org/trough/download/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406"
|
||||
integrity sha1-uLY5zvrX0LsqvTfUM/+Ck++l9AY=
|
||||
|
||||
ts-jest@^27.0.5:
|
||||
version "27.0.5"
|
||||
resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.0.5.tgz#0b0604e2271167ec43c12a69770f0bb65ad1b750"
|
||||
integrity sha512-lIJApzfTaSSbtlksfFNHkWOzLJuuSm4faFAfo5kvzOiRAuoN4/eKxVJ2zEAho8aecE04qX6K1pAzfH5QHL1/8w==
|
||||
dependencies:
|
||||
bs-logger "0.x"
|
||||
fast-json-stable-stringify "2.x"
|
||||
jest-util "^27.0.0"
|
||||
json5 "2.x"
|
||||
lodash "4.x"
|
||||
make-error "1.x"
|
||||
semver "7.x"
|
||||
yargs-parser "20.x"
|
||||
|
||||
ts-jest@^27.0.7:
|
||||
version "27.0.7"
|
||||
resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.0.7.tgz#fb7c8c8cb5526ab371bc1b23d06e745652cca2d0"
|
||||
integrity sha512-O41shibMqzdafpuP+CkrOL7ykbmLh+FqQrXEmV9CydQ5JBk0Sj0uAEF5TNNe94fZWKm3yYvWa/IbyV4Yg1zK2Q==
|
||||
ts-jest@^27.0.5, ts-jest@^27.0.7:
|
||||
version "27.1.2"
|
||||
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.1.2.tgz#5991d6eb3fd8e1a8d4b8f6de3ec0a3cc567f3151"
|
||||
integrity sha512-eSOiJOWq6Hhs6Khzk5wKC5sgWIXgXqOCiIl1+3lfnearu58Hj4QpE5tUhQcA3xtZrELbcvAGCsd6HB8OsaVaTA==
|
||||
dependencies:
|
||||
bs-logger "0.x"
|
||||
fast-json-stable-stringify "2.x"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user