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

表格处理

parent f678c222
...@@ -26,25 +26,25 @@ ...@@ -26,25 +26,25 @@
<!-- 开放时间 --> <!-- 开放时间 -->
<view class="opentime"> <view class="opentime">
<view class="middle-title">开放时间</view> <view class="middle-title">开放时间</view>
<u-table border-color="#04a7f4" > <table border-color="#04a7f4" >
<u-tr v-if="!times"> <tr v-if="!times">
<u-td>每天</u-td> <td>每天</td>
</u-tr> </tr>
<u-tr v-if="!times"> <tr v-if="!times">
<u-td> <td>
{{detailData.businessStart?detailData.businessStart.substr(0,5):""}} {{detailData.businessStart?detailData.businessStart.substr(0,5):""}}
~{{detailData.businessEnd?detailData.businessEnd.substr(0,5):""}} ~{{detailData.businessEnd?detailData.businessEnd.substr(0,5):""}}
</u-td> </td>
</u-tr> </tr>
<u-tr v-if="times"> <tr v-if="times">
<u-td colspan="2">开放时间</u-td> <td colspan="2">开放时间</td>
</u-tr> </tr>
<u-tr v-for="(item,index) of times" :key="index" v-if="times"> <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 v-for="(items,b) of item" :key="b" v-if="items!=''">
{{items}} {{items}}
</u-td> </td>
</u-tr> <tr>
</u-table> <table>
</view> </view>
<!-- 优待政策 --> <!-- 优待政策 -->
<view class="policy" v-if="policy"> <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