更改静态资源host

This commit is contained in:
haomingming 2023-05-10 10:49:40 +08:00
parent 807698b89f
commit 7ef82dab29
51 changed files with 155 additions and 153 deletions

View File

@ -1,17 +1,20 @@
// Pages/webpage/index.js
import { API } from './../../utils/network/api'
const api = new API()
Page({
/**
* 页面的初始数据
*/
data: {
src: ""
src: "",
static_host: api.getStaticHost()
},
onLoad(options) {
console.log(options.agreement_id)
this.setData({
src: "https://img.applets.igandanyiyuan.com/basic/file/agreement.htm?id="+options.agreement_id
src: this.data.static_host+"/basic/file/agreement.htm?id="+options.agreement_id
})
},

View File

@ -1,8 +1,11 @@
// Pages/index/index.js
import { API } from './../../utils/network/api'
const api = new API()
const app = getApp()
Page({
data: {
loading: true
loading: true,
static_host: api.getStaticHost()
},
onLoad(option){
let from = option.from;

View File

@ -4,7 +4,7 @@
data-url="/Pages/yishi/index/index" bindtap="goCheck" >
<t-image
class="item_img"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yi.png"
src="{{static_host}}/applet/doctor/static/images/yi.png"
mode="heightFix"
height="220rpx"
aria-label="医师端"
@ -18,7 +18,7 @@
data-usertype="3" bindtap="goCheck">
<t-image
class="item_img"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yao.png"
src="{{static_host}}/applet/doctor/static/images/yao.png"
mode="heightFix"
height="220rpx"
aria-label="药师端"

View File

@ -8,7 +8,8 @@ Page({
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: '登录', //导航栏 中间的标题
},
checked: false
checked: false,
static_host: api.getStaticHost()
},
onLoad(){
let usertype = wx.getStorageSync('usertype');

View File

@ -6,7 +6,7 @@
<view class="box">
<view class="top">
<view class="logo">
<van-image fit="heightFix" height="56rpx" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/logo.png" use-loading-slot>
<van-image fit="heightFix" height="56rpx" src="{{static_host}}/applet/doctor/static/images/logo.png" use-loading-slot>
<van-loading slot="loading" type="spinner" size="20" vertical />
</van-image>
</view>

View File

@ -13,7 +13,8 @@ Page({
btn_msg: "获取验证码",
btn_disabled: false,
login_disabled: false,
btn_color: "#ccc"
btn_color: "#ccc",
static_host: api.getStaticHost()
},
onLoad(){
let usertype = wx.getStorageSync('usertype');

View File

@ -1,6 +1,6 @@
<m-nav-bar navbarData="{{navbarData}}">
<view class="logo">
<van-image height="196rpx" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/logo2.png" fit="heightFix" />
<van-image height="196rpx" src="{{static_host}}/applet/doctor/static/images/logo2.png" fit="heightFix" />
</view>
<view class="fields">
<view class="phone_box">

View File

@ -1,8 +1,10 @@
// Pages/index/index.js
import { API } from './../../../utils/network/api'
const api = new API()
Page({
/**
* 生命周期函数--监听页面显示
*/
data: {
static_host: api.getStaticHost()
},
onShow() {
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
this.getTabBar().setData({

View File

@ -4,7 +4,7 @@
<t-image
bindtap="toGo" data-url="/Pages/yaoshi/home/home"
class="item_img"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yi.png"
src="{{static_host}}/applet/doctor/static/images/yi.png"
mode="heightFix"
height="220rpx"
aria-label="医师端"
@ -17,7 +17,7 @@
<t-image
bindtap="toGo" data-url="/Pages/yaoshi/my/my"
class="item_img"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yao.png"
src="{{static_host}}/applet/doctor/static/images/yao.png"
mode="heightFix"
height="220rpx"
aria-label="药师端"

View File

@ -12,7 +12,8 @@ Page({
bank_card_id: "",
bank_img_path: "",
bank_name: "",
bank_card_code_mask: ""
bank_card_code_mask: "",
static_host: api.getStaticHost()
},
onShow(){

View File

@ -11,7 +11,7 @@
</view>
<view class="bankcard_empty_box" wx:if="{{ banklist_empty }}">
<view class="bankcard_empty">
<van-image src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/bankcard_empty.png" fit="widthFix" width="500rpx" aria-label="空" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/bankcard_empty.png" fit="widthFix" width="500rpx" aria-label="空" />
</view>
<van-button data-url="/Pages/yishi/bindcard/index" bind:click="go" custom-style="font-size: 30rpx;border-radius: 10rpx;background-color:#3CC7C0;border: none;width: 92vw;margin: 50rpx auto;" type="primary" block>添加结算银行卡</van-button>
<view class="note">提示:每人只能绑定一张银行卡,银行卡绑定成功后每月只能修改结算银行卡一次,请谨慎绑定。</view>
@ -22,16 +22,6 @@
<view class="bankcard_list_item_name">{{bank_name}}</view>
<view class="bankcard_list_item_num">{{bank_card_code_mask}}</view>
</view>
<!-- <view class="bankcard_list_item">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/ny.png" fit="widthFix" width="100%" aria-label="空" />
<view class="bankcard_list_item_name">中国农业银行</view>
<view class="bankcard_list_item_num">3034 **** **** **** 2698</view>
</view> -->
<!-- <view class="bankcard_list_item">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/js.png" fit="widthFix" width="100%" aria-label="空" />
<view class="bankcard_list_item_name">中国建设银行</view>
<view class="bankcard_list_item_num">3034 **** **** **** 2698</view>
</view> -->
<van-button data-url="/Pages/yishi/bindcard/index" bind:click="go" custom-style="font-size: 30rpx;border-radius: 10rpx;background-color:#3CC7C0;border: none;width: 92vw;margin: 50rpx auto;" type="primary" block>更换银行卡</van-button>
<view class="note">

View File

@ -27,7 +27,8 @@ Page({
area_sub_titles: ["省份","市区","区县"],
areaprovince_data_ready: false,
banklist_data_ready: false,
bank_card_id: ""
bank_card_id: "",
static_host: api.getStaticHost()
},
onLoad(options){
console.log("options: ", options);

View File

@ -2,7 +2,7 @@
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
<view class="top_note">
<van-image style="display: flex;align-items: center;margin-right: 10rpx;" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/bell.png" fit="widthFix" width="45rpx" aria-label="qrcode" />
<van-image style="display: flex;align-items: center;margin-right: 10rpx;" src="{{static_host}}/applet/doctor/static/images/bell.png" fit="widthFix" width="45rpx" aria-label="qrcode" />
<text>请确定开户人姓名与账户医生的姓名一致</text>
</view>
<view class="info">

View File

@ -27,15 +27,15 @@
<view class="title">医生诊断:</view>
<view class="conent">{{case_detail.disease_class_name}}</view>
</view> -->
<view class="disease_box_item" wx:if="{{case_detail.diagnosis_hospital != ''}}">
<view class="disease_box_item" wx:if="{{case_detail.diagnosis_hospital != '' && case_detail.diagnosis_hospital != null}}">
<view class="title">确诊医院:</view>
<view class="conent">{{case_detail.diagnosis_hospital}}</view>
</view>
<view class="disease_box_item">
<view class="disease_box_item" wx:if="{{case_detail.drugs_name != '' && case_detail.drugs_name != null}}">
<view class="title">正在服用的药品信息:</view>
<view class="conent">{{case_detail.drugs_name==''?'无':''}}</view>
</view>
<view class="disease_info" wx:if="{{case_detail.drugs_name != ''}}">
<view class="disease_info" wx:if="{{case_detail.drugs_name != '' && case_detail.drugs_name != null}}">
详细描述:{{case_detail.drugs_name}}
</view>
<view class="disease_box_item">
@ -48,7 +48,7 @@
<text wx:for="{{case_detail.product}}">{{item}};</text>
</view>
</view>
<view class="disease_box_item">
<view class="disease_box_item" wx:if="{{case_detail.diagnose_images.length > 0}}">
<view class="title">复诊凭证(病例/处方单/检查报告/住院单)</view>
<view class="conent" wx:if="{{case_detail.diagnose_images.length == 0}}">无</view>
</view>
@ -58,38 +58,38 @@
</view>
</view>
<view class="main_title">其他信息</view>
<view class="data_box orther">
<view class="main_title" wx:if="{{case_detail.is_allergy_history != null && case_detail.is_family_history != null && case_detail.is_pregnant != null && case_detail.drink_wine_status != null && case_detail.smoke_status != null && case_detail.is_operation != null && case_detail.chemical_compound_status != null && case_detail.chemical_compound_status != null}}">其他信息</view>
<view class="data_box orther" wx:if="{{case_detail.is_allergy_history != null && case_detail.is_family_history != null && case_detail.is_pregnant != null && case_detail.drink_wine_status != null && case_detail.smoke_status != null && case_detail.is_operation != null && case_detail.chemical_compound_status != null && case_detail.chemical_compound_status != null}}">
<view class="disease_box">
<view class="disease_box_item" wx:if="{{case_detail.is_allergy_history != 0}}">
<view class="disease_box_item" wx:if="{{case_detail.is_allergy_history != null}}">
<view class="title">过敏史:</view>
<view class="conent">{{case_detail.is_allergy_history==0?'否':case_detail.allergy_history}}</view>
</view>
<view class="disease_box_item" wx:if="{{case_detail.is_family_history != 0}}">
<view class="disease_box_item" wx:if="{{ case_detail.is_family_history != null}}">
<view class="title">家族史:</view>
<view class="conent">{{case_detail.is_family_history==0?'否':case_detail.family_history}}</view>
</view>
<view class="disease_box_item" wx:if="{{case_detail.is_pregnant != 0}}">
<view class="disease_box_item" wx:if="{{case_detail.is_pregnant != null}}">
<view class="title">是否备孕、妊娠或者哺乳期:</view>
<view class="conent">{{case_detail.is_pregnant==0?'否':case_detail.pregnant}}</view>
</view>
<view class="disease_box_item" wx:if="{{case_detail.drink_wine_status != 0}}">
<view class="disease_box_item" wx:if="{{ case_detail.drink_wine_status != null}}">
<view class="title">饮酒史:</view>
<view class="conent">{{case_detail.drink_wine_status==1?'从不':case_detail.drink_wine_status==2?'偶尔':case_detail.drink_wine_status==3?'经常':case_detail.drink_wine_status==4?'每天':case_detail.drink_wine_status==5?'已戒酒':'其他'}}</view>
</view>
<view class="disease_box_item" wx:if="{{case_detail.smoke_status != 0}}">
<view class="disease_box_item" wx:if="{{case_detail.smoke_status != null}}">
<view class="title">吸烟史:</view>
<view class="conent">{{case_detail.smoke_status==1?'从不':case_detail.smoke_status==2?'偶尔':case_detail.smoke_status==3?'经常':case_detail.smoke_status==4?'每天':case_detail.smoke_status==5?'已戒烟':'其他'}}</view>
</view>
<view class="disease_box_item" wx:if="{{case_detail.is_operation != 0}}">
<view class="disease_box_item" wx:if="{{case_detail.is_operation != null}}">
<view class="title">手术史:</view>
<view class="conent">{{case_detail.is_operation==0?'否':case_detail.operation}}</view>
</view>
<view class="disease_box_item" wx:if="{{case_detail.chemical_compound_status != 0}}">
<view class="disease_box_item" wx:if="{{ case_detail.chemical_compound_status != null}}">
<view class="title">接触化学物:</view>
<view class="conent">{{case_detail.chemical_compound_status==1?'从不':case_detail.chemical_compound_status==2?'偶尔':case_detail.chemical_compound_status==3?'经常':case_detail.chemical_compound_status==4?'每天':'其他'}}</view>
</view>
<view class="disease_info" wx:if="{{case_detail.chemical_compound_status != 1}}">
<view class="disease_info" wx:if="{{case_detail.chemical_compound_describe != null}}">
详细描述:{{case_detail.chemical_compound_describe}}
</view>
</view>

View File

@ -38,7 +38,7 @@ page{
}
.info_item{
text-align: center;
width: 190rpx;
/* width: 190rpx; */
height: 60rpx;
display: flex;
align-items: center;

View File

@ -11,7 +11,8 @@ Page({
},
height: app.globalData.height,
bank_card_id: "",
bank_icon_path: "https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/js_icon.png",
static_host: api.getStaticHost(),
bank_icon_path: api.getStaticHost()+"/applet/doctor/static/images/yishi/bankcard/js_icon.png",
bank_card_name: "默认姓名",
bank_name : "xx银行",
bank_card_code_mask: "888 xxxx xxxx 888",

View File

@ -58,7 +58,7 @@
</view> -->
<view class="bottom">
<van-button bind:click="postDoctorWithdrawal" disabled="{{order_inquiry_ids.length == 0 || sub_btn_disabled}}" custom-style="border-radius: 10rpx;font-size: 30rpx;" block color="#3CC7C0">提取</van-button>
<van-button bind:click="postDoctorWithdrawal" disabled="{{order_inquiry_ids.length == 0 || sub_btn_disabled || withdrawal_amount == 0}}" custom-style="border-radius: 10rpx;font-size: 30rpx;" block color="#3CC7C0">提取</van-button>
<view class="kefu" bindtap="contactKeFu">
<text>联系客服</text>
</view>

View File

@ -17,6 +17,7 @@ Page({
dateVisible: false,
select_date: '',
years: [],
static_host: api.getStaticHost()
},
onLoad(){
let now_year = (new Date()).Format("yyyy");

View File

@ -11,7 +11,7 @@
<view class="data_item" wx:for="{{record_list}}">
<view class="data_item_top">
<view class="data_item_top_icon">
<van-image custom-style="" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/js_icon.png" fit="heightFix" height="50rpx" aria-label="role" />
<van-image custom-style="" src="{{static_host}}/applet/doctor/static/images/yishi/bankcard/js_icon.png" fit="heightFix" height="50rpx" aria-label="role" />
</view>
<view class="data_item_top_content">
<view class="name">{{item.account_name}}<text style="margin-left:20rpx;font-size: 28rpx;color:#999;">(尾号{{item.bank_card_code_four}}</text></view>
@ -27,26 +27,6 @@
</view>
<view class="data_item_bottom">个人所得税:¥{{item.income_tax}}</view>
</view>
<!-- <view class="data_item">
<view class="data_item_top">
<view class="data_item_top_icon">
<van-image custom-style="" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/js_icon.png" fit="heightFix" height="50rpx" aria-label="role" />
</view>
<view class="data_item_top_content">
<view class="name">张三三<text style="margin-left:20rpx;font-size: 28rpx;color:#999;">尾号9900</text></view>
<view class="date">12.09 13:23</view>
</view>
<view class="data_item_top_num">
<view class="jine">¥123.00</view>
<view class="status_box">
<view class="status status_end">结算成功</view>
</view>
</view>
</view>
<view class="data_item_bottom">个人所得税¥12.00</view>
</view> -->
<van-empty description="暂无数据" wx:if="{{record_list.length == 0}}" />

View File

@ -20,9 +20,10 @@ Page({
praise_rate: "100%",
avg_response_time: 0,
number_of_fans: 0,
avatar: "https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/default_photo.png",
avatar: api.getStaticHost()+"/applet/doctor/static/images/default_photo.png",
reject_prescription_number: false,//处方管理小红点
},
static_host: api.getStaticHost(),
iden_auth_status_txt: "未认证",
multi_point_status_txt: "未认证",
shiming_status_url: "",
@ -230,7 +231,6 @@ Page({
this.getTabBar().setData({
active: 0, //数字是当前页面在tabbar的索引,如我的查询页索引是2因此这边为2同理首页就为0审批页面为1
})
this.getTabBar().startInterval()
}
this.getMenuButtonBound();

View File

@ -68,7 +68,7 @@
<view class="renzheng_content_right">
<van-image class="renzheng_content_right_img" width="100%"
fit="widthFix"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/yishirenzheng.png"
src="{{static_host}}/applet/doctor/static/images/yishi/yishirenzheng.png"
/>
</view>
</view>
@ -87,7 +87,7 @@
<view class="renzheng_content_right">
<van-image class="renzheng_content_right_img" width="100%"
fit="widthFix"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/zhiyerenzheng.png"
src="{{static_host}}/applet/doctor/static/images/yishi/zhiyerenzheng.png"
/>
</view>
</view>
@ -122,7 +122,7 @@
<van-image class="fun_box_item_img"
fit="heightFix"
height="70rpx"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/jianjie.png"
src="{{static_host}}/applet/doctor/static/images/yishi/jianjie.png"
/>
<text class="fun_box_item_txt">个人简介管理</text>
</view>
@ -130,7 +130,7 @@
<van-image class="fun_box_item_img"
fit="widthFix"
width="70rpx"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/zaixian.png"
src="{{static_host}}/applet/doctor/static/images/yishi/zaixian.png"
/>
<text class="fun_box_item_txt">在线问诊管理</text>
</view>
@ -138,7 +138,7 @@
<van-image class="fun_box_item_img"
fit="widthFix"
width="70rpx"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/kuaisu.png"
src="{{static_host}}/applet/doctor/static/images/yishi/kuaisu.png"
/>
<text class="fun_box_item_txt">快速问诊管理</text>
</view>
@ -146,7 +146,7 @@
<van-image class="fun_box_item_img"
fit="widthFix"
width="70rpx"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/yizhen.png"
src="{{static_host}}/applet/doctor/static/images/yishi/yizhen.png"
/>
<text class="fun_box_item_txt">公益问诊管理</text>
</view>
@ -154,7 +154,7 @@
<van-image class="fun_box_item_img"
fit="widthFix"
width="70rpx"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/chufang.png"
src="{{static_host}}/applet/doctor/static/images/yishi/chufang.png"
/>
<view class="fun_box_item_txt">
<t-badge style="display: flex;align-items: center;" dot="{{info.reject_prescription_number ? true : false}}" offset="{{ ['-14rpx', '10rpx'] }}" class="wrapper" content="处方管理" />
@ -164,7 +164,7 @@
<van-image class="fun_box_item_img"
fit="widthFix"
width="70rpx"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/kefu.png"
src="{{static_host}}/applet/doctor/static/images/yishi/kefu.png"
/>
<text class="fun_box_item_txt">联系客服</text>
</view>
@ -228,7 +228,7 @@
fit="widthFix"
style="position: absolute; padding-top: {{stateHeight + navHeight}}px;"
width="100vw"
src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/collection.png"
src="{{static_host}}/applet/doctor/static/images/collection.png"
/>
<van-button color="rgba(0, 0, 0, .1)" style="position: fixed;bottom: 50rpx;left: 50%;transform: translateX(-50%);width: 90vw;border: 1px solid #fff;border-radius: 50px;" block round bind:click="onClickHideOverlay">我知道了</van-button>
</van-overlay>

View File

@ -10,7 +10,8 @@ Page({
iden_auth_status: "0",
idcard_status: "0",
multi_point_status: "0",
avatar: "https://img.applets.igandanyiyuan.com/applet/doctor/static/images/default_photo.png",
static_host: api.getStaticHost(),
avatar: api.getStaticHost()+"/applet/doctor/static/images/default_photo.png",
balance_account: "0",
estimate_income: "0",
doctor_id: ""

View File

@ -16,6 +16,7 @@ Page({
balance_account: "",
amount_total_month: "",
withdrawal_amount_month: "",
static_host: api.getStaticHost(),
bill: [],
years: [],
seasons: [

View File

@ -23,7 +23,7 @@
<van-empty description="暂无账单" wx:if="{{ bill.length == 0 }}" />
</view>
<van-image bind:click="go" data-url="/Pages/agreement_page/index?agreement_id=13" style="position: fixed; right: 0;bottom: 262rpx;" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/account_rule.png" fit="heightFix" height="84rpx" aria-label="role" />
<van-image bind:click="go" data-url="/Pages/agreement_page/index?agreement_id=13" style="position: fixed; right: 0;bottom: 262rpx;" src="{{static_host}}/applet/doctor/static/images/yishi/account_rule.png" fit="heightFix" height="84rpx" aria-label="role" />
<t-picker
visible="{{dateVisible}}"

View File

@ -52,7 +52,7 @@ Page({
},
{
type: 'image',//医生二维码图片 3
url: 'https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/qrcode.png',
url: '',
css: {
left: '215px',
top: '458px',
@ -62,7 +62,7 @@ Page({
},
{
type: 'image',//医生头像图片 4
url: 'https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/default_photo.png',
url: '',
css: {
top: '40px',
left: '327px',

View File

@ -25,20 +25,7 @@
<!-- <view class="title">分享我的名片到</view> -->
</view>
<view class="imgbox">
<!-- <view class="imgbox_item">
<t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/wx.png" mode="heightFix" width="90rpx" height="90rpx" aria-label="qrcode" />
<text class="imgbox_item_txt">
微信好友
</text>
</view>
<view class="imgbox_item">
<t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/pyq.png" mode="heightFix" width="90rpx" height="90rpx" aria-label="qrcode" />
<text class="imgbox_item_txt">
朋友圈
</text>
</view> -->
<view class="imgbox_item" bindtap="onSave">
<!-- <t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/wx.png" mode="heightFix" width="90rpx" height="90rpx" aria-label="qrcode" /> -->
<t-icon color="#fff" name="download" size="24" data-name="download" class="t_icon" />
<text class="imgbox_item_txt">
保存到相册,分享到朋友圈

View File

@ -39,7 +39,8 @@ Page({
sub_disabled: false,
from: "",
now_filed_focus: 'save_durg_prescription_product_num',
page_meta_show: true
page_meta_show: true,
static_host: api.getStaticHost()
},
changeFocus(e){
let next_filed_focus = e.currentTarget.dataset.next_filed_focus;

View File

@ -104,7 +104,7 @@
width="300rpx"
height="300rpx"
fit="contain"
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/search_drugs.png"
src="{{static_host}}/applet/doctor/static/images/yishi/search_drugs.png"
/>
</view>
<view class="search_drug_list_noempty" wx:if="{{ !search_drug_list_empty }}">

View File

@ -18,7 +18,8 @@ Page({
confirmBtn: {
"openType": "contact",
"content": "确认",
}
},
static_host: api.getStaticHost()
},
onShow(){
this.getList();

View File

@ -5,33 +5,33 @@
<view class="item_top">
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 1}}">
<text style="margin-left: 10rpx;">在线问诊</text>
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/online.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/online.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 2}}">
<text style="margin-left: 10rpx;">快速问诊</text>
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 3}}">
<text style="margin-left: 10rpx;">公益问诊</text>
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/yizhen.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/yizhen.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 4}}">
<text style="margin-left: 10rpx;">问诊购药</text>
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/drug.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/drug.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_date">{{item.notice_send_time}}</view>
</view>
<view class="item_content">
{{item.notice_brief_title}}
<view class="hongdian" wx:if="{{item.read_status == 0}}">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/honhdian.png" fit="heightFix" height="20rpx" aria-label="qrcode" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/honhdian.png" fit="heightFix" height="20rpx" aria-label="qrcode" />
</view>
</view>
</view>
</view>
<van-empty description="暂无数据" wx:if="{{list.length == 0}}" />
<van-divider contentPosition="center" wx:if="{{list.length > 0 && current_page == last_page}}">到底了~</van-divider>
<van-image bind:click="putMessageReadNoticeAll" style="position: fixed; right: 0;bottom: 262rpx;" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/service_notice/readall.png" fit="heightFix" height="84rpx" aria-label="role" />
<van-image bind:click="putMessageReadNoticeAll" style="position: fixed; right: 0;bottom: 262rpx;" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/readall.png" fit="heightFix" height="84rpx" aria-label="role" />
<view style="height: 50rpx;"></view>
<t-dialog

View File

@ -14,6 +14,7 @@ Page({
total: 0,
per_page: 0,
last_page: 0,
static_host: api.getStaticHost()
},
go(e){
this.putMessageReadNotice(e);

View File

@ -4,18 +4,18 @@
<view class="item" bindtap="go" data-notice_id="{{item.notice_id}}" data-url="/Pages/yishi/notice_deatil/index?notice_id={{item.notice_id}}" wx:for="{{list}}">
<view class="item_top">
<view class="item_img">
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_content">{{item.notice_brief_title}}</view>
</view>
<view class="hongdian" wx:if="{{item.read_status == 0}}">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/honhdian.png" fit="heightFix" height="20rpx" aria-label="qrcode" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/honhdian.png" fit="heightFix" height="20rpx" aria-label="qrcode" />
</view>
</view>
</view>
<van-empty description="暂无数据" wx:if="{{list.length == 0}}" />
<van-divider contentPosition="center" wx:if="{{list.length > 0 && current_page == last_page}}">到底了~</van-divider>
<van-image bind:click="putMessageReadNoticeAll" style="position: fixed; right: 0;bottom: 262rpx;" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/service_notice/readall.png" fit="heightFix" height="84rpx" aria-label="role" />
<van-image bind:click="putMessageReadNoticeAll" style="position: fixed; right: 0;bottom: 262rpx;" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/readall.png" fit="heightFix" height="84rpx" aria-label="role" />
<view style="height: 50rpx;">
</view>

View File

@ -17,6 +17,7 @@ Page({
data_list_4: [],
data_list_5: [],
message_inquiry_type: 2,
static_host: api.getStaticHost()
},
onLoad() {
console.log("wenzhen onload");

View File

@ -4,20 +4,20 @@
<view class="top">
<view class="top_left" bindtap="go" data-url="/Pages/yishi/service_notice/index">
<t-badge dot offset="{{ [1, 1] }}" class="wrapper">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
服务通知
</view>
<view class="top_right" bindtap="go" data-url="/Pages/yishi/system_notice/index">
<t-badge count="8" offset="{{ [1, 1] }}" class="wrapper">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
系统公告
</view>
</view>
<view class="empty" wx:if="{{ !has_data }}" >
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
<view class="empty_note">您还未设置在线问诊价格</view>
</view>
<van-button color="#3CC7C0" custom-style="width: 92vw;margin: 0 auto;border-radius: 10rpx;" block wx:if="{{ !has_data }}">开通图文问诊</van-button>

View File

@ -10,6 +10,7 @@ Page({
title: '问诊消息', //导航栏 中间的标题
},
height: app.globalData.height,
static_host: api.getStaticHost(),
has_data: false,
data_list_1: [],
data_list_2: [],

View File

@ -6,17 +6,17 @@
<view class="top">
<view class="top_left" bindtap="go" data-name="service_notice_unreadnnum" data-url="/Pages/yishi/service_notice/index">
<t-badge dot="{{service_notice_unreadnnum > 0}}" offset="{{ [1, 1] }}" class="wrapper">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
服务通知
</view>
<view class="top_right" bindtap="go" data-name="system_notice_unreadnnum" data-url="/Pages/yishi/system_notice/index">
<t-badge offset="{{ [1, 1] }}" class="wrapper" wx:if="{{system_notice_unreadnnum == ''}}">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
<t-badge count="{{system_notice_unreadnnum}}" offset="{{ [1, 1] }}" class="wrapper" wx:else>
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
系统公告
</view>
@ -24,7 +24,7 @@
<view class="empty" wx:if="{{ has_data==false }}" >
<view wx:if="{{!data_list_5_loading}}" class="empty_box">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
<view class="empty_note">未收到任何消息</view>
</view>
<van-loading size="24px" wx:if="{{data_list_5_loading}}">加载中...</van-loading>

View File

@ -17,6 +17,7 @@ Page({
data_list_4: [],
data_list_5: [],
data_list_5_loading: false,
static_host: api.getStaticHost(),
conversationList: [],
message_inquiry_type: 99999,
now_message_inquiry_type: 5,

View File

@ -6,17 +6,17 @@
<view class="top">
<view class="top_left" bindtap="go" data-name="service_notice_unreadnnum" data-url="/Pages/yishi/service_notice/index">
<t-badge dot="{{service_notice_unreadnnum > 0}}" offset="{{ [1, 1] }}" class="wrapper">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
服务通知
</view>
<view class="top_right" bindtap="go" data-name="system_notice_unreadnnum" data-url="/Pages/yishi/system_notice/index">
<t-badge offset="{{ [1, 1] }}" class="wrapper" wx:if="{{system_notice_unreadnnum == ''}}">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
<t-badge count="{{system_notice_unreadnnum}}" offset="{{ [1, 1] }}" class="wrapper" wx:else>
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
</t-badge>
系统公告
</view>
@ -24,7 +24,7 @@
<view class="empty" wx:if="{{ has_data==false }}" >
<view wx:if="{{!data_list_5_loading}}">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
<view class="empty_note">未收到任何消息</view>
</view>
<van-loading size="24px" wx:if="{{data_list_5_loading}}">加载中...</van-loading>

View File

@ -18,6 +18,7 @@ Page({
btn_disabled: true,
sfz_show: false,
sub_visible: false,
static_host: api.getStaticHost()
},
onLoad(){

View File

@ -14,6 +14,7 @@
data-file_multiple="true"
bindUploadFile="doUploadFile"
bindDeleteFile="doDeleteFile"
static_host="{{static_host}}"
/>
<m-upload-cell
@ -30,6 +31,7 @@
data-file_multiple="true"
bindUploadFile="doUploadFile"
bindDeleteFile="doDeleteFile"
static_host="{{static_host}}"
/>
<van-cell-group border="{{ false }}">
@ -50,7 +52,7 @@
<van-button custom-style="height:130rpx;margin-top:20rpx;border-radius: 20rpx;border: 1px dashed #999;width:100%;font-size:30rpx;background-color: #fff;color: #3CC7C0;" icon="edit">点击签名</van-button>
</view>
<view style="margin-top:20rpx;border-radius: 20rpx;border: 1px dashed #999;" class="sign_img" wx:if="{{sign_image.length > 0}}">
<image mode="heightFix" style="transform: rotate(-0deg);width: 100%;" src="{{sign_image[0].url}}"></image>
<image bindtap="{{btn_disabled?'':'go'}}" data-url="/Pages/yishi/signcanvas/index" mode="heightFix" style="transform: rotate(-0deg);width: 100%;" src="{{sign_image[0].url}}"></image>
</view>
</view>
@ -69,6 +71,7 @@
data-file_multiple="true"
bindUploadFile="doUploadFile"
bindDeleteFile="doDeleteFile"
static_host="{{static_host}}"
/>
<view class="sign_box">
<view class="sign_note">提示平台会在1~3个工作日内审核您提交的资料审核结果会第一时间通知您。</view>
@ -89,10 +92,10 @@
<view class="zhiye_popup">
<view class="zhiye_popup_title">身份证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/sfz1.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/sfz1.png" />
</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/sfz2.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/sfz2.png" />
</view>
</view>
</van-popup>

View File

@ -99,7 +99,8 @@ Component({
sub_visible: false,
dialog_message: "在线开处方需先进行多点执业认证",
message_rounds: 0,
networkstatus: "wifi"
networkstatus: "wifi",
static_host: api.getStaticHost()
},
lifetimes: {

View File

@ -29,7 +29,7 @@
<image class="TUI-icon" bindtap="handleEmoji" src="../../../../static/assets/face-emoji.svg" />
</view>
<view wx:if="{{!sendMessageBtn}}" bindtap="handleExtensions" class="TUI-sendMessage-btn">
<image class="TUI-icon" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/chat/tianjia.png" />
<image class="TUI-icon" src="{{static_host}}/applet/doctor/static/images/chat/tianjia.png" />
</view>
<view wx:else class="TUI-sendMessage-btn TUI-sendMessage-btn-input" bindtap="sendTextMessage">
发送
@ -41,15 +41,15 @@
</view>
<view wx:if="{{displayFlag === 'extension'}}" class="TUI-Extensions">
<view class="TUI-Extension-slot MY-TUI-Extension-slot" bindtap="handleSendPicture">
<image mode="widthFix" class="TUI-Extension-icon MY-TUI-Extension-icon" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/chat/xiangji.png" />
<image mode="widthFix" class="TUI-Extension-icon MY-TUI-Extension-icon" src="{{static_host}}/applet/doctor/static/images/chat/xiangji.png" />
<view class="TUI-Extension-slot-name MY-TUI-Extension-slot-name">相机</view>
</view>
<view class="TUI-Extension-slot MY-TUI-Extension-slot" bindtap="handleSendImage">
<image mode="widthFix" class="TUI-Extension-icon MY-TUI-Extension-icon" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/chat/picture.png" />
<image mode="widthFix" class="TUI-Extension-icon MY-TUI-Extension-icon" src="{{static_host}}/applet/doctor/static/images/chat/picture.png" />
<view class="TUI-Extension-slot-name MY-TUI-Extension-slot-name">照片</view>
</view>
<view class="TUI-Extension-slot MY-TUI-Extension-slot" bindtap="showChangYongYu">
<image mode="widthFix" class="TUI-Extension-icon MY-TUI-Extension-icon" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/chat/wenzi.png" />
<image mode="widthFix" class="TUI-Extension-icon MY-TUI-Extension-icon" src="{{static_host}}/applet/doctor/static/images/chat/wenzi.png" />
<view class="TUI-Extension-slot-name MY-TUI-Extension-slot-name">常用语</view>
</view>
<!-- <view class="TUI-Extension-slot" bindtap="handleSendPicture">

View File

@ -1,12 +1,12 @@
import dayjs from '../../../../utils/dayjs';
import logger from '../../../../utils/logger';
import constant from '../../../../utils/constant';
import { getTimeAgoChat } from './../../../../../utils/util'
import { wechatTimeFormat } from './../../../../../utils/wechatTime'
import { API } from '../../../../../utils/network/api';
const { GDXZ_CUSTOM_MSEEAGE } = constant;
// eslint-disable-next-line no-undef
const app = getApp();
const api = new API()
Component({
/**
* 组件的属性列表
@ -92,7 +92,8 @@ Component({
autoToButtom: true,
cachTime: "",
list_first_loading: false,
message_rounds: 0
message_rounds: 0,
static_host: api.getStaticHost()
},
lifetimes: {

View File

@ -39,7 +39,7 @@
</view>
<TipMessage wx:if="{{item.type === 'TIMGroupTipElem'}}" message="{{item}}"/>
<view wx:if="{{item.type !== 'TIMGroupTipElem'}}" class="{{item.flow === 'out' ? 't-self-message':'t-recieve-message'}}" >
<image class="t-message-avatar" wx:if="{{item.flow === 'in' && !item.no_avatar }}" src="{{item.avatar || 'https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/default_photo.png'}}" data-value="{{item}}" bindtap="getMemberProfile" />
<image class="t-message-avatar" wx:if="{{item.flow === 'in' && !item.no_avatar }}" src="{{item.avatar || static_host+'/applet/doctor/static/images/default_photo.png'}}" data-value="{{item}}" bindtap="getMemberProfile" />
<!-- <view class="read-receipts" wx:if="{{conversation.type === 'C2C' && item.flow==='out' }}">
<view wx:if="{{item.isPeerRead}}" >已读</view>
<view wx:else>未读</view>
@ -63,7 +63,7 @@
<MergerMessage wx:if="{{item.type === 'TIMRelayElem'}}" message="{{item}}" isMine="{{item.flow === 'out'}}"/>
</view>
<image class="t-message-avatar" wx:if="{{item.flow === 'out' && !item.no_avatar }}" src="{{item.avatar || 'https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/default_photo.png'}}" data-value="{{item}}" bindtap="getMemberProfile"/>
<image class="t-message-avatar" wx:if="{{item.flow === 'out' && !item.no_avatar }}" src="{{item.avatar || static_host+'/applet/doctor/static/images/default_photo.png'}}" data-value="{{item}}" bindtap="getMemberProfile"/>
</view>
</view>
</view>

View File

@ -27,7 +27,8 @@ Component({
},
realname:"",
idcard:"",
avatar: "https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/default_photo.png",
static_host: api.getStaticHost(),
avatar: api.getStaticHost()+"/applet/doctor/static/images/default_photo.png",
is_avatar: false,
city_show: false,
keshi_show: false,

View File

@ -123,10 +123,10 @@
<view class="zhiye_popup">
<view class="zhiye_popup_title">医师执业证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zhiye1.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhiye1.png" />
</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zhiye2.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhiye2.png" />
</view>
</view>
</van-popup>
@ -142,10 +142,10 @@
<view class="zhiye_popup">
<view class="zhiye_popup_title">医师资格证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zige1.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zige1.png" />
</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zige2.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zige2.png" />
</view>
</view>
</van-popup>
@ -161,7 +161,7 @@
<view class="zhiye_popup">
<view class="zhiye_popup_title">职称证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zhicheng.png" />
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhicheng.png" />
</view>
</view>
</van-popup>
@ -310,6 +310,7 @@
wx:if="{{indentity}}"
disabled="{{(indentity && iden_auth_disabled)}}"
is_multiple="true"
static_host="{{static_host}}"
/>
<m-upload-cell
@ -331,6 +332,7 @@
wx:if="{{indentity}}"
disabled="{{(indentity && iden_auth_disabled)}}"
is_multiple="true"
static_host="{{static_host}}"
/>
<m-upload-cell
@ -352,6 +354,7 @@
wx:if="{{indentity}}"
disabled="{{(indentity && iden_auth_disabled)}}"
is_multiple="true"
static_host="{{static_host}}"
/>
<view class="sub_button" wx:if="{{indentity}}">

View File

@ -20,6 +20,10 @@ Component({
type: String,
value: '示例备注',
},
static_host: {
type: String,
value: 'static_host',
},
upload_cell_note_show:{
type: Boolean,
value: true,

View File

@ -11,7 +11,7 @@
</view>
<view class="upload-cell-input">
<van-uploader disabled="{{disabled}}" multiple="{{is_multiple}}" preview-full-image="{{true}}" file-list="{{ fileList }}" max-count="{{max_count}}" deletable="{{ deletable }}" bind:after-read="afterRead" bind:delete="delete" >
<van-image width="100" height="100" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/upload_button.png" />
<van-image width="100" height="100" src="{{static_host}}/applet/doctor/static/images/yishi/upload_button.png" />
</van-uploader>
</view>
<view class="error_box" wx:if="{{ has_error_content != '' }}" >

View File

@ -52,28 +52,37 @@ Component({
items: [ ],
dialog_visible: false,
dialog_content: "",
usertype: "",
usertype: 2,
index_info: "",
wenzhen_info: "",
my_info: "",
next_url: "/Pages/yishi/identity/index",
info_inter: 0
},
ready() {
const usertype = wx.getStorageSync('usertype')
if (usertype == 3) {
lifetimes: {
attached(){
this.setData({
usertype: usertype,
items: this.data.listAll.list1
})
}else{
this.setData({
usertype: usertype,
usertype: 2,
items: this.data.listAll.list2
})
}
},
ready() {
const usertype = wx.getStorageSync('usertype')
if (usertype == 3) {
this.setData({
usertype: 3,
items: this.data.listAll.list1
})
}else{
this.setData({
usertype: 2,
items: this.data.listAll.list2
})
}
},
},
methods: {
startInterval(){
let _this = this;

View File

@ -1,6 +1,6 @@
<van-tabbar active="{{ active }}" bind:change="onChange"
active-color="#3CC7C0" inactive-color="#999999" wx:if="{{usertype == 2}}" >
<van-tabbar active="{{ active }}" bind:change="onChange" z-index="9999"
active-color="#3CC7C0" inactive-color="#999999" wx:if="{{usertype != 3}}" >
<van-tabbar-item info="{{index_info}}" data-url="{{listAll.list2[0].pagePath}}" url="{{listAll.list2[0].pagePath}}">
<image
@ -57,7 +57,7 @@ active-color="#3CC7C0" inactive-color="#999999" wx:if="{{usertype == 2}}" >
</van-tabbar-item>
</van-tabbar>
<van-tabbar active="{{ active }}" bind:change="onChange"
<van-tabbar active="{{ active }}" bind:change="onChange" z-index="9999"
active-color="#74A2FA" inactive-color="#999999" wx:if="{{usertype == 3}}" >
<van-tabbar-item info="{{my_info}}" data-url="{{listAll.list1[0].pagePath}}" url="{{listAll.list1[0].pagePath}}">
<image

View File

@ -18,5 +18,5 @@
]
}
},
"libVersion": "2.31.0"
"libVersion": "2.31.1"
}