This commit is contained in:
唐明明
2021-11-03 10:18:31 +08:00
parent d0596bd8a2
commit 6cb32203bf
5 changed files with 44183 additions and 313 deletions

View File

@@ -1,42 +1,42 @@
{
"name": "链商星球",
"appid": "__UNI__1F65101",
"description": "安徽星煌,链商星球商家工具",
"versionName": "1.0.9",
"versionCode": 109,
"transformPx": false,
"name" : "链商星球",
"appid" : "__UNI__1F65101",
"description" : "安徽星煌,链商星球商家工具",
"versionName" : "1.0.9",
"versionCode" : 109,
"transformPx" : false,
/* 5+App */
"app-plus": {
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"safearea": {
"bottom": {
"offset": "none"
"safearea" : {
"bottom" : {
"offset" : "none"
}
},
/* */
"modules": {
"OAuth": {},
"LivePusher": {},
"VideoPlayer": {},
"Push": {},
"Share": {},
"Payment": {},
"Geolocation": {},
"Maps": {}
"modules" : {
"OAuth" : {},
"LivePusher" : {},
"VideoPlayer" : {},
"Push" : {},
"Share" : {},
"Payment" : {},
"Geolocation" : {},
"Maps" : {}
},
/* */
"distribute": {
"distribute" : {
/* android */
"android": {
"permissions": [
"android" : {
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
@@ -60,120 +60,121 @@
]
},
/* ios */
"ios": {
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "上传图片",
"NSPhotoLibraryAddUsageDescription": "下载图片",
"NSCameraUsageDescription": "扫描二维码",
"NSLocationAlwaysAndWhenInUseUsageDescription": "定位您的店铺地址",
"NSRemindersUsageDescription": "及时通知提醒内容",
"NSLocalNetworkUsageDescription": "使用您的网络获取服务数据"
"ios" : {
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "上传图片",
"NSPhotoLibraryAddUsageDescription" : "下载图片",
"NSCameraUsageDescription" : "扫描二维码",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "定位您的店铺地址",
"NSRemindersUsageDescription" : "及时通知提醒内容",
"NSLocalNetworkUsageDescription" : "使用您的网络获取服务数据"
}
},
/* SDK */
"sdkConfigs": {
"ad": {},
"payment": {
"weixin": {
"__platform__": ["ios", "android"],
"appid": "wxd8b146e0a37bab50",
"UniversalLinks": "https://lianshang/app/"
"sdkConfigs" : {
"ad" : {},
"payment" : {
"weixin" : {
"__platform__" : [ "ios", "android" ],
"appid" : "wxd8b146e0a37bab50",
"UniversalLinks" : "https://lianshang/app/"
},
"alipay": {
"__platform__": ["ios", "android"]
"alipay" : {
"__platform__" : [ "ios", "android" ]
}
},
"oauth": {
"univerify": {},
"weixin": {
"appid": "wxd8b146e0a37bab50",
"appsecret": "6896afa5d57be13aecaf179c3547a940",
"UniversalLinks": "https://lianshang/app/"
"oauth" : {
"univerify" : {},
"weixin" : {
"appid" : "wxd8b146e0a37bab50",
"appsecret" : "6896afa5d57be13aecaf179c3547a940",
"UniversalLinks" : "https://lianshang/app/"
}
},
"push": {
"unipush": {}
"push" : {
"unipush" : {}
},
"share": {
"weixin": {
"appid": "wxd8b146e0a37bab50",
"UniversalLinks": "https://lianshang/app/"
"share" : {
"weixin" : {
"appid" : "wxd8b146e0a37bab50",
"UniversalLinks" : "https://lianshang/app/"
}
},
"maps": {
"amap": {
"appkey_ios": "450192db4bea0af2f226b8c1e1f7b769",
"appkey_android": "6ff79685204ba5f14ae2e898e0d3b8a0"
"maps" : {
"amap" : {
"appkey_ios" : "450192db4bea0af2f226b8c1e1f7b769",
"appkey_android" : "6ff79685204ba5f14ae2e898e0d3b8a0"
}
},
"geolocation": {
"amap": {
"__platform__": ["ios", "android"],
"appkey_ios": "450192db4bea0af2f226b8c1e1f7b769",
"appkey_android": "6ff79685204ba5f14ae2e898e0d3b8a0"
"geolocation" : {
"amap" : {
"__platform__" : [ "ios", "android" ],
"appkey_ios" : "450192db4bea0af2f226b8c1e1f7b769",
"appkey_android" : "6ff79685204ba5f14ae2e898e0d3b8a0"
}
}
},
"icons": {
"android": {
"hdpi": "unpackage/res/icons/72x72.png",
"xhdpi": "unpackage/res/icons/96x96.png",
"xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi": "unpackage/res/icons/192x192.png"
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios": {
"appstore": "unpackage/res/icons/1024x1024.png",
"ipad": {
"app": "unpackage/res/icons/76x76.png",
"app@2x": "unpackage/res/icons/152x152.png",
"notification": "unpackage/res/icons/20x20.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"proapp@2x": "unpackage/res/icons/167x167.png",
"settings": "unpackage/res/icons/29x29.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"spotlight": "unpackage/res/icons/40x40.png",
"spotlight@2x": "unpackage/res/icons/80x80.png"
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone": {
"app@2x": "unpackage/res/icons/120x120.png",
"app@3x": "unpackage/res/icons/180x180.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"notification@3x": "unpackage/res/icons/60x60.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x": "unpackage/res/icons/80x80.png",
"spotlight@3x": "unpackage/res/icons/120x120.png"
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
},
"splashscreen": {
"androidStyle": "common",
"iosStyle": "common"
"splashscreen" : {
"androidStyle" : "common",
"iosStyle" : "common"
}
}
},
/* */
"quickapp": {},
"quickapp" : {},
/* */
"mp-weixin": {
"appid": "",
"setting": {
"urlCheck": false
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents": true
"usingComponents" : true
},
"mp-alipay": {
"usingComponents": true
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu": {
"usingComponents": true
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao": {
"usingComponents": true
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics": {
"enable": false
"uniStatistics" : {
"enable" : false
},
"vueVersion": "2"
"vueVersion" : "2"
}
/* SDK */

View File

@@ -206,6 +206,9 @@
if (this.selectTypeId === '2') {
if (typeof res === 'string') {
let payInfo = JSON.parse(res)
console.log(res)
uni.requestPayment({
provider: "wxpay",
orderInfo: payInfo,
@@ -224,8 +227,9 @@
}, 3000);
},
fail: (err) => {
console.log(err)
uni.showToast({
title: '支付失败' + err.message,
title: '支付失败' + err.errMsg,
duration: 3000,
mask: true,
icon: 'none'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long