瀏覽代碼

用户协议与隐私政策修改

LangYa
HolyKnightIX 2 年之前
父節點
當前提交
5f40576175
共有 7 個檔案被更改,包括 41 行新增109 行删除
  1. 二進制
      assets/images/confirm.png
  2. 二進制
      assets/images/waitingConfirm.png
  3. +1
    -104
      ext.json
  4. +18
    -1
      pages/getphoneInfo/index.js
  5. +9
    -3
      pages/getphoneInfo/index.wxml
  6. +12
    -0
      pages/getphoneInfo/index.wxss
  7. +1
    -1
      project.config.json

二進制
assets/images/confirm.png 查看文件

Before After
Width: 128  |  Height: 128  |  Size: 4.1 KiB

二進制
assets/images/waitingConfirm.png 查看文件

Before After
Width: 128  |  Height: 128  |  Size: 4.4 KiB

+ 1
- 104
ext.json 查看文件

@@ -1,104 +1 @@
{
"ext": {
"attr": {
"car": {
"etcp": {
"etcpAppId": "wx192b7d2e8dcbefd0",
"etcpVersion": "release",
"etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback"
}
},
"mchId": "1604439800",
"imgProxy": [
{
"newUrl": "https://ctest.malls.iformall.com/img",
"orgUrl": "https://iformall-net.formall.oss-accelerate.aliyuncs.com"
},
{
"newUrl": "https://ctest.malls.iformall.com/img1",
"orgUrl": "https://formall.oss-accelerate.aliyuncs.com"
},
{
"newUrl": "https://ctest.malls.iformall.com/img2",
"orgUrl": "https://wx.qlogo.cn"
}
],
"configUrl": "https://ctest.malls.iformall.com/C/api",
"businessSwitch": "1",
"ifHaveWebSocket": "0",
"ifHaveCarModular": "1"
},
"name": "金泸商务",
"weappId": "wx649b3be73c1afe47",
"appVersion": "C.test.5.2.0"
},
"debug": false,
"tabBar": {
"list": [
{
"text": "首页",
"iconPath": "assets/images/home.png",
"pagePath": "index/index",
"selectedIconPath": "assets/images/home-a.png"
},
{
"text": "首页",
"iconPath": "assets/images/home.png",
"pagePath": "pages/theme/index1/index",
"selectedIconPath": "assets/images/home-a.png"
},
{
"text": "门店",
"iconPath": "assets/images/mendian.png",
"pagePath": "index/searchbar",
"selectedIconPath": "assets/images/mendian-a.png"
},
{
"text": "停车",
"iconPath": "assets/images/park.png",
"pagePath": "index/passCar",
"selectedIconPath": "assets/images/park-a.png"
},
{
"text": "我的",
"iconPath": "assets/images/user.png",
"pagePath": "index/user",
"selectedIconPath": "assets/images/user-a.png"
}
],
"color": "#abb1be",
"selectedColor": "#b2743d"
},
"window": {
"backgroundTextStyle": "dark",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFFFFF"
},
"plugins": {
"auto-points-plugin": {
"version": "1.3.0",
"provider": "wxfab2bf944bfc4da6"
},
"live-player-plugin": {
"version": "1.3.4",
"provider": "wx2b03c6e691cd7370"
}
},
"extAppid": "wx649b3be73c1afe47",
"extEnable": true,
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"directCommit": false,
"networkTimeout": {
"request": 30000,
"downloadFile": 10000
},
"requiredPrivateInfos": [
"chooseLocation",
"getLocation"
]
}
{"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"}, "mchId": "1630349477", "imgProxy": [{"newUrl": "https://c.malls.iformall.com/img", "orgUrl": "https://iformall-net.formall.oss-accelerate.aliyuncs.com"}, {"newUrl": "https://c.malls.iformall.com/img1", "orgUrl": "https://formall.oss-accelerate.aliyuncs.com"}, {"newUrl": "https://c.malls.iformall.com/img2", "orgUrl": "https://wx.qlogo.cn"}], "mchIdOld": "1604439800", "configUrl": "https://c.malls.iformall.com/C/api", "ifStoreApp": "0", "businessSwitch": "1", "businessVersion": "1", "ifHaveWebSocket": "0", "ifHaveCarModular": "0"}, "name": "琅琊金鹏玖玖广场", "weappId": "wx6af487474e8b7fb3", "appVersion": "C.5.1.1"}, "debug": false, "tabBar": {"list": [{"text": "首页", "iconPath": "assets/images/home.png", "pagePath": "index/index", "selectedIconPath": "assets/images/home-a.png"}, {"text": "首页", "iconPath": "assets/images/home.png", "pagePath": "pages/theme/index1/index", "selectedIconPath": "assets/images/home-a.png"}, {"text": "门店", "iconPath": "assets/images/mendian.png", "pagePath": "index/searchbar", "selectedIconPath": "assets/images/mendian-a.png"}, {"text": "停车", "iconPath": "assets/images/park.png", "pagePath": "index/passCar", "selectedIconPath": "assets/images/park-a.png"}, {"text": "我的", "iconPath": "assets/images/user.png", "pagePath": "index/user", "selectedIconPath": "assets/images/user-a.png"}], "custom": true}, "window": {"backgroundTextStyle": "dark", "navigationBarTextStyle": "black", "navigationBarTitleText": "", "navigationBarBackgroundColor": "#FFFFFF"}, "plugins": {"auto-points-plugin": {"version": "2.4.0", "provider": "wxfab2bf944bfc4da6"}, "live-player-plugin": {"version": "1.2.5", "provider": "wx2b03c6e691cd7370"}}, "extAppid": "wx6af487474e8b7fb3", "extEnable": true, "permission": {"scope.userLocation": {"desc": "你的位置信息将用于小程序位置接口的效果展示"}}, "directCommit": false, "networkTimeout": {"request": 30000, "downloadFile": 10000}, "requiredPrivateInfos": ["chooseLocation"]}

