更新:培训班可自定义报名支付方式
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
"version" : "0.0",
|
||||
"configurations" : [
|
||||
{
|
||||
"app" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"app-plus" : {
|
||||
"launchtype" : "remote"
|
||||
},
|
||||
|
||||
@@ -2,8 +2,8 @@ let baseUrl = "";
|
||||
let socketUrl = "";
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// 开发环境
|
||||
baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||
// baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||
} else if (process.env.NODE_ENV === 'production') {
|
||||
// 生产环境11
|
||||
baseUrl = "https://api.nuttyreading.com/";
|
||||
|
||||
622
manifest.json
622
manifest.json
@@ -1,59 +1,62 @@
|
||||
{
|
||||
"name": "吴门医述",
|
||||
"appid": "__UNI__C7475A8",
|
||||
"description": "吴门医述",
|
||||
"networkTimeout": {
|
||||
"request": 15000
|
||||
"name" : "吴门医述",
|
||||
"appid" : "__UNI__C7475A8",
|
||||
"description" : "吴门医述",
|
||||
"networkTimeout" : {
|
||||
"request" : 15000
|
||||
},
|
||||
"transformPx": false,
|
||||
"icons": [{
|
||||
"sizes": "分辨率,192x192",
|
||||
"src": "图片路径"
|
||||
}],
|
||||
"versionName": "2.0.27",
|
||||
"versionCode": 2027,
|
||||
"app-plus": {
|
||||
"nvueCompiler": "uni-app",
|
||||
"compatible": {
|
||||
"ignoreVersion": true
|
||||
"transformPx" : false,
|
||||
"icons" : [
|
||||
{
|
||||
"sizes" : "分辨率,192x192",
|
||||
"src" : "图片路径"
|
||||
}
|
||||
],
|
||||
"versionName" : "2.0.29",
|
||||
"versionCode" : 2028,
|
||||
"sassImplementationName" : "node-sass",
|
||||
"app-plus" : {
|
||||
"nvueCompiler" : "uni-app",
|
||||
"compatible" : {
|
||||
"ignoreVersion" : true
|
||||
},
|
||||
"screenOrientation": [
|
||||
"screenOrientation" : [
|
||||
"portrait-primary",
|
||||
"portrait-secondary",
|
||||
"landscape-primary",
|
||||
"landscape-secondary"
|
||||
],
|
||||
"privacy": {
|
||||
"prompt": "template",
|
||||
"template": {
|
||||
"title": "用户协议和隐私政策",
|
||||
"message": "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href='https://wumen.taihumed.com/agreement.html'>《用户协议》</a>和<a href='https://wumen.taihumed.com/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
|
||||
"buttonAccept": "同意",
|
||||
"buttonRefuse": "暂不同意"
|
||||
"privacy" : {
|
||||
"prompt" : "template",
|
||||
"template" : {
|
||||
"title" : "用户协议和隐私政策",
|
||||
"message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href='https://wumen.taihumed.com/agreement.html'>《用户协议》</a>和<a href='https://wumen.taihumed.com/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
|
||||
"buttonAccept" : "同意",
|
||||
"buttonRefuse" : "暂不同意"
|
||||
}
|
||||
},
|
||||
"modules": {
|
||||
"Payment": {},
|
||||
"Share": {},
|
||||
"Camera": {},
|
||||
"OAuth": {},
|
||||
"VideoPlayer": {}
|
||||
"modules" : {
|
||||
"Payment" : {},
|
||||
"Share" : {},
|
||||
"Camera" : {},
|
||||
"OAuth" : {},
|
||||
"VideoPlayer" : {}
|
||||
},
|
||||
"distribute": {
|
||||
"apple": {
|
||||
"devices": "universal"
|
||||
"distribute" : {
|
||||
"apple" : {
|
||||
"devices" : "universal"
|
||||
},
|
||||
// "UIBackgroundModes" : [ "audio" ]
|
||||
"android": {
|
||||
"permissionPhoneState": {
|
||||
"request": "none",
|
||||
"prompt": "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
|
||||
"android" : {
|
||||
"permissionPhoneState" : {
|
||||
"request" : "none",
|
||||
"prompt" : "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
|
||||
},
|
||||
"permissionExternalStorage": {
|
||||
"request": "none",
|
||||
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
|
||||
"permissionExternalStorage" : {
|
||||
"request" : "none",
|
||||
"prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
|
||||
},
|
||||
"permissions": [
|
||||
"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\"/>",
|
||||
@@ -80,360 +83,361 @@
|
||||
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||
],
|
||||
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
|
||||
"minSdkVersion": 21,
|
||||
"targetSdkVersion": 30,
|
||||
"schemes": "medicine"
|
||||
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
|
||||
"minSdkVersion" : 21,
|
||||
"targetSdkVersion" : 30,
|
||||
"schemes" : "medicine"
|
||||
},
|
||||
"sdkConfigs": {
|
||||
"ad": {},
|
||||
"maps": {},
|
||||
"share": {
|
||||
"weixin": {
|
||||
"appid": "wx6b17b40171dea988",
|
||||
"UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__C7475A8/"
|
||||
"sdkConfigs" : {
|
||||
"ad" : {},
|
||||
"maps" : {},
|
||||
"share" : {
|
||||
"weixin" : {
|
||||
"appid" : "wx6b17b40171dea988",
|
||||
"UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__C7475A8/"
|
||||
}
|
||||
},
|
||||
"payment": {
|
||||
"alipay": {
|
||||
"__platform__": ["ios", "android"]
|
||||
"payment" : {
|
||||
"alipay" : {
|
||||
"__platform__" : [ "ios", "android" ]
|
||||
},
|
||||
"appleiap": {},
|
||||
"weixin": {
|
||||
"__platform__": ["ios", "android"],
|
||||
"appid": "wx6b17b40171dea988",
|
||||
"UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__C7475A8/"
|
||||
"appleiap" : {},
|
||||
"weixin" : {
|
||||
"__platform__" : [ "ios", "android" ],
|
||||
"appid" : "wx6b17b40171dea988",
|
||||
"UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__C7475A8/"
|
||||
}
|
||||
},
|
||||
"oauth": {},
|
||||
"push": {}
|
||||
"oauth" : {},
|
||||
"push" : {}
|
||||
},
|
||||
"splashscreen": {
|
||||
"iosStyle": "common",
|
||||
"androidStyle": "default",
|
||||
"useOriginalMsgbox": true
|
||||
"splashscreen" : {
|
||||
"iosStyle" : "common",
|
||||
"androidStyle" : "default",
|
||||
"useOriginalMsgbox" : true
|
||||
},
|
||||
"ios": {
|
||||
"dSYMs": false,
|
||||
"ios" : {
|
||||
"dSYMs" : false,
|
||||
// "UIBackgroundModes" : [ "audio" ], // 背景播放音乐
|
||||
"capabilities": {
|
||||
"entitlements": {
|
||||
"com.apple.developer.associated-domains": ["applinks:verification.nuttyreading.com"]
|
||||
"capabilities" : {
|
||||
"entitlements" : {
|
||||
"com.apple.developer.associated-domains" : [ "applinks:verification.nuttyreading.com" ]
|
||||
}
|
||||
},
|
||||
"idfa": false,
|
||||
"urltypes": "medicine",
|
||||
"urlschemewhitelist": "nuttyreading,zmzm",
|
||||
"privacyDescription": {
|
||||
"NSPhotoLibraryUsageDescription": "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用",
|
||||
"NSCameraUsageDescription": "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用",
|
||||
"NSPhotoLibraryAddUsageDescription": "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用"
|
||||
"idfa" : false,
|
||||
"urltypes" : "medicine",
|
||||
"urlschemewhitelist" : "nuttyreading,zmzm",
|
||||
"privacyDescription" : {
|
||||
"NSPhotoLibraryUsageDescription" : "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用",
|
||||
"NSCameraUsageDescription" : "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用",
|
||||
"NSPhotoLibraryAddUsageDescription" : "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"compilerVersion": 3,
|
||||
"nvueLaunchMode": "fast",
|
||||
"splashscreen": {
|
||||
"alwaysShowBeforeRender": false
|
||||
"compilerVersion" : 3,
|
||||
"nvueLaunchMode" : "fast",
|
||||
"splashscreen" : {
|
||||
"alwaysShowBeforeRender" : false
|
||||
},
|
||||
"nativePlugins": {
|
||||
"JG-JCore": {
|
||||
"JPUSH_APPKEY_ANDROID": "eb3d301bd2f456b23ce46bfb",
|
||||
"JPUSH_APPKEY_IOS": "eb3d301bd2f456b23ce46bfb",
|
||||
"JPUSH_CHANNEL_ANDROID": "",
|
||||
"JPUSH_CHANNEL_IOS": "",
|
||||
"__plugin_info__": {
|
||||
"name": "极光推送 JCore 官方 SDK",
|
||||
"description": "极光推送 JCore 官方 SDK HBuilder 插件版本",
|
||||
"platforms": "Android,iOS",
|
||||
"url": "https://ext.dcloud.net.cn/plugin?id=4028",
|
||||
"android_package_name": "com.cn.medicine",
|
||||
"ios_bundle_id": "com.cn.medicine",
|
||||
"isCloud": true,
|
||||
"bought": 1,
|
||||
"pid": "4028",
|
||||
"parameters": {
|
||||
"JPUSH_APPKEY_ANDROID": {
|
||||
"des": "[Android]极光portal配置应用信息时分配的AppKey",
|
||||
"key": "eb3d301bd2f456b23ce46bfb",
|
||||
"value": ""
|
||||
"nativePlugins" : {
|
||||
"JG-JCore" : {
|
||||
"JPUSH_APPKEY_ANDROID" : "eb3d301bd2f456b23ce46bfb",
|
||||
"JPUSH_APPKEY_IOS" : "eb3d301bd2f456b23ce46bfb",
|
||||
"JPUSH_CHANNEL_ANDROID" : "",
|
||||
"JPUSH_CHANNEL_IOS" : "",
|
||||
"__plugin_info__" : {
|
||||
"name" : "极光推送 JCore 官方 SDK",
|
||||
"description" : "极光推送 JCore 官方 SDK HBuilder 插件版本",
|
||||
"platforms" : "Android,iOS",
|
||||
"url" : "https://ext.dcloud.net.cn/plugin?id=4028",
|
||||
"android_package_name" : "com.cn.medicine",
|
||||
"ios_bundle_id" : "com.cn.medicine",
|
||||
"isCloud" : true,
|
||||
"bought" : 1,
|
||||
"pid" : "4028",
|
||||
"parameters" : {
|
||||
"JPUSH_APPKEY_ANDROID" : {
|
||||
"des" : "[Android]极光portal配置应用信息时分配的AppKey",
|
||||
"key" : "eb3d301bd2f456b23ce46bfb",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_APPKEY_IOS": {
|
||||
"des": "[iOS]极光portal配置应用信息时分配的AppKey",
|
||||
"key": "eb3d301bd2f456b23ce46bfb",
|
||||
"value": ""
|
||||
"JPUSH_APPKEY_IOS" : {
|
||||
"des" : "[iOS]极光portal配置应用信息时分配的AppKey",
|
||||
"key" : "eb3d301bd2f456b23ce46bfb",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_CHANNEL_ANDROID": {
|
||||
"des": "[Android]用于统计分发渠道,不需要可填默认值developer-default",
|
||||
"key": "JPUSH_CHANNEL",
|
||||
"value": ""
|
||||
"JPUSH_CHANNEL_ANDROID" : {
|
||||
"des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default",
|
||||
"key" : "JPUSH_CHANNEL",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_CHANNEL_IOS": {
|
||||
"des": "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
|
||||
"key": "JCore:CHANNEL",
|
||||
"value": ""
|
||||
"JPUSH_CHANNEL_IOS" : {
|
||||
"des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
|
||||
"key" : "JCore:CHANNEL",
|
||||
"value" : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"JG-JPush": {
|
||||
"JPUSH_ADVERTISINGID_IOS": "",
|
||||
"JPUSH_DEFAULTINITJPUSH_IOS": "true",
|
||||
"JPUSH_GOOGLE_API_KEY": "",
|
||||
"JPUSH_GOOGLE_APP_ID": "",
|
||||
"JPUSH_GOOGLE_PROJECT_ID": "",
|
||||
"JPUSH_GOOGLE_PROJECT_NUMBER": "",
|
||||
"JPUSH_GOOGLE_STORAGE_BUCKET": "",
|
||||
"JPUSH_HONOR_APPID": "",
|
||||
"JPUSH_HUAWEI_APPID": "111420317",
|
||||
"JPUSH_ISPRODUCTION_IOS": "",
|
||||
"JPUSH_MEIZU_APPID": "",
|
||||
"JPUSH_MEIZU_APPKEY": "",
|
||||
"JPUSH_OPPO_APPID": "OP-31804825",
|
||||
"JPUSH_OPPO_APPKEY": "OP-1490c727e99e42259990c3843abd1753",
|
||||
"JPUSH_OPPO_APPSECRET": "OP-322f9418052940979ef487b92b17e458",
|
||||
"JPUSH_VIVO_APPID": "",
|
||||
"JPUSH_VIVO_APPKEY": "",
|
||||
"JPUSH_XIAOMI_APPID": "MI-2882303761520330430",
|
||||
"JPUSH_XIAOMI_APPKEY": "MI-5702033012430",
|
||||
"__plugin_info__": {
|
||||
"name": "极光推送 JPush 官方 SDK",
|
||||
"description": "极光推送JPush官方SDK HBuilder插件版本",
|
||||
"platforms": "Android,iOS",
|
||||
"url": "https://ext.dcloud.net.cn/plugin?id=4035",
|
||||
"android_package_name": "com.cn.medicine",
|
||||
"ios_bundle_id": "com.cn.medicine",
|
||||
"isCloud": true,
|
||||
"bought": 1,
|
||||
"pid": "4035",
|
||||
"parameters": {
|
||||
"JPUSH_ADVERTISINGID_IOS": {
|
||||
"des": "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
|
||||
"key": "JPush:ADVERTISINGID",
|
||||
"value": ""
|
||||
"JG-JPush" : {
|
||||
"JPUSH_ADVERTISINGID_IOS" : "",
|
||||
"JPUSH_DEFAULTINITJPUSH_IOS" : "true",
|
||||
"JPUSH_GOOGLE_API_KEY" : "",
|
||||
"JPUSH_GOOGLE_APP_ID" : "",
|
||||
"JPUSH_GOOGLE_PROJECT_ID" : "",
|
||||
"JPUSH_GOOGLE_PROJECT_NUMBER" : "",
|
||||
"JPUSH_GOOGLE_STORAGE_BUCKET" : "",
|
||||
"JPUSH_HONOR_APPID" : "",
|
||||
"JPUSH_HUAWEI_APPID" : "111420317",
|
||||
"JPUSH_ISPRODUCTION_IOS" : "",
|
||||
"JPUSH_MEIZU_APPID" : "",
|
||||
"JPUSH_MEIZU_APPKEY" : "",
|
||||
"JPUSH_OPPO_APPID" : "OP-31804825",
|
||||
"JPUSH_OPPO_APPKEY" : "OP-1490c727e99e42259990c3843abd1753",
|
||||
"JPUSH_OPPO_APPSECRET" : "OP-322f9418052940979ef487b92b17e458",
|
||||
"JPUSH_VIVO_APPID" : "",
|
||||
"JPUSH_VIVO_APPKEY" : "",
|
||||
"JPUSH_XIAOMI_APPID" : "MI-2882303761520330430",
|
||||
"JPUSH_XIAOMI_APPKEY" : "MI-5702033012430",
|
||||
"__plugin_info__" : {
|
||||
"name" : "极光推送 JPush 官方 SDK",
|
||||
"description" : "极光推送JPush官方SDK HBuilder插件版本",
|
||||
"platforms" : "Android,iOS",
|
||||
"url" : "https://ext.dcloud.net.cn/plugin?id=4035",
|
||||
"android_package_name" : "com.cn.medicine",
|
||||
"ios_bundle_id" : "com.cn.medicine",
|
||||
"isCloud" : true,
|
||||
"bought" : 1,
|
||||
"pid" : "4035",
|
||||
"parameters" : {
|
||||
"JPUSH_ADVERTISINGID_IOS" : {
|
||||
"des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
|
||||
"key" : "JPush:ADVERTISINGID",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_DEFAULTINITJPUSH_IOS": {
|
||||
"des": "[iOS]是否默认初始化,是填true,不是填false或者不填",
|
||||
"key": "true",
|
||||
"value": ""
|
||||
"JPUSH_DEFAULTINITJPUSH_IOS" : {
|
||||
"des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
|
||||
"key" : "true",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_GOOGLE_API_KEY": {
|
||||
"des": "厂商google api_key,示例:g-12346578",
|
||||
"key": "google_api_key",
|
||||
"value": ""
|
||||
"JPUSH_GOOGLE_API_KEY" : {
|
||||
"des" : "厂商google api_key,示例:g-12346578",
|
||||
"key" : "google_api_key",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_GOOGLE_APP_ID": {
|
||||
"des": "厂商google mobilesdk_app_id,示例:g-12346578",
|
||||
"key": "google_app_id",
|
||||
"value": ""
|
||||
"JPUSH_GOOGLE_APP_ID" : {
|
||||
"des" : "厂商google mobilesdk_app_id,示例:g-12346578",
|
||||
"key" : "google_app_id",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_GOOGLE_PROJECT_ID": {
|
||||
"des": "厂商google project_id ,示例:g-12346578",
|
||||
"key": "project_id",
|
||||
"value": ""
|
||||
"JPUSH_GOOGLE_PROJECT_ID" : {
|
||||
"des" : "厂商google project_id ,示例:g-12346578",
|
||||
"key" : "project_id",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_GOOGLE_PROJECT_NUMBER": {
|
||||
"des": "厂商google project_number,示例:g-12346578",
|
||||
"key": "gcm_defaultSenderId",
|
||||
"value": ""
|
||||
"JPUSH_GOOGLE_PROJECT_NUMBER" : {
|
||||
"des" : "厂商google project_number,示例:g-12346578",
|
||||
"key" : "gcm_defaultSenderId",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_GOOGLE_STORAGE_BUCKET": {
|
||||
"des": "厂商google storage_bucket,示例:g-12346578",
|
||||
"key": "google_storage_bucket",
|
||||
"value": ""
|
||||
"JPUSH_GOOGLE_STORAGE_BUCKET" : {
|
||||
"des" : "厂商google storage_bucket,示例:g-12346578",
|
||||
"key" : "google_storage_bucket",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_HONOR_APPID": {
|
||||
"des": "厂商HONOR-appId,示例:12346578",
|
||||
"key": "com.hihonor.push.app_id",
|
||||
"value": ""
|
||||
"JPUSH_HONOR_APPID" : {
|
||||
"des" : "厂商HONOR-appId,示例:12346578",
|
||||
"key" : "com.hihonor.push.app_id",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_HUAWEI_APPID": {
|
||||
"des": "厂商HUAWEI-appId,示例:appid=12346578",
|
||||
"key": "com.huawei.hms.client.appid",
|
||||
"value": ""
|
||||
"JPUSH_HUAWEI_APPID" : {
|
||||
"des" : "厂商HUAWEI-appId,示例:appid=12346578",
|
||||
"key" : "com.huawei.hms.client.appid",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_ISPRODUCTION_IOS": {
|
||||
"des": "[iOS]是否是生产环境,是填true,不是填false或者不填",
|
||||
"key": "JPush:ISPRODUCTION",
|
||||
"value": ""
|
||||
"JPUSH_ISPRODUCTION_IOS" : {
|
||||
"des" : "[iOS]是否是生产环境,是填true,不是填false或者不填",
|
||||
"key" : "JPush:ISPRODUCTION",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_MEIZU_APPID": {
|
||||
"des": "厂商MEIZU-appId,示例:MZ-12345678",
|
||||
"key": "MEIZU_APPID",
|
||||
"value": ""
|
||||
"JPUSH_MEIZU_APPID" : {
|
||||
"des" : "厂商MEIZU-appId,示例:MZ-12345678",
|
||||
"key" : "MEIZU_APPID",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_MEIZU_APPKEY": {
|
||||
"des": "厂商MEIZU-appKey,示例:MZ-12345678",
|
||||
"key": "MEIZU_APPKEY",
|
||||
"value": ""
|
||||
"JPUSH_MEIZU_APPKEY" : {
|
||||
"des" : "厂商MEIZU-appKey,示例:MZ-12345678",
|
||||
"key" : "MEIZU_APPKEY",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_OPPO_APPID": {
|
||||
"des": "厂商OPPO-appId,示例:OP-12345678",
|
||||
"key": "OPPO_APPID",
|
||||
"value": ""
|
||||
"JPUSH_OPPO_APPID" : {
|
||||
"des" : "厂商OPPO-appId,示例:OP-12345678",
|
||||
"key" : "OPPO_APPID",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_OPPO_APPKEY": {
|
||||
"des": "厂商OPPO-appkey,示例:OP-12345678",
|
||||
"key": "OPPO_APPKEY",
|
||||
"value": ""
|
||||
"JPUSH_OPPO_APPKEY" : {
|
||||
"des" : "厂商OPPO-appkey,示例:OP-12345678",
|
||||
"key" : "OPPO_APPKEY",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_OPPO_APPSECRET": {
|
||||
"des": "厂商OPPO-appSecret,示例:OP-12345678",
|
||||
"key": "OPPO_APPSECRET",
|
||||
"value": ""
|
||||
"JPUSH_OPPO_APPSECRET" : {
|
||||
"des" : "厂商OPPO-appSecret,示例:OP-12345678",
|
||||
"key" : "OPPO_APPSECRET",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_VIVO_APPID": {
|
||||
"des": "厂商VIVO-appId,示例:12345678",
|
||||
"key": "com.vivo.push.app_id",
|
||||
"value": ""
|
||||
"JPUSH_VIVO_APPID" : {
|
||||
"des" : "厂商VIVO-appId,示例:12345678",
|
||||
"key" : "com.vivo.push.app_id",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_VIVO_APPKEY": {
|
||||
"des": "厂商VIVO-appkey,示例:12345678",
|
||||
"key": "com.vivo.push.api_key",
|
||||
"value": ""
|
||||
"JPUSH_VIVO_APPKEY" : {
|
||||
"des" : "厂商VIVO-appkey,示例:12345678",
|
||||
"key" : "com.vivo.push.api_key",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_XIAOMI_APPID": {
|
||||
"des": "厂商XIAOMI-appId,示例:MI-12345678",
|
||||
"key": "XIAOMI_APPID",
|
||||
"value": ""
|
||||
"JPUSH_XIAOMI_APPID" : {
|
||||
"des" : "厂商XIAOMI-appId,示例:MI-12345678",
|
||||
"key" : "XIAOMI_APPID",
|
||||
"value" : ""
|
||||
},
|
||||
"JPUSH_XIAOMI_APPKEY": {
|
||||
"des": "厂商XIAOMI-appKey,示例:MI-12345678",
|
||||
"key": "XIAOMI_APPKEY",
|
||||
"value": ""
|
||||
"JPUSH_XIAOMI_APPKEY" : {
|
||||
"des" : "厂商XIAOMI-appKey,示例:MI-12345678",
|
||||
"key" : "XIAOMI_APPKEY",
|
||||
"value" : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
},
|
||||
"safearea": {
|
||||
"safearea" : {
|
||||
//安全区域配置,仅iOS平台生效
|
||||
"bottom": {
|
||||
"bottom" : {
|
||||
// 底部安全区域配置
|
||||
"offset": "none" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
|
||||
"offset" : "none" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
|
||||
}
|
||||
}
|
||||
},
|
||||
// 5+App特有相关
|
||||
"quickapp": {},
|
||||
"quickapp" : {},
|
||||
// 快应用特有相关
|
||||
"mp-weixin": {
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true
|
||||
"mp-weixin" : {
|
||||
"setting" : {
|
||||
"urlCheck" : false,
|
||||
"es6" : true,
|
||||
"postcss" : true,
|
||||
"minified" : true
|
||||
},
|
||||
"usingComponents": true,
|
||||
"appid": "wxd3ba52b7661b36be",
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
"usingComponents" : true,
|
||||
"appid" : "wxd3ba52b7661b36be",
|
||||
"permission" : {
|
||||
"scope.userLocation" : {
|
||||
"desc" : "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
},
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"template": "template.h5.html",
|
||||
"router": {
|
||||
"mode": "hash",
|
||||
"base": "/uniappDemo/"
|
||||
"h5" : {
|
||||
"template" : "template.h5.html",
|
||||
"router" : {
|
||||
"mode" : "hash",
|
||||
"base" : "/uniappDemo/"
|
||||
},
|
||||
"optimization": {
|
||||
"treeShaking": {
|
||||
"enable": true
|
||||
"optimization" : {
|
||||
"treeShaking" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"_spaceID": "mp-3614b80b-2d75-4462-a481-4998f8187274",
|
||||
"uniStatistics": {
|
||||
"version": "2",
|
||||
"enable": true
|
||||
"_spaceID" : "mp-3614b80b-2d75-4462-a481-4998f8187274",
|
||||
"uniStatistics" : {
|
||||
"version" : "2",
|
||||
"enable" : true
|
||||
},
|
||||
"mp-alipay": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-alipay" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"mp-baidu": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-baidu" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"mp-jd": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-jd" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"mp-kuaishou": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-kuaishou" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"mp-lark": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-lark" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"mp-qq": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-qq" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"mp-toutiao": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"mp-toutiao" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"quickapp-webview-huawei": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"quickapp-webview-huawei" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
},
|
||||
"quickapp-webview-union": {
|
||||
"uniStatistics": {
|
||||
"enable": true
|
||||
"quickapp-webview-union" : {
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
}
|
||||
}
|
||||
}
|
||||
// 小程序特有相关
|
||||
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
<!-- 公共组件-每个页面必须引入 -->
|
||||
<public-module></public-module>
|
||||
<z-nav-bar title="免费课程"></z-nav-bar>
|
||||
<!-- <view class="tabsBox" :class="[fixed ? 'fixed' : '' ]">
|
||||
<u-tabs v-if="tabList.length > 0" :class="['tabList']" @click="fatherClick" :current="curTagId"
|
||||
:activeStyle="activeStyle" :scrollable="scrollable" :list="tabList"
|
||||
itemStyle="padding-left: 15px; background-color:#fff; padding-right: 15px; height: 50px;"></u-tabs>
|
||||
</view> -->
|
||||
<view class="learnBox box" >
|
||||
<view class="newBox">
|
||||
<view class="item flexbox" v-for="(item, index) in courseList" :key="index" @click="onPageJump('/pages/course/courseDetail',item.id, item.title)">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="order_top common_radius_box color_shandow goods_box pay_box">
|
||||
<view v-if="!!actualPayment" class="order_top common_radius_box color_shandow goods_box pay_box">
|
||||
<view class="title">支付方式</view>
|
||||
|
||||
<view class="curriulum_title_box goods_item pay_item" v-for="(v, i) in payList">
|
||||
@@ -175,7 +175,7 @@ export default {
|
||||
this.selectPayIndex = 0;
|
||||
}
|
||||
}
|
||||
this.payType = this.payList[this.selectPayIndex].type;
|
||||
this.payType = this.payList.length && this.payList[this.selectPayIndex].type;
|
||||
if (this.actualPayment == 0) {
|
||||
var that = this;
|
||||
this.payList.forEach((e, i) => {
|
||||
@@ -208,11 +208,6 @@ export default {
|
||||
{
|
||||
type: 1,
|
||||
text: '商品总价',
|
||||
},
|
||||
{
|
||||
type: 2,
|
||||
imgUrl: require("@/static/icon/jifen.png"),
|
||||
text: '积分',
|
||||
}
|
||||
],
|
||||
number: 1,
|
||||
@@ -236,6 +231,13 @@ export default {
|
||||
},
|
||||
onLoad(options) {
|
||||
this.options = JSON.parse(options.data);
|
||||
if (!!this.options.displayJf) {
|
||||
this.priceBreakdownList.push({
|
||||
type: 2,
|
||||
imgUrl: require("@/static/icon/jifen.png"),
|
||||
text: '积分',
|
||||
})
|
||||
}
|
||||
if (platform == "ios") {
|
||||
this.payList = [
|
||||
{
|
||||
@@ -248,28 +250,33 @@ export default {
|
||||
this.selectPayIndex = 0;
|
||||
this.payType = 4;
|
||||
} else {
|
||||
this.payList = [
|
||||
{
|
||||
text: "支付宝",
|
||||
imgUrl: require("@/static/icon/pay_1.png"),
|
||||
type: 2,
|
||||
value: "0",
|
||||
},
|
||||
{
|
||||
const payType = this.options.payType.split(',')
|
||||
const payListKey = {
|
||||
1: {
|
||||
text: "微信",
|
||||
imgUrl: require("@/static/icon/pay_2.png"),
|
||||
type: 1,
|
||||
value: "1",
|
||||
},
|
||||
{
|
||||
2: {
|
||||
text: "支付宝",
|
||||
imgUrl: require("@/static/icon/pay_1.png"),
|
||||
type: 2,
|
||||
value: "0",
|
||||
},
|
||||
4: {
|
||||
text: "天医币",
|
||||
imgUrl: require("@/static/icon/pay_3.png"),
|
||||
type: 4,
|
||||
value: "2",
|
||||
},
|
||||
];
|
||||
this.selectPayIndex = 1;
|
||||
this.payType = 1;
|
||||
}
|
||||
}
|
||||
payType.forEach((item) => {
|
||||
this.payList.push(payListKey[item])
|
||||
})
|
||||
const hasWX = payType.includes('1')
|
||||
this.selectPayIndex = 0;
|
||||
this.payType = this.payList[0].type;
|
||||
}
|
||||
this.getUserInfo();
|
||||
},
|
||||
@@ -347,6 +354,7 @@ export default {
|
||||
if (this.actualPayment == 0) {
|
||||
this.isDefaultCurrency = true;
|
||||
var that = this;
|
||||
// 如果支付方式中有天医币,则默认天医币
|
||||
this.payList.forEach((e, i) => {
|
||||
if (e.type == 4) {
|
||||
that.selectPayIndex = i;
|
||||
@@ -362,7 +370,10 @@ export default {
|
||||
},
|
||||
//获取总金额
|
||||
getTotalPrice(userInfo) {
|
||||
if (userInfo.jf >= this.options.price) {
|
||||
if (!this.options.displayJf) {
|
||||
this.jfNumber = 0;
|
||||
this.jfNumberMax = 0;
|
||||
} else if (userInfo.jf >= this.options.price) {
|
||||
this.jfNumber = this.options.price;
|
||||
this.jfNumberMax = this.options.price;
|
||||
} else {
|
||||
@@ -405,7 +416,7 @@ export default {
|
||||
});
|
||||
var that = this;
|
||||
let data = {
|
||||
paymentMethod: that.payType,
|
||||
paymentMethod: this.actualPayment ? that.payType : 4, // 如果没有实付金额强制传天医币
|
||||
orderMoney: that.options.price,
|
||||
jfDeduction: that.jfNumber,
|
||||
realMoney: that.actualPayment,
|
||||
@@ -433,7 +444,16 @@ export default {
|
||||
icon: "none"
|
||||
});
|
||||
} else {
|
||||
if (that.payType == 2) {
|
||||
if (!this.actualPayment) {
|
||||
uni.showToast({
|
||||
title: "支付成功",
|
||||
});
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
url: '/pages/trainingCourse/index'
|
||||
})
|
||||
}, 1000);
|
||||
} else if (that.payType == 2) {
|
||||
// 常规支付
|
||||
uni.showToast({
|
||||
title: "正在支付",
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
|
||||
<script>
|
||||
import $http from '@/config/requestConfig.js';
|
||||
const { platform } = uni.getSystemInfoSync();
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -114,11 +115,20 @@ export default {
|
||||
id: item.id,
|
||||
title: item.title,
|
||||
price: item.finalFee,
|
||||
identity: item.identity
|
||||
identity: item.identity,
|
||||
payType: item.payType,
|
||||
displayJf: item.displayJf
|
||||
}
|
||||
if (platform == "ios" && !item.payType.includes('4')) {
|
||||
uni.showToast({
|
||||
title: "当前不能在线报名,请联系客服",
|
||||
icon: 'none'
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pages/order/index?data='+JSON.stringify(data),
|
||||
});
|
||||
}
|
||||
},
|
||||
//联系客服
|
||||
goToContact(item){
|
||||
|
||||
2
unpackage/cache/appleConfig.ini
vendored
2
unpackage/cache/appleConfig.ini
vendored
@@ -17,7 +17,7 @@ universalLinks_weibo=
|
||||
spaceid_weibo=
|
||||
|
||||
[appstore]
|
||||
appstore=8b68d95000cd13cbce3099b5723765ec
|
||||
appstore=
|
||||
|
||||
[iphone]
|
||||
app%402x=57c603a7e76e93d4e909d70bc4f1c391
|
||||
|
||||
4
unpackage/cache/certdataios
vendored
4
unpackage/cache/certdataios
vendored
@@ -1,3 +1,3 @@
|
||||
iosProfile=C:/Users/Administrator/Desktop/medicine_new/kaifa/medicine_development (1).mobileprovision
|
||||
ioscertFile=C:/Users/Administrator/Desktop/medicine_new/kaifa/证书.p12
|
||||
iosProfile=C:/Users/Administrator/Desktop/证书/medicine_new/kaifa/medicine_development (1).mobileprovision
|
||||
ioscertFile=C:/Users/Administrator/Desktop/证书/medicine_new/kaifa/证书.p12
|
||||
ioscertPassword=ai6IL9ZPZlB8nFR8AdVmIQ==
|
||||
|
||||
File diff suppressed because one or more lines are too long
16
unpackage/dist/build/app-plus/app-service.js
vendored
16
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/app-plus/app-view.js
vendored
6
unpackage/dist/build/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/app-plus/manifest.json
vendored
2
unpackage/dist/build/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/app-plus/view.css
vendored
2
unpackage/dist/build/app-plus/view.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
12134
unpackage/dist/dev/app-plus/app-service.js
vendored
12134
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
18254
unpackage/dist/dev/app-plus/app-view.js
vendored
18254
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/view.css
vendored
2
unpackage/dist/dev/app-plus/view.css
vendored
File diff suppressed because one or more lines are too long
4
unpackage/dist/dev/app-plus/view.umd.min.js
vendored
4
unpackage/dist/dev/app-plus/view.umd.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user