瀏覽代碼

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

tags/湖南版5.1.4
meo 6 年之前
父節點
當前提交
e1681fb72c
共有 3 個檔案被更改,包括 7 行新增9 行删除
  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 查看文件

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


+ 1
- 1
pages/integralmall/index.wxss 查看文件

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


+ 5
- 7
pages/main/index.js 查看文件

@@ -279,7 +279,7 @@ Page({
levelName: res.data.levelName,
upgradePercent: res.data.upgradePercent,
upgradeScore: res.data.upgradeScore,
credit: res.data.credit,
credit: res.data.credit ? res.data.credit:0,
score: res.data.score
})
if (res.data.nickName) {
@@ -441,16 +441,14 @@ Page({
token: token,
}
}).then(res => {
console.log(res.data+"eeee");
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


Loading…
取消
儲存