Переглянути джерело

[活动报名成功][修改][ui样式]

tags/河北版C.8.1.01
hurui 6 роки тому
джерело
коміт
19caf93eeb
6 змінених файлів з 41 додано та 30 видалено
  1. +10
    -9
      pages/integralmall/payIntegcouponStatus/index.wxss
  2. +1
    -1
      pages/radetail/index.wxml
  3. +2
    -0
      pages/radetail/success/index.js
  4. +5
    -4
      pages/radetail/success/index.wxml
  5. +19
    -16
      pages/radetail/success/index.wxss
  6. +4
    -0
      utils/imgurl.js

+ 10
- 9
pages/integralmall/payIntegcouponStatus/index.wxss Переглянути файл

@@ -8,7 +8,7 @@ page{
font-size:40rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
color:#FD782D;
line-height:50rpx;
margin: 70rpx auto;
}
@@ -23,7 +23,7 @@ page{
}
.c-left{
width: 160rpx;
padding-left: 20rpx;
padding-left: 40rpx;
height: auto;
float: left;
box-sizing: border-box;
@@ -36,6 +36,7 @@ page{
width: 510rpx;
float: left;
line-height: 120rpx;
color: #3C3C3C;
}
.detail-text{
font-size:30rpx;
@@ -49,23 +50,23 @@ page{
padding-left: 30rpx;
line-height: 40rpx;
margin-top: 10rpx;
color:rgba(85,85,85,1);
color:#A6A6A6;
}
.button01{
width:710rpx;
width:456rpx;
height:94rpx;
line-height: 94rpx;
background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
border-radius:10rpx;
border-radius:32rpx;
color: #fff;
margin-top: 120rpx;
margin-top: 100rpx;
}
.button02{
width:710rpx;
width:456rpx;
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;
margin-top: 30rpx;
}

+ 1
- 1
pages/radetail/index.wxml Переглянути файл

@@ -25,7 +25,7 @@
</view>
<view class='num'>
<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 class='time'>2、报名有效日期</view>
<view class='time' style='margin-left:36rpx' >{{startTime}}--{{endTime}}</view>


+ 2
- 0
pages/radetail/success/index.js Переглянути файл

@@ -2,11 +2,13 @@ const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
const util = require("../../../utils/util.js");
const Http = require("../../../utils/HttpBasics");
const config = require("../../../config/config");
const imgurl = require("../../../utils/imgurl");
Page({
/**
* 页面的初始数据
*/
data: {
chenghr: imgurl.chenghr.url,
navigationBarHeight,
date: '1988-03-12',
flag: 1,


+ 5
- 4
pages/radetail/success/index.wxml Переглянути файл

@@ -2,16 +2,17 @@
<view style="padding-top:{{navigationBarHeight}}">
<view class='title' wx:if="{{credit}}">您已扣除{{credit}}积分</view>
<view class='success'>
<text class='tit'>报名成功</text>
<image src='{{chenghr}}' mode="widthFix"></image>
<text class='tit'>恭喜报名成功</text>
<text class='mess'>请您在我的活动中查看您的报名状态</text>
</view>

<view class="btns clearfix" hover-class="none" hover-stop-propagation="false">
<button class="fl" bindtap='goback'>
返回首页
</button>
<button class="fr" bindtap='gotomyAc'>
我的活动
</button>
<button class="fl" bindtap='goback'>
返回首页
</button>
</view>
</view>

+ 19
- 16
pages/radetail/success/index.wxss Переглянути файл

@@ -3,12 +3,15 @@
text-align: center;
}
.tit{
font-size: 40rpx;
font-size: 32rpx;
font-weight:bold;
color: #3C3C3C;

}
.mess{
margin-top: 40rpx;
margin-top: 24rpx;
font-size: 30rpx;
color: #A6A6A6;
}
.fl{
float: left;
@@ -17,13 +20,12 @@
float: right;
}
.title{
font-size:30rpx;
border:1px solid #999;
font-size:28rpx;
width:400rpx;
margin:30rpx auto;
margin:40rpx auto;
border-radius:10rpx;
text-align:center;
color:#999;
color:#FD782D;
padding: 8rpx 0;
}

@@ -32,24 +34,27 @@
padding-top: 37rpx;
z-index: 100;
background: #fff;
width: 625rpx;
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 {
width: 277rpx;
width: 456rpx;
height: 95rpx;
border-radius: 10rpx;
border-radius: 32rpx;
text-align: center;
}

.btns .fl {
margin-left: 20rpx;
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 {
@@ -65,8 +70,6 @@
.btns .fr {
font-size: 30rpx;
color: #fff;
margin-right: 20rpx;
line-height: 95rpx;
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); */
}

+ 4
- 0
utils/imgurl.js Переглянути файл

@@ -709,5 +709,9 @@ module.exports = {
'url': baseUrl + "chenggong.png",
'name': ''
},
'chenghr': {
'url': baseUrl + "chenghr.png",
'name': ''
},
}

Завантаження…
Відмінити
Зберегти