<view>今天是{{y}},{{week}}。</view>
<view class="">今日课程</view>
<view wx:if="{{week === 星期一}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Monday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
<view wx:elif="{{week===星期二}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Tuesday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
<view wx:elif="{{week===星期三}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Wednesday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
<view wx:elif="{{week===星期四}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Thursday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
<view wx:elif="{{week===星期五}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Friday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
<view wx:elif="{{week===星期六}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Saturday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
<view wx:else="{{week===星期日}}">
<view wx:for="{{list}}" wx:key="item">
{{item.class}}
<view wx:for="{{item.Sunday}}" wx:key="item">
<text data-text="{{item}}">{{item}}\n</text>
</view>
</view>
</view>
wx:if="{{week === '星期一'}}"
wx:else
你的 星期一 应该改为 '星期一' 下面一样