@@ -8,7 +8,7 @@ page{ | |||||
font-size:40rpx; | font-size:40rpx; | ||||
font-family:PingFang-SC-Bold; | font-family:PingFang-SC-Bold; | ||||
font-weight:bold; | font-weight:bold; | ||||
color:rgba(51,51,51,1); | |||||
color:#FD782D; | |||||
line-height:50rpx; | line-height:50rpx; | ||||
margin: 70rpx auto; | margin: 70rpx auto; | ||||
} | } | ||||
@@ -23,7 +23,7 @@ page{ | |||||
} | } | ||||
.c-left{ | .c-left{ | ||||
width: 160rpx; | width: 160rpx; | ||||
padding-left: 20rpx; | |||||
padding-left: 40rpx; | |||||
height: auto; | height: auto; | ||||
float: left; | float: left; | ||||
box-sizing: border-box; | box-sizing: border-box; | ||||
@@ -36,6 +36,7 @@ page{ | |||||
width: 510rpx; | width: 510rpx; | ||||
float: left; | float: left; | ||||
line-height: 120rpx; | line-height: 120rpx; | ||||
color: #3C3C3C; | |||||
} | } | ||||
.detail-text{ | .detail-text{ | ||||
font-size:30rpx; | font-size:30rpx; | ||||
@@ -49,23 +50,23 @@ page{ | |||||
padding-left: 30rpx; | padding-left: 30rpx; | ||||
line-height: 40rpx; | line-height: 40rpx; | ||||
margin-top: 10rpx; | margin-top: 10rpx; | ||||
color:rgba(85,85,85,1); | |||||
color:#A6A6A6; | |||||
} | } | ||||
.button01{ | .button01{ | ||||
width:710rpx; | |||||
width:456rpx; | |||||
height:94rpx; | height:94rpx; | ||||
line-height: 94rpx; | line-height: 94rpx; | ||||
background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); | background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); | ||||
border-radius:10rpx; | |||||
border-radius:32rpx; | |||||
color: #fff; | color: #fff; | ||||
margin-top: 120rpx; | |||||
margin-top: 100rpx; | |||||
} | } | ||||
.button02{ | .button02{ | ||||
width:710rpx; | |||||
width:456rpx; | |||||
height:94rpx; | height:94rpx; | ||||
line-height: 94rpx; | line-height: 94rpx; | ||||
background:linear-gradient(130deg,rgba(50,177,252,1) 0%,rgba(47,108,255,1) 100%); | |||||
border-radius:10rpx; | |||||
background:#E1E1E1; | |||||
border-radius:32rpx; | |||||
color: #fff; | color: #fff; | ||||
margin-top: 30rpx; | margin-top: 30rpx; | ||||
} | } |
@@ -25,7 +25,7 @@ | |||||
</view> | </view> | ||||
<view class='num'> | <view class='num'> | ||||
<view class='member'>1、活动人数:{{data.personLimit}}人</view> | <view class='member'>1、活动人数:{{data.personLimit}}人</view> | ||||
<view class='integral' ><text>消耗积分:</text><text class='integralNum'>{{data.credit}}</text> 积分</view> | |||||
<view class='integral' wx:if='{{data.credit}}' ><text>消耗积分:</text><text class='integralNum'>{{data.credit}}</text> 积分</view> | |||||
</view> | </view> | ||||
<view class='time'>2、报名有效日期</view> | <view class='time'>2、报名有效日期</view> | ||||
<view class='time' style='margin-left:36rpx' >{{startTime}}--{{endTime}}</view> | <view class='time' style='margin-left:36rpx' >{{startTime}}--{{endTime}}</view> | ||||
@@ -2,11 +2,13 @@ const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' | |||||
const util = require("../../../utils/util.js"); | const util = require("../../../utils/util.js"); | ||||
const Http = require("../../../utils/HttpBasics"); | const Http = require("../../../utils/HttpBasics"); | ||||
const config = require("../../../config/config"); | const config = require("../../../config/config"); | ||||
const imgurl = require("../../../utils/imgurl"); | |||||
Page({ | Page({ | ||||
/** | /** | ||||
* 页面的初始数据 | * 页面的初始数据 | ||||
*/ | */ | ||||
data: { | data: { | ||||
chenghr: imgurl.chenghr.url, | |||||
navigationBarHeight, | navigationBarHeight, | ||||
date: '1988-03-12', | date: '1988-03-12', | ||||
flag: 1, | flag: 1, | ||||
@@ -2,16 +2,17 @@ | |||||
<view style="padding-top:{{navigationBarHeight}}"> | <view style="padding-top:{{navigationBarHeight}}"> | ||||
<view class='title' wx:if="{{credit}}">您已扣除{{credit}}积分</view> | <view class='title' wx:if="{{credit}}">您已扣除{{credit}}积分</view> | ||||
<view class='success'> | <view class='success'> | ||||
<text class='tit'>报名成功</text> | |||||
<image src='{{chenghr}}' mode="widthFix"></image> | |||||
<text class='tit'>恭喜报名成功</text> | |||||
<text class='mess'>请您在我的活动中查看您的报名状态</text> | <text class='mess'>请您在我的活动中查看您的报名状态</text> | ||||
</view> | </view> | ||||
<view class="btns clearfix" hover-class="none" hover-stop-propagation="false"> | <view class="btns clearfix" hover-class="none" hover-stop-propagation="false"> | ||||
<button class="fl" bindtap='goback'> | |||||
返回首页 | |||||
</button> | |||||
<button class="fr" bindtap='gotomyAc'> | <button class="fr" bindtap='gotomyAc'> | ||||
我的活动 | 我的活动 | ||||
</button> | </button> | ||||
<button class="fl" bindtap='goback'> | |||||
返回首页 | |||||
</button> | |||||
</view> | </view> | ||||
</view> | </view> |
@@ -3,12 +3,15 @@ | |||||
text-align: center; | text-align: center; | ||||
} | } | ||||
.tit{ | .tit{ | ||||
font-size: 40rpx; | |||||
font-size: 32rpx; | |||||
font-weight:bold; | font-weight:bold; | ||||
color: #3C3C3C; | |||||
} | } | ||||
.mess{ | .mess{ | ||||
margin-top: 40rpx; | |||||
margin-top: 24rpx; | |||||
font-size: 30rpx; | font-size: 30rpx; | ||||
color: #A6A6A6; | |||||
} | } | ||||
.fl{ | .fl{ | ||||
float: left; | float: left; | ||||
@@ -17,13 +20,12 @@ | |||||
float: right; | float: right; | ||||
} | } | ||||
.title{ | .title{ | ||||
font-size:30rpx; | |||||
border:1px solid #999; | |||||
font-size:28rpx; | |||||
width:400rpx; | width:400rpx; | ||||
margin:30rpx auto; | |||||
margin:40rpx auto; | |||||
border-radius:10rpx; | border-radius:10rpx; | ||||
text-align:center; | text-align:center; | ||||
color:#999; | |||||
color:#FD782D; | |||||
padding: 8rpx 0; | padding: 8rpx 0; | ||||
} | } | ||||
@@ -32,24 +34,27 @@ | |||||
padding-top: 37rpx; | padding-top: 37rpx; | ||||
z-index: 100; | z-index: 100; | ||||
background: #fff; | background: #fff; | ||||
width: 625rpx; | |||||
margin:100rpx auto 0; | margin:100rpx auto 0; | ||||
display: flex; | |||||
flex-direction: column; | |||||
} | } | ||||
.success{ | |||||
margin-top: 200rpx; | |||||
.success image{ | |||||
height: 108rpx; | |||||
width: 108rpx; | |||||
margin: 0 auto; | |||||
display: block; | |||||
} | } | ||||
.btns > button { | .btns > button { | ||||
width: 277rpx; | |||||
width: 456rpx; | |||||
height: 95rpx; | height: 95rpx; | ||||
border-radius: 10rpx; | |||||
border-radius: 32rpx; | |||||
text-align: center; | text-align: center; | ||||
} | } | ||||
.btns .fl { | .btns .fl { | ||||
margin-left: 20rpx; | |||||
color: #fff; | color: #fff; | ||||
background: linear-gradient(90deg,rgba(40,179,255,1) 0%,rgba(48,103,255,1) 100%); | |||||
/* box-shadow: 0px 8px 8px 1px rgba(255, 169, 2, 0.32); */ | |||||
background: #E1E1E1; | |||||
margin-top: 20rpx; | |||||
} | } | ||||
.btns .fl text { | .btns .fl text { | ||||
@@ -65,8 +70,6 @@ | |||||
.btns .fr { | .btns .fr { | ||||
font-size: 30rpx; | font-size: 30rpx; | ||||
color: #fff; | color: #fff; | ||||
margin-right: 20rpx; | |||||
line-height: 95rpx; | line-height: 95rpx; | ||||
background: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); | background: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); | ||||
/* box-shadow: 0px 8px 8px 1px rgba(246, 93, 51, 0.32); */ | |||||
} | } |
@@ -709,5 +709,9 @@ module.exports = { | |||||
'url': baseUrl + "chenggong.png", | 'url': baseUrl + "chenggong.png", | ||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'chenghr': { | |||||
'url': baseUrl + "chenghr.png", | |||||
'name': '' | |||||
}, | |||||
} | } |