提交 8238c6fc 编写于 作者: L linju

123

上级 23f4a072
{ {
"name": "base-app", "name" : "base-app",
"appid": "__UNI__BC54A00", "appid" : "__UNI__BC54A00",
"description": "", "description" : "",
"versionName": "1.0.0", "versionName" : "1.0.0",
"versionCode": "100", "versionCode" : "100",
"transformPx": false, "transformPx" : false,
"app-plus": { "app-plus" : {
"usingComponents": true, "usingComponents" : true,
"nvueCompiler": "uni-app", "nvueCompiler" : "uni-app",
"compilerVersion": 3, "compilerVersion" : 3,
"screenOrientation":["portrait-primary"], // 竖屏锁定 "compatible" : {
"safearea": { //安全区域配置,仅iOS平台生效 "ignoreVersion" : true
"background": "#FFFFFF", //安全区域外的背景颜色,默认值为"#FFFFFF" },
"bottom": { // 底部安全区域配置 "screenOrientation" : [ "portrait-primary" ], // 竖屏锁定
"offset": "auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none" "safearea" : {
} //安全区域配置,仅iOS平台生效
}, "background" : "#FFFFFF", //安全区域外的背景颜色,默认值为"#FFFFFF"
"splashscreen": { "bottom" : {
"alwaysShowBeforeRender": true, // 底部安全区域配置
"waiting": true, "offset" : "auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
"autoclose": true, }
"delay": 0 },
}, "splashscreen" : {
"modules": { "alwaysShowBeforeRender" : true,
"Share": {}, "waiting" : true,
"Fingerprint": {}, "autoclose" : true,
"OAuth": {} "delay" : 0
}, },
"distribute": { "modules" : {
"android": { "Share" : {},
"permissions": [ "Fingerprint" : {},
"<uses-feature android:name=\"android.hardware.camera\"/>", "OAuth" : {}
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", },
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "distribute" : {
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", "android" : {
"<uses-permission android:name=\"android.permission.CAMERA\"/>", "permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>", "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>", "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
] "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
}, "<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
/* ios打包配置 */ "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"ios": { "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"capabilities": { "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
"plists": { ]
"DCloudConfig": { },
"miniServer": true /* ios打包配置 */
} "ios" : {
}, "capabilities" : {
"entitlements": { "plists" : {
"com.apple.developer.associated-domains": [ "DCloudConfig" : {
"applinks:uniapp.dcloud.io", "miniServer" : true
"applinks:static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com" }
] },
} "entitlements" : {
}, "com.apple.developer.associated-domains" : [
"privacyDescription": { "applinks:uniapp.dcloud.io",
"NSLocalNetworkUsageDescription": "展示游戏页面" "applinks:static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com"
} ]
}, }
"sdkConfigs": { },
"oauth": { "privacyDescription" : {
"apple": {}, "NSLocalNetworkUsageDescription" : "展示游戏页面"
"weixin": { }
"appid": "wx0411fa6a39d61297", },
"appsecret": "", "sdkConfigs" : {
"UniversalLinks": "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00" "oauth" : {
}, "apple" : {},
"univerify": {} "weixin" : {
}, "appid" : "wx0411fa6a39d61297",
"share": { "appsecret" : "",
"weixin": { "UniversalLinks" : "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00"
"appid": "wx0411fa6a39d61297", },
"UniversalLinks": "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00", "univerify" : {}
"_spaceID": "7827e38b-7f40-4421-bca7-58331dcddc00" },
} "share" : {
}, "weixin" : {
"payment": { "appid" : "wx0411fa6a39d61297",
"weixin": { "UniversalLinks" : "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00",
"UniversalLinks": "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00" "_spaceID" : "7827e38b-7f40-4421-bca7-58331dcddc00"
} }
}, },
"ad": {} "payment" : {
} "weixin" : {
} "UniversalLinks" : "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00"
}, }
"quickapp": {}, },
"mp-weixin": { "ad" : {}
"appid": "", }
"setting": { }
"urlCheck": false },
}, "quickapp" : {},
"usingComponents": true "mp-weixin" : {
}, "appid" : "",
"mp-alipay": { "setting" : {
"usingComponents": true "urlCheck" : false
}, },
"mp-baidu": { "usingComponents" : true
"usingComponents": true },
}, "mp-alipay" : {
"mp-toutiao": { "usingComponents" : true
"usingComponents": true },
}, "mp-baidu" : {
"uniStatistics": { "usingComponents" : true
"enable": false },
} "mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
}
} }
...@@ -187,27 +187,27 @@ ...@@ -187,27 +187,27 @@
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
}, },
"condition": { // "condition": {
"list": [{ // "list": [{
"path": "uni_modules/uni-login-page/pages/index/index", // "path": "uni_modules/uni-login-page/pages/index/index",
"style": { // "style": {
"navigationBarTitleText": "", // "navigationBarTitleText": "",
"app-plus": { // "app-plus": {
"animationType": "none", // "animationType": "none",
"popGesture": "none", // "popGesture": "none",
"titleNView": { // "titleNView": {
"buttons": [{ // "buttons": [{
"text": "帮助", // "text": "帮助",
"type": "none", // "type": "none",
"fontSize": "16px", // "fontSize": "16px",
"width": "60px" // "width": "60px"
}] // }]
} // }
} // }
} // }
}], // }],
"current": 0 // "current": 0
}, // },
"tabBar": { "tabBar": {
"color": "#7A7E83", "color": "#7A7E83",
"selectedColor": "#007AFF", "selectedColor": "#007AFF",
......
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
"smsSecret": "d6c424b702d73baa3b6e1a1452469213" "smsSecret": "d6c424b702d73baa3b6e1a1452469213"
}, },
"univerify":{ "univerify":{
"appid": "__UNI__GameCat", "appid": "__UNI__BC54A00",
"apiKey":"c5f80ebad34aaf0ae22958d866287521", "apiKey":"d1e36bcd497b3795434d900dcfdd44dc",
"apiSecret":"f921890ca9c248273eadaf9b4137cf5c" "apiSecret":"2feb378ff1114362b20ac179b572293e"
} }
} }
} }
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
*/ */
count: { count: {
type: [String, Number], type: [String, Number],
default: 3 default: 60
} }
}, },
data() { data() {
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
success: (e) => { success: (e) => {
console.log(e); console.log(e);
uni.showToast({ uni.showToast({
title: JSON.stringify(e.result), title: "短信验证码发送成功",
icon: 'none' icon: 'none'
}); });
......
...@@ -125,7 +125,7 @@ import mixin from '../../common/loginPage.mixin.js'; ...@@ -125,7 +125,7 @@ import mixin from '../../common/loginPage.mixin.js';
success: (e) => { success: (e) => {
console.log(e); console.log(e);
uni.showToast({ uni.showToast({
title: JSON.stringify(e.result), title: "短信验证码发送成功",
icon: 'none' icon: 'none'
}); });
// uni.showModal({ // uni.showModal({
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// 配置教程参考:https://uniapp.dcloud.net.cn/uniCloud/quickstart?id=runparam // 配置教程参考:https://uniapp.dcloud.net.cn/uniCloud/quickstart?id=runparam
{ {
"appid": "__YOUR_APPID__", "appid": "uni.UNIBC54A00",
"appVersion": "2.2.0", "appVersion": "2.2.0",
"wgtVersion": "2.2.2" "wgtVersion": "2.2.2"
} }
...@@ -4,7 +4,6 @@ const PACKAGE_INFO_KEY = '__package_info__' ...@@ -4,7 +4,6 @@ const PACKAGE_INFO_KEY = '__package_info__'
export default function() { export default function() {
// #ifdef APP-PLUS // #ifdef APP-PLUS
return '先关了'
plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) { plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
uniCloud.callFunction({ uniCloud.callFunction({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册