Commit faec603d authored by ‘yangmengxue’'s avatar ‘yangmengxue’

西交考试通知

parent d5d480ff
File deleted
<template> <template>
<div class="paying"> <div class="paying">
<div> <div>
<div
class="notify flex"
v-if="
$store.state.indexIdentity == 'b670c2faa285477ea6a2fb1efeaf03a4' ||
$store.state.indexIdentity == '303c738d07b24a5b881d03d5177409a0' ||
$store.state.indexIdentity == 'd1a331f0140e4e49b1f3751c0cbf9660'
"
>
<div class="flex">
<img
alt=""
class="notify_img"
src="../../../assets/img/paying/notice.png"
/>
</div>
<div>缴费截止时间:{{ $store.state.registrationEnd }}</div>
</div>
<span class="pay_titile">报名信息</span> <span class="pay_titile">报名信息</span>
<div class="pay_top"> <div class="pay_top">
<div>营地名称:{{ $store.state.info.name }}</div> <div>营地名称:{{ $store.state.info.name }}</div>
...@@ -178,7 +195,16 @@ ...@@ -178,7 +195,16 @@
<div><span>收款单位:</span>{{ payee }}</div> <div><span>收款单位:</span>{{ payee }}</div>
<div><span>账号:</span>{{ bank_idcard }}</div> <div><span>账号:</span>{{ bank_idcard }}</div>
<div><span>开户行:</span>{{ bank_first }}</div> <div><span>开户行:</span>{{ bank_first }}</div>
<div v-if="transfer_back_up"> <div
v-if="transfer_back_up"
:class="
$store.state.indexIdentity == 'b670c2faa285477ea6a2fb1efeaf03a4' ||
$store.state.indexIdentity == '303c738d07b24a5b881d03d5177409a0' ||
$store.state.indexIdentity == 'd1a331f0140e4e49b1f3751c0cbf9660'
? 'redFont'
: ''
"
>
<span>转账请备注:</span>{{ transfer_back_up }} <span>转账请备注:</span>{{ transfer_back_up }}
</div> </div>
<span>上传带有订单编号的转账截图</span> <span>上传带有订单编号的转账截图</span>
...@@ -762,6 +788,31 @@ export default { ...@@ -762,6 +788,31 @@ export default {
.paying { .paying {
padding: 0 56px 65px 56px; padding: 0 56px 65px 56px;
.redFont {
color: rgb(223, 67, 67);
}
.notify {
position: absolute;
background-color: #e1a840;
height: 23px;
align-items: center;
justify-content: center;
width: 100%;
left: 0;
top: 27%;
padding: 0;
.notify_img {
width: 16px;
margin-right: 5px;
}
div {
color: #fff;
font-size: 12px;
}
}
.pay_titile { .pay_titile {
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
......
// 测试 // 测试
export const SERVER_URL = "https://tgwapi.campcenter.cn/modules-campsite"; // 正式环境 // export const SERVER_URL = "https://tgwapi.campcenter.cn/modules-campsite"; // 正式环境
export const DEVELOPMENT_SERVER_URL = "https://tgwapi.campcenter.cn/modules-campsite"; //开发环境 // export const DEVELOPMENT_SERVER_URL = "https://tgwapi.campcenter.cn/modules-campsite"; //开发环境
export const SERVER_WS_URL = "wss://tgwapi.campcenter.cn"; // websocket // export const SERVER_WS_URL = "wss://tgwapi.campcenter.cn"; // websocket
// 正式 // 正式
// export const SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; // 正式环境 export const SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; // 正式环境
// export const DEVELOPMENT_SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; //开发环境 export const DEVELOPMENT_SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; //开发环境
// export const SERVER_WS_URL = "wss://gwapi.campcenter.cn"; // websocket export const SERVER_WS_URL = "wss://gwapi.campcenter.cn"; // websocket
// 测试 // 测试
// export const SERVER_URL = "http://192.168.1.146:8088/modules-campsite"; // 正式环境 // export const SERVER_URL = "http://192.168.1.146:8088/modules-campsite"; // 正式环境
......
...@@ -12,6 +12,7 @@ import indexCamp from './index/camp' ...@@ -12,6 +12,7 @@ import indexCamp from './index/camp'
import personalInfo from './index/personalInfo' import personalInfo from './index/personalInfo'
import { getCam, getCamInfo } from "r/index/login"; import { getCam, getCamInfo } from "r/index/login";
import { Message } from 'element-ui'; import { Message } from 'element-ui';
import { parseTime } from '../common/utils';
Vue.prototype.$message = Message; Vue.prototype.$message = Message;
...@@ -201,6 +202,10 @@ function checkCam(code, cb) { ...@@ -201,6 +202,10 @@ function checkCam(code, cb) {
if (res.data.is_post != null) { if (res.data.is_post != null) {
store.state.isPost = res.data.is_post; store.state.isPost = res.data.is_post;
} }
// 缴费截止时间
if (res.data.registration_end != null) {
store.state.registrationEnd = parseTime(res.data.registration_end);
}
cb && cb(true); cb && cb(true);
}).catch(() => { }).catch(() => {
cb && cb(false); cb && cb(false);
......
...@@ -30,6 +30,7 @@ let state = { ...@@ -30,6 +30,7 @@ let state = {
open_certificate:0,//是否替换原有结营证书 open_certificate:0,//是否替换原有结营证书
finish_certificate_address:null, finish_certificate_address:null,
isPost:0,//是否隐藏填写邮寄地址 isPost:0,//是否隐藏填写邮寄地址
registrationEnd:null,//缴费截止时间
}; };
export default new Vuex.Store({ export default new Vuex.Store({
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment