浏览代码

[关于我们][修改][停车字段]

tags/C.10.02
hurui 5 年前
父节点
当前提交
549a25939c
共有 4 个文件被更改,包括 5 次插入4 次删除
  1. +1
    -0
      index/user.wxss
  2. +2
    -2
      pages/mallInfo/mallInfo.js
  3. +1
    -1
      pages/mallInfo/mallInfo.json
  4. +1
    -1
      pages/mallInfo/mallInfo.wxml

+ 1
- 0
index/user.wxss 查看文件

@@ -411,6 +411,7 @@ page{
border-radius: 12rpx;
background: #fff;
position: absolute;
top: 40rpx;
right: 20rpx;
display: flex;
padding: 10rpx 20rpx;


+ 2
- 2
pages/mallInfo/mallInfo.js 查看文件

@@ -37,7 +37,7 @@ Page({
console.log(res)
let businessHours = JSON.parse(res.data.businessHours)
businessHours.map((item,index)=>{
item.weekName = [that.data.dateArr.filter(e => e.value == item.week[0])[0].name, that.data.dateArr.filter(e => e.value == item.week[1])[0].name],
item.weekName = [that.data.dateArr.filter(e => e.value == item.week[0])[0].name ,that.data.dateArr.filter(e => e.value == item.week[1])[0].name],
item.time = [util.convertUTCTimeToLocalTime(item.time[0]), util.convertUTCTimeToLocalTime(item.time[1])]
console.log(item.time)
})
@@ -47,7 +47,7 @@ Page({
servicePhone: res.data.servicePhone,
img: res.data.img,
introduction: res.data.introduction,
parkingSpace: res.data.parkingSpace,
park_place_number: res.data.park_place_number,
businessHoursH: businessHours,
})
})


+ 1
- 1
pages/mallInfo/mallInfo.json 查看文件

@@ -1,5 +1,5 @@
{
"navigationBarTitleText": "我的特权",
"navigationBarTitleText": "关于我们",
"navigationBarBackgroundColor": "#FD832D",
"navigationBarTextStyle": "white",
"usingComponents": {


+ 1
- 1
pages/mallInfo/mallInfo.wxml 查看文件

@@ -18,7 +18,7 @@
</view>
<view class='park'>
<text>停车位 :</text>
<text>{{parkingSpace}}</text>
<text>{{park_place_number}}</text>
</view>
<view class='phone'>
<text>热线电话 :</text>


正在加载...
取消
保存