Kaynağa Gözat

[订单样式修改 扫一扫面部识别]

tags/广东版3.2.2
meo 6 yıl önce
ebeveyn
işleme
e9b910412a
4 değiştirilmiş dosya ile 14 ekleme ve 8 silme
  1. +3
    -3
      config/config.js
  2. +1
    -1
      pages/order/detail/index.wxss
  3. +9
    -3
      pages/scanPay/scanPay.js
  4. +1
    -1
      project.config.json

+ 3
- 3
config/config.js Dosyayı Görüntüle

@@ -2,8 +2,8 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
var appId = extConfig.appId;
var config = {
// url: "https://ciformall.youlane.cn/C/api",
url:"https://c.malls.iformall.com/C/api",
// url:'https://ctest.malls.iformall.com/C/api',
// url:"https://c.malls.iformall.com/C/api",
url:'https://ctest.malls.iformall.com/C/api',
// url:'http://10.100.33.68:7000/C/api',
// url: 'http://202.165.179.86:4000/C/api',
api: {
@@ -203,7 +203,7 @@ var config = {
},

weapp: {
AppId: "wx30caec1cc16c4634"
AppId: "wx649b3be73c1afe47"
},
ErrorCode: {


+ 1
- 1
pages/order/detail/index.wxss Dosyayı Görüntüle

@@ -25,7 +25,7 @@ page {
}

.merchantName {
color: #999;
color: #666!important;
}

.tips text:nth-child(2) {


+ 9
- 3
pages/scanPay/scanPay.js Dosyayı Görüntüle

@@ -55,13 +55,15 @@ Page({
let that = this;
const startSoterAuthentication = () => {
wx.startSoterAuthentication({
requestAuthModes: [AUTH_MODE],
requestAuthModes: ["fingerPrint"],
challenge: 'test',
authContent: '请验证已有的指纹以继续',
success: (res) => {
console.log(res)
that.gotoPay()
},
fail: (err) => {
console.log(err);
wx.hideLoading();
that.setData({
showModel: false,
@@ -69,6 +71,10 @@ Page({
ids: "",
remainingAmount: that.data.remainingAmounts
})
if(err.errCode==90008||err.errCode == 90009){
}else{
that.gotoPay();
}
}
})
}
@@ -94,9 +100,9 @@ Page({
if (res.supportMode == []) {
that.gotoPay();
} else if (res.supportMode == ['fingerPrint']) {
checkIsEnrolled()
checkIsEnrolled();
} else if (res.supportMode = ['fingerPrint', 'facial']) {
checkIsEnrolled()
checkIsEnrolled();
}
},
fail: (err) => {


+ 1
- 1
project.config.json Dosyayı Görüntüle

@@ -13,7 +13,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.0.9",
"appid": "wx30caec1cc16c4634",
"appid": "wx649b3be73c1afe47",
"projectname": "C",
"isGameTourist": false,
"condition": {


Yükleniyor…
İptal
Kaydet