Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
进入页面
Browse files Browse the repository at this point in the history
  • Loading branch information
alexju committed Aug 22, 2020
1 parent 990175b commit 2c97657
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
Binary file added img/school-life/bg.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion pages/school-life-2020/school-life-2020.wxml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!--pages/school-life-2020/school-life-2020.wxml-->
<view>
<button open-type="getUserInfo" bindgetuserinfo="tapGetUserInfo">立即认证</button>
<image class="bg" src="../../img/school-life/bg.jpeg"></image>
<view class="btn-view">
<view class="title">点滴校园2020</view>
<button class="btn" open-type="getUserInfo" bindgetuserinfo="tapGetUserInfo">点击进入</button>
</view>
</view>
27 changes: 26 additions & 1 deletion pages/school-life-2020/school-life-2020.wxss
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
/* pages/school-life-2020/school-life-2020.wxss */
/* pages/school-life-2020/school-life-2020.wxss */
.bg {
position: absolute;
z-index: 0;
width: 100%;
height: 100%;
}

.btn-view {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
width: 100%;
position: absolute;
z-index: 1;
}

.title {
margin-top: 80rpx;
font-size: 30px;
}

.btn {
margin-top: 500rpx;
}

0 comments on commit 2c97657

Please sign in to comment.