提交 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"
"bottom" : {
// 底部安全区域配置
"offset" : "auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
} }
}, },
"splashscreen": { "splashscreen" : {
"alwaysShowBeforeRender": true, "alwaysShowBeforeRender" : true,
"waiting": true, "waiting" : true,
"autoclose": true, "autoclose" : true,
"delay": 0 "delay" : 0
}, },
"modules": { "modules" : {
"Share": {}, "Share" : {},
"Fingerprint": {}, "Fingerprint" : {},
"OAuth": {} "OAuth" : {}
}, },
"distribute": { "distribute" : {
"android": { "android" : {
"permissions": [ "permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
...@@ -49,68 +54,68 @@ ...@@ -49,68 +54,68 @@
] ]
}, },
/* ios打包配置 */ /* ios打包配置 */
"ios": { "ios" : {
"capabilities": { "capabilities" : {
"plists": { "plists" : {
"DCloudConfig": { "DCloudConfig" : {
"miniServer": true "miniServer" : true
} }
}, },
"entitlements": { "entitlements" : {
"com.apple.developer.associated-domains": [ "com.apple.developer.associated-domains" : [
"applinks:uniapp.dcloud.io", "applinks:uniapp.dcloud.io",
"applinks:static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com" "applinks:static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com"
] ]
} }
}, },
"privacyDescription": { "privacyDescription" : {
"NSLocalNetworkUsageDescription": "展示游戏页面" "NSLocalNetworkUsageDescription" : "展示游戏页面"
} }
}, },
"sdkConfigs": { "sdkConfigs" : {
"oauth": { "oauth" : {
"apple": {}, "apple" : {},
"weixin": { "weixin" : {
"appid": "wx0411fa6a39d61297", "appid" : "wx0411fa6a39d61297",
"appsecret": "", "appsecret" : "",
"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"
}, },
"univerify": {} "univerify" : {}
}, },
"share": { "share" : {
"weixin": { "weixin" : {
"appid": "wx0411fa6a39d61297", "appid" : "wx0411fa6a39d61297",
"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" "_spaceID" : "7827e38b-7f40-4421-bca7-58331dcddc00"
} }
}, },
"payment": { "payment" : {
"weixin": { "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"
} }
}, },
"ad": {} "ad" : {}
} }
} }
}, },
"quickapp": {}, "quickapp" : {},
"mp-weixin": { "mp-weixin" : {
"appid": "", "appid" : "",
"setting": { "setting" : {
"urlCheck": false "urlCheck" : false
}, },
"usingComponents": true "usingComponents" : true
}, },
"mp-alipay": { "mp-alipay" : {
"usingComponents": true "usingComponents" : true
}, },
"mp-baidu": { "mp-baidu" : {
"usingComponents": true "usingComponents" : true
}, },
"mp-toutiao": { "mp-toutiao" : {
"usingComponents": true "usingComponents" : true
}, },
"uniStatistics": { "uniStatistics" : {
"enable": false "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.
先完成此消息的编辑!
想要评论请 注册