+ 18
- 1
pages/getphoneInfo/index.js 查看文件

@@ -15,9 +15,11 @@ Page({
fillIndentId: "",
couponId: "",
go: '',
id: ''
id: '',
isPhone: false
// skip: app.globalData.skip
},

onLoad: function (options) {
console.log(options, 'options');
var that = this;
@@ -119,12 +121,27 @@ Page({
}
})
},

changePhoneStatus() {
const isPhone = this.data.isPhone
this.setData({
isPhone: !isPhone
})
},

backHome: function () {
wx.switchTab({
url: app.globalData.goHomeUrl,
})
},
getPhoneNumber: function (e) {
if (!this.data.isPhone) {
wx.showToast({
title: '请您阅读并勾选用户协议哦',
icon: "none"
})
return
}
var that = this;
var iv = e.detail.iv;
var encryptedData = e.detail.encryptedData;


+ 9
- 3
pages/getphoneInfo/index.wxml 查看文件

@@ -8,10 +8,16 @@
<text>登录后可以更好的体验我们哦~</text>
</view>
<view class="login-btn">
<button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">微信手机号一键登录</button>
<view wx:else>请升级微信版本</view>
<button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse && isPhone}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">微信手机号一键登录</button>
<button hover-class='active' wx:if="{{canIUse && !isPhone}}" class="login-btn-login" bindtap="getPhoneNumber">微信手机号一键登录</button>
<view wx:if="{{!canIUse}}">请升级微信版本</view>
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
</view>

<view class="protocol" bindtap="goCheckProtocol">登录/注册即代表同意用户协议与隐私政策</view>
<view class="protocol">
<image wx:if="{{isPhone}}" src="../../assets/images/confirm.png" bindtap="changePhoneStatus" />
<image wx:if="{{!isPhone}}" src="../../assets/images/waitingConfirm.png" bindtap="changePhoneStatus" />
我已阅读并同意<text class="text" bindtap="goCheckProtocol">《用户协议与隐私政策》</text>
</view>

</view>

+ 12
- 0
pages/getphoneInfo/index.wxss 查看文件

@@ -71,5 +71,17 @@ page {
position: fixed;
bottom: 50rpx;
font-size: 25rpx;
}

.protocol image {
position: absolute;
left: -50rpx;
top: 50%;
transform: translateY(-50%);
width: 40rpx;
height: 40rpx;
}

.protocol .text {
color: #00c0ff;
}

+ 1
- 1
project.config.json 查看文件

@@ -35,7 +35,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.11.2",
"appid": "wxfa336cad86ed598d",
"appid": "wx453ae0d37f3550d0",
"projectname": "C",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},


Loading…
取消
儲存