Selaa lähdekoodia

[积分][修改]:[积分样式的修改]

tags/湖南版5.1.4
meo 6 vuotta sitten
vanhempi
commit
e1681fb72c
3 muutettua tiedostoa jossa 7 lisäystä ja 9 poistoa
  1. +1
    -1
      pages/integralmall/index.wxml
  2. +1
    -1
      pages/integralmall/index.wxss
  3. +5
    -7
      pages/main/index.js

+ 1
- 1
pages/integralmall/index.wxml Näytä tiedosto

@@ -8,7 +8,7 @@
<image src='{{nodata}}'></image> <image src='{{nodata}}'></image>
<view class='no-data-text'>暂无数据</view> <view class='no-data-text'>暂无数据</view>
</view> </view>
<view class='content'>
<view class='content' wx:if='{{lists.length>0}}'>
<view class='hottitle'> <view class='hottitle'>
<text>热门好礼</text> <text>热门好礼</text>
</view> </view>


+ 1
- 1
pages/integralmall/index.wxss Näytä tiedosto

@@ -281,7 +281,7 @@ image{
margin: 0 auto; margin: 0 auto;
border-radius:15rpx; border-radius:15rpx;
box-sizing: border-box; box-sizing: border-box;
margin-top: 320rpx;
margin-top: 20rpx;
} }
.no-data{ .no-data{
width: 690rpx; width: 690rpx;


+ 5
- 7
pages/main/index.js Näytä tiedosto

@@ -279,7 +279,7 @@ Page({
levelName: res.data.levelName, levelName: res.data.levelName,
upgradePercent: res.data.upgradePercent, upgradePercent: res.data.upgradePercent,
upgradeScore: res.data.upgradeScore, upgradeScore: res.data.upgradeScore,
credit: res.data.credit,
credit: res.data.credit ? res.data.credit:0,
score: res.data.score score: res.data.score
}) })
if (res.data.nickName) { if (res.data.nickName) {
@@ -441,16 +441,14 @@ Page({
token: token, token: token,
} }
}).then(res => { }).then(res => {
console.log(res.data+"eeee");
that.setData({ that.setData({
weappShareTitle: res.data.weappShareTitle,
weappShareCoverImg: res.data.weappShareCoverImg,
weappShareTitle: res.data.weappShareTitle ? res.data.weappShareTitle:null,
weappShareCoverImg: res.data.weappShareCoverImg ? res.data.weappShareCoverImg:null,
}); });
}) })
.catch(err => {
.catch(err => {


})
;
});
}, },
/** /**
* banner * banner


Ladataan…
Peruuta
Tallenna