[新增]企业主页,企业活动
This commit is contained in:
69
pages/home/activeSuccess/activeSuccess.js
Normal file
69
pages/home/activeSuccess/activeSuccess.js
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
console.log(options.cover)
|
||||
this.setData({
|
||||
cover:options.cover
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
6
pages/home/activeSuccess/activeSuccess.json
Normal file
6
pages/home/activeSuccess/activeSuccess.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"navigationBarTitleText": "报名成功",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#378fff"
|
||||
}
|
||||
6
pages/home/activeSuccess/activeSuccess.wxml
Normal file
6
pages/home/activeSuccess/activeSuccess.wxml
Normal file
@@ -0,0 +1,6 @@
|
||||
<view class="content">
|
||||
<image class="active_cover" src="{{cover?cover:'/static/images/company_bg4.png'}}" mode="aspectFill"></image>
|
||||
<view class="txt1">恭喜您,报名成功</view>
|
||||
<view class="txt2">您可以进入“个人中心-活动参与”查看详情</view>
|
||||
<view class="txt3" catchtap="beSure">查看活动</view>
|
||||
</view>
|
||||
53
pages/home/activeSuccess/activeSuccess.wxss
Normal file
53
pages/home/activeSuccess/activeSuccess.wxss
Normal file
@@ -0,0 +1,53 @@
|
||||
page{
|
||||
height: 100%;
|
||||
}
|
||||
.content {
|
||||
padding-top:160rpx;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
border-radius: 20rpx;
|
||||
text-align: center;
|
||||
padding-bottom: 30rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.content .active_cover {
|
||||
width: 150rpx;
|
||||
height: 150rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.content .txt1 {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
padding-top: 40rpx;
|
||||
}
|
||||
|
||||
.content .txt2 {
|
||||
padding-top: 20rpx;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.content .txt3 {
|
||||
font-size: 28rpx;
|
||||
color: #fff;
|
||||
background-color: #378fff;
|
||||
font-weight: 600;
|
||||
width: 70%;
|
||||
margin-left: 15%;
|
||||
box-sizing: border-box;
|
||||
padding: 20rpx 30rpx;
|
||||
border-radius: 50rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
|
||||
.content .txt4 {
|
||||
font-size: 26rpx;
|
||||
color: #999;
|
||||
padding: 20rpx 30rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user