jyj-components 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,22 @@ npm install jyj-components
|
|
|
27
27
|
|
|
28
28
|
将 `miniprogram_dist` 目录复制到项目中,然后在 `app.json` 中配置相对路径。
|
|
29
29
|
|
|
30
|
+
## 添加合法域名
|
|
31
|
+
|
|
32
|
+
1. 小程序账号登录[微信公众平台](https://mp.weixin.qq.com/)
|
|
33
|
+
2. 开发 —> 开发管理 —> 开发设置 —> 服务器域名
|
|
34
|
+
3. 在 `downloadFile合法域名` 中增加如下配置
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
https://wxgo.cdn.adwke.com
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
4. 在request合法域名中增加
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
https://wxgo.adwke.com/
|
|
44
|
+
```
|
|
45
|
+
|
|
30
46
|
## 组件使用
|
|
31
47
|
|
|
32
48
|
### 1. 横幅广告 (ad-banner)
|