Commit 251180ff authored by 潘永坪's avatar 潘永坪

表格处理

parent f678c222
......@@ -26,25 +26,25 @@
<!-- 开放时间 -->
<view class="opentime">
<view class="middle-title">开放时间</view>
<u-table border-color="#04a7f4" >
<u-tr v-if="!times">
<u-td>每天</u-td>
</u-tr>
<u-tr v-if="!times">
<u-td>
<table border-color="#04a7f4" >
<tr v-if="!times">
<td>每天</td>
</tr>
<tr v-if="!times">
<td>
{{detailData.businessStart?detailData.businessStart.substr(0,5):""}}
~{{detailData.businessEnd?detailData.businessEnd.substr(0,5):""}}
</u-td>
</u-tr>
<u-tr v-if="times">
<u-td colspan="2">开放时间</u-td>
</u-tr>
<u-tr v-for="(item,index) of times" :key="index" v-if="times">
<u-td v-for="(items,b) of item" :key="b" v-if="items!=''">
</td>
</tr>
<tr v-if="times">
<td colspan="2">开放时间</td>
</tr>
<tr v-for="(item,index) of times" :key="index" v-if="times">
<td v-for="(items,b) of item" :key="b" v-if="items!=''">
{{items}}
</u-td>
</u-tr>
</u-table>
</td>
<tr>
<table>
</view>
<!-- 优待政策 -->
<view class="policy" v-if="policy">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment