Commit edee4f5e by 肖康

Merge branch 'master' of http://119.23.72.7/liangjianmin/h5

parents 02b7d019 41113f3e
Showing with 913 additions and 44 deletions
<template>
<div id="app">
<keep-alive exclude="newsDetail,pointchange,wallet,walletRetrieve,walletDetail,walletRecord,walletStatus,walletWithdraw,walletRecharge,xianhuo,lxshop,brand,brandList,sampleapply,risk,risksuccess,sample">
<keep-alive exclude="newsDetail,pointchange,wallet,walletRetrieve,walletDetail,walletRecord,walletStatus,walletWithdraw,walletRecharge,xianhuo,lxshop,brand,brandList,sampleapply,samplecominfo,samplebasinfo,risk,risksuccess,sample,addressp">
<router-view class="router-view"></router-view>
</keep-alive>
</div>
......
......@@ -462,6 +462,10 @@ export const apis = {
* 示波器页面获取示波器商品id
*/
getYaoHaoYouGoodId:urlApi+'/activity/getYaoHaoYouGoodId',
/**
* 图片上传
*/
uploadImg:urlApi+'/oss/upload'
}
......
......@@ -27,6 +27,44 @@
height: 20px;
line-height: 20px;
}
.sample .activity-rule {
margin: 15px 15px 0 15px;
border: solid 1px #d5c06d;
box-sizing: border-box;
border-radius: 2px;
background-color: #fffae7;
color: #333;
}
.sample .activity-rule .rule-title {
height: 1rem;
line-height: 1rem;
font-size: 14px;
text-align: center;
position: relative;
}
.sample .activity-rule .rule-title .icon {
position: absolute;
right: 7px;
font-size: 20px;
color: #d5c06d;
}
.sample .activity-rule .rule-title .icon.icon-down-trangle {
font-size: 26px;
}
.sample .activity-rule .rule-content {
padding: 0px 15px 0;
font-size: 12px;
height: 0;
transition: height linear 0.5s;
overflow: hidden;
}
.sample .activity-rule .rule-content.show {
height: 250px;
}
.sample .activity-rule .rule-content p {
padding-top: 5px;
line-height: 20px;
}
.sample .fx_text {
color: #999;
text-align: right;
......@@ -128,6 +166,100 @@
box-shadow: 0 0 10px #000;
cursor: pointer;
}
.sample .choose-work-pop .mask {
position: fixed;
bottom: 0;
top: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
}
.sample .choose-work-pop .choose-work-con {
background: #fff;
width: 9rem;
height: 10rem;
position: fixed;
top: 50%;
left: 50%;
margin-left: -4.5rem;
margin-top: -5rem;
z-index: 99999;
border-radius: 3px;
}
.sample .choose-work-pop .choose-work-con i {
position: absolute;
top: -30px;
color: #fff;
font-size: 20px;
right: 0;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item {
width: 50%;
height: 4.2rem;
text-align: center;
box-sizing: border-box;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item.xs-item {
background-color: #eaecff;
border-bottom: 1px solid #fff;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item.mys-item {
background-color: #f7f7f7;
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item.gcs-item {
background-color: #fff7f0;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item.zds-item {
background-color: #eafffb;
border-left: 1px solid #fff;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item.active .radius-div {
border: 3px solid #0080cc;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div {
margin: 10px auto 0;
height: 3rem;
width: 3rem;
box-sizing: border-box;
border-radius: 50% 50%;
border: 3px solid transparent;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.xs-radius {
background-image: url('../../images/sample/work1.png');
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.mys-radius {
background-image: url('../../images/sample/work2.png');
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.gcs-radius {
background-image: url('../../images/sample/work3.png');
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.zds-radius {
background-image: url('../../images/sample/work4.png');
}
.sample .choose-work-pop .choose-work-con .work-groups .work-item p {
font-size: 14px;
color: #000000;
margin-top: 7px;
}
.sample .choose-work-pop .choose-work-con .btn {
width: 4rem;
height: 1rem;
line-height: 1rem;
border-radius: 15px;
font-size: 14px;
text-align: center;
margin: 10px auto 0;
color: #fff;
background-color: #d1d1d1;
}
.sample .choose-work-pop .choose-work-con .btn.active {
background-color: #0080cc;
}
.sample .get-user-pop .get-user-con {
background: #fff;
width: 8.667rem;
......@@ -266,4 +398,3 @@
text-decoration: none;
border: none;
}
/*# sourceMappingURL=sample.css.map */
\ No newline at end of file
......@@ -31,7 +31,44 @@
line-height: 20px;
}
}
.activity-rule{
margin:15px 15px 0 15px;
border: solid 1px #d5c06d;
box-sizing: border-box;
border-radius: 2px;
background-color: #fffae7;
color: #333;
.rule-title{
height: 1rem;
line-height: 1rem;
font-size: 14px;
text-align: center;
position: relative;
.icon{
position: absolute;
right:7px;
font-size: 20px;
color:#d5c06d;
&.icon-down-trangle{
font-size: 26px;
}
}
}
.rule-content{
padding:0px 15px 0;
font-size: 12px;
height: 0;
transition: height linear .5s;
overflow: hidden;
&.show{
height:250px;
}
p{
padding-top: 5px;
line-height: 20px;
}
}
}
.fx_text {
color: #999;
text-align: right;
......@@ -147,7 +184,106 @@
box-shadow: 0 0 10px #000;
cursor: pointer;
}
.choose-work-pop{
.mask {
position: fixed;
bottom: 0;
top: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
}
.choose-work-con{
background: #fff;
width: 9rem;
height: 10rem;
position: fixed;
top: 50%;
left: 50%;
margin-left: -4.5rem;
margin-top: -5rem;
z-index: 99999;
border-radius: 3px;
i {
position: absolute;
top: -30px;
color: #fff;
font-size: 20px;
right: 0;
}
.work-groups{
.work-item{
width:50%;
height:4.2rem;
text-align: center;
box-sizing: border-box;
&.xs-item{
background-color: #eaecff;
border-bottom: 1px solid #fff;
}
&.mys-item{
background-color: #f7f7f7;
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
}
&.gcs-item{
background-color: #fff7f0;
}
&.zds-item{
background-color: #eafffb;
border-left: 1px solid #fff;
}
&.active{
.radius-div{
border:3px solid #0080cc;
}
}
.radius-div{
margin:10px auto 0;
height:3rem;
width:3rem;
box-sizing: border-box;
border-radius: 50% 50%;
border:3px solid transparent;
&.xs-radius{
background-image: url('../../images/sample/work1.png');
}
&.mys-radius{
background-image: url('../../images/sample/work2.png');
}
&.gcs-radius{
background-image: url('../../images/sample/work3.png');
}
&.zds-radius{
background-image: url('../../images/sample/work4.png');
}
background-repeat: no-repeat;
background-size: 100% 100%;
}
p{
font-size: 14px;
color: #000000;
margin-top: 7px;
}
}
}
.btn{
width:4rem;
height:1rem;
line-height: 1rem;
border-radius: 15px;
font-size: 14px;
text-align: center;
margin: 10px auto 0;
color: #fff;
background-color: #d1d1d1;
&.active{
background-color: #0080cc;
}
}
}
}
.get-user-pop {
.get-user-con {
background: #fff;
......
......@@ -164,7 +164,6 @@
font-size: 16px;
text-align: center;
background: #1080d0;
box-shadow: 0 0 10px #000;
cursor: pointer;
}
.sample-apply .submit-success-pop .get-user-con {
......@@ -264,4 +263,3 @@
background: rgba(0, 0, 0, 0.3);
z-index: 999;
}
/*# sourceMappingURL=sampleapply.css.map */
\ No newline at end of file
......@@ -191,7 +191,7 @@
font-size: 16px;
text-align: center;
background: #1080d0;
box-shadow: 0 0 10px #000;
// box-shadow: 0 0 10px #000;
cursor: pointer;
}
......
.sample-basinfo {
background-color: #f3f3f3;
height: 100%;
}
.sample-basinfo .basinfo-form {
padding: 0 15px;
background-color: #fff;
}
.sample-basinfo .basinfo-form .form-item {
border-bottom: 1px solid #e9e9e9;
display: flex;
padding: 20px 0;
}
.sample-basinfo .basinfo-form .form-item.no-border {
border: none;
}
.sample-basinfo .basinfo-form .form-item .label-h3 {
font-size: 14px;
color: #333333;
flex: 0 0 90px;
}
.sample-basinfo .basinfo-form .form-item .label-h3 span {
margin-right: 8px;
vertical-align: middle;
color: #ff0000;
}
.sample-basinfo .basinfo-form .form-item .input {
flex: 1;
text-align: right;
font-size: 14px;
}
.sample-basinfo .save-btn-div {
padding: 1rem 0;
}
.sample-basinfo .save-btn-div .btn {
width: 144px;
height: 34px;
background-color: #1080d0;
border-radius: 50px;
text-align: center;
line-height: 34px;
font-size: 14px;
color: #fff;
margin: 0 auto;
}
.sample-basinfo {
background-color: #f3f3f3;
height: 100%;
.basinfo-form {
padding: 0 15px;
background-color: #fff;
.form-item {
border-bottom: 1px solid #e9e9e9;
display: flex;
padding: 20px 0;
&.no-border{
border:none
}
.label-h3 {
font-size: 14px;
color: #333333;
flex: 0 0 90px;
span {
margin-right: 8px;
vertical-align: middle;
color: #ff0000;
}
}
.input {
flex: 1;
text-align: right;
font-size: 14px;
}
}
}
.save-btn-div {
padding: 1rem 0;
.btn {
width: 144px;
height: 34px;
background-color: #1080d0;
border-radius: 50px;
text-align: center;
line-height: 34px;
font-size: 14px;
color: #fff;
margin: 0 auto;
}
}
}
\ No newline at end of file
.sample-cominfo .cominfo-form {
padding: 0 15px;
}
.sample-cominfo .cominfo-form .form-item {
border-bottom: 1px solid #e9e9e9;
display: flex;
padding: 20px 0;
}
.sample-cominfo .cominfo-form .form-item.detail-add {
flex-direction: column;
}
.sample-cominfo .cominfo-form .form-item.detail-add .textarea {
display: block;
height: 60px;
font-size: 14px;
padding: 10px 0;
resize: none;
}
.sample-cominfo .cominfo-form .form-item.pic-item {
display: block;
border: none;
padding-bottom: 2rem;
}
.sample-cominfo .cominfo-form .form-item.pic-item .default-img {
width: 219px;
height: 94px;
background-color: #e9e9e9;
border-radius: 2px;
margin: 20px auto 0;
box-sizing: border-box;
padding-top: 10px;
}
.sample-cominfo .cominfo-form .form-item.pic-item .default-img .img {
width: 88px;
height: 73px;
background: url('../../images/sample/default.png') no-repeat;
background-size: 100% 100%;
margin: 0 auto;
}
.sample-cominfo .cominfo-form .form-item.pic-item .has-img {
width: 219px;
height: 94px;
margin: 20px auto 0;
position: relative;
border-radius: 2px;
}
.sample-cominfo .cominfo-form .form-item.pic-item .has-img img {
height: 100%;
width: 100%;
}
.sample-cominfo .cominfo-form .form-item.pic-item .has-img .img-mask {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(233, 233, 233, 0.78);
display: flex;
justify-content: center;
align-items: center;
}
.sample-cominfo .cominfo-form .form-item.pic-item .has-img .img-mask .yes-icon {
height: 50px;
width: 50px;
background: url('../../images/sample/yes.png') no-repeat;
background-size: 100% 100%;
}
.sample-cominfo .cominfo-form .form-item.pic-item .file {
display: none;
}
.sample-cominfo .cominfo-form .form-item.pic-item .upload-btn {
width: 100px;
height: 28px;
border: solid 1px #1080d0;
font-size: 14px;
text-align: center;
line-height: 28px;
color: #1080d0;
margin: 18px auto 0;
border-radius: 50px;
}
.sample-cominfo .cominfo-form .form-item .label-h3,
.sample-cominfo .cominfo-form .form-item .detail-add-label,
.sample-cominfo .cominfo-form .form-item .pic-item-label {
font-size: 14px;
color: #333333;
}
.sample-cominfo .cominfo-form .form-item .label-h3.label-h3,
.sample-cominfo .cominfo-form .form-item .detail-add-label.label-h3,
.sample-cominfo .cominfo-form .form-item .pic-item-label.label-h3 {
flex: 0 0 80px;
}
.sample-cominfo .cominfo-form .form-item .label-h3 span,
.sample-cominfo .cominfo-form .form-item .detail-add-label span,
.sample-cominfo .cominfo-form .form-item .pic-item-label span {
margin-right: 8px;
vertical-align: middle;
color: #ff0000;
}
.sample-cominfo .cominfo-form .form-item .input,
.sample-cominfo .cominfo-form .form-item .choose-right {
flex: 1;
text-align: right;
font-size: 14px;
}
.sample-cominfo .cominfo-form .form-item .input.choose-right,
.sample-cominfo .cominfo-form .form-item .choose-right.choose-right {
color: #999;
}
.sample-cominfo .cominfo-form .form-item .input.choose-right i,
.sample-cominfo .cominfo-form .form-item .choose-right.choose-right i {
vertical-align: middle;
margin-left: 8px;
}
.sample-cominfo .save-btn-div {
background-color: #f3f3f3;
padding: 1rem 0;
}
.sample-cominfo .save-btn-div .btn {
width: 144px;
height: 34px;
background-color: #1080d0;
border-radius: 50px;
text-align: center;
line-height: 34px;
font-size: 14px;
color: #fff;
margin: 0 auto;
}
.sample-cominfo {
.cominfo-form {
padding: 0 15px;
.form-item {
border-bottom: 1px solid #e9e9e9;
display: flex;
padding: 20px 0;
&.detail-add {
flex-direction: column;
.textarea {
display: block;
height: 60px;
font-size: 14px;
padding: 10px 0;
resize: none;
}
}
&.pic-item {
display: block;
border: none;
padding-bottom: 2rem;
.default-img {
width: 219px;
height: 94px;
background-color: #e9e9e9;
border-radius: 2px;
margin: 20px auto 0;
box-sizing: border-box;
padding-top: 10px;
.img {
width: 88px;
height: 73px;
background: url('../../images/sample/default.png') no-repeat;
background-size: 100% 100%;
margin: 0 auto;
}
}
.has-img{
width: 219px;
height: 94px;
margin: 20px auto 0;
position: relative;
border-radius: 2px;
img{
height:100%;
width:100%;
}
.img-mask{
position: absolute;
top:0;
left:0;
right:0;
bottom: 0;
background-color: rgba(233,233,233,.78);
display: flex;
justify-content: center;
align-items: center;
.yes-icon{
height: 50px;
width: 50px;
background: url('../../images/sample/yes.png') no-repeat;
background-size: 100% 100%;
}
}
}
.file{
display: none;
}
.upload-btn {
width: 100px;
height: 28px;
border: solid 1px #1080d0;
font-size: 14px;
text-align: center;
line-height: 28px;
color: #1080d0;
margin: 18px auto 0;
border-radius: 50px;
}
}
.label-h3,
.detail-add-label,
.pic-item-label {
font-size: 14px;
color: #333333;
&.label-h3 {
flex: 0 0 80px;
}
span {
margin-right: 8px;
vertical-align: middle;
color: #ff0000;
}
}
.input,
.choose-right {
flex: 1;
text-align: right;
font-size: 14px;
&.choose-right {
color: #999;
i {
vertical-align: middle;
margin-left: 8px;
}
}
}
}
}
.save-btn-div {
background-color:#f3f3f3 ;
padding: 1rem 0;
.btn {
width: 144px;
height: 34px;
background-color: #1080d0;
border-radius: 50px;
text-align: center;
line-height: 34px;
font-size: 14px;
color: #fff;
margin: 0 auto;
}
}
}
\ No newline at end of file
......@@ -33,9 +33,10 @@ Vue.prototype.$http = axios;
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
axios.defaults.withCredentials = true;
axios.interceptors.request.use(function (config) {
var isUploadBoolean = (config['headers']['Content-Type'] == 'multipart/form-data')//判断是否是上传图片
if (config.method == 'post') {
if (config.data) {
if (config.data.indexOf("&pf=2") == -1) {
if (!isUploadBoolean&&config.data.indexOf("&pf=2") == -1) {
config.data += "&pf=" + window.lxpf + '&csrf=' + csrf;
}
} else {
......
......@@ -42,6 +42,8 @@ const brandList = resolve => require(['@/views/brand/brandList'], resolve);
const ranking = resolve => require(['@/views/rank/ranking'], resolve);
const Download = resolve => require(['@/views/download/Index'], resolve);
const sample = resolve => require(['@/views/sample/sample'], resolve);
const samplecominfo = resolve => require(['@/views/sample/samplecominfo'], resolve);
const samplebasinfo = resolve => require(['@/views/sample/samplebasinfo'], resolve);
const sampleapply = resolve => require(['@/views/sample/sampleapply'], resolve);
const Special = resolve => require(['@/views/special/Index'], resolve);
const Risk = resolve => require(['@/views/risk/Index'], resolve);
......@@ -354,6 +356,20 @@ const routes = [{
}
},
{
path: '/samplecominfo',
component: samplecominfo,
meta: {
title: '公司信息填写'
}
},
{
path: '/samplebasinfo',
component: samplebasinfo,
meta: {
title: '基础信息填写'
}
},
{
path: '/sampleapply',
name: "sampleapply",
component: sampleapply,
......
......@@ -12,13 +12,19 @@ const state = {
addressInfo:"",
submitState:false,
ypGoodDetail:{},
ypComInfo:{},
ypBasInfo:{},
ordernum:''
}
const mutations = {
recvlistSample(state, payload) {
state.addressInfo=payload.data.filter(function(item){return item['is_default'] == 1;});
state.addressInfo=state.addressInfo[0];
if(!payload.data){
state.addressInfo = null
}else{
state.addressInfo=payload.data.filter(function(item){return item['is_default'] == 1;});
state.addressInfo=state.addressInfo[0];
}
},
}
......@@ -27,25 +33,32 @@ const actions = {
Services.recvlist().then((res) => {
let data = res.data;
// state.loading = false;
console.log(data.err_code)
if (data.err_code == 0) {
commit({
type: 'recvlistSample',
data: data.data
});
}else{
commit({
type: 'recvlistSample',
data: null
});
}
}).catch(function (err) {
});
},
selfSampleCreate({commit}, payload) {
state.loading = true;
var params = {
goods_id: payload.goods_id,
apply_num: payload.apply_num,
com_name: payload.com_name,
sample_demand_desc: payload.sample_demand_desc,
address_id: payload.address_id
// var params = {
// goods_id: payload.goods_id,
// apply_num: payload.apply_num,
// com_name: payload.com_name,
// sample_demand_desc: payload.sample_demand_desc,
// address_id: payload.address_id
}
// }
var params = payload.data;
Services.selfSampleCreate(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
......@@ -71,7 +84,9 @@ const actions = {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
state.ypGoodDetail = data.data
state.ypGoodDetail = data.data.goods_info||{}
state.ypComInfo = data.data.company_info||{}
state.ypBasInfo = data.data.user_info||{}
}else{
Toast(data.err_msg);
}
......
......@@ -208,6 +208,7 @@ const actions = {
setTimeout(function(){
if(payload.orderpg){
history.go(-1);
}else{
history.go(0);
}
......
<template>
<section class="sample">
<Header :title="title" :meaushow="meaushow" :bgcolor="bgcolor"></Header>
<van-popup v-model="show">
<div style="padding: 30px 0">
<p class="text" style="font-size: 16px;text-align: center;font-weight: bold;padding-bottom: 20px; color: #333333;margin-top: 30%;">样片活动已经结束了哦,去看看其他活动吧</p>
<a style="display: block;border-radius: 5px;margin: 0 auto;width: 110px;text-align: center;color: #ffffff;font-size: 14px;height: 40px;line-height: 40px;background: #0073c5;color: #fff;" href="https://m.ichunt.com/v3/activity/activityhz.html">去看看</a>
</div>
</van-popup>
<div v-if="false">
<div>
<wxShare :url="shareUrl"></wxShare>
<div class="banner">
<van-swipe :autoplay="3000" indicator-color="white" :height="bannerHeight">
......@@ -18,6 +12,21 @@
</van-swipe-item>
</van-swipe>
</div>
<div class="activity-rule">
<div class="rule-title" @click="isShowRule = !isShowRule">
活动规则
<i :class="['icon','iconfont',isShowRule?'icon-down-trangle':'icon-jinru1']"></i>
</div>
<div :class="['rule-content',isShowRule?'show':'']">
<p>• 活动时间:</p>
<p>2020 年 8 月 3 日 ~ 2020 年 9 月 3 日(逾期申请次数将清零)</p>
<p>• 工程师、终端等用户可享受包邮福利;</p>
<p>• 学生、贸易商等用户运费需自理。</p>
<p>• 同一用户需付运费的多个样品单,通过审核后将合并为一个付运费的样品单。</p>
<p>• 样品订单将在 5 - 7 个工作日内通过审核,1 个工作日内寄出。</p>
<p>• 在法律允许范围内,本活动最终解释权归猎芯网所有。</p>
</div>
</div>
<div class="fx_text" v-if="fxType">
<!-- 邀请记录不为0 -->
<div class="fx_text_one" v-if="fxType == 1">
......@@ -123,6 +132,33 @@
</div>
</div>
<!--获得机会弹窗 end-->
<!-- 选择职业弹窗 开始-->
<div class="choose-work-pop" v-if="isShowChooseWork">
<div class="mask"></div>
<div class="choose-work-con">
<i class="icon iconfont icon-shandiao-" @click="isShowChooseWork=false"></i>
<div class="work-groups clr">
<div :class="['fl','work-item','xs-item',workType==4?'active':'']" @click="changeWorkType(4)">
<div class="radius-div xs-radius"></div>
<p>我是学生</p>
</div>
<div :class="['fl','work-item','mys-item',workType==7?'active':'']" @click="changeWorkType(7)">
<div class="radius-div mys-radius"></div>
<p>我是贸易商</p>
</div>
<div :class="['fl','work-item','gcs-item',workType==1?'active':'']" @click="changeWorkType(1)">
<div class="radius-div gcs-radius"></div>
<p>我是工程师</p>
</div>
<div :class="['fl','work-item','zds-item',workType==8?'active':'']" @click="changeWorkType(8)">
<div class="radius-div zds-radius"></div>
<p>我是终端商</p>
</div>
</div>
<div :class="['btn',workType!=-1?'active':'']" @click="chooseWork">确定</div>
</div>
</div>
<!-- 选择职业弹窗 结束 -->
</div>
</section>
</template>
......@@ -142,7 +178,6 @@
name: "sample",
data() {
return {
show: true,
bannerHeight: 173,
title: "猎芯网-自营样片",
meaushow: true,
......@@ -170,8 +205,15 @@
attrs: {},
curr: false,
id: [],
shareUrl: window.location.origin + "/v3/samplereg?uid=" + util.getCookie("Yo4teW_uid")
};
shareUrl: window.location.origin + "/v3/samplereg?uid=" + util.getCookie("Yo4teW_uid"),
isShowChooseWork:false,
workType:-1,
workFun:0,
isBelongs:0,
isProvideInfo:0,
goodId:null,
isShowRule:false,
};
},
computed: {
...mapState({
......@@ -217,8 +259,7 @@
}
},
created() {
/* this.$store.dispatch({
this.$store.dispatch({
type: "getsamplebanner"
});
......@@ -228,12 +269,37 @@
});
this.judgeLogin();*/
setTimeout(function () {
window.location.href = 'https://www.ichunt.com/v3/activity/activityhz.html';
}, 5000)
this.judgeLogin();
},
methods: {
judgeOccupation(){
var value = this.isBelongs;
//0表示未填写 1表示已填写
if(value == 0){
this.isShowChooseWork = true
return false
}else{
return true
}
},
chooseWork(){
if(this.workType == -1){
return
}
this.$router.push({
path: "/sampleapply",
query: {
id: this.goodId,
type:this.workType,
full:'0'
}
});
},
changeWorkType(type){
this.workType = type
},
judgeLogin() {
if (getCookie("Yo4teW_uid")) {
this.getCount();
......@@ -391,6 +457,9 @@
if (data.err_code == 0) {
me.applyCount = data.data.apply_count || 0;
me.inviteCount = data.data.invite_count || 0;
me.workFun = data.data.work_function || 0;
me.isBelongs = data.data.is_belongs || 0;
me.isProvideInfo = data.data.is_provide_info || 0;
if (me.inviteCount == 0) {
me.fxType = 2;
} else {
......@@ -414,7 +483,7 @@
var stock = util.aggxde(item.stock);
this.goodId = item.goods_id
if (this.applyCount != 0) {
if (stock) {
if ((this.applyCount * 1) < (item.quota * 1)) {
......@@ -424,11 +493,15 @@
this.quotaNum = (item.quota * 1) - (this.applyCount * 1);
} else {
if(!this.judgeOccupation()){
return
}
this.$router.push({
path: "/sampleapply",
query: {
id: item.goods_id
id: item.goods_id,
type:this.workFun,
full:this.isProvideInfo+''
}
});
......
<template>
<section class="sample-basinfo">
<Header :title="title" :meaushow="meaushow" :bgcolor="bgcolor"></Header>
<div class="basinfo-form">
<div class="form-item">
<h3 class="label-h3">
<span class="f-red">*</span>手机号码
</h3>
<input
type="text"
placeholder="点击填写手机号码"
class="input"
v-model="comPhone"
:readonly="Boolean(ypBasInfo.mobile)"
/>
</div>
<div class="form-item">
<h3 class="label-h3">
<span class="f-red">*</span>联系人姓名
</h3>
<input
type="text"
placeholder="请填写真实姓名"
class="input"
v-model="userName"
maxlength="10"
:readonly="Boolean(ypBasInfo.user_name)"
/>
</div>
<div class="form-item no-border">
<h3 class="label-h3">
<span class="f-red">*</span>邮箱
</h3>
<input
type="text"
placeholder="请填写常用邮箱"
class="input"
v-model="comEmail"
:readonly="Boolean(ypBasInfo.email)"
/>
</div>
</div>
<div class="save-btn-div">
<div class="btn" @click="saveBasInfo">保存</div>
</div>
</section>
</template>
<script>
import Vue from "vue";
import { Toast } from "vant";
import { mapState } from "vuex";
import Header from "@/views/common/Header.vue";
Vue.use(Toast);
export default {
name: "samplebasinfo",
data() {
return {
title: "基础信息填写",
meaushow: true,
bgcolor: "#fafafa",
comPhone: "",
userName: "",
comEmail: "",
occupationType: this.$route.query.type || -1,
fullType: this.$route.query.full || -1, //0表示未填写完整 1表示填写完整
basinfocookie : localStorage.getItem("samplebasinfo") || ""
};
},
created() {
this.fillData()
},
computed: {
...mapState({
ypBasInfo: (state) => state.sampleapply.ypBasInfo,
}),
},
methods: {
fillData() {
//有缓存读缓存的值,没有缓存读vuex的值
if (this.basinfocookie) {
let obj = JSON.parse(this.basinfocookie);
this.comPhone = obj.mobile;
this.userName = obj.user_name;
this.comEmail = obj.email;
} else {
this.comPhone = this.ypBasInfo.mobile;
this.userName = this.ypBasInfo.user_name;
this.comEmail = this.ypBasInfo.email;
}
},
saveBasInfo() {
var phone = this.comPhone.trim();
var phoneReg = /^[+]?\d*$/;
var email = this.comEmail.trim();
var emailReg = /^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
if (phone.length < 5 || phone.length > 11 || !phoneReg.test(phone)) {
Toast("请填写正确的手机号码");
return;
} else if (!this.userName) {
Toast("请填写真实姓名");
return;
} else if (!emailReg.test(email)) {
Toast("请填写正确邮箱");
return;
}
let objString = JSON.stringify({
mobile: this.comPhone,
user_name: this.userName,
email: this.comEmail,
});
localStorage.setItem("samplebasinfo", objString);
this.$router.go(-1);
},
},
components: {
Header,
},
};
</script>
<style scoped>
@import "../../assets/css/sample/samplebasinfo.css";
</style>
\ No newline at end of file
.sample-apply{padding-bottom:55px}.sample-apply .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample-apply .line{height:5px;background:#f3f3f3}.sample-apply .van-collapse-item__content{padding-top:0;padding-bottom:0}.sample-apply .van-cell__title{font-size:16px}.sample-apply .info-con .img-box{border:1px solid #e5e5e5;-webkit-box-sizing:border-box;box-sizing:border-box;width:2rem;height:2rem}.sample-apply .info-con .img-box img{width:100%;height:100%}.sample-apply .info-con .cb-box{width:6.9rem;height:2rem}.sample-apply .info-con .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.08rem}.sample-apply .info-con .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample-apply .info-con .cb-box p span{color:#666}@media screen and (max-width:320px){.sample-apply .info-con .cb-box{width:6.8rem;position:relative;top:-.1rem}.sample-apply .info-con .cb-box .title{margin-bottom:0}}.sample-apply .info-detail{margin-top:18px;padding-bottom:25px}.sample-apply .info-detail p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.5rem;line-height:.5rem}.sample-apply .info-detail p span{color:#666}.sample-apply .info-detail p.canshudetail{overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;height:auto}.sample-apply .form-info .form-group{background:#fff;padding:15px;border-top:5px solid #f3f3f3}.sample-apply .form-info .form-group h3{color:#666;font-size:16px}.sample-apply .form-info .form-group h3 span.fr{color:#333}.sample-apply .form-info .form-group input{padding:15px 16px;padding-bottom:0}.sample-apply .form-info .form-group input,.sample-apply .form-info .form-group textarea{border:0;display:block;color:#333;font-size:14px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.sample-apply .form-info .form-group textarea{padding:15px 16px}.sample-apply .form-info .form-group input::-webkit-input-placeholder,.sample-apply .form-info .form-group textarea::-webkit-input-placeholder{color:#999}.sample-apply .form-info .form-group.by{padding-bottom:25px}.sample-apply .form-info .form-group.adderss-sample{padding-top:12px;padding-bottom:12px}.sample-apply .form-info .form-group.adderss-sample p{color:#333;font-size:12px;height:.55rem;line-height:.55rem;width:90%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample-apply .form-info .form-group.adderss-sample span{position:relative;top:-.8rem}.sample-apply .form-info .form-group .txt span{color:#ffa200;font-size:14px;padding:10px 0 0 0;display:inline-block}.sample-apply .form-info .form-group .txt p{color:#666;font-size:14px;margin-bottom:9px}.sample-apply .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;cursor:pointer}.sample-apply .submit-success-pop .get-user-con{background:#fff;width:8.667rem;height:6.4rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-3.2rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample-apply .submit-success-pop .get-user-con h3{color:#ffa200;font-size:16px;height:1.8rem;line-height:1.8rem;text-align:center}.sample-apply .submit-success-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample-apply .submit-success-pop .get-user-con p{text-align:center;font-size:12px;color:#666;margin-bottom:.5rem}.sample-apply .submit-success-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample-apply .submit-success-pop .get-user-con .txt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:.3rem auto 0;width:64%}.sample-apply .submit-success-pop .get-user-con .txt span{font-size:13px;color:#999}.sample-apply .submit-success-pop .get-user-con .share-btn-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:.627rem auto 0;width:83%}.sample-apply .submit-success-pop .get-user-con .share-btn-wrap .l{width:100px;cursor:pointer;height:30px;line-height:30px;border:1px solid #0080cc;text-align:center;color:#1080d0;font-size:14px;border-radius:30px}.sample-apply .submit-success-pop .get-user-con .share-btn-wrap .r{cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px}.sample-apply .submit-success-pop .get-user-con .tips{color:#999;font-size:12px;text-align:center;margin-top:15px}.sample-apply .submit-success-pop .get-user-con .tips em{color:#cf1111;margin-right:.1rem}.sample-apply .submit-success-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}
\ No newline at end of file
.sample-apply{padding-bottom:55px}.sample-apply .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample-apply .line{height:5px;background:#f3f3f3}.sample-apply .van-collapse-item__content{padding-top:0;padding-bottom:0}.sample-apply .van-cell__title{font-size:16px}.sample-apply .info-con .img-box{border:1px solid #e5e5e5;-webkit-box-sizing:border-box;box-sizing:border-box;width:2rem;height:2rem}.sample-apply .info-con .img-box img{width:100%;height:100%}.sample-apply .info-con .cb-box{width:6.9rem;height:2rem}.sample-apply .info-con .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.08rem}.sample-apply .info-con .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample-apply .info-con .cb-box p span{color:#666}@media screen and (max-width:320px){.sample-apply .info-con .cb-box{width:6.8rem;position:relative;top:-.1rem}.sample-apply .info-con .cb-box .title{margin-bottom:0}}.sample-apply .info-detail{margin-top:18px;padding-bottom:25px}.sample-apply .info-detail p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.5rem;line-height:.5rem}.sample-apply .info-detail p span{color:#666}.sample-apply .info-detail p.canshudetail{overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;height:auto}.sample-apply .form-info .form-group{background:#fff;padding:15px;border-top:5px solid #f3f3f3}.sample-apply .form-info .form-group h3{color:#666;font-size:16px}.sample-apply .form-info .form-group h3 span.fr{color:#333}.sample-apply .form-info .form-group input{padding:15px 16px;padding-bottom:0}.sample-apply .form-info .form-group input,.sample-apply .form-info .form-group textarea{border:0;display:block;color:#333;font-size:14px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.sample-apply .form-info .form-group textarea{padding:15px 16px}.sample-apply .form-info .form-group input::-webkit-input-placeholder,.sample-apply .form-info .form-group textarea::-webkit-input-placeholder{color:#999}.sample-apply .form-info .form-group.by{padding-bottom:25px}.sample-apply .form-info .form-group.adderss-sample{padding-top:12px;padding-bottom:12px}.sample-apply .form-info .form-group.adderss-sample p{color:#333;font-size:12px;height:.55rem;line-height:.55rem;width:90%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample-apply .form-info .form-group.adderss-sample span{position:relative;top:-.8rem}.sample-apply .form-info .form-group .txt span{color:#ffa200;font-size:14px;padding:10px 0 0 0;display:inline-block}.sample-apply .form-info .form-group .txt p{color:#666;font-size:14px;margin-bottom:9px}.sample-apply .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;cursor:pointer}.sample-apply .submit-success-pop .get-user-con{background:#fff;width:8.667rem;height:6.4rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-3.2rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample-apply .submit-success-pop .get-user-con h3{color:#ffa200;font-size:16px;height:1.8rem;line-height:1.8rem;text-align:center}.sample-apply .submit-success-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample-apply .submit-success-pop .get-user-con p{text-align:center;font-size:12px;color:#666;margin-bottom:.5rem}.sample-apply .submit-success-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample-apply .submit-success-pop .get-user-con .txt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:.3rem auto 0;width:64%}.sample-apply .submit-success-pop .get-user-con .txt span{font-size:13px;color:#999}.sample-apply .submit-success-pop .get-user-con .share-btn-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:.627rem auto 0;width:83%}.sample-apply .submit-success-pop .get-user-con .share-btn-wrap .l{width:100px;cursor:pointer;height:30px;line-height:30px;border:1px solid #0080cc;text-align:center;color:#1080d0;font-size:14px;border-radius:30px}.sample-apply .submit-success-pop .get-user-con .share-btn-wrap .r{cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px}.sample-apply .submit-success-pop .get-user-con .tips{color:#999;font-size:12px;text-align:center;margin-top:15px}.sample-apply .submit-success-pop .get-user-con .tips em{color:#cf1111;margin-right:.1rem}.sample-apply .submit-success-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}
\ No newline at end of file
.sample-basinfo{background-color:#f3f3f3;height:100%}.sample-basinfo .basinfo-form{padding:0 15px;background-color:#fff}.sample-basinfo .basinfo-form .form-item{border-bottom:1px solid #e9e9e9;display:-webkit-box;display:-ms-flexbox;display:flex;padding:20px 0}.sample-basinfo .basinfo-form .form-item.no-border{border:none}.sample-basinfo .basinfo-form .form-item .label-h3{font-size:14px;color:#333;-webkit-box-flex:0;-ms-flex:0 0 90px;flex:0 0 90px}.sample-basinfo .basinfo-form .form-item .label-h3 span{margin-right:8px;vertical-align:middle;color:red}.sample-basinfo .basinfo-form .form-item .input{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;font-size:14px}.sample-basinfo .save-btn-div{padding:1rem 0}.sample-basinfo .save-btn-div .btn{width:144px;height:34px;background-color:#1080d0;border-radius:50px;text-align:center;line-height:34px;font-size:14px;color:#fff;margin:0 auto}
\ No newline at end of file
.sample-cominfo .cominfo-form{padding:0 15px}.sample-cominfo .cominfo-form .form-item{border-bottom:1px solid #e9e9e9;display:-webkit-box;display:-ms-flexbox;display:flex;padding:20px 0}.sample-cominfo .cominfo-form .form-item.detail-add{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.sample-cominfo .cominfo-form .form-item.detail-add .textarea{display:block;height:60px;font-size:14px;padding:10px 0;resize:none}.sample-cominfo .cominfo-form .form-item.pic-item{display:block;border:none;padding-bottom:2rem}.sample-cominfo .cominfo-form .form-item.pic-item .default-img{width:219px;height:94px;background-color:#e9e9e9;border-radius:2px;margin:20px auto 0;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:10px}.sample-cominfo .cominfo-form .form-item.pic-item .default-img .img{width:88px;height:73px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAACSCAYAAADl00BjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjUxMjgyRDVENzg5MTFFQThDQTU5RjQ1QjlCMzFFRDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjUxMjgyRDZENzg5MTFFQThDQTU5RjQ1QjlCMzFFRDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NTEyODJEM0Q3ODkxMUVBOENBNTlGNDVCOUIzMUVEOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2NTEyODJENEQ3ODkxMUVBOENBNTlGNDVCOUIzMUVEOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Po9ncU8AAAj7SURBVHja7J1rbBVF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) no-repeat;background-size:100% 100%;margin:0 auto}.sample-cominfo .cominfo-form .form-item.pic-item .has-img{width:219px;height:94px;margin:20px auto 0;position:relative;border-radius:2px}.sample-cominfo .cominfo-form .form-item.pic-item .has-img img{height:100%;width:100%}.sample-cominfo .cominfo-form .form-item.pic-item .has-img .img-mask{position:absolute;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,91.4%,.78);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.sample-cominfo .cominfo-form .form-item.pic-item .has-img .img-mask .yes-icon{height:50px;width:50px;background:url(../img/yes.55af035c.png) no-repeat;background-size:100% 100%}.sample-cominfo .cominfo-form .form-item.pic-item .file{display:none}.sample-cominfo .cominfo-form .form-item.pic-item .upload-btn{width:100px;height:28px;border:1px solid #1080d0;font-size:14px;text-align:center;line-height:28px;color:#1080d0;margin:18px auto 0;border-radius:50px}.sample-cominfo .cominfo-form .form-item .detail-add-label,.sample-cominfo .cominfo-form .form-item .label-h3,.sample-cominfo .cominfo-form .form-item .pic-item-label{font-size:14px;color:#333}.sample-cominfo .cominfo-form .form-item .detail-add-label.label-h3,.sample-cominfo .cominfo-form .form-item .label-h3.label-h3,.sample-cominfo .cominfo-form .form-item .pic-item-label.label-h3{-webkit-box-flex:0;-ms-flex:0 0 80px;flex:0 0 80px}.sample-cominfo .cominfo-form .form-item .detail-add-label span,.sample-cominfo .cominfo-form .form-item .label-h3 span,.sample-cominfo .cominfo-form .form-item .pic-item-label span{margin-right:8px;vertical-align:middle;color:red}.sample-cominfo .cominfo-form .form-item .choose-right,.sample-cominfo .cominfo-form .form-item .input{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;font-size:14px}.sample-cominfo .cominfo-form .form-item .choose-right.choose-right,.sample-cominfo .cominfo-form .form-item .input.choose-right{color:#999}.sample-cominfo .cominfo-form .form-item .choose-right.choose-right i,.sample-cominfo .cominfo-form .form-item .input.choose-right i{vertical-align:middle;margin-left:8px}.sample-cominfo .save-btn-div{background-color:#f3f3f3;padding:1rem 0}.sample-cominfo .save-btn-div .btn{width:144px;height:34px;background-color:#1080d0;border-radius:50px;text-align:center;line-height:34px;font-size:14px;color:#fff;margin:0 auto}
\ No newline at end of file
.sample{padding-bottom:50px}.sample .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample .banner{height:173px;width:100%}.sample .banner img{width:100%}.sample .zititle{padding:15px}.sample .zititle span{color:#333;font-size:16px}.sample .zititle font{font-size:12px;color:#999;margin-left:10px;height:20px;line-height:20px}.sample .fx_text{color:#999;text-align:right;padding-top:15px}.sample .fx_text div{padding:0 15px 10px}.sample .fx_text span{color:#ffa200}.sample .nav{position:relative;z-index:2}.sample .nav .van-hairline--top-bottom:after{border-width:0 0 1px 0}.sample .con .con-group{padding:15px;padding-bottom:0}.sample .con .con-group .img-box{width:2.933rem;height:2.933rem}.sample .con .con-group .img-box img{width:100%;height:100%}.sample .con .con-group .cb-box{width:6rem;height:2.933rem;padding-bottom:15px}.sample .con .con-group .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.15rem}.sample .con .con-group .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample .con .con-group .cb-box p span{color:#666}.sample .con .con-group .cb-box .btn-wrap{margin-top:.2rem}.sample .con .con-group .cb-box .btn-wrap .btnw{width:2.133rem;height:30px;line-height:30px;border-radius:4px;font-size:13px;color:#1080d0;border:1px solid #1080d0;text-align:center}.sample .con .con-group .cb-box .btn-wrap .btnx{width:3.5rem;height:30px;line-height:30px;border-radius:4px;background:#1080d0;color:#fff;text-align:center;cursor:pointer}@media screen and (max-width:320px){.sample .con .con-group .cb-box{width:5.8rem;height:2.933rem}.sample .con .con-group .cb-box .title{margin-bottom:.05rem}}.sample .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;cursor:pointer}.sample .get-user-pop .get-user-con{background:#fff;width:8.667rem;height:5.52rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-2.76rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample .get-user-pop .get-user-con h3{color:#ffa200;font-size:16px;height:2.027rem;line-height:2.027rem;text-align:center}.sample .get-user-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample .get-user-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample .get-user-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:50px}.sample .get-user-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}.sample .sample-search{position:absolute;top:46px;left:0;right:0;width:100%;background:#fff;z-index:101}.sample .sample-search .mask{position:fixed;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}.sample .sample-search ul{background:#fff;padding-bottom:3px;height:200px;overflow-x:hidden;overflow-y:auto}.sample .sample-search ul li .tit{color:#333;font-size:16px;font-weight:700;padding:.4rem 0 .4rem .2rem;height:.53333rem;line-height:.53333rem}.sample .sample-search ul li dl{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.sample .sample-search ul li dl dd{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;text-align:center;height:32px;line-height:32px;font-size:14px;color:#333;-webkit-transition:all .2s ease;transition:all .2s ease;border:1px solid transparent;overflow:hidden;text-overflow:ellipsis}.sample .sample-search ul li dl dd.curr{border:1px solid #1080d0;color:#1080d0}.sample .sample-search .button{border-top:1px solid #d6d7dc;height:40px;line-height:40px;background:#fff;-webkit-box-shadow:0 2px 5px #eee;box-shadow:0 2px 5px #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.sample .sample-search .button a{width:50%;font-size:14px;height:39px;line-height:39px;display:block;text-align:center}.sample .sample-search .button a.cancel{color:#333;border-radius:5px}.sample .sample-search .button a.confirm{background:#1080d0;color:#fff;text-decoration:none;border:none}
\ No newline at end of file
.sample{padding-bottom:50px}.sample .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample .banner{height:173px;width:100%}.sample .banner img{width:100%}.sample .zititle{padding:15px}.sample .zititle span{color:#333;font-size:16px}.sample .zititle font{font-size:12px;color:#999;margin-left:10px;height:20px;line-height:20px}.sample .activity-rule{margin:15px 15px 0 15px;border:1px solid #d5c06d;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;background-color:#fffae7;color:#333}.sample .activity-rule .rule-title{height:1rem;line-height:1rem;font-size:14px;text-align:center;position:relative}.sample .activity-rule .rule-title .icon{position:absolute;right:7px;font-size:20px;color:#d5c06d}.sample .activity-rule .rule-title .icon.icon-down-trangle{font-size:26px}.sample .activity-rule .rule-content{padding:0 15px 0;font-size:12px;height:0;-webkit-transition:height .5s linear;transition:height .5s linear;overflow:hidden}.sample .activity-rule .rule-content.show{height:250px}.sample .activity-rule .rule-content p{padding-top:5px;line-height:20px}.sample .fx_text{color:#999;text-align:right;padding-top:15px}.sample .fx_text div{padding:0 15px 10px}.sample .fx_text span{color:#ffa200}.sample .nav{position:relative;z-index:2}.sample .nav .van-hairline--top-bottom:after{border-width:0 0 1px 0}.sample .con .con-group{padding:15px;padding-bottom:0}.sample .con .con-group .img-box{width:2.933rem;height:2.933rem}.sample .con .con-group .img-box img{width:100%;height:100%}.sample .con .con-group .cb-box{width:6rem;height:2.933rem;padding-bottom:15px}.sample .con .con-group .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.15rem}.sample .con .con-group .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample .con .con-group .cb-box p span{color:#666}.sample .con .con-group .cb-box .btn-wrap{margin-top:.2rem}.sample .con .con-group .cb-box .btn-wrap .btnw{width:2.133rem;height:30px;line-height:30px;border-radius:4px;font-size:13px;color:#1080d0;border:1px solid #1080d0;text-align:center}.sample .con .con-group .cb-box .btn-wrap .btnx{width:3.5rem;height:30px;line-height:30px;border-radius:4px;background:#1080d0;color:#fff;text-align:center;cursor:pointer}@media screen and (max-width:320px){.sample .con .con-group .cb-box{width:5.8rem;height:2.933rem}.sample .con .con-group .cb-box .title{margin-bottom:.05rem}}.sample .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;cursor:pointer}.sample .choose-work-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}.sample .choose-work-pop .choose-work-con{background:#fff;width:9rem;height:10rem;position:fixed;top:50%;left:50%;margin-left:-4.5rem;margin-top:-5rem;z-index:99999;border-radius:3px}.sample .choose-work-pop .choose-work-con i{position:absolute;top:-30px;color:#fff;font-size:20px;right:0}.sample .choose-work-pop .choose-work-con .work-groups .work-item{width:50%;height:4.2rem;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.sample .choose-work-pop .choose-work-con .work-groups .work-item.xs-item{background-color:#eaecff;border-bottom:1px solid #fff}.sample .choose-work-pop .choose-work-con .work-groups .work-item.mys-item{background-color:#f7f7f7;border-bottom:1px solid #fff;border-left:1px solid #fff}.sample .choose-work-pop .choose-work-con .work-groups .work-item.gcs-item{background-color:#fff7f0}.sample .choose-work-pop .choose-work-con .work-groups .work-item.zds-item{background-color:#eafffb;border-left:1px solid #fff}.sample .choose-work-pop .choose-work-con .work-groups .work-item.active .radius-div{border:3px solid #0080cc}.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div{margin:10px auto 0;height:3rem;width:3rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50% 50%;border:3px solid transparent;background-repeat:no-repeat;background-size:100% 100%}.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.xs-radius{background-image:url(../img/work1.1684c80b.png)}.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.mys-radius{background-image:url(../img/work2.d809af8f.png)}.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.gcs-radius{background-image:url(../img/work3.7f3f8872.png)}.sample .choose-work-pop .choose-work-con .work-groups .work-item .radius-div.zds-radius{background-image:url(../img/work4.b1105a2b.png)}.sample .choose-work-pop .choose-work-con .work-groups .work-item p{font-size:14px;color:#000;margin-top:7px}.sample .choose-work-pop .choose-work-con .btn{width:4rem;height:1rem;line-height:1rem;border-radius:15px;font-size:14px;text-align:center;margin:10px auto 0;color:#fff;background-color:#d1d1d1}.sample .choose-work-pop .choose-work-con .btn.active{background-color:#0080cc}.sample .get-user-pop .get-user-con{background:#fff;width:8.667rem;height:5.52rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-2.76rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample .get-user-pop .get-user-con h3{color:#ffa200;font-size:16px;height:2.027rem;line-height:2.027rem;text-align:center}.sample .get-user-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample .get-user-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample .get-user-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:50px}.sample .get-user-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}.sample .sample-search{position:absolute;top:46px;left:0;right:0;width:100%;background:#fff;z-index:101}.sample .sample-search .mask{position:fixed;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}.sample .sample-search ul{background:#fff;padding-bottom:3px;height:200px;overflow-x:hidden;overflow-y:auto}.sample .sample-search ul li .tit{color:#333;font-size:16px;font-weight:700;padding:.4rem 0 .4rem .2rem;height:.53333rem;line-height:.53333rem}.sample .sample-search ul li dl{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.sample .sample-search ul li dl dd{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;text-align:center;height:32px;line-height:32px;font-size:14px;color:#333;-webkit-transition:all .2s ease;transition:all .2s ease;border:1px solid transparent;overflow:hidden;text-overflow:ellipsis}.sample .sample-search ul li dl dd.curr{border:1px solid #1080d0;color:#1080d0}.sample .sample-search .button{border-top:1px solid #d6d7dc;height:40px;line-height:40px;background:#fff;-webkit-box-shadow:0 2px 5px #eee;box-shadow:0 2px 5px #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.sample .sample-search .button a{width:50%;font-size:14px;height:39px;line-height:39px;display:block;text-align:center}.sample .sample-search .button a.cancel{color:#333;border-radius:5px}.sample .sample-search .button a.confirm{background:#1080d0;color:#fff;text-decoration:none;border:none}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-503d2a1d"],{"869c":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"sample-basinfo"},[a("Header",{attrs:{title:e.title,meaushow:e.meaushow,bgcolor:e.bgcolor}}),a("div",{staticClass:"basinfo-form"},[a("div",{staticClass:"form-item"},[e._m(0),a("input",{directives:[{name:"model",rawName:"v-model",value:e.comPhone,expression:"comPhone"}],staticClass:"input",attrs:{type:"text",placeholder:"点击填写手机号码",readonly:Boolean(e.ypBasInfo.mobile)},domProps:{value:e.comPhone},on:{input:function(t){t.target.composing||(e.comPhone=t.target.value)}}})]),a("div",{staticClass:"form-item"},[e._m(1),a("input",{directives:[{name:"model",rawName:"v-model",value:e.userName,expression:"userName"}],staticClass:"input",attrs:{type:"text",placeholder:"请填写真实姓名",maxlength:"10",readonly:Boolean(e.ypBasInfo.user_name)},domProps:{value:e.userName},on:{input:function(t){t.target.composing||(e.userName=t.target.value)}}})]),a("div",{staticClass:"form-item no-border"},[e._m(2),a("input",{directives:[{name:"model",rawName:"v-model",value:e.comEmail,expression:"comEmail"}],staticClass:"input",attrs:{type:"text",placeholder:"请填写常用邮箱",readonly:Boolean(e.ypBasInfo.email)},domProps:{value:e.comEmail},on:{input:function(t){t.target.composing||(e.comEmail=t.target.value)}}})])]),a("div",{staticClass:"save-btn-div"},[a("div",{staticClass:"btn",on:{click:e.saveBasInfo}},[e._v("保存")])])],1)},o=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h3",{staticClass:"label-h3"},[a("span",{staticClass:"f-red"},[e._v("*")]),e._v("手机号码\n ")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h3",{staticClass:"label-h3"},[a("span",{staticClass:"f-red"},[e._v("*")]),e._v("联系人姓名\n ")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h3",{staticClass:"label-h3"},[a("span",{staticClass:"f-red"},[e._v("*")]),e._v("邮箱\n ")])}],i=(a("5ab2"),a("6d57"),a("e44b"),a("e10e"),a("9bef")),n=a("0261"),r=a("0a68"),c=a("9f3a"),l=a("57af");function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach((function(t){Object(i["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}n["a"].use(r["a"]);var f={name:"samplebasinfo",data:function(){return{title:"基础信息填写",meaushow:!0,bgcolor:"#fafafa",comPhone:"",userName:"",comEmail:"",occupationType:this.$route.query.type||-1,fullType:this.$route.query.full||-1,basinfocookie:localStorage.getItem("samplebasinfo")||""}},created:function(){this.fillData()},computed:u({},Object(c["c"])({ypBasInfo:function(e){return e.sampleapply.ypBasInfo}})),methods:{fillData:function(){if(this.basinfocookie){var e=JSON.parse(this.basinfocookie);this.comPhone=e.mobile,this.userName=e.user_name,this.comEmail=e.email}else this.comPhone=this.ypBasInfo.mobile,this.userName=this.ypBasInfo.user_name,this.comEmail=this.ypBasInfo.email},saveBasInfo:function(){var e=this.comPhone.trim(),t=/^[+]?\d*$/,a=this.comEmail.trim(),s=/^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;if(e.length<5||e.length>11||!t.test(e))Object(r["a"])("请填写正确的手机号码");else if(this.userName)if(s.test(a)){var o=JSON.stringify({mobile:this.comPhone,user_name:this.userName,email:this.comEmail});localStorage.setItem("samplebasinfo",o),this.$router.go(-1)}else Object(r["a"])("请填写正确邮箱");else Object(r["a"])("请填写真实姓名")}},components:{Header:l["a"]}},p=f,h=(a("b799"),a("9ca4")),b=Object(h["a"])(p,s,o,!1,null,"f14c42ea",null);t["default"]=b.exports},b799:function(e,t,a){"use strict";var s=a("d8df"),o=a.n(s);o.a},d8df:function(e,t,a){}}]);
\ No newline at end of file
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 sign in to comment