You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
1.6 KiB
82 lines
1.6 KiB
2 weeks ago
|
## global color
|
||
|
|
||
|
<!--图片文件夹svn地址-->
|
||
|
|
||
|
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
|
||
|
|
||
|
过滤微医路径的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()
|
||
|
},
|
||
|
})
|
||
|
},
|
||
|
})
|
||
|
}
|
||
|
```
|