From 626806a1bf0f62b10c25c91b361c9d27a0854fd0 Mon Sep 17 00:00:00 2001 From: kola-web Date: Sat, 9 May 2026 11:36:46 +0800 Subject: [PATCH] first commit --- README.md | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..331427c --- /dev/null +++ b/README.md @@ -0,0 +1,90 @@ +## global color + + + +svn://39.106.86.127:28386/projects/zd/proj_src/shop/frontend/web/zd + +1. 视频根据列表滚动自动播放 +2. 患者来源渠道以及渠道值需要记录 +3. iframe 嵌套第三方网页,小程序 webview 试验 +4. 上传完诊断证明之后才记录额度 +5. 我的故事编辑姓名和手机号直接读出来就行 + +```json +{ + "ignore": [ + { + "value": "images/**/*.png", + "type": "glob" + } + ], + "include": [ + { + "value": "images/tabbar/*.png", + "type": "glob" + } + ] +} +``` + +(/images/)(\S*(?=["|'])) +{{imageUrl}}$2?t={{Timestamp}} + +首页banner对应变量 +MINIDOCTOR 微医弹窗 + +1. 互动消息列表 时间展示规则 + 1. 当天展示 时分 + 2. 超过一天 年月日 + +```js +wx.showModal({ + title: '', + confirmColor: '#cf5375', +}) +// 医生端 confirmColor: '#62bed0', +``` + +1)提供3中的3个路径链接; +a.跳转到患者端小程序的路径; +/pages/index/index?es=201501 +b.带商保参数的ADL引导页路径; +/pages/adl/index?m_d=1&es=201502 +c.微医webview页面路径; +/pages/webview/index?es=201503 +d.就诊地图 +/pages/doctor/index?es=201504 +e.加油包第四期特殊渠道 +/pages/webview/index?es=201505 + +过滤微医路径的banner标题 +BANNER-MINIDOVTOR + +### 下载文件到本地 + +```js +const handleDownload = () => { + const url = + 'https://circlehbsaas.oss-cn-beijing.aliyuncs.com/doc/20250506353_%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%9D%90%E6%96%99.xlsx' + wx.showLoading({ + title: '加载中', + }) + wx.downloadFile({ + url, + success(res) { + wx.shareFileMessage({ + fileName: '测试.xlsx', + filePath: res.tempFilePath, + success() { + wx.hideLoading() + }, + }) + }, + }) +} +``` + +# adl 结果页底部闪烁按钮的出现条件有三种可能 +1. 之前给 阿里那边跳转到 adl首页的链接,若是里面带有参数 m_d=2 则到达adl结果页后展示按钮 +2. 绑定医生后首次做完adl ---- 判断患者身份,只有25年和26年加油包入组成功的 才有这个按钮 +3.