Browse Source

update topic UI 微调

master
fanp 6 years ago
parent
commit
e95d79cbfd
  1. 7
      pages/topics/interactive/cell/index.wxss
  2. 3
      pages/user/myFavorite/index.js
  3. 7
      pages/user/myIdea/index.js
  4. 9
      pages/user/myTopics/index.js
  5. 5
      pages/user/myTopics/myParticipant/cell/index.wxss

7
pages/topics/interactive/cell/index.wxss

@ -10,21 +10,25 @@
.left{
display: flex;
flex-direction: column;
justify-content: space-between;
/* width: 70%; */
flex:1;
height: 80px;
}
.leftActive{
display: flex;
flex-direction: column;
width: 100%;
height: 80px;
}
.left-bottom{
display: flex;
flex: row;
justify-content: space-between;
padding: 5px 0;
}
.left-bottom-userInfo{
padding: 5px 0;
display: flex;
flex: row;
align-items: center;
@ -121,6 +125,7 @@ image{
.content {
width: 100%;
/* padding: 10px; */
line-height: 22px;
margin-right:0;
-webkit-transition: all 0.4s;

3
pages/user/myFavorite/index.js

@ -24,6 +24,9 @@ Page({
this.setData({
currentPage: 1
})
wx.pageScrollTo({
scrollTop: 0,
})
this.fetchMyFavoriteList()
},
fetchMyFavoriteList () {

7
pages/user/myIdea/index.js

@ -22,12 +22,17 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
onShow: function () {
this.setData({
currentPage: 1
})
wx.pageScrollTo({
scrollTop: 0,
})
this.fetchMyIdeaList()
},
fetchMyIdeaList(){
let page = this.data.currentPage
userModel.goldenList(page,res=>{

9
pages/user/myTopics/index.js

@ -27,6 +27,15 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
onShow: function () {
this.setData({
currentPage: 1
})
wx.pageScrollTo({
scrollTop: 0,
})
this.fetchMyTopicList()
},
/**

5
pages/user/myTopics/myParticipant/cell/index.wxss

@ -10,21 +10,24 @@
.left{
display: flex;
flex-direction: column;
justify-content: space-between;
/* width: 70%; */
flex:1;
height: 80px;
}
.leftActive{
display: flex;
flex-direction: column;
width: 100%;
height: 80px;
}
.left-bottom{
display: flex;
flex: row;
justify-content: space-between;
padding: 5px 0;
}
.left-bottom-userInfo{
padding: 5px 0;
display: flex;
flex: row;
align-items: center;

Loading…
Cancel
Save