浏览代码

【 修改直播样式】

release
GL 4 年前
父节点
当前提交
d40ccc3c22
共有 4 个文件被更改,包括 12 次插入8 次删除
  1. +6
    -4
      index/index.js
  2. +1
    -1
      pages/getphoneInfo/index.js
  3. +1
    -1
      pages/passCar/couponList/couponList.wxss
  4. +4
    -2
      pages2/live/livelist/index.js

+ 6
- 4
index/index.js 查看文件

@@ -291,10 +291,12 @@ Page({
},
onShow: function() {
this.ifShowSqare();
var temp = wx.getStorageSync("squareList").filter(item => item.tenantId == wx.getStorageSync("selectedMall"))[0].name
this.setData({
squareName: temp
})
if (wx.getStorageSync("squareList")) {
var temp = wx.getStorageSync("squareList").filter(item => item.tenantId == wx.getStorageSync("selectedMall"))[0].name
this.setData({
squareName: temp
})
}
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({


+ 1
- 1
pages/getphoneInfo/index.js 查看文件

@@ -182,7 +182,7 @@ Page({
})
.catch(err => {
wx.showToast({
title: "请授权手机号",
title: err.message,
icon: 'none',
duration: 2000,
mask: false


+ 1
- 1
pages/passCar/couponList/couponList.wxss 查看文件

@@ -201,7 +201,7 @@
.nav {
position: absolute;
bottom: -70%;
bottom: -130%;
left: 0;
right: 0;
margin: auto;


+ 4
- 2
pages2/live/livelist/index.js 查看文件

@@ -103,12 +103,14 @@ Page({
loading: false,
})
res.data.roomInfos.map((item,index)=>{
console.log(parseInt(item.startTime))
item.startTimeStr = format.formatTime(
item.startTime,
parseInt(item.startTime+"000"),
"MM-dd hh:mm"
);
item.endTimeStr = format.formatTime(
item.endTime,
parseInt(item.endTime+"000"),
"MM-dd hh:mm"
);
this.data.liveStatusList.map((item02,index02)=>{


正在加载...
取消
保存