diff --git a/app.json b/app.json
index 71aa816..8e8b4f0 100644
--- a/app.json
+++ b/app.json
@@ -100,8 +100,7 @@
"userProtocol/userProtocol",
"exchangeCard/exchangeCard",
"exchange/exchange",
- "complaint/complaint",
- "userPrivacyPro/userPrivacyPro"
+ "complaint/complaint"
]
}
],
diff --git a/assets/images/avatar2.png b/assets/images/avatar2.png
deleted file mode 100644
index aee99aa..0000000
Binary files a/assets/images/avatar2.png and /dev/null differ
diff --git a/assets/images/avatar3.png b/assets/images/avatar3.png
deleted file mode 100644
index 1c7b19a..0000000
Binary files a/assets/images/avatar3.png and /dev/null differ
diff --git a/assets/images/scanSvg.txt b/assets/images/scanSvg.txt
deleted file mode 100644
index 468883f..0000000
--- a/assets/images/scanSvg.txt
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ext.json b/ext.json
index af9aa49..34dfe10 100644
--- a/ext.json
+++ b/ext.json
@@ -2,45 +2,35 @@
"ext": {
"attr": {
"car": {
- "tjd": {
- "payPath": "",
- "tjdAppId": "wx6945d1bda68d7993"
- },
"etcp": {
- "payPath": "pages/pay/order-pay-open/main",
- "etcpAppId": "wxc07f9d67923d676d",
- "etcpCallbackUrl": "https://admin.malls.iformall.com/api/carCallback/etcpPaidCallback"
- },
- "bolink": {
- "payPath": "pages/park/park",
- "bolinkAppId": "wxbd08b4baa10fcc1d"
- },
- "version": "release"
+ "etcpAppId": "wx192b7d2e8dcbefd0",
+ "etcpVersion": "release",
+ "etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback"
+ }
},
"mchId": "1604439800",
"imgProxy": [
{
- "newUrl": "https://c.malls.iformall.com/img",
+ "newUrl": "https://ctest.malls.iformall.com/img",
"orgUrl": "https://iformall-net.formall.oss-accelerate.aliyuncs.com"
},
{
- "newUrl": "https://c.malls.iformall.com/img1",
+ "newUrl": "https://ctest.malls.iformall.com/img1",
"orgUrl": "https://formall.oss-accelerate.aliyuncs.com"
},
{
- "newUrl": "https://c.malls.iformall.com/img2",
+ "newUrl": "https://ctest.malls.iformall.com/img2",
"orgUrl": "https://wx.qlogo.cn"
}
],
- "configUrl": "https://c.malls.iformall.com/C/api",
- "ifStoreApp": "0",
+ "configUrl": "https://ctest.malls.iformall.com/C/api",
"businessSwitch": "1",
"ifHaveWebSocket": "0",
- "ifHaveCarModular": "0"
+ "ifHaveCarModular": "1"
},
- "name": "富茂链客生产版",
- "weappId": "wx6a2524a8286d687f",
- "appVersion": "C.5.1.1"
+ "name": "金泸商务",
+ "weappId": "wx649b3be73c1afe47",
+ "appVersion": "C.test.5.2.0"
},
"debug": false,
"tabBar": {
@@ -76,7 +66,8 @@
"selectedIconPath": "assets/images/user-a.png"
}
],
- "custom": true
+ "color": "#abb1be",
+ "selectedColor": "#b2743d"
},
"window": {
"backgroundTextStyle": "dark",
@@ -90,11 +81,11 @@
"provider": "wxfab2bf944bfc4da6"
},
"live-player-plugin": {
- "version": "1.3.5",
+ "version": "1.3.4",
"provider": "wx2b03c6e691cd7370"
}
},
- "extAppid": "wx6a2524a8286d687f",
+ "extAppid": "wx649b3be73c1afe47",
"extEnable": true,
"permission": {
"scope.userLocation": {
diff --git a/index/index.js b/index/index.js
index f1d87b2..fc7825c 100644
--- a/index/index.js
+++ b/index/index.js
@@ -14,6 +14,7 @@ Page({
data: {
aa: (app.statusBarHeight + 34) + "rpx",
noDataFlag: false,
+ showPrivacy: false,
busineKye: 0,
businePageNum: 1,
credit: 0,
@@ -824,6 +825,7 @@ Page({
// that.getGameOne(app.globalData.token)
that.getStaticGame(app.globalData.token)
that.getGg(app.globalData.token)
+ that.getPrivacySetting()
let weapNote = JSON.parse(res.data.weapNote);
that.setData({
// desc: weapNote.firstpage.desc?weapNote.firstpage.desc:"",
@@ -889,6 +891,7 @@ Page({
that.getStaticGame(app.globalData.token)
that.getGg(app.globalData.token)
let weapNote = JSON.parse(res.data.weapNote);
+ that.getPrivacySetting()
that.setData({
// desc: weapNote.firstpage.desc?weapNote.firstpage.desc:"",
// title: weapNote.firstpage.title?weapNote.firstpage.title:'',
@@ -1166,6 +1169,76 @@ Page({
url: `/pages/topicDetail/index?id=${this.data.id}`
})
},
+
+ clickPrivacy(e) {
+
+ },
+
+ closePrivacy() {
+ this.setData({
+ showPrivacy: false
+ })
+ },
+
+ getPrivacySetting() {
+ const canIUsePrivacy = wx.canIUse('getPrivacySetting')
+ console.log(canIUsePrivacy, 'canIUse getPrivacySetting')
+ if (canIUsePrivacy) {
+ wx.getPrivacySetting({
+ success: res => {
+ console.log(res, 'getPrivacySetting') // 返回结果为: res = { needAuthorization: true/false, privacyContractName: '《xxx隐私保护指引》' }
+ if (res.needAuthorization) {
+ // 需要弹出隐私协议
+ this.setData({
+ showPrivacy: true
+ })
+ } else {
+ // this.setData({
+ // showPrivacy: true
+ // })
+ // 用户已经同意过隐私协议,所以不需要再弹出隐私协议,也能调用已声明过的隐私接口
+ // wx.getUserProfile()
+ // wx.chooseMedia()
+ // wx.getClipboardData()
+ // wx.startRecord()
+ // this.setData({
+ // showPrivacy: true
+ // })
+ }
+ },
+ fail: () => { },
+ complete: () => { }
+ })
+ }
+ },
+
+ handleAgreePrivacyAuthorization() {
+ console.log('Privacy Agreed!');
+ this.setData({
+ showPrivacy: false
+ })
+ // 用户同意隐私协议事件回调
+ // 用户点击了同意,之后所有已声明过的隐私接口和组件都可以调用了
+ // wx.getUserProfile()
+ // wx.chooseMedia()
+ // wx.getClipboardData()
+ // wx.startRecord()
+ },
+
+ handleOpenPrivacyContract() {
+ // 打开隐私协议页面
+ wx.openPrivacyContract({
+ success: () => {
+ // this.setData({
+ // showPrivacy: false
+ // })
+ }, // 打开成功
+ fail: () => { }, // 打开失败
+ complete: () => { }
+ })
+ },
+
+
/**
* 检查用户是否有车
*/
diff --git a/index/index.wxml b/index/index.wxml
index fd15e57..a749943 100644
--- a/index/index.wxml
+++ b/index/index.wxml
@@ -96,6 +96,18 @@
+
+
+
+
+ 隐私协议更新
+
+ 感谢您一直以来对我们的信任和支持。为了更好地保护您的个人信息安全我们已经更新了隐私协议。如您继续使用我们的服务即表示同意并接受更新后的隐私协议。如您有任何疑问或意见,欢迎您联系我们的客户服务团队。
+
+
+
+
+
diff --git a/index/index.wxss b/index/index.wxss
index 682f584..70cd9d0 100644
--- a/index/index.wxss
+++ b/index/index.wxss
@@ -4,6 +4,63 @@ page {
background: #f4f5f9;
}
+.outSide {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: #00000059;
+}
+
+.showPrivacy {
+ position: fixed;
+ width: 520rpx;
+ background-color: #fff;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ padding: 60rpx 40rpx;
+ border-radius: 20rpx;
+ box-shadow: #00000047 2px 1px 2px 2px;
+}
+
+.showPrivacy .title {
+ text-align: center;
+}
+
+.showPrivacy .content {
+ text-indent: 2em;
+ margin: 30rpx 0;
+}
+
+.showPrivacy button {
+ width: 350rpx;
+}
+
+.showPrivacy button.agree {
+ margin-bottom: 25rpx;
+}
+
+.showPrivacy button.check {
+ background-color: #ffffff00;
+ font-size: 21rpx;
+ text-decoration: underline;
+ padding: 0;
+}
+
+.showPrivacy button.check::after {
+ border: none;
+}
+
+.showPrivacy .delete {
+ position: absolute;
+ top: 15rpx;
+ right: 15rpx;
+ width: 65rpx;
+ height: 65rpx;
+}
+
.temp {
width: 100rpx;
height: 100rpx;
diff --git a/index/user.js b/index/user.js
index 506bf68..5c4c268 100644
--- a/index/user.js
+++ b/index/user.js
@@ -424,7 +424,7 @@ Page({
if (res.needAuthorization) {
// 需要弹出隐私协议
this.setData({
- showPrivacy: true
+ showPrivacy: false
})
} else {
// this.setData({
@@ -463,9 +463,9 @@ Page({
// 打开隐私协议页面
wx.openPrivacyContract({
success: () => {
- this.setData({
- showPrivacy: false
- })
+ // this.setData({
+ // showPrivacy: false
+ // })
}, // 打开成功
fail: () => { }, // 打开失败
complete: () => { }
diff --git a/index/user.wxml b/index/user.wxml
index 35f22d5..f02377e 100644
--- a/index/user.wxml
+++ b/index/user.wxml
@@ -208,10 +208,11 @@
>
-
+
+
@@ -331,6 +332,6 @@
-
+
\ No newline at end of file
diff --git a/pages/questionnaire/questionnaire.js b/pages/questionnaire/questionnaire.js
index f011786..d796cc0 100644
--- a/pages/questionnaire/questionnaire.js
+++ b/pages/questionnaire/questionnaire.js
@@ -232,7 +232,7 @@ Page({
this.userAuthorization()
this.setData({
goHomeUrl: app.globalData.goHomeUrl,
- id: options.id,
+ id: this.data.id,
mouldType: app.globalData.mouldType,
mouldConfig: app.globalData.mouldConfig,
})
diff --git a/pages/theme/index1/index.js b/pages/theme/index1/index.js
index 2bf3d9a..18397a2 100644
--- a/pages/theme/index1/index.js
+++ b/pages/theme/index1/index.js
@@ -24,7 +24,6 @@ Page({
busineKye: 0,
businePageNum: 1,
credit: 0,
- showPrivacy: false,
businessList: [], //优选好物导航
businessData: [], //优选好物数据
topicObj2: null, //欢乐城首页限时抢购
@@ -119,6 +118,7 @@ Page({
moduleList: [], //按钮列表
userAvatarUrl: "",
userName: "",
+ showPrivacy: false,
},
getBusineData(e) {
this.setData({
@@ -555,76 +555,75 @@ Page({
//获取条形码
// util.barcode("barcode", optionss.quancode, 510, 100);
// console.log(Http.headers.token, "?")
-
},
- clickPrivacy(e) {
+ // clickPrivacy(e) {
- },
+ // },
- closePrivacy() {
- this.setData({
- showPrivacy: false
- })
- },
+ // closePrivacy() {
+ // this.setData({
+ // showPrivacy: false
+ // })
+ // },
- getPrivacySetting() {
- const canIUsePrivacy = wx.canIUse('getPrivacySetting')
- console.log(canIUsePrivacy, 'canIUse getPrivacySetting')
- if (canIUsePrivacy) {
- wx.getPrivacySetting({
- success: res => {
- console.log(res, 'getPrivacySetting') // 返回结果为: res = { needAuthorization: true/false, privacyContractName: '《xxx隐私保护指引》' }
- if (res.needAuthorization) {
- // 需要弹出隐私协议
- this.setData({
- showPrivacy: true
- })
- } else {
- // this.setData({
- // showPrivacy: true
- // })
- // 用户已经同意过隐私协议,所以不需要再弹出隐私协议,也能调用已声明过的隐私接口
- // wx.getUserProfile()
- // wx.chooseMedia()
- // wx.getClipboardData()
- // wx.startRecord()
- this.setData({
- showPrivacy: true
- })
- }
- },
- fail: () => { },
- complete: () => { }
- })
- }
- },
+ // getPrivacySetting() {
+ // const canIUsePrivacy = wx.canIUse('getPrivacySetting')
+ // console.log(canIUsePrivacy, 'canIUse getPrivacySetting')
+ // if (canIUsePrivacy) {
+ // wx.getPrivacySetting({
+ // success: res => {
+ // console.log(res, 'getPrivacySetting') // 返回结果为: res = { needAuthorization: true/false, privacyContractName: '《xxx隐私保护指引》' }
+ // if (res.needAuthorization) {
+ // // 需要弹出隐私协议
+ // this.setData({
+ // showPrivacy: true
+ // })
+ // } else {
+ // // this.setData({
+ // // showPrivacy: true
+ // // })
+ // // 用户已经同意过隐私协议,所以不需要再弹出隐私协议,也能调用已声明过的隐私接口
+ // // wx.getUserProfile()
+ // // wx.chooseMedia()
+ // // wx.getClipboardData()
+ // // wx.startRecord()
+ // // this.setData({
+ // // showPrivacy: true
+ // // })
+ // }
+ // },
+ // fail: () => { },
+ // complete: () => { }
+ // })
+ // }
+ // },
- handleAgreePrivacyAuthorization() {
- console.log('Privacy Agreed!');
- this.setData({
- showPrivacy: false
- })
- // 用户同意隐私协议事件回调
- // 用户点击了同意,之后所有已声明过的隐私接口和组件都可以调用了
- // wx.getUserProfile()
- // wx.chooseMedia()
- // wx.getClipboardData()
- // wx.startRecord()
- },
+ // handleAgreePrivacyAuthorization() {
+ // console.log('Privacy Agreed!');
+ // this.setData({
+ // showPrivacy: false
+ // })
+ // // 用户同意隐私协议事件回调
+ // // 用户点击了同意,之后所有已声明过的隐私接口和组件都可以调用了
+ // // wx.getUserProfile()
+ // // wx.chooseMedia()
+ // // wx.getClipboardData()
+ // // wx.startRecord()
+ // },
- handleOpenPrivacyContract() {
- // 打开隐私协议页面
- wx.openPrivacyContract({
- success: () => {
- this.setData({
- showPrivacy: false
- })
- }, // 打开成功
- fail: () => { }, // 打开失败
- complete: () => { }
- })
- },
+ // handleOpenPrivacyContract() {
+ // // 打开隐私协议页面
+ // wx.openPrivacyContract({
+ // success: () => {
+ // // this.setData({
+ // // showPrivacy: false
+ // // })
+ // }, // 打开成功
+ // fail: () => { }, // 打开失败
+ // complete: () => { }
+ // })
+ // },
/**
* 获得经纬度
@@ -720,6 +719,7 @@ Page({
})
if (businessVersion) {
console.log(this.data.mch_id, 'this.data.mch_id');
+ console.log(openId, 'openId');
this.setData({
goUrl: `plugin://auto-points-plugin/index?openid=${openId}&mch_id=${this.data.mch_id}&member_status=${1}`
})
@@ -919,7 +919,7 @@ Page({
// desc: weapNote.firstpage.desc?weapNote.firstpage.desc:"",
// title: weapNote.firstpage.title?weapNote.firstpage.title:'',
})
- that.getPrivacySetting()
+ // that.getPrivacySetting()
})
.catch(err => {
// that.getGameOne(app.globalData.token)
@@ -984,7 +984,7 @@ Page({
// desc: weapNote.firstpage.desc?weapNote.firstpage.desc:"",
// title: weapNote.firstpage.title?weapNote.firstpage.title:'',
})
- that.getPrivacySetting()
+ // that.getPrivacySetting()
})
.catch(err => {
// that.getGameOne(app.globalData.token)
diff --git a/pages/theme/index1/index.wxml b/pages/theme/index1/index.wxml
index 9d08407..23e8ae2 100644
--- a/pages/theme/index1/index.wxml
+++ b/pages/theme/index1/index.wxml
@@ -117,7 +117,7 @@
-
+
diff --git a/pages3/userPrivacyPro/userPrivacyPro.js b/pages3/userPrivacyPro/userPrivacyPro.js
deleted file mode 100644
index 2dc4c77..0000000
--- a/pages3/userPrivacyPro/userPrivacyPro.js
+++ /dev/null
@@ -1,66 +0,0 @@
-// pages3/userPrivacyPro/userPrivacyPro.js
-Page({
-
- /**
- * 页面的初始数据
- */
- data: {
-
- },
-
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad(options) {
-
- },
-
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady() {
-
- },
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow() {
-
- },
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide() {
-
- },
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload() {
-
- },
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh() {
-
- },
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom() {
-
- },
-
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
-
- }
-})
\ No newline at end of file
diff --git a/pages3/userPrivacyPro/userPrivacyPro.json b/pages3/userPrivacyPro/userPrivacyPro.json
deleted file mode 100644
index 8835af0..0000000
--- a/pages3/userPrivacyPro/userPrivacyPro.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/pages3/userPrivacyPro/userPrivacyPro.wxml b/pages3/userPrivacyPro/userPrivacyPro.wxml
deleted file mode 100644
index 6ee31a2..0000000
--- a/pages3/userPrivacyPro/userPrivacyPro.wxml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
- 网络用户协议
-
-
- 欢迎使用!
- 本小程序所有服务和产品均受以下条款和条件的约束。请仔细阅读本产品的用户协议(以下简称“协议”)并确保您完全理解并同意其中的条款和条件。如果您不同意本协议中的任何内容,您应立即停止使用本产品。
-
-
- 1. 服务
- 本产品提供的服务仅供您个人使用。您不得将任何服务或产品用于商业目的。本产品有权随时更改或中断服务或产品的供应,并且不承担任何责任。
-
-
-
- 2. 用户注册信息
-
-
- 2.1 用户应该注册真实的个人信息,包括但不限于姓名、地址、联系电话、电子邮件地址等。用户应该及时更新这些信息。
-
-
-
- 2.2 用户应该保护好自己的账户和密码,避免泄露。并承担您账户下的所有活动的责任。如果您发现未经授权使用您的账户或任何其他安全漏洞,您应立即通知我司。
-
-
-
- 2.3 如有任何违反本协议的行为,本产品有权随时停止或终止用户的账户。
-
-
-
-
-
- 3. 用户行为
-
-
- 3.1 用户应该遵守法律法规和社会公德,不得在本产品发布任何违法内容。
-
-
- 3.2 用户应该尊重其他用户的权利和利益,不得侵犯他人的知识产权等合法权益。
-
-
- 3.3 用户应该保证自己发布的信息真实、准确、完整、不误导。
-
-
- 3.4 用户不得利用本产品进行任何商业活动或广告宣传行为。
-
-
- 3.5 您同意不会在本产品上从事任何非法、欺诈、骚扰、侵犯隐私、垃圾邮件或其他违法或侵权行为。如果本产品发现您从事这些行为,则有权立即终止您的账户或限制您的访问。
-
-
-
-
-
-
- 4. 知识产权
-
-
- 4.1 本产品上所有内容(包括但不限于文字、图片、音频、视频等)均为本产品所有。包括但不限于商标、版权和专利。您不得复制、修改、分发或创建派生作品。您同意不会挑战我们的所有权或控制权。
-
-
- 4.2 本产品允许用户发布或提交内容,包括但不限于文字、照片、视频、音频等。您保证对于您发布或提交的内容,您拥有必要的权利和许可,并且这些内容不会侵犯任何第三方的权利。我司有权删除或编辑用户提交的任何内容。
-
-
- 4.3 本产品上的所有内容,包括但不限于文字、图片、音频、视频、图形、商标和标识等,均受版权、商标和其他知识产权法律的保护。未经本网站或相关权利人书面许可,您不得复制、传播、转载、修改、发布、展示或以其他方式使用这些内容。
-
-
-
-
-
-
- 5. 免责声明
-
- 本产品不对任何信息的准确性、完整性、可靠性或适用性作任何明示或暗示的保证。本产品不对由于使用或无法使用本产品而导致的任何损失或损害承担任何责任。
-
-
-
- 6. 法律适用
-
- 本协议受中华人民共和国法律的管辖。任何因本协议产生的纠纷,应提交到有管辖权的法院解决。
-
-
-
- 7. 协议变更
-
- 本产品有权随时修改本协议的条款和条件。一旦本协议的任何条款和条件发生变化,您必须遵守修改后的协议。如果您继续使用本产品,则视为您接受修改后的协议。
-
-
-
- 8. 终止
-
- 本产品有权随时终止本协议,而无需事先通知您。如果您违反本协议中的任何条款和条件,本产品有权立即终止您的账户和访问权限。
-
-
-
- 9. 其他
-
- 本协议构成您与本产品之间的完整协议,取代了一切先前的协议和谈判。如果本协议中的任何条款或条件被认为无效或不可执行,则该条款或条件将被视为与本协议的其余部分分离,不影响其有效性和可执行性。本产品未行使或强制执行本协议中规定的任何权利或条款,并不构成对该权利或条款的豁免。
-
-
-
-
- 如果您对这些条款及条件有任何问题,请联系我们。
-
-
-
\ No newline at end of file
diff --git a/pages3/userPrivacyPro/userPrivacyPro.wxss b/pages3/userPrivacyPro/userPrivacyPro.wxss
deleted file mode 100644
index 7279433..0000000
--- a/pages3/userPrivacyPro/userPrivacyPro.wxss
+++ /dev/null
@@ -1,26 +0,0 @@
-/* pages3/userPrivacyPro/userPrivacyPro.wxss */
-
-.content {
- padding: 30rpx;
- padding-top: 200rpx;
- color: #525252;
-}
-
-
-.content view {
- margin-bottom: 30rpx;
-}
-
-.title {
- font-weight: 600;
- font-size: 35rpx;
- text-align: center;
-}
-
-.paragraph {
- text-indent: 40rpx;
-}
-
-.item .titleInside {
- font-weight: 600;
-}
\ No newline at end of file