@@ -2,9 +2,9 @@ | |||||
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> --> | <!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> --> | ||||
<navbar back home text="关于我们" background='#FD832D' color="#fff"></navbar> | <navbar back home text="关于我们" background='#FD832D' color="#fff"></navbar> | ||||
<view style="height:{{navigationBarHeight}} "></view> | <view style="height:{{navigationBarHeight}} "></view> | ||||
<view class='codeBox'> | |||||
<view class='code' > | |||||
<image class='icons' src="{{img}}" mode='widthFix'></image> | |||||
<view class='codeBox'> | |||||
<view class='code'> | |||||
<image class='icons' src="{{img}}"></image> | |||||
</view> | </view> | ||||
<view class='info'> | <view class='info'> | ||||
<view class='title'>{{name}}</view> | <view class='title'>{{name}}</view> | ||||
@@ -12,7 +12,7 @@ | |||||
<view class='time'> | <view class='time'> | ||||
<text>营业时间 :</text> | <text>营业时间 :</text> | ||||
<view class='timesBox'> | <view class='timesBox'> | ||||
<view class='times' wx:for="{{businessHoursH}}" wx:key="index" > | |||||
<view class='times' wx:for="{{businessHoursH}}" wx:key="index"> | |||||
<text>{{item.time}}</text><text style='margin-left:10rpx;'>({{item.weekName}})</text> | <text>{{item.time}}</text><text style='margin-left:10rpx;'>({{item.weekName}})</text> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -23,9 +23,8 @@ | |||||
</view> | </view> | ||||
<view class='phone'> | <view class='phone'> | ||||
<text>热线电话 :</text> | <text>热线电话 :</text> | ||||
<image bindtap='phone' data-merchantLinkPhone='{{servicePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" /> | |||||
<text class='phoneNum' bindtap='phone' data-merchantLinkPhone='{{servicePhone}}'>{{servicePhone}}</text> | |||||
<image bindtap='phone' data-merchantLinkPhone='{{servicePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" /> | |||||
<text class='phoneNum' bindtap='phone' data-merchantLinkPhone='{{servicePhone}}'>{{servicePhone}}</text> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | |||||
</view> |
@@ -1,13 +1,16 @@ | |||||
/* pages/mallInfo.wxss */ | /* pages/mallInfo.wxss */ | ||||
@import "../../app.wxss"; | @import "../../app.wxss"; | ||||
page{ | |||||
background:linear-gradient(180deg,#FD832D 0%,#FE4A16 100%); | |||||
page { | |||||
background: linear-gradient(180deg, #FD832D 0%, #FE4A16 100%); | |||||
} | } | ||||
.codeBox{ | |||||
background:linear-gradient(180deg,#FD832D 0%,#FE4A16 100%); | |||||
.codeBox { | |||||
background: linear-gradient(180deg, #FD832D 0%, #FE4A16 100%); | |||||
height: 100%; | height: 100%; | ||||
overflow: auto; | overflow: auto; | ||||
} | } | ||||
.none { | .none { | ||||
font-size: 24rpx; | font-size: 24rpx; | ||||
text-align: center; | text-align: center; | ||||
@@ -52,53 +55,68 @@ page{ | |||||
background: #fff; | background: #fff; | ||||
margin: 20rpx auto; | margin: 20rpx auto; | ||||
border-radius: 10rpx; | border-radius: 10rpx; | ||||
padding-top: 20rpx; | |||||
padding-bottom: 20rpx; | |||||
} | |||||
.code image{ | |||||
display:block; | |||||
margin: auto ; | |||||
} | |||||
.info{ | |||||
padding-top: 18rpx; | |||||
padding-bottom: 18rpx; | |||||
} | |||||
.code image { | |||||
display: block; | |||||
width: 650rpx; | |||||
margin: auto; | |||||
} | |||||
.info { | |||||
width: 650rpx; | width: 650rpx; | ||||
background: #fff; | background: #fff; | ||||
margin: 20rpx auto; | margin: 20rpx auto; | ||||
border-radius: 10rpx; | border-radius: 10rpx; | ||||
padding: 20rpx; | padding: 20rpx; | ||||
} | } | ||||
.title{ | |||||
.title { | |||||
margin: 20rpx 0; | margin: 20rpx 0; | ||||
text-align: center; | text-align: center; | ||||
font-size: 50rpx; | font-size: 50rpx; | ||||
} | } | ||||
.phone,.park,.introduction{ | |||||
.phone, | |||||
.park, | |||||
.introduction { | |||||
font-size: 30rpx; | font-size: 30rpx; | ||||
line-height:40rpx; | |||||
line-height: 40rpx; | |||||
margin: 20rpx 0; | margin: 20rpx 0; | ||||
} | } | ||||
.time{ | |||||
.time { | |||||
margin: 20rpx 0; | margin: 20rpx 0; | ||||
font-size: 30rpx; | font-size: 30rpx; | ||||
display: flex; | display: flex; | ||||
} | } | ||||
.timesBox{ | |||||
.timesBox { | |||||
display: flex; | display: flex; | ||||
flex-direction: column; | flex-direction: column; | ||||
} | } | ||||
.times{ | |||||
.times { | |||||
margin-left: 10rpx; | margin-left: 10rpx; | ||||
} | } | ||||
.times text{ | |||||
.times text { | |||||
line-height: 40rpx; | line-height: 40rpx; | ||||
} | } | ||||
.park > text:nth-child(2) ,.phone > text:nth-child(2){ | |||||
.park>text:nth-child(2), | |||||
.phone>text:nth-child(2) { | |||||
margin-left: 10rpx; | margin-left: 10rpx; | ||||
} | } | ||||
.tel { | .tel { | ||||
margin: 0 10rpx; | margin: 0 10rpx; | ||||
width: 30rpx; | width: 30rpx; | ||||
height: 30rpx; | height: 30rpx; | ||||
} | } | ||||
.phoneNum{ | |||||
color:#FD832D; | |||||
.phoneNum { | |||||
color: #FD832D; | |||||
} | } |
@@ -112,8 +112,8 @@ Page({ | |||||
} | } | ||||
}).then(res => { | }).then(res => { | ||||
wx.hideLoading(); | wx.hideLoading(); | ||||
// console.log(res.data.orders[0].title,"ccc"); | |||||
if (res.data.orders[0].title == "停车券") { | |||||
console.log(res.data.orders[0], "data"); | |||||
if (res.data.orders[0].type == 5 || res.data.orders[0].type == 51) { | |||||
wx.showModal({ | wx.showModal({ | ||||
title: '领取成功', | title: '领取成功', | ||||
cancelText: '我知道了', | cancelText: '我知道了', | ||||