Commit 285fca86 by 肖康

Merge branch 'XK_WX_LIST20190225' into Pre-release

parents 2f329f00 3a6ee52a
Showing with 1163 additions and 56 deletions
NODE_ENV=local
NODE_ENV_H5=secret
\ No newline at end of file
......@@ -3,7 +3,6 @@ node_modules
# local env files
.env.local
.env.*.local
# Log files
......
......@@ -3,9 +3,10 @@
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"local": "vue-cli-service serve --mode local",
"dev": "vue-cli-service build --watch --mode development",
"build": "vue-cli-service build",
"dev": "vue-cli-service build --watch"
"build-test": "vue-cli-service build --mode test"
},
"dependencies": {
"axios": "^0.18.0",
......@@ -21,6 +22,8 @@
"node-sass": "^4.9.0",
"qs": "^6.6.0",
"sass-loader": "^7.0.1",
"vconsole": "^3.2.2",
"vconsole-webpack-plugin": "^1.4.2",
"vue-template-compiler": "^2.5.21"
},
"postcss": {
......
......@@ -19,18 +19,18 @@
<meta name="description" content="猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。">
<meta name="keywords" content="猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<script type="text/javascript" src="get_time.php"></script>
<link rel="stylesheet" href="<%= NODE_ENV_H5 %>v3/dist/res/m/css/font/iconfont.css">
<script type="text/javascript" src="<%= NODE_ENV_H5 %>h5/view/get_time.php"></script>
<script type="text/javascript">
var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差
</script>
<link rel="stylesheet" href="<%= BASE_URL %>static/css/iconfont.css">
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js" type="text/javascript" charset="utf-8"></script>
<script src="<%= BASE_URL %>static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="<%= BASE_URL %>static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<body class="boxsiz">
<noscript>
<strong>网站出现了一点小问题,正在修复中.......</strong>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong>
</noscript>
<div id="app"></div>
<script type="text/javascript">
......@@ -213,7 +213,7 @@
sdk_url: __PUBLIC__ + '/res/m/js/global/sensorsdata.min.js',
heatmap_url: __PUBLIC__ + '/res/m/js/global/heatmap.min.js',
name: 'sensors',
server_url: 'http://shence.ichunt.com:8106/sa?project=production',
server_url: 'https://shence.ichunt.com:4006/sa?project=production',
heatmap: {}
});
//以异步加载 SDK 为例,神策 SDK 初始化完成,此时调用设置公共属性的方法,来保证之后的事件都有这两个属性。
......@@ -253,7 +253,7 @@
sdk_url: __PUBLIC__ + '/res/m/js/global/sensorsdata.min.js',
heatmap_url: __PUBLIC__ + '__PUBLIC__/res/m/js/global/heatmap.min.js',
name: 'sensors',
server_url: 'http://shence.ichunt.com:8106/sa',
server_url: 'https://shence.ichunt.com:4006/sa',
heatmap: {}
});
//以异步加载 SDK 为例,神策 SDK 初始化完成,此时调用设置公共属性的方法,来保证之后的事件都有这两个属性。
......
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
......@@ -4,14 +4,14 @@ window.onload = function() {
// console.log(start);
// 在页面关闭前,调用sa的track方法
window.onbeforeunload = function() {
var end = new Date();
// 如果用户一直不关闭页面,可能出现超大值,可以根据业务需要处理,例如设置一个上限
var duration = (end.getTime() - start.getTime()) / 1000;
// console.log(duration);
// 定义一个记录页面停留时间的事件pageView,并且保存需要的属性(停留时间和当前页面的地址)
sensors.track('pageclose', {
pageStayTime: duration,
pageUrl: window.location.href
});
var end = new Date();
// 如果用户一直不关闭页面,可能出现超大值,可以根据业务需要处理,例如设置一个上限
var duration = (end.getTime() - start.getTime()) / 1000;
// console.log(duration);
// 定义一个记录页面停留时间的事件pageView,并且保存需要的属性(停留时间和当前页面的地址)
sensors.track('pageclose', {
pageStayTime: duration,
pageUrl: window.location.href
});
};
}
\ No newline at end of file
......@@ -7,45 +7,35 @@ import axios from 'axios'
* www.liexin.com 本地环境
* urlApi api环境
* url 3.0环境
* urlMarketing marketing营销系统接口
*/
var urlApi, url;
switch (window.location.hostname) {
case "www.ichunt.com":
urlApi = 'https://api.ichunt.com/';
break;
case "m.ichunt.com":
url = 'https://m.ichunt.com/v3';
url = 'https://m.ichunt.com/v3/';
urlApi = 'https://api.ichunt.com/';
break;
case "sz.ichunt.com":
urlApi = 'https://szapi.ichunt.com/';
break;
case "szm.ichunt.com":
urlApi = 'https://szapi.ichunt.com/';
url = 'https://szm.ichunt.com/v3/';
break;
case "t.ichunt.com":
urlApi = 'https://api.ichunt.com/';
break;
case "tm.ichunt.com":
url = 'https://tm.ichunt.com/v3';
url = 'https://tm.ichunt.com/v3/';
urlApi = 'https://api.ichunt.com/';
break;
case "www.liexin.com":
urlApi = 'http://api.liexin.com/';
break;
case "m.liexin.com":
url = 'http://m.liexin.com/v3/';
urlApi = 'http://api.liexin.com/';
urlApi = 'http://api.liexin.com';
break;
default:
urlApi = '/api/';
//本地proxy配置参考vue.config.js
url = '/m/v3/'
urlApi = '/apis/';
}
export const productionUrl = url;
export const productionUrlApi = urlApi;
export const apis = {
/**
* 首页
......@@ -70,9 +60,24 @@ export const apis = {
/**
* 微信授权
*/
wxaccess: productionUrl + 'api/wxaccess'
wxaccess: productionUrl + 'api/wxaccess',
/**
* 验证用户是否存在
*/
checkAccountExists: productionUrlApi + 'public/checkAccountExists',
/**
* 获取sms验证码
*/
customSmsVerify: productionUrlApi + 'public/customSmsVerify',
/**
* 提交报关信息
*/
chainFind: productionUrl + 'Service/chainFind',
/**
*微信菜单文章锦集api
*/
wechatArticle: productionUrlApi + 'Wechat/WechatArticleJinJi/article'
}
export const services = {
index(params) {
return axios.post(apis.index, params)
......@@ -103,5 +108,18 @@ export const services = {
},
wxaccess(params) {
return axios.post(apis.wxaccess, params)
},
checkAccountExists(params) {
return axios.post(apis.checkAccountExists, params)
},
customSmsVerify(params) {
return axios.post(apis.customSmsVerify, params)
},
chainFind(params) {
return axios.post(apis.chainFind, params)
},
wechatArticle(params) {
return axios.post(apis.wechatArticle, params)
}
}
......@@ -204,4 +204,5 @@ $imgUrl: '../images/';
}
}
}
}
\ No newline at end of file
}
.smt { width: 100%; }
.smt .head { position: relative; width: 100%; height: 7.693rem; background: url("../../images/smt/bg.jpg") no-repeat center; background-size: cover; }
.smt .head .head-form { position: absolute; bottom: -1.6rem; left: 0; right: 0; margin: 0 0.467rem; padding: 0 0 0.373rem 0; background-color: #ffffff; box-shadow: 2px 3px 4px 0px rgba(198, 211, 233, 0.75); border-radius: 2px; }
.smt .head .head-form.head-form-mt { bottom: -3rem; }
.smt .head .head-form .inp-wrap { border-bottom: 1px solid #dcdcdc; margin: 0 0.667rem; }
.smt .head .head-form .inp-wrap label { width: 80px; font-size: 15px; color: #666666; }
.smt .head .head-form .inp-wrap label em { color: #73a0e2; margin-right: 0.253rem; }
.smt .head .head-form .inp-wrap input.inp { padding: 10px 0; height: 30px; line-height: 30px; color: #333333; font-size: 14px; }
.smt .head .head-form .inp-wrap input.inp.w1 { width: 44%; }
.smt .head .head-form .inp-wrap .code-text { font-size: 14px; background: none; color: #1080d0; }
.smt .head .head-form .inp-wrap .code-text.code-text-disabled { color: #999999; }
.smt .head .head-form .error { font-size: 13px; color: #ff6600; position: absolute; left: 1rem; bottom: 58px; font-weight: normal; }
.smt .head .head-form .btn { margin: 0.707rem 0.667rem 0 0.667rem; height: 39px; line-height: 39px; text-align: center; background-color: #4e8eee; border-radius: 2px; font-size: 14px; color: #ffffff; display: block; }
.smt .section { border-top: 2rem solid #dfe5ee; background: #fff; padding-bottom: 1rem; }
.smt .section.section-mt { border-top: 3.5rem solid #dfe5ee; }
.smt .section .section-wrap { padding: 0 0.467rem; }
.smt .section .section-wrap .tit { padding: 0.387rem 0 0.4rem 0; }
.smt .section .section-wrap .tit .ico-1 { width: 16px; height: 17px; background: url("../../images/smt/i1.png") no-repeat center top; background-size: cover; }
.smt .section .section-wrap .tit .t1 { font-size: 17px; color: #2e2e2e; margin-left: 0.293rem; margin-right: 0.267rem; }
.smt .section .section-wrap .tit .t2 { font-size: 13px; color: #adacac; }
.smt .section .section-wrap.wrap-1 ul { display: flex; justify-content: space-between; }
.smt .section .section-wrap.wrap-1 ul li { position: relative; height: 80px; width: 49%; }
.smt .section .section-wrap.wrap-1 ul li.i1 { background: url("../../images/smt/i2.png") no-repeat center; background-size: cover; }
.smt .section .section-wrap.wrap-1 ul li.i2 { background: url("../../images/smt/i3.png") no-repeat center; background-size: cover; }
.smt .section .section-wrap.wrap-1 ul li .t1 { position: absolute; left: 0; right: 0; top: 26px; font-size: 15px; color: #ffffff; z-index: 1; text-align: center; }
.smt .section .section-wrap.wrap-1 ul li a { position: absolute; left: 50%; bottom: 6px; font-size: 13px; color: #ffffff; z-index: 1; text-decoration: underline; margin-left: 10px; }
.smt .section .section-wrap.wrap-2 ul li { margin-bottom: 0.373rem; }
.smt .section .section-wrap.wrap-2 ul li img { width: 100%; }
.smt .section .section-wrap.wrap-3 ul li img, .smt .section .section-wrap.wrap-4 ul li img { width: 100%; }
.smt .section .section-wrap.wrap-5 .tab { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e5e5e5; }
.smt .section .section-wrap.wrap-5 .tab li { position: relative; font-size: 15px; color: #2e2e2e; flex: 1; text-align: center; padding: 0.28rem 0; transition: all 0.4s ease; }
.smt .section .section-wrap.wrap-5 .tab li.curr { color: #4e8eee; }
.smt .section .section-wrap.wrap-5 .tab li.curr:after { position: absolute; bottom: 0; width: 100%; left: 0; right: 0; margin: 0 auto; height: 5px; background-color: #4e8eee; display: block; content: ""; }
.smt .section .section-wrap.wrap-5 .tab-wrap { margin-top: 0.667rem; }
.smt .section .section-wrap.wrap-5 .tab-wrap li { white-space: nowrap; margin-bottom: 0.15rem; }
.smt .section .section-wrap.wrap-5 .tab-wrap li em { width: 16px; height: 16px; text-align: center; line-height: 16px; background-color: #64cf6e; font-size: 14px; color: #ffffff; border-radius: 50%; }
.smt .section .section-wrap.wrap-5 .tab-wrap li p { white-space: normal; font-size: 14px; color: #666666; margin-left: 0.4rem; width: 90%; text-align: justify; }
.smt .section .section-wrap.wrap-6 { background-color: #dfe5ee; padding: 0; }
.smt .section .section-wrap.wrap-6 .tit { padding: 0.387rem 0.467rem 0.4rem 0.467rem; background: #fff; }
.smt .section .section-wrap.wrap-6 .text { padding: 0.267rem 0.467rem 0.387rem 0.467rem; }
.smt .section .section-wrap.wrap-6 .text .pic { width: 100%; }
.smt .section .section-wrap.wrap-6 .text .pic img { width: 100%; }
.smt .section .section-wrap.wrap-6 .text p { margin-top: 0.3rem; font-size: 13px; color: #666666; line-height: 21px; }
.smt .section .section-wrap.wrap-7 .tab { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e5e5e5; }
.smt .section .section-wrap.wrap-7 .tab li { position: relative; font-size: 15px; color: #2e2e2e; flex: 1; text-align: center; padding: 0.28rem 0; transition: all 0.4s ease; }
.smt .section .section-wrap.wrap-7 .tab li.curr { color: #4e8eee; }
.smt .section .section-wrap.wrap-7 .tab li.curr:after { position: absolute; bottom: 0; width: 100%; left: 0; right: 0; margin: 0 auto; height: 5px; background-color: #4e8eee; display: block; content: ""; }
.smt .section .section-wrap.wrap-7 .tab-wrap { margin-top: 0.667rem; }
.smt .section .section-wrap.wrap-7 .tab-wrap li { position: relative; }
.smt .section .section-wrap.wrap-7 .tab-wrap li p.t1 { font-size: 14px; color: #666666; line-height: 22px; white-space: nowrap; }
.smt .section .section-wrap.wrap-7 .tab-wrap li p.t1 span { white-space: normal; width: 80%; text-align: justify; }
.smt .section .section-wrap.wrap-7 .tab-wrap li .t2 { margin-top: 1rem; margin-bottom: 1rem; font-size: 14px; color: #666666; }
.smt .section .section-wrap.wrap-7 .tab-wrap li .t2 i { width: 20px; height: 15px; background: url("../../images/smt/i10.png") no-repeat center; background-size: cover; margin-right: 0.2rem; }
.smt .section .section-wrap.wrap-7 .tab-wrap li .qq { position: absolute; top: 0; right: -12px; width: 40px; height: 40px; background: url("../../images/smt/i9.png") no-repeat center; background-size: cover; display: block; z-index: 1; }
.smt .apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; width: 100%; height: 54px; background-color: #4e8eee; font-size: 17px; color: #ffffff; text-align: center; line-height: 54px; display: block; }
.smt .smt-arr { width: 15px; height: 6px; background: #4e8eee; border-radius: 3px; display: block; margin-bottom: 0.2rem; }
.smt .smt-layer { font-size: 14px; color: #666666; text-align: left; }
.smt .smt-layer-text { white-space: nowrap; font-size: 14px; color: #666666; line-height: 24px; }
.smt .smt-layer-text span { white-space: normal; width: 92%; text-align: justify; }
/*# sourceMappingURL=index.min.css.map */
{
"version": 3,
"mappings": "AAAA,IAAK,GACH,KAAK,EAAE,IAAI;AACX,UAAM,GACJ,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,QAAQ,EAChB,UAAU,EAAE,+CAA+C,EAC3D,eAAe,EAAE,KAAK;AACtB,qBAAW,GACT,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,CAAC,EACR,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,cAAc,EACvB,gBAAgB,EAAE,OAAO,EACzB,UAAU,EAAE,yCAAyC,EACrD,aAAa,EAAE,GAAG;AAClB,kCAAc,GACZ,MAAM,EAAE,KAAK;AAEf,+BAAU,GACR,aAAa,EAAE,iBAAiB,EAChC,MAAM,EAAE,UAAU;AAClB,qCAAM,GACJ,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO;AACd,wCAAE,GACA,KAAK,EAAE,OAAO,EACd,YAAY,EAAE,QAAQ;AAG1B,yCAAU,GACR,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,IAAI,EACZ,WAAW,EAAE,IAAI,EACj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ACX,UAAU,EAAE,OAAO,EACnB,aAAa,EAAE,GAAG,EAClB,OAAO,EAAE,KAAK,EACd,aAAa,EAAE,MAAM;AAEvB,eAAW,GACT,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO,EACd,UAAU,EAAE,IAAI;AAElB,oBAAgB,GACd,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO,EACd,WAAW,EAAE,IAAI;AACjB,yBAAK,GACH,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,GAAG,EACV,UAAU,EAAE,OAAO",
"sources": ["index.scss"],
"names": [],
"file": "index.min.css"
}
\ No newline at end of file
.smt {
width: 100%;
.head {
position: relative;
width: 100%;
height: 7.693rem;
background: url("../../images/smt/bg.jpg") no-repeat center;
background-size: cover;
.head-form {
position: absolute;
bottom: -1.6rem;
left: 0;
right: 0;
margin: 0 0.467rem;
padding: 0 0 0.373rem 0;
background-color: #ffffff;
box-shadow: 2px 3px 4px 0px rgba(198, 211, 233, 0.75);
border-radius: 2px;
&.head-form-mt{
bottom: -3rem;
}
.inp-wrap {
border-bottom: 1px solid #dcdcdc;
margin: 0 0.667rem;
label {
width: 80px;
font-size: 15px;
color: #666666;
em{
color: #73a0e2;
margin-right: 0.253rem;
}
}
input.inp {
padding: 10px 0;
height: 30px;
line-height: 30px;
color: #333333;
font-size: 14px;
&.w1 {
width: 44%;
}
}
.code-text {
font-size: 14px;
background: none;
color: rgb(16, 128, 208);
&.code-text-disabled {
color: rgb(153, 153, 153);
}
}
}
.error {
font-size: 13px;
color: #ff6600;
position: absolute;
left: 1rem;
bottom: 58px;
font-weight: normal;
}
.btn {
margin: 0.707rem 0.667rem 0 0.667rem;
height: 39px;
line-height: 39px;
text-align: center;
background-color: #4e8eee;
border-radius: 2px;
font-size: 14px;
color: #ffffff;
display: block;
}
}
}
.section {
border-top: 2rem solid #dfe5ee;
background: #fff;
padding-bottom: 1rem;
&.section-mt{
border-top: 3.5rem solid #dfe5ee;
}
.section-wrap {
padding: 0 0.467rem;
.tit {
padding: 0.387rem 0 0.4rem 0;
.ico-1 {
width: 16px;
height: 17px;
background: url("../../images/smt/i1.png") no-repeat center top;
background-size: cover;
}
.t1 {
font-size: 17px;
color: #2e2e2e;
margin-left: 0.293rem;
margin-right: 0.267rem;
}
.t2 {
font-size: 13px;
color: #adacac;
}
}
&.wrap-1 {
ul {
display: flex;
justify-content: space-between;
li {
position: relative;
height: 80px;
width: 49%;
&.i1 {
background: url("../../images/smt/i2.png") no-repeat center;
background-size: cover;
}
&.i2 {
background: url("../../images/smt/i3.png") no-repeat center;
background-size: cover;
}
.t1 {
position: absolute;
left: 0;
right: 0;
top: 26px;
font-size: 15px;
color: #ffffff;
z-index: 1;
text-align: center;
}
a {
position: absolute;
left: 50%;
bottom: 6px;
font-size: 13px;
color: #ffffff;
z-index: 1;
text-decoration: underline;
margin-left: 10px;
}
}
}
}
&.wrap-2 {
ul {
li {
margin-bottom: 0.373rem;
img {
width: 100%;
}
}
}
}
&.wrap-3, &.wrap-4 {
ul {
li {
img {
width: 100%;
}
}
}
}
&.wrap-5 {
.tab {
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #e5e5e5;
li {
position: relative;
font-size: 15px;
color: #2e2e2e;
flex: 1;
text-align: center;
padding: 0.28rem 0;
transition: all 0.4s ease;
&.curr {
color: #4e8eee;
&:after {
position: absolute;
bottom: 0;
width: 100%;
left: 0;
right: 0;
margin: 0 auto;
height: 5px;
background-color: #4e8eee;
display: block;
content: "";
}
}
}
}
.tab-wrap {
margin-top: 0.667rem;
li {
white-space: nowrap;
margin-bottom: 0.15rem;
em {
width: 16px;
height: 16px;
text-align: center;
line-height: 16px;
background-color: #64cf6e;
font-size: 14px;
color: #ffffff;
border-radius: 50%;
}
p {
white-space: normal;
font-size: 14px;
color: #666666;
margin-left: 0.4rem;
width: 90%;
text-align: justify;
}
}
}
}
&.wrap-6 {
background-color: #dfe5ee;
padding: 0;
.tit {
padding: 0.387rem 0.467rem 0.4rem 0.467rem;
background: #fff;
}
.text {
padding: 0.267rem 0.467rem 0.387rem 0.467rem;
.pic {
width: 100%;
img {
width: 100%;
}
}
p {
margin-top: 0.3rem;
font-size: 13px;
color: #666666;
line-height: 21px;
}
}
}
&.wrap-7 {
.tab {
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #e5e5e5;
li {
position: relative;
font-size: 15px;
color: #2e2e2e;
flex: 1;
text-align: center;
padding: 0.28rem 0;
transition: all 0.4s ease;
&.curr {
color: #4e8eee;
&:after {
position: absolute;
bottom: 0;
width: 100%;
left: 0;
right: 0;
margin: 0 auto;
height: 5px;
background-color: #4e8eee;
display: block;
content: "";
}
}
}
}
.tab-wrap {
margin-top: 0.667rem;
li {
position: relative;
p.t1 {
font-size: 14px;
color: #666666;
line-height: 22px;
white-space: nowrap;
span {
white-space: normal;
width: 80%;
text-align: justify;
}
}
.t2 {
margin-top: 1rem;
margin-bottom: 1rem;
font-size: 14px;
color: #666666;
i {
width: 20px;
height: 15px;
background: url("../../images/smt/i10.png") no-repeat center;
background-size: cover;
margin-right: 0.2rem;
}
}
.qq {
position: absolute;
top: 0;
right: -12px;
width: 40px;
height: 40px;
background: url("../../images/smt/i9.png") no-repeat center;
background-size: cover;
display: block;
z-index: 1;
}
}
}
}
}
}
.apply {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
width: 100%;
height: 54px;
background-color: #4e8eee;
font-size: 17px;
color: #ffffff;
text-align: center;
line-height: 54px;
display: block;
}
.smt-arr {
width: 15px;
height: 6px;
background: #4e8eee;
border-radius: 3px;
display: block;
margin-bottom: 0.2rem;
}
.smt-layer {
font-size: 14px;
color: #666666;
text-align: left;
}
.smt-layer-text {
white-space: nowrap;
font-size: 14px;
color: #666666;
line-height: 24px;
span {
white-space: normal;
width: 92%;
text-align: justify;
}
}
}
\ No newline at end of file
.supplier { width: 100%; }
.supplier .head { width: 100%; background: #09152a; padding-bottom: 0.533rem; }
.supplier .head .banner { width: 100%; height: 6.187rem; background: url("../../images/supplier/banner.png") no-repeat center; background-size: cover; }
.supplier .head .head-form { margin: 0 0.533rem; padding: 0.333rem 0.4rem 0.547rem 0.4rem; border-radius: 3px; background: rgba(255, 255, 255, 0.2); box-shadow: 0rem -0.027rem 0.233rem 0.1rem rgba(0, 0, 0, 0.5); }
.supplier .head .head-form .head-form-wrap { display: flex; flex-direction: column; background-color: #ffffff; border-radius: 3px; align-items: center; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap { position: relative; width: 100%; border-bottom: 1px solid #3a4455; height: 1.333rem; padding-left: 0.28rem; white-space: nowrap; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap > label { width: 77px; text-align: right; font-size: 14px; color: #666666; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap > label em { font-size: 13px; color: #ffa200; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap > input.inp { width: 65%; height: 100%; font-size: 14px; color: #333333; background: none; text-align: left; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap > input.inp.w1 { width: 43%; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .hint { position: absolute; right: 10px; color: #999999; top: 16px; font-size: 14px; background: #fff; z-index: 9; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .hint.f-orange { color: #ffa200 !important; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .hint.f-orange span { color: #ffa200 !important; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .code-text { font-size: 14px; background: none; color: #1080d0; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .code-text.code-text-disabled { color: #999999; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap > textarea { width: 71%; height: 100%; font-size: 14px; color: #333333; padding-top: 0.45rem; resize: none; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .inp-wrap-radio { height: 100%; width: 71%; white-space: nowrap; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .inp-wrap-radio .inp-wrap-radio-bb { height: 100%; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .inp-wrap-radio .inp-wrap-radio-bb:first-child { margin-right: 0.667rem; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .inp-wrap-radio .inp-wrap-radio-bb em { color: #333333; font-size: 14px; margin-left: 0.253rem; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .inp-wrap-radio .inp-wrap-radio-bb .icn { width: 13px; height: 13px; background: url("../../images/supplier/c-1.png") no-repeat center; background-size: cover; display: inline-block; vertical-align: middle; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap .inp-wrap-radio .inp-wrap-radio-bb .icn.icn-curr { background: url("../../images/supplier/c-2.png") no-repeat center; background-size: cover; }
.supplier .head .head-form .head-form-wrap dd.inp-wrap:last-child { border-bottom: none; }
.supplier .head .head-form .btn-wrap { position: relative; }
.supplier .head .head-form .btn-wrap .error { position: absolute; left: 0; top: -25px; font-size: 12px; color: #ffa200 !important; }
.supplier .head .head-form .btn-wrap .submit { height: 40px; line-height: 40px; text-align: center; background-color: #ffffff; border-radius: 3px; font-size: 14px; color: #1080d0; display: block; margin: 0.933rem 0.4rem 0 0.4rem; font-weight: bold; }
.supplier .content { padding-top: 0.567rem; }
.supplier .content .wrap { padding: 0 0.267rem; border-bottom: 0.267rem solid #f6f6f6; background: #fff; }
.supplier .content .wrap .tit { display: flex; align-items: center; padding: 0.373rem 0 0.667rem 0; }
.supplier .content .wrap .tit b { width: 5px; height: 20px; background-color: #1080d0; }
.supplier .content .wrap .tit span { margin-left: 0.28rem; font-size: 18px; color: #000000; font-weight: bold; }
.supplier .content .wrap.wrap-1 { padding-bottom: 0.5rem; }
.supplier .content .wrap.wrap-1 .supplier-slide { padding-bottom: 0.5rem; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box { width: 50%; text-align: center; padding-top: 7px; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box .t1 { font-size: 14px; color: #333333; text-align: center; margin-bottom: 8px; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box .t2 { padding-left: 0.187rem; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box .t2 p { font-size: 12px; color: #666666; line-height: 15px; white-space: nowrap; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box .t2 p span { width: 95%; white-space: normal; text-align: left; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box .iconfont { font-size: 40px; color: #666666; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box.slide-box-1 { height: 180px; background: url("../../images/supplier/1.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box.slide-box-2 { height: 180px; background: url("../../images/supplier/2.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box.slide-box-3 { height: 180px; background: url("../../images/supplier/3.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box.slide-box-4 { height: 180px; background: url("../../images/supplier/4.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box.slide-box-5 { height: 180px; background: url("../../images/supplier/5.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-1 .supplier-slide .slide-box.slide-box-6 { height: 180px; background: url("../../images/supplier/6.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-1 .supplier-slide .van-swipe__indicators { bottom: 2px !important; }
.supplier .content .wrap.wrap-1 .supplier-slide .van-swipe__indicator { width: 8px !important; height: 8px !important; background-color: #cccccc !important; }
.supplier .content .wrap.wrap-1 .supplier-slide .van-swipe__indicator--active { background-color: #1080d0 !important; }
.supplier .content .wrap.wrap-2 { padding-bottom: 0.667rem; }
.supplier .content .wrap.wrap-2 .tab { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e5e5e5; }
.supplier .content .wrap.wrap-2 .tab li { position: relative; font-size: 16px; color: #333333; flex: 1; text-align: center; padding: 0.24rem 0; transition: all 0.4s ease; }
.supplier .content .wrap.wrap-2 .tab li.curr { color: #1080d0; }
.supplier .content .wrap.wrap-2 .tab li.curr:after { position: absolute; bottom: 0; width: 77%; left: 0; right: 0; margin: 0 auto; height: 2px; background-color: #1080d0; display: block; content: ""; }
.supplier .content .wrap.wrap-2 .tab-wrap { margin-top: 0.293rem; background-color: #ffffff; box-shadow: 0px 0px 5px 0px rgba(16, 128, 208, 0.3); border-radius: 2px; }
.supplier .content .wrap.wrap-2 .tab-wrap li { padding: 0.333rem 0 0.253rem 0; margin: 0 0.267rem; border-bottom: 1px dashed #e5e5e5; white-space: nowrap; }
.supplier .content .wrap.wrap-2 .tab-wrap li:last-child { border-bottom: none; padding-bottom: 0.4rem; }
.supplier .content .wrap.wrap-2 .tab-wrap li .ico { width: 20px; height: 18px; background: url("../../images/supplier/im2.png") no-repeat center; background-size: contain; font-size: 11px; color: #ffffff; text-align: center; line-height: 18px; }
.supplier .content .wrap.wrap-2 .tab-wrap li .text { width: 84%; white-space: normal; margin-left: 0.16rem; }
.supplier .content .wrap.wrap-2 .tab-wrap li .text .t1 { font-size: 14px; color: #333333; margin-bottom: 0.2rem; font-weight: bold; }
.supplier .content .wrap.wrap-2 .tab-wrap li .text .t2 { font-size: 12px; color: #666666; }
.supplier .content .wrap.wrap-2 .tab-wrap li .btn { width: 150px; height: 35px; background-color: #1080d0; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.6); border-radius: 3px; display: flex; align-items: center; justify-content: center; margin: 0.533rem auto 0; }
.supplier .content .wrap.wrap-2 .tab-wrap li .btn em { font-size: 14px; color: #ffffff; }
.supplier .content .wrap.wrap-2 .tab-wrap li .btn i { width: 14px; height: 14px; background: url("../../images/supplier/c-3.png") no-repeat center; background-size: cover; margin-left: 0.267rem; }
.supplier .content .wrap.wrap-3 { padding-bottom: 1.2rem; border-bottom: none; }
.supplier .content .wrap.wrap-3 .join-wrap { position: relative; text-align: center; width: 100%; height: 145px; background: url("../../images/supplier/liucheng.png") no-repeat center; background-size: contain; }
.supplier .content .wrap.wrap-3 .join-wrap .bnt-wrap { width: 150px; padding: 5px; border: solid 1px #1080d0; background-color: #ffffff; position: absolute; left: 0; right: 0; top: 122px; margin: 0 auto; text-align: center; }
.supplier .content .wrap.wrap-3 .join-wrap .bnt-wrap .btn { width: 140px; height: 35px; background-color: #1080d0; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.6); border-radius: 3px; font-size: 16px; color: #ffffff; text-align: center; line-height: 35px; display: block; }
/*# sourceMappingURL=index.min.css.map */
{
"version": 3,
"mappings": "AAAA,SAAU,GACR,KAAK,EAAE,IAAI;AACX,eAAM,GACJ,KAAK,EAAE,IAAI,EACX,UAAU,EAAE,OAAO,EACnB,cAAc,EAAE,QAAQ;AACxB,uBAAQ,GACN,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,QAAQ,EAChB,UAAU,EAAE,wDAAwD,EACpE,eAAe,EAAE,KAAK;AAExB,0BAAW,GACT,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,+BAA+B,EACxC,aAAa,EAAE,GAAG,EAClB,UAAU,EAAE,wBAAwB,EACpC,UAAU,EAAE,iDAAiD;AAC7D,0CAAgB,GACd,OAAO,EAAE,IAAI,EACb,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,OAAO,EACzB,aAAa,EAAE,GAAG,EAClB,WAAW,EAAE,MAAM;AACnB,sDAAY,GACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,IAAI,EACX,aAAa,EAAE,iBAAiB,EAChC,MAAM,EAAE,QAAQ,EAChB,YAAY,EAAE,OAAO,EACrB,WAAW,EAAE,MAAM;AACnB,8DAAQ,GACN,KAAK,EAAE,IAAI,EACX,UAAU,EAAE,KAAK,EACjB,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO;AACd,iEAAG,GACD,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO;AAGlB,kEAAY,GACV,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,IAAI,EACZ,SAAS,EAAE,IAAI,EACf,KAAK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EAAE,IAAI,EACZ,UAAU,EAAE,qDAAqD,EACjE,eAAe,EAAE,KAAK,EACtB,WAAW,EAAE,QAAQ;AAM/B,+BAAS,GACP,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,IAAI;AACnB,0CAAW,GACT,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,KAAK,EACb,UAAU,EAAE,0DAA0D,EACtE,eAAe,EAAE,OAAO;AACxB,oDAAU,GACR,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,GAAG,EACZ,MAAM,EAAE,iBAAiB,EACzB,gBAAgB,EAAE,OAAO,EACzB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,CAAC,EACR,GAAG,EAAE,KAAK,EACV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM;AAClB,yDAAK,GACH,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,IAAI,EACZ,gBAAgB,EAAE,OAAO,EACzB,UAAU,EAAE,kCAAkC,EAC9C,aAAa,EAAE,GAAG,EAClB,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO,EACd,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,KAAK",
"sources": ["index.scss"],
"names": [],
"file": "index.min.css"
}
\ No newline at end of file
.wxlist{height:100%;background:#f8f8f8; }
.wxlist-content{}
.wxlist .wxlist-content .menu-title{color:#333;font-size: 18px;height:47px;line-height: 47px;padding-left:0.2rem;}
.wxlist .wxlist-content .wxlist-banner{padding:0 0.2rem;}
.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px;}
.banner-box{background: #fff;border-radius: 4px;min-height:275px;}
.banner-header .banner-title{font-size: 19px;color:#333;}
.banner-header .banner-img{width:0.8rem;height:0.8rem;margin-right: 10px;}
.banner-header .banner-img img{width:100%;height:100%;width:0.8rem;height:0.8rem;border-radius: 50%;display: block;}
.banner-body img{width:100%;height: 4.8rem;}
.banner-footer{font-size: 16px;line-height:20px;color:#666;padding:0.4rem 0.28rem;}
.banner-footer a{color:#666;}
.banner-footer span{color:#999;}
.wxlist-data{padding:10px;}
.wxlist-data-box{background: #fff;border-radius: 4px;}
.group-right{width: 2rem;height:60px;}
.group-left-box{height: 50px;width: 6.347rem;font-size: 16px;color:#333;line-height: 25px;overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;}
.group-left{width: 6.347rem;border-bottom:1px solid #e5e5e5;
padding-top:0.1rem;
padding-bottom: 0.5rem;
}
.data-group{padding:0.25rem;display: block;}
.wxlist{height:100%;background:#f8f8f8}.wxlist .wxlist-content .menu-title{color:#333;font-size:18px;height:47px;line-height:47px;padding-left:.2rem}.wxlist .wxlist-content .wxlist-banner{padding:0 .2rem}.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px}.banner-box{background:#fff;border-radius:4px;min-height:275px}.banner-header .banner-title{font-size:19px;color:#333}.banner-header .banner-img{width:.8rem;height:.8rem;margin-right:10px}.banner-header .banner-img img{width:100%;height:100%;width:.8rem;height:.8rem;border-radius:50%;display:block}.banner-body img{width:100%;height:4.8rem}.banner-footer{font-size:16px;line-height:20px;color:#666;padding:.4rem .28rem}.banner-footer a{color:#666}.banner-footer span{color:#999}.wxlist-data{padding:10px}.wxlist-data-box{background:#fff;border-radius:4px}.group-right{width:2rem;height:60px}.group-left-box{height:50px;width:6.347rem;font-size:16px;color:#333;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.group-left{width:6.347rem;border-bottom:1px solid #e5e5e5;padding-top:.1rem;padding-bottom:.5rem}.data-group{padding:.25rem;display:block}/*# sourceMappingURL=wxlist.min.css.map */
\ No newline at end of file
{"version":3,"sources":["wxlist.less"],"names":[],"mappings":"AAAA,QAAQ,WAAA,CAAY,mBAEpB,OAAQ,gBAAgB,aAAY,UAAA,CAAW,cAAA,CAAgB,WAAA,CAAY,gBAAA,CAAkB,mBAC7F,OAAQ,gBAAgB,gBAAe,gBACvC,OAAQ,gBAAgB,eAAe,gBAAe,aACtD,YAAY,eAAA,CAAiB,iBAAA,CAAmB,iBAChD,cAAe,eAAc,cAAA,CAAgB,WAC7C,cAAe,aAAY,WAAA,CAAa,YAAA,CAAc,kBACtD,cAAe,YAAY,KAAI,UAAA,CAAW,WAAA,CAAY,WAAA,CAAa,YAAA,CAAc,iBAAA,CAAmB,cACpG,YAAa,KAAI,UAAA,CAAW,cAC5B,eAAe,cAAA,CAAgB,gBAAA,CAAiB,UAAA,CAAW,qBAC3D,cAAe,GAAE,WACjB,cAAe,MAAK,WACpB,aAAa,aACb,iBAAiB,eAAA,CAAiB,kBAClC,aAAa,UAAA,CAAY,YACzB,gBAAgB,WAAA,CAAa,cAAA,CAAgB,cAAA,CAAgB,UAAA,CAAW,gBAAA,CAAkB,eAAA,CACxF,sBAAA,CACA,mBAAA,CACA,oBAAA,CACA,4BACF,YAAY,cAAA,CAAgB,+BAAA,CAC1B,iBAAA,CACA,qBAGF,YAAY,cAAA,CAAgB","file":"wxlist.min.css"}
\ No newline at end of file
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
......@@ -5,6 +5,33 @@ import Util from '../util/index'
* @param value
* @returns {string}
*/
//PTAG处理
export const urlPatg = (value,ptag) => {
var val=value;
if (val.indexOf('ptag') == -1) {
if (val.indexOf('?') > -1) {
val=val + '&ptag='+ptag;
} else {
val=val + '?ptag='+ptag;
}
}
return val;
}
/**参数处理**/
export const urlParams = (value) => {
if (value.indexOf('?') > -1) {
return value + '&ptag=index-dynamic';
} else {
return value + '?ptag=index-dynamic';
}
}
/**
* 格式化日期
* @param value
* @returns {string}
*/
export const dateTimeFormate = (value) => {
var date = new Date();
date.setTime(value * 1000);
......
import {dateTimeFormate} from './formate';
import {dateTimeFormate, urlParams,urlPatg} from './formate';
export default {
dateTimeFormate
dateTimeFormate,
urlParams,
urlPatg
};
......@@ -8,6 +8,14 @@ import directive from './directive'
import md5 from 'js-md5'
import {services as Services} from './api/index'
import Util from './util/index'
import Vconsole from 'vconsole'
//本地环境开启提示信息
Vue.config.productionTip = false;
const env = process.env.NODE_ENV;
if (env != 'production') {
let vConsole = new Vconsole()
}
//css全局加载
import 'vant/lib/index.css';
......@@ -24,9 +32,6 @@ Vue.prototype.$http = axios;
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
axios.defaults.withCredentials = true;
//本地环境开启提示信息
Vue.config.productionTip = false;
//本地初始化uid
var Yo4teW_gid = Util.getCookie('Yo4teW_gid');
if (Yo4teW_gid == null) {
......
import Vue from 'vue'
import Router from 'vue-router'
const Home = resolve => require(['@/views/home/Index'], resolve)
const Home = resolve => require(['@/views/home/Index'], resolve);
const Smt = resolve => require(['@/views/smt/Index'], resolve);
const Supplier = resolve => require(['@/views/supplier/Index'], resolve);
const Wxlist = resolve => require(['@/views/wxlist/Index'], resolve);
Vue.use(Router)
const routes = [
{
path: '/home',
path: '/',
component: Home,
meta: {
title: '猎芯网'
}
},
{
path: '/',
redirect: '/home'
path: '/smt',
component: Smt,
meta: {
title: 'SMT打样'
}
},
{
path: '/supplier',
component: Supplier,
meta: {
title: '猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网'
}
},
{
path: '/wxlist',
component: Wxlist,
meta: {
title: '猎芯网'
}
},
{
path: '*',
......
......@@ -17,6 +17,10 @@ const mutations = {
},
loginCheck(state, payload) {
if (payload.data.err_code == 0) {
//强登录态
state.loginCheck = true;
} else if (payload.data.err_code == 11030) {
//弱登录态
state.loginCheck = true;
} else {
state.loginCheck = false;
......
......@@ -28,6 +28,11 @@ const actions = {
type: 'index',
data: data.data
});
} else if (data.err_code == 2) {
Toast({
message: '非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间',
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
......
import Vue from 'vue'
import {Toast} from 'vant';
import {services as Services} from '../../../api/index'
var qs = require('qs');
Vue.use(Toast);
const state = {
loading: false
}
const mutations = {
index(state, payload) {
state.index = payload.data;
}
}
const actions = {
checkAccountExists({commit}, payload) {
state.loading = true;
var params = {
pf: 2,
type: 2,
account: payload.account
}
Services.checkAccountExists(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code != 0) {
Toast({
message: '该手机号尚未注册,我们将为您自动生成猎芯网帐号',
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
customSmsVerify({commit}, payload) {
state.loading = true;
var params = {
pf: 2,
verify: '',
mobile: payload.mobile
}
Services.customSmsVerify(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
Toast({
message: data.err_msg,
duration: 2000
});
} else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
chainFind({commit}, payload) {
state.loading = true;
/**
* 1 平台入驻
* 3 smt
*/
if (payload.types == 1) {
var params = {
type: 2,
mobile: payload.mobile,
linkName: payload.linkName,
verifyCode: payload.verifyCode,
com_name: payload.com_name,
main_brand: payload.main_brand,
supplier_type: payload.supplier_type
}
} else if (payload.types == 3) {
var params = {
type: 3,
mobile: payload.mobile,
linkName: payload.linkName,
verifyCode: payload.verifyCode,
}
}
Services.chainFind(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.errcode == 1) {
Toast({
message: data.errmsg,
duration: 3000
});
} else if (data.errcode == 2) {
Toast({
message: '已为您自动创建的猎芯网登录账号为' + payload.mobile + '请使用免密码登录',
duration: 3000
});
setTimeout(function () {
window.location.reload();
}, 3000);
} else {
Toast({
message: '您已经提交成功,我们将会在2个工作日内联系您',
duration: 3000
});
setTimeout(function () {
window.location.reload();
}, 3000);
}
}).catch(function (err) {
state.loading = false;
Toast({
message: '网络出现问题,请重试',
duration: 3000
});
});
}
}
const getters = {}
export default {
state,
mutations,
actions,
getters
}
import Vue from 'vue'
import {Toast} from 'vant';
import {services as Services} from '../../../api/index'
var qs = require('qs');
Vue.use(Toast);
const state = {
loadStatus: false,
wechatArticle: {},
wechatArticleList: [],
finished: false,
limits: 1
}
const mutations = {
wechatArticle(state, payload) {
state.wechatArticle = payload.data;
state.wechatArticleList = state.wechatArticleList.concat(payload.data.list);
//计算总页码
state.limits = Math.ceil(payload.data.total / 6);
//判断数据是否加载完成
if (payload.page >= state.limits) {
state.finished = true;
}
}
}
const actions = {
wechatArticle({commit}, payload) {
state.loadStatus = true;
var params = {
type_id: payload.type_id,
page: payload.page,
limit: payload.limit
}
Services.wechatArticle(qs.stringify(params)).then((res) => {
let data = res.data;
state.loadStatus = false;
if (data.err_code == 0) {
commit({
type: 'wechatArticle',
data: data.data,
page: payload.page,
limit: payload.limit
});
}
}).catch(function (err) {
state.loadStatus = false;
});
}
}
const getters = {}
export default {
state,
mutations,
actions,
getters
}
......@@ -2,12 +2,17 @@ import Vue from 'vue'
import Vuex from 'vuex'
import home from './modules/home'
import common from './modules/common'
import smt from './modules/smt/index'
import wxlist from './modules/wxlist/wxlist'
Vue.use(Vuex)
export default new Vuex.Store({
modules: {
home,
common
common,
smt,
wxlist
}
})
<template>
<section>
<div class="header-page clr">
<i class="icon iconfont icon-xiangzuo fl" @click="historyback"></i>
<h3 class="title fl">{{title}}</h3>
<Menu v-if="meaushow" :color="color"></Menu>
</div>
</section>
</template>
<script>
import Menu from '@/views/common/Menu.vue';
export default {
name: 'header-page',
props: {
color: {
type: String,
default: ''
},
title: {
type: String,
default: '猎芯网'
},
meaushow:{
type: Boolean,
default: false
}
},
data() {
return {
}
},
mounted() {
},
methods: {
historyback:function(){
history.go(-1)
}
},
components: {
Menu
}
}
</script>
<style lang="scss">
body{padding-top:40px;}
.header-page{
height:40px;
width:100%;
padding: 0 0.2rem;
position:fixed;
top:0;
background:#fafafa;
i{font-size:18px;margin-top:10px;color:#666}
h3{font-size:16px;color:#333;width:88%;line-height:40px;text-align:center;height:40px;overflow: hidden;
text-overflow: ellipsis;}
}
</style>
<template>
<div>
<div class="menu-fade" v-if="flag" @click="flag=false"></div>
<div class="menu clr">
<b class="iconfont icon-liedanbiao fr" @click="flag=!flag" :style="{color:color}"></b>
<div v-if="flag">
<i class="popover-arrow"></i>
<ul class="menu-view">
<li>
<a href="/v3?ptag=selfshop-topnav"><i class="icon iconfont icon-shouye"></i>首页</a></li>
<li>
<a href="/v3/lxshop?ptag=selfshop-topnav"><i class="icon iconfont icon-lianying"></i>联营商城</a>
</li>
<li>
<a href="/v3/xianhuo?ptag=selfshop-topnav"><i class="icon iconfont icon-liexinziying"></i>自营现货</a>
</li>
<li>
<a href="/v3/brand/map?ptag=selfshop-topnav"><i class="icon iconfont icon-pinpai"></i>品牌之家</a>
</li>
<li class="mui-table-view-cell ">
<a class="zytabgo" href="/v3/joincart?ptag=selfshop-topnav"><i class="icon iconfont icon-gouwuche1"></i>购物车</a>
</li>
<li>
<a href="/v3/user?ptag=selfshop-topnav"><i class="icon iconfont icon-huiyuanzhongxin"></i>会员中心</a>
</li>
</ul>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'menus',
props: {
color: {
type: String,
default: '#666'
},
},
data() {
return {
flag: false
}
}
}
</script>
<style lang="scss">
.menu-fade {
position: fixed;
z-index: 998;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .3);
}
.menu {
position: fixed;
right: 10px;
top: 10px;
z-index: 999;
b {
font-size: 18px;
color: #666;
}
.popover-arrow {
position: absolute;
z-index: 1000;
top: 11px;
right: 0px;
overflow: hidden;
width: 26px;
height: 26px;
&:after {
position: absolute;
top: 19px;
left: 0;
width: 26px;
height: 26px;
content: ' ';
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
border-radius: 3px;
background: #333;
}
}
.menu-view {
margin-top: 36px;
background: #333;
font-size: 15px;
border-radius: 2px;
max-height: 300px;
li {
position: relative;
overflow: hidden;
padding: 11px 15px;
transform-style: preserve-3d;
a {
color: #fff;
i {
margin-right: .1rem;
}
}
}
}
}
</style>
\ No newline at end of file
<template>
<van-swipe :autoplay="3000" indicator-color="#ffffff" :loop="false">
<van-swipe :autoplay="3000" indicator-color="#ffffff">
<template v-if="slidedata">
<van-swipe-item v-for="(item, index) in slidedata" :key="index">
<a @click="recordFn(index * 1 +1,item.url)" :href="item.url+'?ptag=index-banner-'+(index * 1 +1)" :target="item.window_open > 0 ?'_blank':'_self'">
......
......@@ -32,7 +32,7 @@
<div class="notice-contant boxsiz">
<van-swipe vertical :show-indicators="false" :height="height" :autoplay="3000">
<van-swipe-item v-for="(item,index) in index.lx_activity" :key="index">
<a :href="item.url+'&ptag=index-dynamic'">{{item.title}}</a>
<a :href="item.url | urlParams">{{item.title}}</a>
</van-swipe-item>
</van-swipe>
</div>
......
<template>
<section class="wxlist">
<Header></Header>
<div class="wxlist-content">
<div class="menu-title">{{wechatArticle.menu}}</div>
<div class="wxlist-banner" v-if="wechatArticle.top">
<div class="banner-box">
<div class="banner-header clr">
<div class="banner-img fl"><img src="../../assets/images/wxlist/logo2.png"/></div>
<div class="banner-title fl">猎芯网</div>
</div>
<div class="banner-body">
<a :href="wechatArticle.top.url | urlPatg('wechatlist')"><img :alt="wechatArticle.top.title"
:src="wechatArticle.top.img"/></a>
</div>
<div class="banner-footer">
<a :href="wechatArticle.top.url | urlPatg('wechatlist')"><span>活动&nbsp;|&nbsp;</span>{{wechatArticle.top.title}}</a>
</div>
</div>
</div>
<div class="wxlist-data">
<div class="wxlist-data-box">
<van-list v-model="loading" :loading="loadStatus" :finished="finished" :offset="10"
finished-text="没有更多了" @load="onLoad">
<div class="data-group clr" v-for="(item,index) in wechatArticleList" :key="index">
<a :href="item.url | urlPatg('wechatlist')">
<div class="group-left fl">
<div class="group-left-box">
{{item.title}}
</div>
</div>
<img :src="item.img" class="group-right fr"/>
</a>
</div>
</van-list>
</div>
</div>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import {List} from 'vant';
import Header from '@/views/common/Header.vue';
Vue.use(List);
export default {
name: 'wxlist',
data() {
return {
page: 0,
limit: 6,
loading: false
}
},
computed: {
...mapState({
wechatArticle: state => state.wxlist.wechatArticle,
wechatArticleList: state => state.wxlist.wechatArticleList,
limits: state => state.wxlist.limits,
loadStatus: state => state.wxlist.loadStatus,
finished: state => state.wxlist.finished
})
},
watch: {
loadStatus(val) {
this.loading=val;
}
},
created() {
},
methods: {
getData(type_id) {
this.$store.dispatch({
type: 'wechatArticle',
type_id: type_id,
page: this.page,
limit: this.limit
})
},
onLoad() {
if (this.page < this.limits) {
this.page++;
this.getData(this.$route.query.type_id);
}
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wxlist/wxlist.min.css";
</style>
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:10px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:88%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis}.wxlist{height:100%;background:#f8f8f8}.wxlist .wxlist-content .menu-title{color:#333;font-size:18px;height:47px;line-height:47px;padding-left:.2rem}.wxlist .wxlist-content .wxlist-banner{padding:0 .2rem}.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px}.banner-box{background:#fff;border-radius:4px;min-height:275px}.banner-header .banner-title{font-size:19px;color:#333}.banner-header .banner-img{width:.8rem;height:.8rem;margin-right:10px}.banner-header .banner-img img{width:100%;height:100%;width:.8rem;height:.8rem;border-radius:50%;display:block}.banner-body img{width:100%;height:4.8rem}.banner-footer{font-size:16px;line-height:20px;color:#666;padding:.4rem .28rem}.banner-footer a{color:#666}.banner-footer span{color:#999}.wxlist-data{padding:10px}.wxlist-data-box{background:#fff;border-radius:4px}.group-right{width:2rem;height:60px}.group-left-box{height:50px;width:6.347rem;font-size:16px;color:#333;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.group-left{width:6.347rem;border-bottom:1px solid #e5e5e5;padding-top:.1rem;padding-bottom:.5rem}.data-group{padding:.25rem;display:block}
\ No newline at end of file
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
<!DOCTYPE HTML><html lang=zh-CN><head><title></title><meta name=author content=www.ichunt.com><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=format-detection content="telephone=no"><meta http-equiv=Expires content=-1><meta http-equiv=Cache-Control content=no-cache><meta http-equiv=Pragma content=no-cache><meta name=full-screen content=yes><meta name=browsermode content=application><meta name=x5-fullscreen content=true><meta name=x5-page-mode content=app><meta name=description content=猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。><meta name=keywords content=猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,><link rel=icon href=//h5static.ichunt.com/favicon.ico><script src=get_time.php></script><script>var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差</script><link rel=stylesheet href=//h5static.ichunt.com/static/css/iconfont.css><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/flexible.min.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/shence.min.js charset=utf-8></script><link href=//h5static.ichunt.com/css/chunk-25d47f48.3c469a98.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-25d47f48.9064b7e2.js rel=prefetch><link href=//h5static.ichunt.com/css/app.5642d040.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.e1ad8965.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.5642d040.css rel=stylesheet></head><body><noscript><strong>网站出现了一点小问题,正在修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
<!DOCTYPE HTML><html lang=zh-CN><head><title></title><meta name=author content=www.ichunt.com><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=format-detection content="telephone=no"><meta http-equiv=Expires content=-1><meta http-equiv=Cache-Control content=no-cache><meta http-equiv=Pragma content=no-cache><meta name=full-screen content=yes><meta name=browsermode content=application><meta name=x5-fullscreen content=true><meta name=x5-page-mode content=app><meta name=description content=猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。><meta name=keywords content=猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,><link rel=icon href=//h5static.ichunt.com/favicon.ico><link rel=stylesheet href=/v3/dist/res/m/css/font/iconfont.css><script src=/h5/view/get_time.php></script><script>var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差</script><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/flexible.min.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/shence.min.js charset=utf-8></script><link href=//h5static.ichunt.com/css/chunk-383c5e1e.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-406d08fd.43c91bcb.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-72ba3ef6.f098c81b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-d0644cb4.e5216386.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-383c5e1e.ace19bcc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-406d08fd.119f5200.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-72ba3ef6.3e6510e0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-d0644cb4.c605683c.js rel=prefetch><link href=//h5static.ichunt.com/css/app.adc8e432.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.ea230c52.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.1b4108eb.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.adc8e432.css rel=stylesheet></head><body class=boxsiz><noscript><strong>网站出现了一点小问题,正在紧急修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
domain = domain ? ";domain=" + domain : "";
var Days = time;
var exp = new Date();
......@@ -172,7 +172,7 @@
sdk_url: __PUBLIC__ + '/res/m/js/global/sensorsdata.min.js',
heatmap_url: __PUBLIC__ + '/res/m/js/global/heatmap.min.js',
name: 'sensors',
server_url: 'http://shence.ichunt.com:8106/sa?project=production',
server_url: 'https://shence.ichunt.com:4006/sa?project=production',
heatmap: {}
});
//以异步加载 SDK 为例,神策 SDK 初始化完成,此时调用设置公共属性的方法,来保证之后的事件都有这两个属性。
......@@ -212,7 +212,7 @@
sdk_url: __PUBLIC__ + '/res/m/js/global/sensorsdata.min.js',
heatmap_url: __PUBLIC__ + '__PUBLIC__/res/m/js/global/heatmap.min.js',
name: 'sensors',
server_url: 'http://shence.ichunt.com:8106/sa',
server_url: 'https://shence.ichunt.com:4006/sa',
heatmap: {}
});
//以异步加载 SDK 为例,神策 SDK 初始化完成,此时调用设置公共属性的方法,来保证之后的事件都有这两个属性。
......@@ -224,4 +224,4 @@
user_rank: '0'
});
sensors.quick('autoTrack');
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js></script><script src=//h5static.ichunt.com/js/app.e1ad8965.js></script></body></html>
\ No newline at end of file
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.1b4108eb.js></script><script src=//h5static.ichunt.com/js/app.ea230c52.js></script></body></html>
\ No newline at end of file
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.
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
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