Commit 9a1dcdf6 by 梁建民

h5推广页

parents b7eed383 50e3dc03
Showing with 930 additions and 39 deletions
......@@ -54,7 +54,7 @@ export const apis = {
/**wx分享签名接口**/
wxShare: url + 'shareparams',
/**
/**
/**
* 首页
*/
index: productionUrl + 'index',
......@@ -138,6 +138,12 @@ export const apis = {
actionLogin: productionUrlApi + 'login/action',
/**
* *
* 登录接口api
* *
*/
actionLogins: productionUrlApi + 'login/action',
/**
* *
* 获取短信api
* *
*/
......@@ -415,7 +421,11 @@ export const apis = {
/**
* 资料下载(地址)
*/
downloadFile: productionUrlApi + 'article/DownloadFile'
downloadFile: productionUrlApi + 'article/DownloadFile',
/**
* 发送验证码
*/
smsVerifys: productionUrlApi + 'public/smsVerify'
}
......@@ -433,9 +443,15 @@ export const services = {
smsVerify(params) {
return axios.post(apis.smsVerify, params)
},
smsVerifys(params) {
return axios.post(apis.smsVerifys, params)
},
actionLogin(params) {
return axios.post(apis.actionLogin, params)
},
actionLogins(params) {
return axios.post(apis.actionLogins, params)
},
feedback(params) {
return axios.post(apis.feedback, params)
},
......@@ -510,7 +526,6 @@ export const services = {
changeReceivePrizeAddress(params) {
return axios.post(apis.changeReceivePrizeAddress, params)
},
setdefault(params) {
return axios.post(apis.setdefault, params)
},
......@@ -523,7 +538,6 @@ export const services = {
getOverseaMsgArea(params) {
return axios.post(apis.getOverseaMsgArea, params)
},
getUserPointExchangeDetail(params) {
return axios.post(apis.getUserPointExchangeDetail, params)
},
......@@ -678,32 +692,32 @@ export const services = {
},
wxShare(params) {
return axios.post(apis.wxShare, params)
},
},
selfSampleCreate(params) {
return axios.post(apis.selfSampleCreate, params)
return axios.post(apis.selfSampleCreate, params)
},
sampleClassList(params) {
return axios.get(apis.sampleclasslist, {
params: {
...params
}
})
return axios.get(apis.sampleclasslist, {
params: {
...params
}
})
},
sampleList(params) {
return axios.get(apis.samplelist, {
params: {
...params
}
})
return axios.get(apis.samplelist, {
params: {
...params
}
})
},
getUserSampleInfo(params) {
return axios.get(apis.getusersampleinfo, {
params: {
...params
}
})
},
getSampleInfo(params){
return axios.post(apis.getsampleinfo, params)
return axios.get(apis.getusersampleinfo, {
params: {
...params
}
})
},
getSampleInfo(params) {
return axios.post(apis.getsampleinfo, params)
}
};
\ No newline at end of file
.special {
width: 100%;
background: #fd4e40;
padding-bottom: 1.143rem; }
.special .header {
width: 100%;
height: 15rem;
background: url("../../images/special/banner.jpg") no-repeat top;
background-size: cover; }
.special .header .wrap {
position: absolute;
bottom: 3.6rem;
left: 0;
right: 0;
margin: 0 auto;
width: 9.2rem;
background-color: #ffffff;
border-radius: 4px;
padding-top: 0.693rem;
padding-bottom: 0.667rem; }
.special .header .wrap .inp {
width: 7.333rem;
height: 40px;
background: rgba(189, 188, 187, 0.1);
margin: 0 auto 0.253rem;
display: flex;
flex-direction: row;
align-items: center; }
.special .header .wrap .inp .ico {
width: 12px;
height: 20px;
background: url("../../images/special/mobile.png") no-repeat center;
background-size: cover;
margin-left: 0.4rem;
margin-right: 0.3rem; }
.special .header .wrap .inp .line {
width: 1px;
height: 16px;
background: rgba(189, 188, 187, 0.6); }
.special .header .wrap .inp .inpt {
background: none;
margin: 10px 0;
color: #bdbcbb;
padding-left: 0.3rem; }
.special .header .wrap .inp .inpt::-webkit-input-placeholder {
color: #bdbcbb;
opacity: 0.6; }
.special .header .wrap .code {
width: 7.467rem;
height: 40px;
margin: 0 auto 0.253rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between; }
.special .header .wrap .code .l {
background: rgba(189, 188, 187, 0.1);
white-space: nowrap;
width: 4.667rem;
height: 40px; }
.special .header .wrap .code .l .ico {
width: 17px;
height: 17px;
background: url("../../images/special/msg.png") no-repeat center;
background-size: cover;
margin-left: 0.4rem;
margin-right: 0.2rem; }
.special .header .wrap .code .l .line {
width: 1px;
height: 16px;
background: rgba(189, 188, 187, 0.6); }
.special .header .wrap .code .l .inpt {
background: none;
margin: 10px 0;
color: #bdbcbb;
padding-left: 0.3rem; }
.special .header .wrap .code .l .inpt::-webkit-input-placeholder {
color: #bdbcbb;
opacity: 0.6; }
.special .header .wrap .code .imgcode {
height: 40px; }
.special .header .wrap .code .imgcode img {
width: 2.573rem;
height: 40px; }
.special .header .wrap .code .codebtn {
width: 2.573rem;
height: 40px;
line-height: 40px;
text-align: center;
background-color: #ff8f1b;
border-radius: 2px;
display: inline-block;
font-size: 13px;
color: #ffffff; }
.special .header .wrap .code .codebtn.codebtndisabled {
background-color: #c2c2c2; }
.special .header .wrap .btn {
margin-top: 0.48rem;
width: 7.333rem;
height: 40px;
line-height: 40px;
text-align: center;
background-image: linear-gradient(90deg, #ff3b00 0%, #ff901b 100%);
border-radius: 2px;
display: block;
font-size: 15px;
color: #fff; }
.special .list-a {
margin: 0 0.4rem 0.4rem 0.4rem;
background-color: #ffffff;
border-radius: 4px;
padding: 0.693rem 0 0.45rem 0; }
.special .list-a .tit {
width: 241px;
height: 13px;
background: url("../../images/special/bb.png") no-repeat center;
background-size: cover;
margin: 0 auto 0.747rem; }
.special .list-a ul {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap; }
.special .list-a ul li {
width: 2.813rem;
height: 4.813rem;
background-color: #ffffff;
margin-bottom: 0.12rem;
margin-right: 0.093rem; }
.special .list-a ul li:nth-of-type(3n) {
margin-right: 0; }
.special .list-a ul li a {
display: block; }
.special .list-a ul li a img {
width: 100%;
height: 100%; }
.special .list-b {
margin: 0 0.4rem;
background-color: #ffffff;
border-radius: 4px;
padding: 0.693rem 0 0.45rem 0; }
.special .list-b .tit {
width: 241px;
height: 13px;
background: url("../../images/special/cc.png") no-repeat center;
background-size: cover;
margin: 0 auto 0.747rem; }
.special .list-b ul {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap; }
.special .list-b ul li {
width: 2.667rem;
height: 1.067rem;
background-color: #ffffff;
margin-bottom: 0.2rem;
margin-right: 0.2rem;
border: 1px solid #e5e5e5; }
.special .list-b ul li:nth-of-type(3n) {
margin-right: 0; }
.special .list-b ul li a {
display: block; }
.special .list-b ul li a img {
width: 100%;
height: 100%; }
.special .foot {
padding: 0 .747rem;
margin-top: 1.093rem;
margin-bottom: 1.147rem; }
.special .foot ul {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 0.28rem; }
.special .foot li {
display: flex;
flex-direction: row;
align-items: center; }
.special .foot li img {
width: 0.933rem;
height: 0.933rem; }
.special .foot li .text {
margin-left: 0.3rem;
width: 3rem; }
.special .foot li .text p {
color: #ffffff;
font-size: 11px;
opacity: 0.8; }
.special .btn {
width: 7.62rem;
height: 1.24rem;
background: url("../../images/special/btn.png") no-repeat center;
background-size: cover;
display: block;
margin: 0 auto; }
/*# sourceMappingURL=index.css.map */
{
"version": 3,
"mappings": "AAAA,QAAS;EACP,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,OAAO;EACnB,cAAc,EAAE,QAAQ;EACxB,gBAAQ;IACN,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,oDAAoD;IAChE,eAAe,EAAE,KAAK;IACtB,sBAAK;MACH,QAAQ,EAAE,QAAQ;MAClB,MAAM,EAAE,MAAM;MACd,IAAI,EAAE,CAAC;MACP,KAAK,EAAE,CAAC;MACR,MAAM,EAAE,MAAM;MACd,KAAK,EAAE,MAAM;MACb,gBAAgB,EAAE,OAAO;MACzB,aAAa,EAAE,GAAG;MAClB,WAAW,EAAE,QAAQ;MACrB,cAAc,EAAE,QAAQ;MACxB,2BAAI;QACF,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,wBAAqB;QACjC,MAAM,EAAE,eAAe;QACvB,OAAO,EAAE,IAAI;QACb,cAAc,EAAE,GAAG;QACnB,WAAW,EAAE,MAAM;QACnB,gCAAI;UACF,KAAK,EAAE,IAAI;UACX,MAAM,EAAE,IAAI;UACZ,UAAU,EAAE,uDAAuD;UACnE,eAAe,EAAE,KAAK;UACtB,WAAW,EAAE,MAAM;UACnB,YAAY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AAK;MACtB,MAAM,EAAE,eAAe;IAGzB,mBAAG;MACD,OAAO,EAAE,IAAI;MACb,cAAc,EAAE,GAAG;MACnB,eAAe,EAAE,MAAM;MACvB,SAAS,EAAE,IAAI;MAEf,sBAAG;QACD,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE,OAAO;QACzB,aAAa,EAAE,MAAM;QACrB,YAAY,EAAE,MAAM;QACpB,MAAM,EAAE,iBAAiB;QAEzB,sCAAkB;UAChB,YAAY,EAAE,CAAC;QAGjB,wBAAE;UACA,OAAO,EAAE,KAAK;UAEd,4BAAI;YACF,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,IAAI;EAOtB,cAAM;IACJ,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,QAAQ;IACpB,aAAa,EAAE,QAAQ;IAEvB,iBAAG;MACD,OAAO,EAAE,IAAI;MACb,cAAc,EAAE,GAAG;MACnB,WAAW,EAAE,MAAM;MACnB,eAAe,EAAE,aAAa;MAC9B,aAAa,EAAE,OAAO;IAGxB,iBAAG;MACD,OAAO,EAAE,IAAI;MACb,cAAc,EAAE,GAAG;MACnB,WAAW,EAAE,MAAM;MACnB,qBAAI;QACF,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,QAAQ;MAGlB,uBAAM;QACJ,WAAW,EAAE,MAAM;QACnB,KAAK,EAAE,IAAI;QACX,yBAAE;UACA,KAAK,EAAE,OAAO;UACd,SAAS,EAAE,IAAI;UACf,OAAO,EAAE,GAAG;EAMpB,aAAI;IACF,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,oDAAoD;IAChE,eAAe,EAAE,KAAK;IACtB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,MAAM",
"sources": ["index.scss"],
"names": [],
"file": "index.css"
}
.special {
width: 100%;
background: #fd4e40;
padding-bottom: 1.143rem;
.header {
width: 100%;
height: 15rem;
background: url("../../images/special/banner.jpg") no-repeat top;
background-size: cover;
.wrap{
position: absolute;
bottom: 3.6rem;
left: 0;
right: 0;
margin: 0 auto;
width: 9.2rem;
background-color: #ffffff;
border-radius: 4px;
padding-top: 0.693rem;
padding-bottom: 0.667rem;
.inp{
width: 7.333rem;
height: 40px;
background: rgba(189,188,187,0.1);
margin: 0 auto 0.253rem;
display: flex;
flex-direction: row;
align-items: center;
.ico{
width: 12px;
height: 20px;
background: url("../../images/special/mobile.png") no-repeat center;
background-size: cover;
margin-left: 0.4rem;
margin-right: 0.3rem;
}
.line{
width: 1px;
height: 16px;
background: rgba(189,188,187,0.6);
}
.inpt{
background: none;
margin: 10px 0;
color: #bdbcbb;
padding-left: 0.3rem;
&::-webkit-input-placeholder {
color: #bdbcbb;
opacity: 0.6;
}
}
}
.code{
width: 7.467rem;
height: 40px;
margin: 0 auto 0.253rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
.l{
background: rgba(189,188,187,0.1);
white-space: nowrap;
width: 4.667rem;
height: 40px;
.ico{
width: 17px;
height: 17px;
background: url("../../images/special/msg.png") no-repeat center;
background-size: cover;
margin-left: 0.4rem;
margin-right: 0.2rem;
}
.line{
width: 1px;
height: 16px;
background: rgba(189,188,187,0.6);
}
.inpt{
background: none;
margin: 10px 0;
color: #bdbcbb;
padding-left: 0.3rem;
&::-webkit-input-placeholder {
color: #bdbcbb;
opacity: 0.6;
}
}
}
.imgcode{
height: 40px;
img{
width: 2.573rem;
height: 40px;
}
}
.codebtn{
width: 2.573rem;
height: 40px;
line-height: 40px;
text-align: center;
background-color: #ff8f1b;
border-radius: 2px;
display: inline-block;
font-size: 13px;
color: #ffffff;
&.codebtndisabled{
background-color: #c2c2c2;
}
}
}
.btn{
margin-top: 0.48rem;
width: 7.333rem;
height: 40px;
line-height: 40px;
text-align: center;
background-image: linear-gradient(90deg, #ff3b00 0%, #ff901b 100%);
border-radius: 2px;
display: block;
font-size: 15px;
color: #fff;
}
}
}
.list-a {
margin: 0 0.4rem 0.4rem 0.4rem;
background-color: #ffffff;
border-radius: 4px;
padding: 0.693rem 0 0.45rem 0;
.tit {
width: 241px;
height: 13px;
background: url("../../images/special/bb.png") no-repeat center;
background-size: cover;
margin: 0 auto 0.747rem;
}
ul {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
li {
width: 2.813rem;
height: 4.813rem;
background-color: #ffffff;
margin-bottom: 0.12rem;
margin-right: 0.093rem;
&:nth-of-type(3n) {
margin-right: 0;
}
a {
display: block;
img {
width: 100%;
height: 100%;
}
}
}
}
}
.list-b {
margin: 0 0.4rem;
background-color: #ffffff;
border-radius: 4px;
padding: 0.693rem 0 0.45rem 0;
.tit {
width: 241px;
height: 13px;
background: url("../../images/special/cc.png") no-repeat center;
background-size: cover;
margin: 0 auto 0.747rem;
}
ul {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
li {
width: 2.667rem;
height: 1.067rem;
background-color: #ffffff;
margin-bottom: 0.2rem;
margin-right: 0.2rem;
border: 1px solid #e5e5e5;
&:nth-of-type(3n) {
margin-right: 0;
}
a {
display: block;
img {
width: 100%;
height: 100%;
}
}
}
}
}
.foot {
padding: 0 .747rem;
margin-top: 1.093rem;
margin-bottom: 1.147rem;
ul {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 0.28rem;
}
li {
display: flex;
flex-direction: row;
align-items: center;
img {
width: 0.933rem;
height: 0.933rem;
}
.text {
margin-left: 0.3rem;
width: 3rem;
p {
color: #ffffff;
font-size: 11px;
opacity: 0.8;
}
}
}
}
.btn{
width: 7.62rem;
height: 1.24rem;
background: url("../../images/special/btn.png") no-repeat center;
background-size: cover;
display: block;
margin: 0 auto;
}
}
......@@ -43,19 +43,18 @@ 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 sampleapply = resolve => require(['@/views/sample/sampleapply'], resolve);
const Special = resolve => require(['@/views/special/Index'], resolve);
Vue.use(Router);
const routes = [{
path: '/',
component: Home,
meta: {
title: '猎芯网 - 电子元器件_ic交易网_电子元件/元器件批发采购网上商城平台'
}
},
path: '/',
component: Home,
meta: {
title: '猎芯网 - 电子元器件_ic交易网_电子元件/元器件批发采购网上商城平台'
}
},
{
path: '/smt',
component: Smt,
......@@ -119,7 +118,7 @@ const routes = [{
back: true
}
},
{
path: '/exchange',
component: Exchange,
......@@ -354,7 +353,7 @@ const routes = [{
},
{
path: '/sampleapply',
name:"sampleapply",
name: "sampleapply",
component: sampleapply,
meta: {
title: '样片申请',
......@@ -362,6 +361,14 @@ const routes = [{
}
},
{
path: '/special',
name: "special",
component: Special,
meta: {
title: '',
}
},
{
path: '*',
redirect: '/'
}
......
import Vue from 'vue'
import {Toast} from 'vant';
import {services as Services} from '../../../api/index'
var qs = require('qs');
Vue.use(Toast);
const state = {
formImgShow: false,
countDown: false
}
const mutations = {
getfileuploadbanner(state, payload) {
state.getfileuploadbanner = payload.data;
},
articleShowData(state, payload) {
state.articleShowData = payload.data;
}
}
const actions = {
actionLogins({commit}, payload) {
const toast = Toast.loading({
forbidClick: true
});
var params = {
account: payload.account,
sms_verify: payload.sms_verify
}
Services.actionLogins(qs.stringify(params)).then((res) => {
let data = res.data;
if (data.err_code == 0) {
setTimeout(function () {
toast.clear();
window.location.href = "/";
}, 2000)
} else {
toast.clear();
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
smsVerifys({commit}, payload) {
var params = {
mobile: payload.mobile,
verify: payload.verify,
channel: 1
};
Services.smsVerifys(qs.stringify(params)).then((res) => {
let data = res.data;
if (data.err_code == 0) {
state.formImgShow = false;
state.countDown = true;
} else if (data.err_code == 10001 || data.err_code == 10002) {
state.formImgShow = true;
Toast({
message: data.err_msg,
duration: 2000
});
} else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
});
}
}
const getters = {}
export default {
state,
mutations,
actions,
getters
}
\ No newline at end of file
......@@ -29,11 +29,11 @@ import rank from './modules/rank/index'
import download from './modules/download/index'
import sample from './modules/sample/index'
import sampleapply from './modules/sample/sampleapply'
import special from './modules/special/index'
Vue.use(Vuex)
export default new Vuex.Store({
modules: {
wallet,
......@@ -64,7 +64,7 @@ export default new Vuex.Store({
rank,
download,
sample,
sampleapply
sampleapply,
special
}
})
......@@ -2,7 +2,7 @@
<section class="brand">
<Header :title="title" :meaushow='meaushow' v-show="xiding"></Header>
<van-tabs @change="getData" v-show="xiding">
<van-tab v-for="item in tabs" :title="item.text" :brand_area="title.brand_area" >
<van-tab v-for="item in tabs" :key="item" :title="item.text" :brand_area="title.brand_area" >
</van-tab>
</van-tabs>
<!--索引分类-->
......
......@@ -31,7 +31,7 @@
:title-inactive-color="defaultcolor"
@change="changeTab"
>
<van-tab v-for="(v,k) in classList" :title="v.class_name" :name="v.id"></van-tab>
<van-tab v-for="(v,k) in classList" :key="v" :title="v.class_name" :name="v.id"></van-tab>
</van-tabs>
</div>
<div class="con">
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
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