Browse Source

update user

master
Meimei 6 years ago
parent
commit
cfced0a5fb
  1. 23
      pages/user/common/header/index.js
  2. 4
      pages/user/common/header/index.json
  3. 2
      pages/user/common/header/index.wxml
  4. 1
      pages/user/common/header/index.wxss
  5. 66
      pages/user/common/myActivity/index.js
  6. 3
      pages/user/common/myActivity/index.json
  7. 2
      pages/user/common/myActivity/index.wxml
  8. 1
      pages/user/common/myActivity/index.wxss
  9. 66
      pages/user/common/myFavorite/index.js
  10. 3
      pages/user/common/myFavorite/index.json
  11. 2
      pages/user/common/myFavorite/index.wxml
  12. 1
      pages/user/common/myFavorite/index.wxss
  13. 66
      pages/user/common/myIdea/index.js
  14. 3
      pages/user/common/myIdea/index.json
  15. 2
      pages/user/common/myIdea/index.wxml
  16. 1
      pages/user/common/myIdea/index.wxss
  17. 66
      pages/user/common/myMessage/index.js
  18. 3
      pages/user/common/myMessage/index.json
  19. 2
      pages/user/common/myMessage/index.wxml
  20. 1
      pages/user/common/myMessage/index.wxss
  21. 66
      pages/user/common/myTopics/index.js
  22. 3
      pages/user/common/myTopics/index.json
  23. 2
      pages/user/common/myTopics/index.wxml
  24. 1
      pages/user/common/myTopics/index.wxss
  25. 2
      pages/user/index.js
  26. 11
      pages/user/index.json
  27. 13
      pages/user/index.wxml
  28. 18
      pages/user/index.wxss

23
pages/user/common/header/index.js

@ -0,0 +1,23 @@
// pages/user/common/header/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

4
pages/user/common/header/index.json

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

2
pages/user/common/header/index.wxml

@ -0,0 +1,2 @@
<!--pages/user/common/header/index.wxml-->
<text>pages/user/common/header/index.wxml</text>

1
pages/user/common/header/index.wxss

@ -0,0 +1 @@
/* pages/user/common/header/index.wxss */

66
pages/user/common/myActivity/index.js

@ -0,0 +1,66 @@
// pages/user/common/myActivity/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/user/common/myActivity/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
pages/user/common/myActivity/index.wxml

@ -0,0 +1,2 @@
<!--pages/user/common/myActivity/index.wxml-->
<text>pages/user/common/myActivity/index.wxml</text>

1
pages/user/common/myActivity/index.wxss

@ -0,0 +1 @@
/* pages/user/common/myActivity/index.wxss */

66
pages/user/common/myFavorite/index.js

@ -0,0 +1,66 @@
// pages/user/common/myFavorite/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/user/common/myFavorite/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
pages/user/common/myFavorite/index.wxml

@ -0,0 +1,2 @@
<!--pages/user/common/myFavorite/index.wxml-->
<text>pages/user/common/myFavorite/index.wxml</text>

1
pages/user/common/myFavorite/index.wxss

@ -0,0 +1 @@
/* pages/user/common/myFavorite/index.wxss */

66
pages/user/common/myIdea/index.js

@ -0,0 +1,66 @@
// pages/user/common/myIdea/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/user/common/myIdea/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
pages/user/common/myIdea/index.wxml

@ -0,0 +1,2 @@
<!--pages/user/common/myIdea/index.wxml-->
<text>pages/user/common/myIdea/index.wxml</text>

1
pages/user/common/myIdea/index.wxss

@ -0,0 +1 @@
/* pages/user/common/myIdea/index.wxss */

66
pages/user/common/myMessage/index.js

@ -0,0 +1,66 @@
// pages/user/common/myMessage/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/user/common/myMessage/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
pages/user/common/myMessage/index.wxml

@ -0,0 +1,2 @@
<!--pages/user/common/myMessage/index.wxml-->
<text>pages/user/common/myMessage/index.wxml</text>

1
pages/user/common/myMessage/index.wxss

@ -0,0 +1 @@
/* pages/user/common/myMessage/index.wxss */

66
pages/user/common/myTopics/index.js

@ -0,0 +1,66 @@
// pages/user/common/myTopics/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/user/common/myTopics/index.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
pages/user/common/myTopics/index.wxml

@ -0,0 +1,2 @@
<!--pages/user/common/myTopics/index.wxml-->
<text>pages/user/common/myTopics/index.wxml</text>

1
pages/user/common/myTopics/index.wxss

@ -0,0 +1 @@
/* pages/user/common/myTopics/index.wxss */

2
pages/user/index.js

@ -5,7 +5,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
list: ['我的消息', '我的议题', '我的收藏', '我的金点子', '我的活动']
}, },
/** /**

11
pages/user/index.json

@ -1,3 +1,12 @@
{ {
"usingComponents": {} "usingComponents": {
"Header": "./common/header/index",
"MyMessage": "./common/myMessage/index",
"MyTopics": "./common/myTopics/index",
"MyFavorite": "./common/myFavorite/index",
"MyIdea": "./common/myIdea/index",
"MyActivity": "./common/myActivity/index",
"mp-cells":"/components/weui/cells/cells",
"mp-cell":"/components/weui/cell/cell"
}
} }

13
pages/user/index.wxml

@ -1,2 +1,13 @@
<!--pages/user/index.wxml--> <!--pages/user/index.wxml-->
<text>pages/user/index.wxml</text> <view class="content-wrapper">
<Header />
<mp-cells ext-class="my-cells">
<mp-cell link="true" hover="true" ext-class="my-cell" footer="说明文字">
<view class="cell-icon" Slot="icon">
<image style="width:15px;height:12px;" src="/images/user/msg.png"></image>
</view>
<view class="cell-title" Slot="title">我的消息</view>
<!-- <view class="cell-subTitle" Slot="footer">说明文字</view> -->
</mp-cell>
</mp-cells>
</view>

18
pages/user/index.wxss

@ -1 +1,17 @@
/* pages/user/index.wxss */ /* pages/user/index.wxss */
.my-cell{
display: flex;
flex-direction: row;
}
.cell-icon{
width: 15px;
height: 15px;
}
.cell-title{
color: #3B3B3B;
font-size: 14px;
}
.cell-subTitle{
color: #AAAAAA;
font-size: 12px;
}
Loading…
Cancel
Save