个人案例
卓正医疗医生端
wepy编写的客户端
卓正医疗医生端扫码体验
卓正医疗丨约门诊问医生健康科普
wepy迁移uni实现客户端
卓正医疗扫码体验
用的是chrome
增加小程序的request域名,没有响应。数量也没超限制,是挂了吗?[图片][图片] 增加小程序的request域名,没有响应。数量也没超限制,是挂了吗?
03-25这个去不掉的,只是表是不是微信
非微信官方网页不能访问?已备案帮忙解决下[图片][图片][图片]
03-25试了一下开发工具,手机上体验版都没问题诶
主包可以引用分包的js吗?如题,实际测试:主包页面引用分包js并不会报错,在没有写 preloadRule的情况下。 但是这种情况没有在微信开发者文档里找到答案,希望官方能回复一下,就怕现在可以,后面不行了
03-12是的,神奇的是文本没盖上去,点是点击交互是穿透的。2025年了这不会还是原生渲染的问题吧。请求fix,我们的应用也是提单前弹窗确认,现在卡在这了,都是更新了新版的Iphone反馈的
iOS微信版本8.0.55,基础库3.7.3 textarea挡住弹框(层级问题)[图片][图片][图片] 如图,textarea上的自己写的弹框,按钮不能点击,且还能聚焦到textarea上
01-02小程序基础库 3.7.4 更新 安卓上页面跳转传参使用了#号,发现被吃掉了。 目前是页面navigateTo的路径带了#。如:pages/index?url=www.qq.com/#/test。目标页面onload获取的url参数是www.qq.com。后面的/#/test被吃了
鸿蒙App跳转微信小程序url里参数截断/丢失问题https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Launching_a_Mini_Program/OHOS_Development_example.html 如上述链接描述: launchMiniProgramReq.path = path; //拉起小程序页面的可带参路径,不填默认拉起小程序首页,对于小游戏,可以只传入 query 部分,来实现传参效果,如:传入 "?foo=bar"。 当参数选择:launchMiniProgramReq.path='subpackage/member/teamVip/payment/index?name=fish&age=18&score=77' 小程序被拉起后,path被截取了,只能收到name=fish,而age=18 score=77 这些参数全部丢失了。
01-01后面怎么处理了
android 偶现部分元素不渲染,如何定位?问题视频:https://dstatic.distinctclinic.com/normal%20video.mp4 微信号:lin_xiao11(微信日志已上传) 布局如下代码,再不分安卓设备上底部class:bottomButton的按钮不渲染,重新进入就渲染了。不知道是那里渲染有问题,是什么style冲突了吗? <template> <block> <view> <!--医生基本信息--> <view class="doctorInfoBlock"> <image :src="imagesCfg.doctor_detail_top" class="topBackground" /> <view class="doctorCard weui-flex-col" style="margin-top: 70px"> <view class="baseInfo weui-flex"> <image :src=" baseInfo.doctor.imageUrl ? baseInfo.doctor.imageUrl : imagesCfg.distinct_doctor_common " class="doctorImg" /> <view class="weui-flex-col rightView"> <text class="doctorName">{{ baseInfo.doctor.name }}</text> </view> </view> <view class="weui-flex briefIntroduction subScription"> <text style="margin-left: 20rpx"> 我为您的本次就诊提供了免费随访服务,如您希望与我沟通您的健康情况,可向我发起随访咨询 </text> </view> </view> </view> <!--医生提醒信息--> <view v-if=" baseInfo.doctorReminder && baseInfo.doctorReminder.content.length > 0 " class="doctorReminderBlock" > <view class="weui-flex reminderTopContainer"> <view class="weui-flex weui-flex-center"> <image :src="imagesCfg.icon_tips" class="icon-tips" /> <text class="zz-text__first_title">医生提醒</text> </view> <text class="time">{{ baseInfo.doctorReminder.datetime }}</text> </view> <text class="reminderTips">{{ baseInfo.doctorReminder.content }}</text> </view> <!--就诊信息--> <view class="blockInfoBox"> <view class="itemTitle zz-text__first_title"> <view class="vline" /> 就诊信息 </view> <view class="itemInfo"> <text class="zz-secondary__description">就诊时间</text> <text class="zz-main__text paddingItem orangeText"> {{ baseInfo.appointment.appointmentDate }} </text> </view> <view class="itemInfo" style="padding-bottom: 30rpx"> <text class="zz-secondary__description">门诊诊所</text> <text class="zz-main__text paddingItem"> {{ baseInfo.appointment.storeName }} </text> </view> <view class="seperateLine" /> </view> <!--随访信息--> <view class="blockInfoBox"> <view class="itemTitle zz-text__first_title"> <view class="vline" /> 随访信息 </view> <view class="itemInfo"> <text class="zz-secondary__description" style="min-width: 104rpx; text-align: right" > 随访人 </text> <text class="zz-main__text paddingItem"> {{ baseInfo.patient.name }} </text> </view> <view class="itemInfo"> <text class="zz-secondary__description" style="min-width: 104rpx; text-align: right" > 档案号 </text> <text class="zz-main__text paddingItem"> {{ baseInfo.patient.patientNo }} </text> </view> <view class="itemInfo" style="padding-bottom: 30rpx"> <text class="zz-secondary__description">随访时间</text> <text class="zz-main__text paddingItem"> 剩余{{ consultTools.timeDifference( baseInfo.followUp.remainingTimestamp || 0, ) }} </text> </view> <view class="seperateLine" :style="{ height: followUpStatus === 'pending_get' ? '10px' : '0rpx', }" /> </view> <!--转发--> <view v-if="followUpStatus === 'pending_get'" class="blockInfoBox"> <view class="weui-flex transferBlock weui-flex-between"> <view class="weui-flex" style="align-items: center"> <image class="transferImg" :src="imagesCfg.icon_transfer" /> <text>可转发页面链接给家人,由家人领取并发起随访咨询</text> </view> <button class="transferButton" open-type="share">转发</button> </view> </view> <!-- 介绍文章 --> <image :src="imagesCfg.follow_up_mini_banner" class="bottomBannerImg" @tap="lookDetailAction" /> <!--底部按钮--> <view class="bottomStatusView"> <view class="statusTips" :style="{ backgroundColor: tipColor.background, color: tipColor.color, }" v-if="showTip" > {{ statusTipsText }} </view> <view class="bottomButton" :style="{ 'padding-bottom': isIpx ? '45rpx' : '15rpx' }" @tap.stop="followUpHandler" > <view class="zz-fixed-bottom-button_full" style="width: auto" :class="{ disabledButton: btnDisabled, }" > {{ buttonText }} </view> </view> </view> </view> <birthday-verify-popup :isShowPop.sync="isShowPop" :showDate.sync="showDate" :selectDate.sync="selectDate" :patient.sync="baseInfo.patient" @cancel="cancelVerifyPop" @confirmClick="confirmClick" /> </block> </template> <script module="consultTools" lang="wxs" src="@/wxs/consultTools.wxs"></script> <script module="followupTools" lang="wxs" src="@/wxs/followupTools.wxs" ></script> <script> import config from '@/config'; import imagesConfig from '@/config/ImagesConfig.js'; import common from '@/vendor/common'; import moment from 'moment'; export default { data() { return { opt: {}, imagesCfg: { doctor_detail_top: imagesConfig.doctor_detail_top, icon_tips: imagesConfig.icon_tips, icon_transfer: imagesConfig.icon_transfer, follow_up_mini_banner: imagesConfig.follow_up_mini_banner, distinct_doctor_common: imagesConfig.distinct_doctor_common, }, isIpx: false, followUpStatus: 'pending_get', baseInfo: {}, // 随访相关信息 // 生日校验弹框 isShowPop: false, showDate: '', selectDate: '', validateBirthday: null, aboutUrl: '', doctorInitiativeFlag: false, receivedDatetime: null, relationshipPopup: { visible: false, value: '', }, }; }, computed: { locale() { return this.$i18n.locale; }, relationshipList() { const list = []; return list; }, showTip() { return this.doctorInitiativeFlag; }, tipColor() { let background = '#FFDDDA'; let color = '#BC4B4A'; return { background, color, }; }, btnDisabled() { return true; }, buttonText() { return '立即领取'; }, statusTipsText() { return '请领取随访后,查看医生回复'; }, }, async onLoad(options) { this.opt = options; if (this.locale != 'zh-CN') { uni.showModal({ title: 'tips', content: 'This feature is only available in the Chinese version', showCancel: false, confirmText: 'Switch', confirmColor: '#006d82', success: (res) => { if (res.confirm) { // uni.navigateTo({ url: '/otherBusiness/settingLanguage' }); common.switchLanguage({ lang: 'zh-CN' }); } }, }); } this.isIpx = config.isIpx; // 初始化弹窗日期 this.showDate = moment().format( this.$t('consultation.get_follow_up_code.date_format'), ); this.selectDate = moment().format('YYYY-MM-DD'); }, onShow() { this.getFollowUpInfoByIdOrQrcode(); }, onShareAppMessage() { return { title: this.baseInfo.doctor.name + ' 诊后随访', success: (res) => { console.log('转发成功', res); }, fail: (res) => { console.log('转发失败', res); }, }; }, methods: { getFollowUpLandingPageStatus(status, validation) { return 'pending_get'; }, // 根据followUpId来获取随访信息 async getFollowUpInfoByIdOrQrcode() { // 通过随访id获取信息 this.baseInfo = { doctor: { name: 11 }, followUp: {}, patient: {}, appointment: {}, doctorReminder: {}, }; this.baseInfo.appointment.appointmentDate = moment( this.baseInfo.appointment?.appointmentTimestamp, ) .utc() .add(8, 'h') .format('MM月DD日 HH:mm'); this.followUpStatus = this.getFollowUpLandingPageStatus( this.baseInfo?.followUp?.status, this.baseInfo?.validation, ); this.doctorInitiativeFlag = true; this.receivedDatetime = ''; }, onCancelRelationship() { this.relationshipPopup.visible = false; }, // 领取随访 async receiveFollowUpService() {}, handleErrStatus(msg) { uni.showToast({ title: msg, icon: 'none', }); }, // 根据随访状态处理业务类型 followUpHandler() {}, cancelVerifyPop() { this.isShowPop = false; }, confirmClick(birthday) {}, lookDetailAction() { uni.navigateTo({ url: '/pages/webView?type=article&link=' + encodeURIComponent(this.aboutUrl), }); }, }, }; </script> <style lang="less"> page { background-color: #fff; } .subScription { font-size: 24rpx; color: #849ca0; } .seperateLine { height: 10px; background-color: #f5f7f7; } .blockInfoBox { display: flex; flex-direction: column; background-color: #fff; .itemTitle { display: flex; align-items: center; font-size: 36rpx; color: #0a434d; padding: 30rpx; .vline { width: 6rpx; height: 30rpx; border-radius: 4rpx; background-color: #006f83; margin-right: 20rpx; } } .itemInfo { padding: 0rpx 0rpx 20rpx 60rpx; display: flex; align-items: center; .paddingItem { margin-left: 40rpx; } .orangeText { font-size: 30rpx; color: #ffaf27; } } .itemAlignRight { justify-content: space-between; padding-right: 30rpx; } } .transferBlock { display: flex; flex-direction: row; background-color: #fff; padding: 30rpx; font-size: 22rpx; color: #0a434d; .transferImg { width: 40rpx; height: 40rpx; margin-right: 10rpx; } .transferButton { background-color: #006f83; border-radius: 8rpx; color: #fff; font-size: 24rpx; margin-right: 0rpx; } } .doctorInfoBlock { // background: #fff; .topBackground { position: absolute; width: 100%; top: 0; left: 0; right: 0; height: 340rpx; z-index: -1; } .doctorCard { background: #fff; margin: 174rpx 30rpx 30rpx 30rpx; border-radius: 30rpx 30rpx 8rpx 8rpx; border: 1px solid rgba(0, 111, 131, 0.1); box-shadow: 0 6rpx 26rpx rgba(53, 109, 119, 0.1); .baseInfo { .doctorImg { border-radius: 100%; width: 160rpx; height: 160rpx; margin-top: -86rpx; margin-left: 64rpx; } .rightView { padding: 24rpx 38rpx 20rpx 22rpx; flex: 1; .doctorName { font-size: 36rpx; color: #0a434d; } } } .briefIntroduction { padding: 20rpx 30rpx 30rpx 30rpx; } } } .doctorReminderBlock { background: #fff; margin: 30rpx; padding: 30rpx; border-radius: 8rpx; border: 1px solid rgba(0, 111, 131, 0.1); box-shadow: 0 6rpx 26rpx rgba(53, 109, 119, 0.1); .reminderTopContainer { justify-content: space-between; align-items: center; padding-bottom: 20rpx; } .icon-tips { width: 26rpx; height: 26rpx; margin-right: 20rpx; } .time { font-size: 22rpx; color: #aab5b6; } .reminderTips { font-size: 30rpx; color: #849ca0; } } .bottomStatusView { background: #fff; position: fixed; bottom: 0; left: 0; right: 0; } .bottomButton { padding: 15rpx 0rpx; align-items: center; } .disabledButton { background-color: #d5d5d5; border-color: transparent; } .statusTips { display: flex; align-items: flex-start; padding: 15rpx 30rpx; background-color: #ffddda; // #fff7e9; font-size: 22rpx; color: #bc4b4a; // #ffaf27; } .bottomBannerImg { width: 100%; height: 172rpx; margin-bottom: 300rpx; } .popup-block { .select-item { position: relative; padding: 30rpx 30rpx 30rpx 60rpx; } .cancel-btn { flex: 1; align-items: center; justify-content: center; border: 1px solid #006f83; border-radius: 8rpx; height: 80rpx; color: #006f83; font-size: 30rpx; text-align: center; line-height: 80rpx; } } .zz-fixed-bottom-button_full { width: 100%; margin-left: 30rpx; margin-right: 30rpx; display: flex; align-items: center; justify-content: center; border: 1px solid #006f83; border-radius: 8rpx; height: 80rpx; color: #fff; background-color: #006f83; font-size: 30rpx; } </style> 设备信息 [图片]
2024-12-04半屏弹窗,跳转外部的提示一定会有的
微信小程序跳转到另一个小程序时的提示弹窗有办法取消吗?[图片]
2024-10-31可以看右侧详情,上传的包大小是多少。uniapp本身框架就有几百k。插件也是算主包的
uniapp 写的微信小程序已经分包了,但是由于是 easycom true 模式主包太大无法上传?uniapp 写的微信小程序,widgets 自己写的组件 uview 是第三方插件 用 easycom 引入,已经分包了,但是由于是 easycom true 模式,导致主包太大无法上传,是否有什么解决方案[图片]
2024-10-30iphone 15和15pro。安卓机也会
同屏幕大小、同基础库、同小程序、同微信、系统字体大小设置,但是界面呈现整体偏小同屏幕大小、同基础库、同小程序、同版本微信、同样系统和微信字体大小设置,但是界面呈现整体偏小。这是啥原因呢。 大众点评的小程序也是这样,同样屏幕大小,分辨率的情况下,有什么设置会影响渲染大小? iphone15 ios17.&17.6(升级了也一样) 字体正常 [图片][图片][图片] [图片][图片] 同样字号但是占位可以看出大小不一致(占宽度73.516) iphone15 pro ios 18.0.1 字体偏小 [图片][图片][图片] [图片] [图片] 同样字号但是占位可以看出大小不一致(占宽度69.094)
2024-10-17可以看日志的,你在请求那打日志。我之前看过是请求被中断的日志,小程序关掉之后请求会被中断掉,不继续发起
小程序关闭的时候是否可以调用接口?需求是小程序退出的时候需要去请求一个解绑接口,发现在onunload和onhide都无法请求,却可以请求清除缓存等wx的api 不知道各位大神有没有方案
2024-03-01