更换版本
This commit is contained in:
12
we7/pages/user/index/index.js
Normal file
12
we7/pages/user/index/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
var n;
|
||||
(n = getApp()),
|
||||
Page({
|
||||
data: { text: "微擎我的" },
|
||||
onLoad: function (o) {
|
||||
n.util.footer(this);
|
||||
},
|
||||
onReady: function () {},
|
||||
onShow: function () {},
|
||||
onHide: function () {},
|
||||
onUnload: function () {},
|
||||
});
|
7
we7/pages/user/index/index.wxml
Normal file
7
we7/pages/user/index/index.wxml
Normal file
@@ -0,0 +1,7 @@
|
||||
<view class="container">
|
||||
<view class="textContainer">
|
||||
<text class="textStyle">{{text}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<import src="/we7/pages/templates/footer.wxml"></import>
|
||||
<template is="footerWx" data="{{...tabBar}}"></template>
|
16
we7/pages/user/index/index.wxss
Normal file
16
we7/pages/user/index/index.wxss
Normal file
@@ -0,0 +1,16 @@
|
||||
.container {
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
justify-content: space-between;
|
||||
padding: 200rpx 0;
|
||||
}
|
||||
.container,
|
||||
.textStyle {
|
||||
align-items: center;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.textContainer {
|
||||
margin-top: 200px;
|
||||
}
|
Reference in New Issue
Block a user