Commit 47b46898 by 肖康

阿萨

parent f354c05c
Showing with 20 additions and 85 deletions
......@@ -19,7 +19,8 @@
shareObj:{
title: "好物分享给你,帮我助力,我们一起免费拿样品", // 分享标题
desc: "在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品", // 分享描述
link: window.location.origin+"/v3/samplereg?uid="+util.getCookie("Yo4teW_uid"), // 分享链接
link:this.url,
// link: window.location.origin+"/v3/samplereg?uid="+util.getCookie("Yo4teW_uid"), // 分享链接
imgUrl: "http://img.ichunt.com/images/ichunt/self_sample/apply.png", // 分享图标
success: function (resp) {
......@@ -44,15 +45,17 @@
}
},
created() {
this.$store.dispatch({
type: "wxShare"
});
if(util.getCookie("Yo4teW_uid")){
this.$store.dispatch({
type: "wxShare"
});
}
},
methods: {
share(){
var self=this;
// 微信配置
console.log(self.wxShareInfo)
wx.config({
debug: false,
appId: self.wxShareInfo.appId,
......@@ -66,7 +69,6 @@
wx.checkJsApi({
jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone'], // 需要检测的JS接口列表,所有JS接口列表见附录2,
success: function(res) {
alert("检测成功")
// console.log(res);
// 以键值对的形式返回,可用的api值true,不可用为false
// 如:{"checkResult":{"chooseImage":true},"errMsg":"checkJsApi:ok"}
......
<template>
<section class="sample" >
<Header :title="title" :meaushow='meaushow' :bgcolor="bgcolor"></Header>
<wxShare ></wxShare>
<wxShare :url="shareUrl"></wxShare>
<div class="banner"></div>
<div class="zititle">
<span>猎芯自营</span>
......@@ -34,7 +34,7 @@
<div class="get-user-pop" v-show="getPop">
<div class="mask"></div>
<div class="get-user-con">
<h3>样品申请成功!我们会尽快为您审核<i class="icon iconfont icon-guanbi" @click="getuserf"></i></h3>
<h3>您已将所有样片机会用完<i class="icon iconfont icon-guanbi" @click="getuserf"></i></h3>
<h2>邀请好友注册可额外获得一次样品申请机会,多邀多得</h2>
<span v-shareMask>点击邀请</span>
</div>
......@@ -49,6 +49,7 @@
import {mapState} from 'vuex'
import Header from "@/views/common/Header.vue";
import wxShare from "@/views/common/wxShare.vue";
import util from "../../util/index"
import { Tab, Tabs } from 'vant';
Vue.use(Tab).use(Tabs);
export default {
......@@ -63,6 +64,7 @@
swipeThreshold:4,
active:0,
getPop:false,//获得机会弹窗,没机会时展示
shareUrl:window.location.origin+"/v3/samplereg?uid="+util.getCookie("Yo4teW_uid")
}
},
......
<template>
<section class="sample-apply" >
<Header :title="title" :meaushow='meaushow' :bgcolor="bgcolor"></Header>
<wxShare ></wxShare>
<wxShare :url="shareUrl"></wxShare>
<van-collapse v-model="activeName" accordion :border="noborder">
<van-collapse-item title="商品信息" name="1" :border="noborder">
<div class="info-con clr">
......@@ -77,6 +77,7 @@
import Header from "@/views/common/Header.vue";
import wxShare from "@/views/common/wxShare.vue";
import { Collapse, CollapseItem ,Toast,Loading} from 'vant';
import util from "../../util/index"
Vue.use(Collapse).use(CollapseItem).use(Toast).use(Loading);
export default {
name: 'sampleapply',
......@@ -93,6 +94,7 @@
apply_num:"",
com_name:"",
sample_demand_desc:"",
shareUrl:window.location.origin+"/v3/samplereg?uid="+util.getCookie("Yo4teW_uid")
}
},
computed: {
......
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 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 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 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.
{"h":"aa0331ec36287cc88c02","c":{"48":true}}
\ No newline at end of file
{"h":"d1705ba40bcb20fdbd31","c":{"48":true}}
\ 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.
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 could not be displayed because it is too large.
This diff could not be displayed because it is too large.
{"h":"b9f92ecc49cde68b4524","c":{"13":true,"48":true}}
\ 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.
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 could not be displayed because it is too large.
This diff could not be displayed because it is too large.
{"h":"96ef6c62005f5a44607a","c":{"app":true}}
\ No newline at end of file
{"h":"541562426da8b19f8052","c":{"48":true}}
\ 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.
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 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 could not be displayed because it is too large.
{"h":"2ef5a4eac0f465cc512d","c":{"48":true}}
\ No newline at end of file
{"h":"d846e3d0d8c8fc47e95c","c":{"app":true}}
\ 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.
{"h":"361ba42c2cafb6536bc6","c":{"28":false,"app":true}}
\ No newline at end of file
This diff could not be displayed because it is too large.
{"h":"5695354312c7dc642d1d","c":{"28":true}}
\ No newline at end of file
webpackHotUpdate("app",{
/***/ "./src/store/modules/sample/sampleapply.js":
/*!*************************************************!*\
!*** ./src/store/modules/sample/sampleapply.js ***!
\*************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.0@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\nvar state = {\n loading: false,\n addressInfo: \"\",\n submitState: false\n};\nvar mutations = {\n recvlistSample: function recvlistSample(state, payload) {\n state.addressInfo = payload.data.filter(function (item) {\n return item['is_default'] == 1;\n });\n state.addressInfo = state.addressInfo[0];\n }\n};\nvar actions = {\n recvlistSample: function recvlistSample(_ref, payload) {\n var commit = _ref.commit;\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].recvlist().then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n commit({\n type: 'recvlistSample',\n data: data.data\n });\n }\n }).catch(function (err) {});\n },\n selfSampleCreate: function selfSampleCreate(_ref2, payload) {\n var commit = _ref2.commit;\n state.loading = true;\n var params = {\n goods_id: payload.goods_id,\n apply_num: payload.apply_num,\n com_name: payload.com_name,\n sample_demand_desc: payload.sample_demand_desc,\n address_id: payload.address_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].selfSampleCreate(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n state.submitState = true;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc3RvcmUvbW9kdWxlcy9zYW1wbGUvc2FtcGxlYXBwbHkuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvc3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GEuZXJyX2NvZGUgPT0gMCkge1xyXG4gICAgICAgICAgICAgICAgY29tbWl0KHtcclxuICAgICAgICAgICAgICAgICAgICB0eXBlOiAncmVjdmxpc3RTYW1wbGUnLFxyXG4gICAgICAgICAgICAgICAgICAgIGRhdGE6IGRhdGEuZGF0YVxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KS5jYXRjaChmdW5jdGlvbiAoZXJyKSB7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICAgc2VsZlNhbXBsZUNyZWF0ZSh7Y29tbWl0fSwgcGF5bG9hZCkge1xyXG4gICAgICAgIHN0YXRlLmxvYWRpbmcgPSB0cnVlO1xyXG4gICAgICAgIHZhciBwYXJhbXMgPSB7XHJcbiAgICAgICAgICAgIGdvb2RzX2lkOiBwYXlsb2FkLmdvb2RzX2lkLFxyXG4gICAgICAgICAgICBhcHBseV9udW06IHBheWxvYWQuYXBwbHlfbnVtLFxyXG4gICAgICAgICAgICBjb21fbmFtZTogcGF5bG9hZC5jb21fbmFtZSxcclxuICAgICAgICAgICAgc2FtcGxlX2RlbWFuZF9kZXNjOiBwYXlsb2FkLnNhbXBsZV9kZW1hbmRfZGVzYyxcclxuICAgICAgICAgICAgYWRkcmVzc19pZDogcGF5bG9hZC5hZGRyZXNzX2lkXHJcblxyXG4gICAgICAgIH1cclxuICAgICAgICBTZXJ2aWNlcy5zZWxmU2FtcGxlQ3JlYXRlKHFzLnN0cmluZ2lmeShwYXJhbXMpKS50aGVuKChyZXMpID0+IHtcclxuICAgICAgICAgICAgbGV0IGRhdGEgPSByZXMuZGF0YTtcclxuICAgICAgICAgICAgc3RhdGUubG9hZGluZyA9IGZhbHNlO1xyXG5cclxuICAgICAgICAgICAgaWYgKGRhdGEuZXJyX2NvZGUgPT0gMCkge1xyXG4gICAgICAgICAgICAgICAgc3RhdGUuc3VibWl0U3RhdGU9dHJ1ZTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pLmNhdGNoKGZ1bmN0aW9uIChlcnIpIHtcclxuICAgICAgICAgICAgc3RhdGUubG9hZGluZyA9IGZhbHNlO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfSxcclxuXHJcblxyXG59XHJcblxyXG5jb25zdCBnZXR0ZXJzID0ge31cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICAgIHN0YXRlLFxyXG4gICAgbXV0YXRpb25zLFxyXG4gICAgYWN0aW9ucyxcclxuICAgIGdldHRlcnNcclxufVxyXG5cclxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBSEE7QUFLQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUxBO0FBUUE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUZBO0FBSUE7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBTEE7QUFRQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBbENBO0FBdUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUpBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/store/modules/sample/sampleapply.js\n");
/***/ })
})
\ No newline at end of file
webpackHotUpdate("app",{
/***/ "./src/store/modules/sample/sampleapply.js":
/*!*************************************************!*\
!*** ./src/store/modules/sample/sampleapply.js ***!
\*************************************************/
/*! exports provided: default */
/***/ (function(module, exports) {
eval("throw new Error(\"Module build failed (from ./node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js):\\nSyntaxError: D:\\\\lxWork\\\\h5\\\\src\\\\store\\\\modules\\\\sample\\\\sampleapply.js: Unexpected token (53:27)\\n\\n\\u001b[0m \\u001b[90m 51 | \\u001b[39m state\\u001b[33m.\\u001b[39msubmitState\\u001b[33m=\\u001b[39m\\u001b[36mtrue\\u001b[39m\\u001b[33m;\\u001b[39m\\u001b[0m\\n\\u001b[0m \\u001b[90m 52 | \\u001b[39m }\\u001b[36melse\\u001b[39m{\\u001b[0m\\n\\u001b[0m\\u001b[31m\\u001b[1m>\\u001b[22m\\u001b[39m\\u001b[90m 53 | \\u001b[39m \\u001b[33mToast\\u001b[39m(data\\u001b[33m.\\u001b[39m)\\u001b[33m;\\u001b[39m\\u001b[0m\\n\\u001b[0m \\u001b[90m | \\u001b[39m \\u001b[31m\\u001b[1m^\\u001b[22m\\u001b[39m\\u001b[0m\\n\\u001b[0m \\u001b[90m 54 | \\u001b[39m }\\u001b[0m\\n\\u001b[0m \\u001b[90m 55 | \\u001b[39m })\\u001b[33m.\\u001b[39m\\u001b[36mcatch\\u001b[39m(\\u001b[36mfunction\\u001b[39m (err) {\\u001b[0m\\n\\u001b[0m \\u001b[90m 56 | \\u001b[39m state\\u001b[33m.\\u001b[39mloading \\u001b[33m=\\u001b[39m \\u001b[36mfalse\\u001b[39m\\u001b[33m;\\u001b[39m\\u001b[0m\\n at Object.raise (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:6400:17)\\n at Object.unexpected (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:7728:16)\\n at Object.parseIdentifierName (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:9624:18)\\n at Object.parseIdentifier (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:9598:23)\\n at Object.parseMaybePrivateName (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8962:19)\\n at Object.parseSubscript (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8575:28)\\n at Object.parseSubscripts (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8528:19)\\n at Object.parseExprSubscripts (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8517:17)\\n at Object.parseMaybeUnary (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8487:21)\\n at Object.parseExprOps (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8353:23)\\n at Object.parseMaybeConditional (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8326:23)\\n at Object.parseMaybeAssign (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8273:21)\\n at Object.parseExprListItem (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:9590:18)\\n at Object.parseCallExpressionArguments (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8720:22)\\n at Object.parseSubscript (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8613:29)\\n at Object.parseSubscripts (D:\\\\lxWork\\\\h5\\\\node_modules\\\\_@babel_parser@7.6.2@@babel\\\\parser\\\\lib\\\\index.js:8528:19)\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc3RvcmUvbW9kdWxlcy9zYW1wbGUvc2FtcGxlYXBwbHkuanMuanMiLCJzb3VyY2VzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/store/modules/sample/sampleapply.js\n");
/***/ })
})
\ No newline at end of file
webpackHotUpdate("app",{
/***/ "./src/store/modules/sample/sampleapply.js":
/*!*************************************************!*\
!*** ./src/store/modules/sample/sampleapply.js ***!
\*************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.0@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\nvar state = {\n loading: false,\n addressInfo: \"\",\n submitState: false\n};\nvar mutations = {\n recvlistSample: function recvlistSample(state, payload) {\n state.addressInfo = payload.data.filter(function (item) {\n return item['is_default'] == 1;\n });\n state.addressInfo = state.addressInfo[0];\n }\n};\nvar actions = {\n recvlistSample: function recvlistSample(_ref, payload) {\n var commit = _ref.commit;\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].recvlist().then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n commit({\n type: 'recvlistSample',\n data: data.data\n });\n }\n }).catch(function (err) {});\n },\n selfSampleCreate: function selfSampleCreate(_ref2, payload) {\n var commit = _ref2.commit;\n state.loading = true;\n var params = {\n goods_id: payload.goods_id,\n apply_num: payload.apply_num,\n com_name: payload.com_name,\n sample_demand_desc: payload.sample_demand_desc,\n address_id: payload.address_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].selfSampleCreate(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n state.submitState = true;\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])(data.err_msg);\n }\n }).catch(function (err) {\n state.loading = false;\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc3RvcmUvbW9kdWxlcy9zYW1wbGUvc2FtcGxlYXBwbHkuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvc3RvcmUvbW9kdWxlcy9zYW1wbGUvc2FtcGxlYXBwbHkuanM/YTBkZiJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgVnVlIGZyb20gJ3Z1ZSdcclxuaW1wb3J0IHtUb2FzdH0gZnJvbSAndmFudCc7XHJcbmltcG9ydCB7c2VydmljZXMgYXMgU2VydmljZXN9IGZyb20gJy4uLy4uLy4uL2FwaS9pbmRleCdcclxuaW1wb3J0IFV0aWwgZnJvbSBcIi4uLy4uLy4uL3V0aWxcIjtcclxuXHJcbnZhciBxcyA9IHJlcXVpcmUoJ3FzJyk7XHJcblxyX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fSwgcGF5bG9hZCkge1xyXG4gICAgICAgIHN0YXRlLmxvYWRpbmcgPSB0cnVlO1xyXG4gICAgICAgIHZhciBwYXJhbXMgPSB7XHJcbiAgICAgICAgICAgIGdvb2RzX2lkOiBwYXlsb2FkLmdvb2RzX2lkLFxyXG4gICAgICAgICAgICBhcHBseV9udW06IHBheWxvYWQuYXBwbHlfbnVtLFxyXG4gICAgICAgICAgICBjb21fbmFtZTogcGF5bG9hZC5jb21fbmFtZSxcclxuICAgICAgICAgICAgc2FtcGxlX2RlbWFuZF9kZXNjOiBwYXlsb2FkLnNhbXBsZV9kZW1hbmRfZGVzYyxcclxuICAgICAgICAgICAgYWRkcmVzc19pZDogcGF5bG9hZC5hZGRyZXNzX2lkXHJcblxyXG4gICAgICAgIH1cclxuICAgICAgICBTZXJ2aWNlcy5zZWxmU2FtcGxlQ3JlYXRlKHFzLnN0cmluZ2lmeShwYXJhbXMpKS50aGVuKChyZXMpID0+IHtcclxuICAgICAgICAgICAgbGV0IGRhdGEgPSByZXMuZGF0YTtcclxuICAgICAgICAgICAgc3RhdGUubG9hZGluZyA9IGZhbHNlO1xyXG4gICAgICAgICAgICBpZiAoZGF0YS5lcnJfY29kZSA9PSAwKSB7XHJcbiAgICAgICAgICAgICAgICBzdGF0ZS5zdWJtaXRTdGF0ZT10cnVlO1xyXG4gICAgICAgICAgICB9ZWxzZXtcclxuICAgICAgICAgICAgICAgIFRvYXN0KGRhdGEuZXJyX21zZyk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KS5jYXRjaChmdW5jdGlvbiAoZXJyKSB7XHJcbiAgICAgICAgICAgIHN0YXRlLmxvYWRpbmcgPSBmYWxzZTtcclxuICAgICAgICB9KTtcclxuICAgIH0sXHJcblxyXG5cclxufVxyXG5cclxuY29uc3QgZ2V0dGVycyA9IHt9XHJcblxyXG5leHBvcnQgZGVmYXVsdCB7XHJcbiAgICBzdGF0ZSxcclxuICAgIG11dGF0aW9ucyxcclxuICAgIGFjdGlvbnMsXHJcbiAgICBnZXR0ZXJzXHJcbn1cclxuXHJcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUhBO0FBS0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFMQTtBQVFBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFGQTtBQUlBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUxBO0FBUUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFuQ0E7QUF3Q0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSkEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/store/modules/sample/sampleapply.js\n");
/***/ })
})
\ No newline at end of file
This diff could not be displayed because it is too large.
{"h":"20d59cc77d180f732fa3","c":{"48":true}}
\ No newline at end of file
{"h":"200f15fb69a2b7cb7986","c":{"app":true}}
\ No newline at end of file
{"h":"858eb4e69df452d4bbc0","c":{"app":true}}
\ No newline at end of file
......@@ -18,16 +18,16 @@
<meta name="x5-page-mode" content="app">
<meta name="description" content="猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。">
<meta name="keywords" content="猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,">
<link rel="icon" href="//static.leixin.com/favicon.ico">
<link rel="icon" href="//szh5static.ichunt.com/favicon.ico">
<link rel="stylesheet" href="/v3/dist/res/m/css/font/iconfont.css">
<script type="text/javascript" src="/h5/view/get_time.php"></script>
<script type="text/javascript">
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" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//static.leixin.com/0.js" rel="prefetch"><link href="//static.leixin.com/1.js" rel="prefetch"><link href="//static.leixin.com/10.js" rel="prefetch"><link href="//static.leixin.com/11.js" rel="prefetch"><link href="//static.leixin.com/12.js" rel="prefetch"><link href="//static.leixin.com/13.js" rel="prefetch"><link href="//static.leixin.com/14.js" rel="prefetch"><link href="//static.leixin.com/15.js" rel="prefetch"><link href="//static.leixin.com/16.js" rel="prefetch"><link href="//static.leixin.com/17.js" rel="prefetch"><link href="//static.leixin.com/18.js" rel="prefetch"><link href="//static.leixin.com/19.js" rel="prefetch"><link href="//static.leixin.com/2.js" rel="prefetch"><link href="//static.leixin.com/20.js" rel="prefetch"><link href="//static.leixin.com/21.js" rel="prefetch"><link href="//static.leixin.com/22.js" rel="prefetch"><link href="//static.leixin.com/23.js" rel="prefetch"><link href="//static.leixin.com/24.js" rel="prefetch"><link href="//static.leixin.com/25.js" rel="prefetch"><link href="//static.leixin.com/26.js" rel="prefetch"><link href="//static.leixin.com/27.js" rel="prefetch"><link href="//static.leixin.com/29.js" rel="prefetch"><link href="//static.leixin.com/3.js" rel="prefetch"><link href="//static.leixin.com/30.js" rel="prefetch"><link href="//static.leixin.com/31.js" rel="prefetch"><link href="//static.leixin.com/32.js" rel="prefetch"><link href="//static.leixin.com/33.js" rel="prefetch"><link href="//static.leixin.com/34.js" rel="prefetch"><link href="//static.leixin.com/35.js" rel="prefetch"><link href="//static.leixin.com/36.js" rel="prefetch"><link href="//static.leixin.com/37.js" rel="prefetch"><link href="//static.leixin.com/38.js" rel="prefetch"><link href="//static.leixin.com/39.js" rel="prefetch"><link href="//static.leixin.com/4.js" rel="prefetch"><link href="//static.leixin.com/40.js" rel="prefetch"><link href="//static.leixin.com/41.js" rel="prefetch"><link href="//static.leixin.com/42.js" rel="prefetch"><link href="//static.leixin.com/43.js" rel="prefetch"><link href="//static.leixin.com/44.js" rel="prefetch"><link href="//static.leixin.com/45.js" rel="prefetch"><link href="//static.leixin.com/46.js" rel="prefetch"><link href="//static.leixin.com/47.js" rel="prefetch"><link href="//static.leixin.com/48.200f15fb69a2b7cb7986.hot-update.js" rel="prefetch"><link href="//static.leixin.com/48.js" rel="prefetch"><link href="//static.leixin.com/5.js" rel="prefetch"><link href="//static.leixin.com/6.js" rel="prefetch"><link href="//static.leixin.com/7.js" rel="prefetch"><link href="//static.leixin.com/8.js" rel="prefetch"><link href="//static.leixin.com/9.js" rel="prefetch"><link href="//static.leixin.com/app.js" rel="preload" as="script"></head>
<script src="//szh5static.ichunt.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//szh5static.ichunt.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//szh5static.ichunt.com/0.js" rel="prefetch"><link href="//szh5static.ichunt.com/1.js" rel="prefetch"><link href="//szh5static.ichunt.com/10.js" rel="prefetch"><link href="//szh5static.ichunt.com/11.js" rel="prefetch"><link href="//szh5static.ichunt.com/12.js" rel="prefetch"><link href="//szh5static.ichunt.com/13.js" rel="prefetch"><link href="//szh5static.ichunt.com/14.js" rel="prefetch"><link href="//szh5static.ichunt.com/15.js" rel="prefetch"><link href="//szh5static.ichunt.com/16.js" rel="prefetch"><link href="//szh5static.ichunt.com/17.js" rel="prefetch"><link href="//szh5static.ichunt.com/18.js" rel="prefetch"><link href="//szh5static.ichunt.com/19.js" rel="prefetch"><link href="//szh5static.ichunt.com/2.js" rel="prefetch"><link href="//szh5static.ichunt.com/20.js" rel="prefetch"><link href="//szh5static.ichunt.com/21.js" rel="prefetch"><link href="//szh5static.ichunt.com/22.js" rel="prefetch"><link href="//szh5static.ichunt.com/23.js" rel="prefetch"><link href="//szh5static.ichunt.com/24.js" rel="prefetch"><link href="//szh5static.ichunt.com/25.js" rel="prefetch"><link href="//szh5static.ichunt.com/26.js" rel="prefetch"><link href="//szh5static.ichunt.com/27.js" rel="prefetch"><link href="//szh5static.ichunt.com/28.js" rel="prefetch"><link href="//szh5static.ichunt.com/29.js" rel="prefetch"><link href="//szh5static.ichunt.com/3.js" rel="prefetch"><link href="//szh5static.ichunt.com/30.js" rel="prefetch"><link href="//szh5static.ichunt.com/31.js" rel="prefetch"><link href="//szh5static.ichunt.com/32.js" rel="prefetch"><link href="//szh5static.ichunt.com/33.js" rel="prefetch"><link href="//szh5static.ichunt.com/34.js" rel="prefetch"><link href="//szh5static.ichunt.com/35.js" rel="prefetch"><link href="//szh5static.ichunt.com/36.js" rel="prefetch"><link href="//szh5static.ichunt.com/37.js" rel="prefetch"><link href="//szh5static.ichunt.com/38.js" rel="prefetch"><link href="//szh5static.ichunt.com/39.js" rel="prefetch"><link href="//szh5static.ichunt.com/4.js" rel="prefetch"><link href="//szh5static.ichunt.com/40.js" rel="prefetch"><link href="//szh5static.ichunt.com/41.js" rel="prefetch"><link href="//szh5static.ichunt.com/42.js" rel="prefetch"><link href="//szh5static.ichunt.com/43.js" rel="prefetch"><link href="//szh5static.ichunt.com/44.js" rel="prefetch"><link href="//szh5static.ichunt.com/45.js" rel="prefetch"><link href="//szh5static.ichunt.com/46.js" rel="prefetch"><link href="//szh5static.ichunt.com/47.js" rel="prefetch"><link href="//szh5static.ichunt.com/5.js" rel="prefetch"><link href="//szh5static.ichunt.com/6.js" rel="prefetch"><link href="//szh5static.ichunt.com/7.js" rel="prefetch"><link href="//szh5static.ichunt.com/8.js" rel="prefetch"><link href="//szh5static.ichunt.com/9.js" rel="prefetch"><link href="//szh5static.ichunt.com/app.js" rel="preload" as="script"></head>
<body class="boxsiz">
<noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong>
......@@ -278,5 +278,5 @@
sensors.quick('autoTrack');
}
</script>
<script type="text/javascript" src="//static.leixin.com/app.js"></script></body>
<script type="text/javascript" src="//szh5static.ichunt.com/app.js"></script></body>
</html>
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