This commit is contained in:
zoujiandong 2024-03-19 13:12:10 +08:00
parent a9edbc3489
commit 2454bafd78
7 changed files with 19 additions and 16 deletions

View File

@ -254,7 +254,7 @@ page{
border-top-color: #E9E9E9 !important; border-top-color: #E9E9E9 !important;
} }
.introicon{ .introicon{
top:-7rpx; top:2rpx;
left:50rpx; left:50rpx;
width:32rpx; width:32rpx;
height:32rpx; height:32rpx;

View File

@ -66,8 +66,10 @@ export class CallManager {
}; };
private _handleCallStatusToCalling() { private _handleCallStatusToCalling() {
console.log('isPageRedirected:'+this._isPageRedirected);
if (this._isPageRedirected) return; if (this._isPageRedirected) return;
this._targetPagePath = this.getRoute().route; this._targetPagePath = this.getRoute().route;
console.log('videourl:'+`/${this._globalCallPagePath}`);
// @ts-ignore // @ts-ignore
wx.navigateTo({ wx.navigateTo({
url: `/${this._globalCallPagePath}`, url: `/${this._globalCallPagePath}`,

View File

@ -1495,8 +1495,9 @@ Component({
}, },
showSendTalk(){ showSendTalk(){
let {baseInfo,message_rounds}=this.data; let {baseInfo,message_rounds}=this.data;
console.log(message_rounds) // console.log(message_rounds);
if(baseInfo.inquiry_status==4 || baseInfo.inquiry_status==5){ // console.log(baseInfo.inquiry_status);
if(baseInfo.inquiry_status==6 || baseInfo.inquiry_status==5){
this.setData({ this.setData({
showTalk:true showTalk:true
}) })

View File

@ -14,13 +14,13 @@
<view class="top"> <view class="top">
<view class="namebox"> <view class="namebox">
<view class="name">{{item.name_mask}}</view> <view class="name">{{item.name_mask}}</view>
<view class="comemntType" wx:if="item.inquiry_mode==1"> <view class="comemntType" wx:if="{{item.inquiry_mode==1}}">
图文 图文
</view> </view>
<view class="comemntType video" wx:elif="item.inquiry_mode==2 && item.inquiry_type==1"> <view class="comemntType video" wx:elif="{{item.inquiry_mode==2 && item.inquiry_type==1}}">
视频 视频
</view> </view>
<view class="comemntType yinan" wx:elif="item.inquiry_mode==6 && item.inquiry_type==1"> <view class="comemntType yinan" wx:elif="{{item.inquiry_mode==6 && item.inquiry_type==1}}">
疑难会诊 疑难会诊
</view> </view>
</view> </view>
@ -44,13 +44,13 @@
<view class="top"> <view class="top">
<view class="namebox"> <view class="namebox">
<view class="name">{{item.name_mask}}</view> <view class="name">{{item.name_mask}}</view>
<view class="comemntType" wx:if="item.inquiry_mode==1"> <view class="comemntType" wx:if="{{item.inquiry_mode==1}}">
图文 图文
</view> </view>
<view class="comemntType video" wx:elif="item.inquiry_mode==2 && item.inquiry_type==1"> <view class="comemntType video" wx:elif="{{item.inquiry_mode==2 && item.inquiry_type==1}}">
视频 视频
</view> </view>
<view class="comemntType yinan" wx:elif="item.inquiry_mode==6 && item.inquiry_type==1"> <view class="comemntType yinan" wx:elif="{{item.inquiry_mode==6 && item.inquiry_type==1}}">
疑难会诊 疑难会诊
</view> </view>
</view> </view>
@ -77,10 +77,10 @@
<view class="comemntType" wx:if="item.inquiry_mode==1"> <view class="comemntType" wx:if="item.inquiry_mode==1">
图文 图文
</view> </view>
<view class="comemntType video" wx:elif="item.inquiry_mode==2 && item.inquiry_type==1"> <view class="comemntType video" wx:elif="{{item.inquiry_mode==2 && item.inquiry_type==1}}">
视频 视频
</view> </view>
<view class="comemntType yinan" wx:elif="item.inquiry_mode==6 && item.inquiry_type==1"> <view class="comemntType yinan" wx:elif="{{item.inquiry_mode==6 && item.inquiry_type==1}}">
疑难会诊 疑难会诊
</view> </view>
</view> </view>

View File

@ -105,8 +105,8 @@ Page({
return; return;
} }
} }
if(this.data.inquiry_mode==2){ if(this.data.inquiry_mode==2 || this.data.inquiry_mode==6){
console.log(parseFloat(this.data.info.inquiry_price)) //console.log(parseFloat(this.data.info.inquiry_price))
if(!(parseFloat(this.data.info.inquiry_price)>=10 && parseFloat(this.data.info.inquiry_price)<=2999)){ if(!(parseFloat(this.data.info.inquiry_price)>=10 && parseFloat(this.data.info.inquiry_price)<=2999)){
wx.showToast({ wx.showToast({
title: '问诊单价为10~2999元', title: '问诊单价为10~2999元',

View File

@ -16,7 +16,7 @@
<view class="switch_box_note">{{ note }}</view> <view class="switch_box_note">{{ note }}</view>
</view> </view>
<view class="help"> <view class="help">
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=4" custom-style="font-size:32rpx;" title="图文问诊操作手册" is-link border="{{false}}" /> <van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=4" custom-style="font-size:32rpx;" title="公益问诊操作手册" is-link border="{{false}}" />
</view> </view>
</view> </view>

View File

@ -2,14 +2,14 @@
export const dev = { export const dev = {
baseUrl: "https://dev.hospital.applets.igandanyiyuan.com", baseUrl: "https://dev.hospital.applets.igandanyiyuan.com",
staticHost: "https://img.applets.igandanyiyuan.com",//静态资源host staticHost: "https://img.applets.igandanyiyuan.com",//静态资源host
IMappId: '1600022752', //此处为IM appId IMappId: '1600027911', //此处为IM appId
IMsecretkey: 'fc45ab469ca632a700166973d87b3a6f56a855cb92d7cffb54e4d37135c097da' //此处为IM secretkey IMsecretkey: 'fc45ab469ca632a700166973d87b3a6f56a855cb92d7cffb54e4d37135c097da' //此处为IM secretkey
} }
// 测试环境url // 测试环境url
export const test = { export const test = {
baseUrl: "https://dev.hospital.applets.igandanyiyuan.com", baseUrl: "https://dev.hospital.applets.igandanyiyuan.com",
staticHost: "https://img.applets.igandanyiyuan.com",//静态资源host staticHost: "https://img.applets.igandanyiyuan.com",//静态资源host
IMappId: '1600022752', //此处为此处为IM appId IMappId: '1600027911', //此处为此处为IM appId
IMsecretkey: 'fc45ab469ca632a700166973d87b3a6f56a855cb92d7cffb54e4d37135c097da' //此处为IM secretkey IMsecretkey: 'fc45ab469ca632a700166973d87b3a6f56a855cb92d7cffb54e4d37135c097da' //此处为IM secretkey
} }