Selaa lähdekoodia

【 修改直播样式】

release
GL 4 vuotta sitten
vanhempi
commit
d40ccc3c22
4 muutettua tiedostoa jossa 12 lisäystä ja 8 poistoa
  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 Näytä tiedosto

@@ -291,10 +291,12 @@ Page({
}, },
onShow: function() { onShow: function() {
this.ifShowSqare(); 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' && if (typeof this.getTabBar === 'function' &&
this.getTabBar()) { this.getTabBar()) {
this.getTabBar().setData({ this.getTabBar().setData({


+ 1
- 1
pages/getphoneInfo/index.js Näytä tiedosto

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


+ 1
- 1
pages/passCar/couponList/couponList.wxss Näytä tiedosto

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


+ 4
- 2
pages2/live/livelist/index.js Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna