Skip to content

Commit ef3c6c7

Browse files
committed
吐槽反馈功能配置
1 parent 2b93329 commit ef3c6c7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pages/index/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ Page({
4848
isLoginPopup: false,
4949
appId: "wx8abaf00ee8c3202e",
5050
extraData: {
51-
// 把1221数字换成你的产品ID,否则会跳到别的产品
51+
// 登陆https://tucao.qq.com/,注册账号,创建实例产品ID
52+
// 把45980数字换成你的产品ID,否则会跳到我的产品
5253
id: "45980",
53-
// 自定义参数,具体参考文档
54+
// 自定义参数,具体参考文档,不懂的就默认
5455
customData: {
55-
clientInfo: `iPhone OS 10.3.1 / 3.2.0.43 / 0`,
56-
imei: '7280BECE2FC29544172A2B858E9E90D0'
56+
customInfo: `Mr.Yeehee`,
57+
clientVersion: 'version 2.1.8'
5758
}
5859
}
5960

pages/index/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</view>
100100
<!-- 绑定同一公众号关联的其他小程序 end -->
101101

102-
<!-- 绑定吐槽社区功能 -->
102+
<!-- 绑定吐槽社区功能 同时,请在index.js的extraData里面修改配置信息 -->
103103
<view class="top-item" style='width:10%; position: relative; float:left; text-align:center'>
104104
<navigator target="miniProgram" open-type="navigate" app-id="{{ appId }}" extra-data="{{ extraData }}" hover-class="none" version="release">
105105
<view>

0 commit comments

Comments
 (0)