提交
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
"version" : "1.0",
|
||||
"configurations" : [
|
||||
{
|
||||
"app-plus" : {
|
||||
"launchtype" : "remote"
|
||||
},
|
||||
"default" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
|
||||
@@ -2,11 +2,11 @@ let baseUrl = "";
|
||||
let socketUrl = "";
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// 开发环境
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
//baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
} else if (process.env.NODE_ENV === 'production') {
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
//baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||
}
|
||||
const courtConfig = {
|
||||
//微信公众号APPID
|
||||
|
||||
4
main.js
4
main.js
@@ -25,8 +25,8 @@ import { judgeLogin } from '@/config/login';
|
||||
Vue.prototype.judgeLogin = judgeLogin;
|
||||
Vue.prototype.isShowHtml = store.state.loadingShow;
|
||||
|
||||
//Vue.prototype.$baseUrl = "https://api.nuttyreading.com/"
|
||||
Vue.prototype.$baseUrl = "http://192.168.110.100:9200/pb/"
|
||||
Vue.prototype.$baseUrl = "https://api.nuttyreading.com/"
|
||||
//Vue.prototype.$baseUrl = "http://192.168.110.100:9200/pb/"
|
||||
|
||||
//判断手机型号
|
||||
uni.getSystemInfo({
|
||||
|
||||
5
package.json
Normal file
5
package.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"qs": "^6.14.0"
|
||||
}
|
||||
}
|
||||
14
pages.json
14
pages.json
@@ -132,7 +132,19 @@
|
||||
{
|
||||
"path": "pages/talents/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "太湖英才",
|
||||
"navigationBarTitleText": "医生主页",
|
||||
"enablePullDownRefresh": false, // 禁止下拉刷新
|
||||
"app-plus": {
|
||||
"bounce": "none",
|
||||
"titleNView": false,
|
||||
"popGesture": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/talents/certificateUrl",
|
||||
"style": {
|
||||
"navigationBarTitleText": "医生证书",
|
||||
"enablePullDownRefresh": false, // 禁止下拉刷新
|
||||
"app-plus": {
|
||||
"bounce": "none",
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
</button>
|
||||
</view>
|
||||
|
||||
<view class="message_wrap" :style="{ top: 82 + 'px' }" v-if="showMessages">
|
||||
<view class="message_wrap" :style="{ top: 80 + 'px' }" v-if="showMessages">
|
||||
<text class="message_title" v-if="tishi">好的,结合您的情况,下面是分析结果。</text>
|
||||
<!-- 显示聊天记录 -->
|
||||
<view class="message-container-block" ref="messageContainerBlock">
|
||||
@@ -102,6 +102,7 @@
|
||||
<script>
|
||||
import $http from "@/config/requestConfig.js";
|
||||
import { mapState, mapMutations } from "vuex";
|
||||
import qs from 'qs'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -135,9 +136,6 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
onLoad() {
|
||||
uni.hideTabBar();
|
||||
@@ -146,9 +144,13 @@ export default {
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
this.containerHeight = systemInfo.windowHeight; //获取设备的窗口高度
|
||||
this.getChatAssistants();
|
||||
//重置
|
||||
this.$nextTick(() => {
|
||||
this.showMode();
|
||||
});
|
||||
},
|
||||
onShow(){
|
||||
this.showMessages = false;
|
||||
console.log('进入到onShow方法')
|
||||
this.activeRecord = null;
|
||||
|
||||
this.getRecordsData();
|
||||
@@ -157,6 +159,11 @@ export default {
|
||||
let index = uni.getStorageSync('homeParams').index;
|
||||
if(data){
|
||||
this.clickRecord(data, index);
|
||||
}else{
|
||||
uni.removeStorageSync('homeParams');
|
||||
this.$nextTick(() => {
|
||||
this.showMessages = false;
|
||||
});
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -174,8 +181,8 @@ export default {
|
||||
},
|
||||
})
|
||||
.then(res=> {
|
||||
uni.hideLoading();
|
||||
if (res.list&&res.list.length>0) {
|
||||
uni.hideLoading();
|
||||
res.list = res.list.filter(item => {
|
||||
return !item.name.includes('心理助手') && !item.name.includes('太湖云翳');
|
||||
});
|
||||
@@ -204,11 +211,13 @@ export default {
|
||||
}
|
||||
})
|
||||
.catch(e=>{
|
||||
uni.hideLoading();
|
||||
uni.setStorageSync("guidePages", 2);
|
||||
});
|
||||
},
|
||||
//获取对话记录数据
|
||||
getRecordsData() {
|
||||
this.record_list = [];
|
||||
this.$http.request({
|
||||
url: 'common/ragFlowApi/getChats',
|
||||
method: "POST",
|
||||
@@ -224,6 +233,7 @@ export default {
|
||||
})
|
||||
.then(res=> {
|
||||
if(res.code==0){
|
||||
console.log('请求最新列表')
|
||||
if(res.list&&res.list.length>0){
|
||||
this.record_list = res.list;
|
||||
}else{
|
||||
@@ -247,6 +257,8 @@ export default {
|
||||
this.activeRecord = index;
|
||||
this.messages = [];
|
||||
this.showMessages = true;
|
||||
//如果正在回答的时候切换需要中断回答
|
||||
this.closeWebSocket();
|
||||
uni.showLoading({
|
||||
title: '加载中'
|
||||
})
|
||||
@@ -321,7 +333,7 @@ export default {
|
||||
if(this.formData.diagnosis){
|
||||
question += '诊断:'+this.formData.diagnosis+',';
|
||||
}
|
||||
question += '病情为:'+this.formData.illness+','+this.formData.symptoms+',请根据这位患者的情况出一个中医治疗方案';
|
||||
question += '病情为:'+this.formData.illness+','+this.formData.symptoms;
|
||||
|
||||
this.question = question;
|
||||
//创建对话 获取sessionId
|
||||
@@ -345,6 +357,7 @@ export default {
|
||||
if (res.code==0) {
|
||||
this.sessionId = res.id;
|
||||
//获取回答
|
||||
console.log('sessionId', this.sessionId)
|
||||
this.sendQuestion();
|
||||
}
|
||||
});
|
||||
@@ -372,23 +385,46 @@ export default {
|
||||
},
|
||||
//开始监听 SSE 数据
|
||||
startSSE(params){
|
||||
// 拼接查询字符串
|
||||
const query = new URLSearchParams({
|
||||
...params,
|
||||
token: uni.getStorageSync('token')
|
||||
}).toString();
|
||||
const queryString = qs.stringify(params);
|
||||
var data = {};
|
||||
this.eventSource = uni.connectSocket({
|
||||
url: this.$baseUrl + `websocket`,
|
||||
success: () => {
|
||||
console.log('WebSocket连接中...');
|
||||
$http.request({
|
||||
url: `common/ragFlowApi/chatToAssistantStream?${queryString}`,
|
||||
method: "GET",
|
||||
data,
|
||||
header: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
})
|
||||
.then(res=> {
|
||||
console.log('请求成功')
|
||||
})
|
||||
.catch(e=>{
|
||||
console.log('失败')
|
||||
});
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error('连接失败', err);
|
||||
uni.showToast({ title: '连接失败', icon: 'error' });
|
||||
}
|
||||
});
|
||||
|
||||
// 创建 SSE 连接
|
||||
this.eventSource = new EventSource(this.$baseUrl+`common/ragFlowApi/chatToAssistantStream?${query}`);
|
||||
// 监听服务器发送的消息
|
||||
this.eventSource.onmessage = (event) => {
|
||||
uni.onSocketMessage((event) => {
|
||||
try {
|
||||
const message = JSON.parse(event.data);
|
||||
if (message.data === true) {
|
||||
console.log("回答已结束");
|
||||
console.log("回答已结束1111");
|
||||
this.pauseStatus = false;
|
||||
this.eventSource.close();
|
||||
this.loading = false;
|
||||
//获取最近的会话记录数据
|
||||
this.getRecordsData();
|
||||
setTimeout(() => {
|
||||
this.closeWebSocket();
|
||||
}, 200);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -415,50 +451,53 @@ export default {
|
||||
this.previousAnswer = answer;
|
||||
}
|
||||
} catch (error) {
|
||||
this.$commonJS.showToast("处理消息时发生错误");
|
||||
this.loading = false;
|
||||
this.closeWebSocket();
|
||||
}
|
||||
};
|
||||
//监听 SSE 连接关闭
|
||||
this.eventSource.onclose = () => {
|
||||
console.log("SSE 连接已关闭");
|
||||
this.loading = false;
|
||||
};
|
||||
|
||||
//监听 SSE 错误
|
||||
this.eventSource.onerror = (error) => {
|
||||
console.error("SSE 连接发生错误", error);
|
||||
this.loading = false;
|
||||
};
|
||||
|
||||
//获取最近的会话记录数据
|
||||
this.getRecordsData();
|
||||
});
|
||||
//监听WebSocket连接打开
|
||||
uni.onSocketOpen(() => {
|
||||
console.log('WebSocket已连接');
|
||||
});
|
||||
//监听WebSocket错误
|
||||
uni.onSocketError((err) => {
|
||||
console.error('WebSocket连接错误', err);
|
||||
});
|
||||
//监听WebSocket关闭
|
||||
uni.onSocketClose((res) => {
|
||||
console.log('WebSocket 已关闭', res);
|
||||
});
|
||||
},
|
||||
|
||||
//回答界面的提交
|
||||
sendAgain(){
|
||||
console.log('这是再一次提问')
|
||||
if(!this.question_send){
|
||||
this.$commonJS.showToast("请输入发送内容");
|
||||
return
|
||||
if(!this.pauseStatus){
|
||||
if(!this.question_send){
|
||||
this.$commonJS.showToast("请输入发送内容");
|
||||
return
|
||||
}
|
||||
const params = {
|
||||
chatId: this.chatId,
|
||||
chatName: this.chatName,
|
||||
question: this.question_send,
|
||||
sessionId: this.sessionId,
|
||||
sessionName: this.question_send.slice(0, 15),
|
||||
patientName: this.formData.name
|
||||
};
|
||||
this.messages.push({
|
||||
content: `${this.question_send}`,
|
||||
type: 'question',
|
||||
});
|
||||
this.loading = true;
|
||||
this.question_send = '';
|
||||
this.pauseStatus = true;
|
||||
this.previousAnswer = null;
|
||||
//调用后端 SSE 接口,发送问题并接收实时回答
|
||||
this.startSSE(params);
|
||||
}else{
|
||||
console.log('不能点击了')
|
||||
}
|
||||
const params = {
|
||||
chatId: this.chatId,
|
||||
chatName: this.chatName,
|
||||
question: this.question_send,
|
||||
sessionId: this.sessionId,
|
||||
sessionName: this.question_send.slice(0, 15),
|
||||
patientName: this.formData.name
|
||||
};
|
||||
this.messages.push({
|
||||
content: `${this.question_send}`,
|
||||
type: 'question',
|
||||
});
|
||||
this.loading = true;
|
||||
this.question_send = '';
|
||||
this.pauseStatus = true;
|
||||
this.previousAnswer = null;
|
||||
//调用后端 SSE 接口,发送问题并接收实时回答
|
||||
this.startSSE(params);
|
||||
},
|
||||
//点击左侧弹窗
|
||||
openDrawer() {
|
||||
@@ -478,15 +517,34 @@ export default {
|
||||
this.chatId = null;
|
||||
this.activeIndex = null;
|
||||
this.activeRecord = null;
|
||||
if(this.eventSource){
|
||||
this.eventSource.close();
|
||||
}
|
||||
//中断
|
||||
this.closeWebSocket();
|
||||
this.previousAnswer = null;
|
||||
this.pauseStatus = false;
|
||||
//把缓存清除
|
||||
uni.removeStorageSync('homeParams');
|
||||
},
|
||||
//关闭进程和监听
|
||||
closeWebSocket() {
|
||||
if (this.eventSource) {
|
||||
// 关闭连接并移除监听
|
||||
this.eventSource.close({
|
||||
success: () => {
|
||||
console.log('WebSocket 已关闭-closeWebSocket');
|
||||
uni.offSocketMessage(); //移除消息监听
|
||||
}
|
||||
});
|
||||
this.eventSource = null;
|
||||
this.loading = false;
|
||||
this.pauseStatus = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
||||
onHide() {
|
||||
this.closeWebSocket();
|
||||
},
|
||||
onUnload() {
|
||||
this.closeWebSocket();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -711,6 +769,7 @@ export default {
|
||||
}
|
||||
.message-container {
|
||||
display: inline;
|
||||
line-height: 48rpx;
|
||||
}
|
||||
|
||||
.message-item {
|
||||
@@ -757,7 +816,7 @@ h3{
|
||||
text{
|
||||
display: inline-block;
|
||||
padding: 20rpx;
|
||||
line-height: 34rpx;
|
||||
line-height: 38rpx;
|
||||
background-color: rgba(81, 136, 229, 0.2);
|
||||
border-radius: 15rpx;
|
||||
color: #333;
|
||||
@@ -772,11 +831,11 @@ h3{
|
||||
flex-direction: column;
|
||||
}
|
||||
.list_content{
|
||||
padding: 30rpx 20rpx;
|
||||
padding: 60rpx 20rpx 30rpx;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.list_item{
|
||||
padding: 20rpx 10rpx;
|
||||
padding: 15rpx 10rpx;
|
||||
}
|
||||
.text_item{
|
||||
display: block;
|
||||
|
||||
@@ -71,13 +71,13 @@ export default {
|
||||
]
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
},
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
uni.hideTabBar();
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
},
|
||||
//页面显示
|
||||
onShow() {
|
||||
uni.removeStorageSync('homeParams');
|
||||
|
||||
65
pages/talents/certificateUrl.vue
Normal file
65
pages/talents/certificateUrl.vue
Normal file
@@ -0,0 +1,65 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<z-nav-bar title="医生证书" bgColor="#5188e5" fontColor="#fff"></z-nav-bar>
|
||||
<view class="url_block">
|
||||
<view v-for="item in urlArr" :key="item" class="item_url">
|
||||
<image mode="aspectFit"
|
||||
:src="item"
|
||||
@click="showImg(item)"
|
||||
></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import $http from "@/config/requestConfig.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
urlArr: []
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
let data = JSON.parse(e.data);
|
||||
let arr = data.flatMap(item =>
|
||||
item.certificateUrl.split(',').map(v => v)
|
||||
);
|
||||
this.urlArr = arr;
|
||||
},
|
||||
methods: {
|
||||
//展示图片
|
||||
showImg(item){
|
||||
uni.previewImage({
|
||||
urls: [item],
|
||||
current: 0
|
||||
});
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '@/static/mixin.scss';
|
||||
.url_block{
|
||||
padding: 30rpx 30rpx 10rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.item_url{
|
||||
width: 48%;
|
||||
background: rgba(216, 230, 255, 0.8);
|
||||
border: 1rpx solid #d8e6ff;
|
||||
margin-bottom: 20rpx;
|
||||
margin-right: 20rpx;
|
||||
|
||||
image{
|
||||
width: 100%;
|
||||
height: 280rpx;
|
||||
}
|
||||
}
|
||||
.item_url:nth-child(2n){
|
||||
margin-right: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -33,7 +33,7 @@
|
||||
<view class="taihu_common">
|
||||
<text>太湖证书</text>
|
||||
<view class="certificate-list" v-if="certificates.length>0">
|
||||
<view class="list_block" v-for="(item,index) in displayedCertificates" :key="index" @click="showImg(item.certificateUrl)">
|
||||
<view class="list_block" v-for="(item,index) in displayedCertificates" :key="index" @click="goToUrl(item.userCertificates)">
|
||||
{{item.title}}
|
||||
</view>
|
||||
|
||||
@@ -58,7 +58,7 @@ export default {
|
||||
certificates: [], //证书
|
||||
status: false,
|
||||
showAll: false, //是否显示全部
|
||||
defaultShowCount: 5 //默认显示条数
|
||||
defaultShowCount: 6 //默认显示条数
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -108,18 +108,15 @@ export default {
|
||||
this.showAll = !this.showAll
|
||||
},
|
||||
//展示图片
|
||||
showImg(data){
|
||||
let url = '';
|
||||
if(data){
|
||||
url = data.split(',')[0];
|
||||
uni.previewImage({
|
||||
urls: [url],
|
||||
current: 0
|
||||
goToUrl(urlArr){
|
||||
if(urlArr&&urlArr.length>0){
|
||||
uni.navigateTo({
|
||||
url: '/pages/talents/certificateUrl?data='+JSON.stringify(urlArr),
|
||||
});
|
||||
}else{
|
||||
this.$commonJS.showToast("暂无证书图片");
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -29,10 +29,10 @@ export default {
|
||||
},
|
||||
onLoad() {
|
||||
uni.hideTabBar();
|
||||
this.getData();
|
||||
},
|
||||
onShow() {
|
||||
uni.removeStorageSync('homeParams');
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
//获取数据
|
||||
|
||||
@@ -230,7 +230,6 @@ export default {
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(1111)
|
||||
if (res.code == 0 && res.baseAreas.length > 0) {
|
||||
this.quCodeList = res.baseAreas.map((item) => {
|
||||
let obj = {
|
||||
@@ -239,7 +238,6 @@ export default {
|
||||
};
|
||||
return obj;
|
||||
});
|
||||
console.log(2222)
|
||||
this.loginForm.quCode = this.quCodeList[0].value;
|
||||
this.$forceUpdate();
|
||||
} else {
|
||||
@@ -393,7 +391,7 @@ export default {
|
||||
duration: 1000,
|
||||
});
|
||||
setTimeout(() => {
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index",
|
||||
});
|
||||
}, 1000);
|
||||
@@ -464,7 +462,7 @@ export default {
|
||||
|
||||
setTimeout(() => {
|
||||
uni.setStorageSync("isJump", "false");
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
});
|
||||
}, 100);
|
||||
@@ -503,7 +501,7 @@ export default {
|
||||
title: "登录成功",
|
||||
});
|
||||
setTimeout(() => {
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
});
|
||||
}, 500);
|
||||
@@ -542,7 +540,7 @@ export default {
|
||||
title: "登录成功",
|
||||
});
|
||||
setTimeout(() => {
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
});
|
||||
}, 500);
|
||||
@@ -598,7 +596,7 @@ export default {
|
||||
title: "登录成功",
|
||||
});
|
||||
setTimeout(() => {
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
});
|
||||
}, 500);
|
||||
@@ -657,7 +655,7 @@ export default {
|
||||
duration: 2000,
|
||||
});
|
||||
setTimeout(() => {
|
||||
uni.switchTab({
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
});
|
||||
}, 500);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
var isReady=false;var onReadyCallbacks=[];
|
||||
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
||||
var __uniConfig = {"pages":["pages/home/index","pages/my/index","pages/my/recordsList","pages/user/login","pages/user/forget","pages/user/workOrder","pages/my/index","pages/my/set","pages/my/persData","pages/my/aboutUs","pages/talents/index","pages/talents/detail","pages/doctors/index","pages/wumen/index","uni_modules/uni-upgrade-center-app/pages/upgrade-popup"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#333","selectedColor":"#5188e5","borderStyle":"black","backgroundColor":"#fff","list":[{"pagePath":"pages/home/index","text":"智慧医疗"},{"pagePath":"pages/talents/index","text":"太湖英才"},{"pagePath":"pages/my/index","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":true},"appname":"太湖云医","compilerVersion":"4.36","entryPagePath":"pages/home/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||||
var __uniRoutes = [{"path":"/pages/home/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"首页","bounce":"none","titleNView":false}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/recordsList","meta":{},"window":{"navigationBarTitleText":"历史记录","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/user/login","meta":{},"window":{"navigationBarTitleText":"登录","bounce":"none","titleNView":false}},{"path":"/pages/user/forget","meta":{},"window":{"navigationBarTitleText":"忘记密码","bounce":"none","titleNView":false}},{"path":"/pages/user/workOrder","meta":{},"window":{"navigationBarTitleText":"问题反馈","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/set","meta":{},"window":{"navigationBarTitleText":"设置","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/persData","meta":{},"window":{"navigationBarTitleText":"个人资料","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/aboutUs","meta":{},"window":{"navigationBarTitleText":"关于我们","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/talents/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"太湖英才","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/talents/detail","meta":{},"window":{"navigationBarTitleText":"太湖英才","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/doctors/index","meta":{},"window":{"navigationBarTitleText":"名医精彩","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/wumen/index","meta":{},"window":{"navigationBarTitleText":"吴门医述","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup","meta":{},"window":{"disableScroll":true,"animationDuration":200,"animationType":"fade-in","background":"transparent","backgroundColorTop":"transparent","scrollIndicator":false,"titleNView":false}}];
|
||||
var __uniConfig = {"pages":["pages/home/index","pages/my/index","pages/my/recordsList","pages/user/login","pages/user/forget","pages/user/workOrder","pages/my/index","pages/my/set","pages/my/persData","pages/my/aboutUs","pages/talents/index","pages/talents/detail","pages/talents/certificateUrl","pages/doctors/index","pages/wumen/index","uni_modules/uni-upgrade-center-app/pages/upgrade-popup"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#333","selectedColor":"#5188e5","borderStyle":"black","backgroundColor":"#fff","list":[{"pagePath":"pages/home/index","text":"智慧医疗"},{"pagePath":"pages/talents/index","text":"太湖英才"},{"pagePath":"pages/my/index","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":true},"appname":"太湖云医","compilerVersion":"4.45","entryPagePath":"pages/home/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||||
var __uniRoutes = [{"path":"/pages/home/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"首页","bounce":"none","titleNView":false}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/recordsList","meta":{},"window":{"navigationBarTitleText":"历史记录","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/user/login","meta":{},"window":{"navigationBarTitleText":"登录","bounce":"none","titleNView":false}},{"path":"/pages/user/forget","meta":{},"window":{"navigationBarTitleText":"忘记密码","bounce":"none","titleNView":false}},{"path":"/pages/user/workOrder","meta":{},"window":{"navigationBarTitleText":"问题反馈","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/set","meta":{},"window":{"navigationBarTitleText":"设置","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/persData","meta":{},"window":{"navigationBarTitleText":"个人资料","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/my/aboutUs","meta":{},"window":{"navigationBarTitleText":"关于我们","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/talents/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"太湖英才","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/talents/detail","meta":{},"window":{"navigationBarTitleText":"医生主页","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/talents/certificateUrl","meta":{},"window":{"navigationBarTitleText":"医生证书","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/doctors/index","meta":{},"window":{"navigationBarTitleText":"名医精彩","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/pages/wumen/index","meta":{},"window":{"navigationBarTitleText":"吴门医述","enablePullDownRefresh":false,"bounce":"none","titleNView":false}},{"path":"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup","meta":{},"window":{"disableScroll":true,"animationDuration":200,"animationType":"fade-in","background":"transparent","backgroundColorTop":"transparent","scrollIndicator":false,"titleNView":false}}];
|
||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
||||
|
||||
42
unpackage/dist/build/app-plus/app-service.js
vendored
42
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/app-plus/app-view.js
vendored
2
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
@@ -1 +1 @@
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__1B1584A","name":"太湖云医","version":{"name":"1.0.0","code":"100"},"description":"太湖云医","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Payment":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"privacy":{"prompt":"template","template":{"title":"用户协议和隐私政策","message":"请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>你可阅读<a href='https://www.taimed.cn/agreement.html'>《用户协议》</a>和<a href='https://www.taimed.cn/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。","buttonAccept":"同意","buttonRefuse":"暂不同意"}},"distribute":{"splashscreen":{"useOriginalMsgbox":true},"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"},"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"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["armeabi-v7a","arm64-v8a","x86"],"minSdkVersion":23,"targetSdkVersion":35,"schemes":"taimed"},"apple":{"urlschemewhitelist":"nuttyreading,medicine","idfa":false,"urltypes":"taimed","capabilities":{"entitlements":{"com.apple.developer.associated-domains":["applinks:static-mp-3614b80b-2d75-4462-a481-4998f8187274.next.bspapp.com","applinks:verification.nuttyreading.com"]}},"dSYMs":false},"plugins":{"payment":{"appleiap":{},"alipay":{"__platform__":["ios","android"]},"weixin":{"__platform__":["ios","android"],"appid":"wx5c50e3696028d2ec","UniversalLinks":"https://verification.nuttyreading.com/uni-universallinks/__UNI__1B1584A/"}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.36","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#333","selectedColor":"#5188e5","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#fff","list":[{"pagePath":"pages/home/index","text":"智慧医疗"},{"pagePath":"pages/talents/index","text":"太湖英才"},{"pagePath":"pages/my/index","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__1B1584A","name":"太湖云医","version":{"name":"1.0.0","code":"100"},"description":"太湖云医","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Payment":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"privacy":{"prompt":"template","template":{"title":"用户协议和隐私政策","message":"请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>你可阅读<a href='https://www.taimed.cn/agreement.html'>《用户协议》</a>和<a href='https://www.taimed.cn/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。","buttonAccept":"同意","buttonRefuse":"暂不同意"}},"distribute":{"splashscreen":{"useOriginalMsgbox":true},"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"},"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"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["armeabi-v7a","arm64-v8a","x86"],"minSdkVersion":23,"targetSdkVersion":35,"schemes":"taimed"},"apple":{"urlschemewhitelist":"nuttyreading,medicine","idfa":false,"urltypes":"taimed","capabilities":{"entitlements":{"com.apple.developer.associated-domains":["applinks:static-mp-3614b80b-2d75-4462-a481-4998f8187274.next.bspapp.com","applinks:verification.nuttyreading.com"]}},"dSYMs":false},"plugins":{"payment":{"appleiap":{},"alipay":{"__platform__":["ios","android"]},"weixin":{"__platform__":["ios","android"],"appid":"wx5c50e3696028d2ec","UniversalLinks":"https://verification.nuttyreading.com/uni-universallinks/__UNI__1B1584A/"}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.45","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#333","selectedColor":"#5188e5","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#fff","list":[{"pagePath":"pages/home/index","text":"智慧医疗"},{"pagePath":"pages/talents/index","text":"太湖英才"},{"pagePath":"pages/my/index","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user