radioChange

This commit is contained in:
liuyuan
2025-10-15 16:32:29 +08:00
12 changed files with 38 additions and 208 deletions

View File

@@ -105,12 +105,12 @@ export default {
} }
], ],
navigationIos: [ navigationIos: [
{ // {
"pagePath": "pages/home/index", // "pagePath": "pages/home/index",
"iconPath": "static/tab/icon_tab1.png", // "iconPath": "static/tab/icon_tab1.png",
"selectedIconPath": "static/tab/icon_tab1_a.png", // "selectedIconPath": "static/tab/icon_tab1_a.png",
"text": "智慧医疗" // "text": "智慧医疗"
}, // },
{ {
"pagePath": "pages/doctors/index", "pagePath": "pages/doctors/index",
"iconPath": "static/tab/icon_tab3.png", "iconPath": "static/tab/icon_tab3.png",

View File

@@ -2,8 +2,8 @@
"name" : "太湖云医", "name" : "太湖云医",
"appid" : "__UNI__1B1584A", "appid" : "__UNI__1B1584A",
"description" : "太湖云医", "description" : "太湖云医",
"versionName" : "1.0.05", "versionName" : "1.0.06",
"versionCode" : 1005, "versionCode" : 1006,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {
@@ -30,7 +30,7 @@
"Camera" : {}, "Camera" : {},
"Payment" : {}, "Payment" : {},
"VideoPlayer" : {}, "VideoPlayer" : {},
"Push" : {} "Share" : {}
}, },
/* */ /* */
"distribute" : { "distribute" : {
@@ -93,8 +93,7 @@
"appid" : "wx5c50e3696028d2ec", "appid" : "wx5c50e3696028d2ec",
"UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__1B1584A/" "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__1B1584A/"
} }
}, }
"push" : {}
}, },
"splashscreen" : { "splashscreen" : {
"useOriginalMsgbox" : true "useOriginalMsgbox" : true
@@ -132,176 +131,7 @@
} }
} }
}, },
"nativePlugins" : { "nativePlugins" : {}
"JG-JCore" : {
"JPUSH_APPKEY_ANDROID" : "",
"JPUSH_APPKEY_IOS" : "",
"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.taimed",
"ios_bundle_id" : "",
"isCloud" : true,
"bought" : 1,
"pid" : "4028",
"parameters" : {
"JPUSH_APPKEY_ANDROID" : {
"des" : "[Android]极光portal配置应用信息时分配的AppKey",
"key" : "JPUSH_APPKEY",
"value" : ""
},
"JPUSH_APPKEY_IOS" : {
"des" : "[iOS]极光portal配置应用信息时分配的AppKey",
"key" : "JCore:APP_KEY",
"value" : ""
},
"JPUSH_CHANNEL_ANDROID" : {
"des" : "[Android]用于统计分发渠道不需要可填默认值developer-default",
"key" : "JPUSH_CHANNEL",
"value" : ""
},
"JPUSH_CHANNEL_IOS" : {
"des" : "[iOS]用于统计分发渠道不需要可填默认值developer-default",
"key" : "JCore:CHANNEL",
"value" : ""
}
}
}
},
"JG-JPush" : {
"JPUSH_ADVERTISINGID_IOS" : "",
"JPUSH_DEFAULTINITJPUSH_IOS" : "",
"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" : "",
"JPUSH_ISPRODUCTION_IOS" : "",
"JPUSH_MEIZU_APPID" : "",
"JPUSH_MEIZU_APPKEY" : "",
"JPUSH_OPPO_APPID" : "",
"JPUSH_OPPO_APPKEY" : "",
"JPUSH_OPPO_APPSECRET" : "",
"JPUSH_VIVO_APPID" : "",
"JPUSH_VIVO_APPKEY" : "",
"JPUSH_XIAOMI_APPID" : "MI-2882303761520418671",
"JPUSH_XIAOMI_APPKEY" : "MI-5912041882671",
"__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.taimed",
"ios_bundle_id" : "",
"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" : "JPush:DEFAULTINITJPUSH",
"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_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_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_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_MEIZU_APPID" : {
"des" : "厂商MEIZU-appId,示例MZ-12345678",
"key" : "MEIZU_APPID",
"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_APPKEY" : {
"des" : "厂商OPPO-appkey,示例OP-12345678",
"key" : "OPPO_APPKEY",
"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_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_APPKEY" : {
"des" : "厂商XIAOMI-appKey,示例MI-12345678",
"key" : "XIAOMI_APPKEY",
"value" : ""
}
}
}
}
}
}, },
/* */ /* */
"quickapp" : {}, "quickapp" : {},

View File

@@ -520,7 +520,7 @@
import $http from "@/config/requestConfig.js"; import $http from "@/config/requestConfig.js";
const { platform } = uni.getSystemInfoSync(); const { platform } = uni.getSystemInfoSync();
import { mapState } from "vuex"; import { mapState } from "vuex";
import debounce from "@/common/debounce.js"; import { debounce, throttle } from "@/common/debounce.js";
export default { export default {
props: [ props: [
"options", "options",
@@ -1291,7 +1291,7 @@
this.content = this.remark; this.content = this.remark;
} }
}, },
async goBuyJie() { goBuyJie:throttle(async function () {
if (this.pageType == "vip") { if (this.pageType == "vip") {
if (this.radioValue != "1") { if (this.radioValue != "1") {
uni.showToast({ uni.showToast({
@@ -1330,7 +1330,7 @@
return; return;
} }
debounce(async () => {
if (this.pageType == "fudu") { if (this.pageType == "fudu") {
data = { data = {
jfDeduction: this.jfNumber, jfDeduction: this.jfNumber,
@@ -1426,10 +1426,10 @@
} else { } else {
that.submitorder(data); that.submitorder(data);
} }
}, 1000);
}, }, 2000),
//支付操作 //支付操作
async submitorder(data) { submitorder:throttle(async function (data) {
uni.showLoading({ uni.showLoading({
title: "正在请求订单", title: "正在请求订单",
}); });
@@ -1450,7 +1450,7 @@
// 常规支付 // 常规支付
break; break;
} }
debounce(async () => {
await $http await $http
.request({ .request({
url: url, url: url,
@@ -1612,8 +1612,8 @@
that.buyingFlag = false; that.buyingFlag = false;
uni.hideLoading(); uni.hideLoading();
}); });
}, 1000);
}, }, 2000),
radioChange(index) { radioChange(index) {
this.selectPayIndex = index; this.selectPayIndex = index;
this.payType = this.payList[this.selectPayIndex].type; this.payType = this.payList[this.selectPayIndex].type;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.