diff --git a/pages/status/index.js b/pages/status/index.js new file mode 100644 index 0000000000000000000000000000000000000000..77ebc288a91cc85819b0eff2b8638360c0c4430d --- /dev/null +++ b/pages/status/index.js @@ -0,0 +1,30 @@ +// pages/status/index.js +Page({ + data:{ + tabs: ["我的回应", "提到我的", "选项三"], + activeIndex: 0, + sliderOffset: 0, + sliderLeft: 0 + }, + onLoad:function(options){ + // 页面初始化 options为页面跳转所带来的参数 + }, + tabClick: function (e) { + this.setData({ + sliderOffset: e.currentTarget.offsetLeft, + activeIndex: e.currentTarget.id + }); + }, + onReady:function(){ + // 页面渲染完成 + }, + onShow:function(){ + // 页面显示 + }, + onHide:function(){ + // 页面隐藏 + }, + onUnload:function(){ + // 页面关闭 + } +}) \ No newline at end of file diff --git a/pages/status/index.json b/pages/status/index.json new file mode 100644 index 0000000000000000000000000000000000000000..9e26dfeeb6e641a33dae4961196235bdb965b21b --- /dev/null +++ b/pages/status/index.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/pages/status/index.wxml b/pages/status/index.wxml new file mode 100644 index 0000000000000000000000000000000000000000..eef3fb69cf8bde594d9b754237b4590293efef4d --- /dev/null +++ b/pages/status/index.wxml @@ -0,0 +1,55 @@ + + + + + + + + + + + + {{item}} + + + + + + + + + + + + diff --git a/pages/status/index.wxss b/pages/status/index.wxss new file mode 100644 index 0000000000000000000000000000000000000000..56c679339b7a6c8d846458a97b4dd625639decfc --- /dev/null +++ b/pages/status/index.wxss @@ -0,0 +1 @@ +/* pages/status/index.wxss */ \ No newline at end of file