Files
quinn-wx/pages/myself/notify/index.wxml
2022-12-13 16:53:09 +08:00

12 lines
484 B
Plaintext

<wxs module="_"> module.exports.contains = function(arr, target) { return arr.indexOf(target) > -1; } </wxs>
<t-collapse value="{{activeValues}}" bind:change="handleChange">
<t-collapse-panel
header="今天任务到期了"
header-right-content="{{_.contains(activeValues, 0) ? '收起' : '展开'}}"
value="{{0}}"
expandIcon
>
这个凑数的,到时候改成已读未读的消息
</t-collapse-panel>
</t-collapse>