Commit 2c925c6a authored by 潘永坪's avatar 潘永坪

模态框优化

parent 27b36b36
...@@ -30,24 +30,24 @@ ...@@ -30,24 +30,24 @@
<!-- 开放时间 --> <!-- 开放时间 -->
<view class="opentime"> <view class="opentime">
<view class="middle-title">开放时间</view> <view class="middle-title">开放时间</view>
<table border-color="#04a7f4" > <uni-table border>
<tr v-if="!times"> <uni-tr v-if="!times">
<td>每天</td> <uni-td>每天</uni-td>
</tr> </uni-tr>
<tr v-if="!times"> <uni-tr v-if="!times">
<td> <uni-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):""}}
</td> </uni-td>
</tr> </uni-tr>
<tr v-if="times"> <uni-tr v-if="times">
<td colspan="2">开放时间</td> <uni-td colspan="2">开放时间</uni-td>
</tr> </uni-tr>
<tr v-for="(item,index) of times" :key="index" v-if="times"> <uni-tr v-for="(item,index) of times" :key="index" v-if="times">
<td v-for="(items,b) of item" :key="b" v-if="items!=''"> <uni-td v-for="(items,b) of item" :key="b" v-if="items!=''">
{{items}} {{items}}
</td> </uni-td>
</tr> </uni-tr>
</table> </table>
</view> </view>
<!-- 优待政策 --> <!-- 优待政策 -->
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
"networkTimeout":{ "networkTimeout" : {
"request":30000//请求超时30 "request" : 30000 //请求超时30
}, },
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus" : {
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!-- 商户详情 --> <!-- 商户详情 -->
<merchantDetail :detailData='detailData' ref='merchantDetail'></merchantDetail> <merchantDetail :detailData='detailData' ref='merchantDetail'></merchantDetail>
<!-- 模态框 --> <!-- 模态框 -->
<u-modal v-model="showModal" @confirm="chooseConfirm" @cancel="chooseCancel" title="提示" content="该产品不支持多选" show-cancel-button="true"> <u-modal :show="showModal" @confirm="chooseConfirm" @cancel="chooseCancel" title="提示" content="该产品不支持多选" show-cancel-button="true">
</u-modal> </u-modal>
</scroll-view> </scroll-view>
</view> </view>
......
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