Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0a2d418d
authored
Sep 03, 2020
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
7cc5443e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
src/views/sample/special.vue
view/36.js
src/views/sample/special.vue
View file @
0a2d418d
<
template
>
<section
class=
"sample"
>
<Header
:title=
"title"
:meaushow=
"meaushow"
:bgcolor=
"bgcolor"
></Header>
<Header
:
imgUr=
"t4"
:
title=
"title"
:meaushow=
"meaushow"
:bgcolor=
"bgcolor"
></Header>
<div>
<wxShare
:title=
"t3"
:link=
"shareUrl"
></wxShare>
<div
class=
"banner"
>
...
...
@@ -127,6 +127,7 @@
t1
:
'邀请好友送工具尺'
,
t2
:
'成功邀请三位好友即可申请工具尺,快去邀请吧'
,
t3
:
'好礼送给你,帮我助力, 我们一起免费领礼品定制工具尺、PCB板免费打样'
,
t4
:
'http://img.ichunt.com/images/ichunt/minProgram/5af649acf29a3ed218f5c6379dc37401.jpg'
,
bannerHeight
:
173
,
title
:
"好友邀请活动"
,
meaushow
:
true
,
...
...
view/36.js
View file @
0a2d418d
...
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.11@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.10.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.11@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.5.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/wxShare.vue */ \"./src/views/common/wxShare.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.9.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Popup\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sample\",\n data: function data() {\n return {\n t1: '邀请好友送工具尺',\n t2: '成功邀请三位好友即可申请工具尺,快去邀请吧',\n t3: '好礼送给你,帮我助力, 我们一起免费领礼品定制工具尺、PCB板免费打样',\n bannerHeight: 173,\n title: \"好友邀请活动\",\n meaushow: true,\n bgcolor: \"#fafafa\",\n color: \"#1080d0\",\n defaultcolor: \"#333\",\n swipeThreshold: 4,\n active: 0,\n getPop: false,\n //获得机会弹窗,没机会时展示\n getPops: false,\n quota: '',\n quotaNum: '',\n loadingYp: false,\n applyCount: 0,\n inviteCount: 0,\n p: 1,\n classId: \"\",\n fxType: 0,\n layer: false,\n type: '',\n sample_class_id: '',\n brand_id: {},\n packing: {},\n encap: {},\n attrs: {},\n curr: false,\n id: [],\n shareUrl: window.location.origin + \"/v3/samplereg?from=special&uid=\" + _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"Yo4teW_uid\"),\n isShowChooseWork: false,\n workType: -1,\n workFun: 0,\n isBelongs: 0,\n isProvideInfo: 0,\n goodId: null,\n isShowRule: false,\n userSpecialInfo: {}\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n aggSample: function aggSample(state) {\n return state.sample.aggSample;\n },\n ziYingIndex: function ziYingIndex(state) {\n return state.sample.ziYingIndex;\n },\n aggs: function aggs(state) {\n return state.sample.aggs;\n },\n goodList: function goodList(state) {\n return state.sample.goodList;\n },\n loading: function loading(state) {\n return state.sample.loading;\n },\n finished: function finished(state) {\n return state.sample.finished;\n },\n smaple_class_id: function smaple_class_id(state) {\n return state.sample.smaple_class_id;\n },\n getsamplebanner: function getsamplebanner(state) {\n return state.sample.getsamplebanner;\n }\n })),\n watch: {\n loading: function loading(now) {\n this.loadingYp = now;\n },\n smaple_class_id: function smaple_class_id(val) {\n if (val) {\n //先获取aggSample的第一个id\n this.$store.dispatch({\n type: \"ziYingIndex\",\n params: {\n 'sample_class_id/eq': val,\n p: this.p\n }\n });\n }\n }\n },\n beforeCreate: function beforeCreate() {\n if (!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {\n var paramsStr = '';\n\n for (var k in this.$route.query) {\n paramsStr += k + '=' + this.$route.query[k] + '&';\n }\n\n paramsStr = paramsStr.slice(0, -1);\n\n switch (window.location.hostname) {\n case \"m.liexin.com\":\n window.location.href = paramsStr ? \"http://www.liexin.com/v3/sample?\" + paramsStr : \"http://www.liexin.com/v3/sample\";\n break;\n\n default:\n window.location.href = window.location.origin + (paramsStr ? \"/v3/sample?\" + paramsStr : \"/v3/sample\");\n break;\n }\n }\n },\n created: function created() {\n this.judgeLogin();\n },\n methods: {\n judgeOccupation: function judgeOccupation() {\n var value = this.isBelongs; //0表示未填写 1表示已填写\n\n if (value == 0) {\n this.isShowChooseWork = true;\n return false;\n } else {\n return true;\n }\n },\n chooseWork: function chooseWork() {\n if (this.workType == -1) {\n return;\n }\n\n this.$router.push({\n path: \"/sampleapply\",\n query: {\n id: this.userSpecialInfo.goods_id,\n type: this.workType,\n full: '0',\n from: 'spacial'\n }\n });\n },\n changeWorkType: function changeWorkType(type) {\n this.workType = type;\n },\n judgeLogin: function judgeLogin() {\n if (getCookie(\"Yo4teW_uid\")) {\n this.getCount();\n } else {\n this.fxType = 3;\n }\n },\n getGoodList: function getGoodList() {\n this.$store.dispatch({\n type: \"getGoodList\",\n data: {\n p: this.p,\n class_id: this.classId\n }\n });\n },\n onClick: function onClick(name) {\n this.sample_class_id = name;\n this.layer = !this.layer;\n this.getAggData(name);\n },\n onLoad: function onLoad() {},\n getuserf: function getuserf() {\n this.getPop = false;\n },\n getAggData: function getAggData(id) {},\n getCount: function getCount() {\n var _this = this;\n\n //获取用户领取机会、邀约人数\n var me = this;\n _api_index__WEBPACK_IMPORTED_MODULE_9__[\"services\"].getUserSpecialInfo().then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n _this.userSpecialInfo = data.data;\n\n if (data.data.invite_count == 0) {\n me.fxType = 2;\n } else {\n me.fxType = 1;\n }\n } else if (data.err_code == \"11012\") {\n window.location.href = \"/v3/login?referer=\" + encodeURIComponent(window.location.href);\n }\n }).catch(function (err) {});\n },\n yaoqing: function yaoqing(status, type) {\n var loginpta = _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin(); //1强登入态\n\n if (loginpta != 1) {\n window.location.href = \"/v3/login?referer=\" + encodeURIComponent(window.location.href);\n return;\n } else {\n if (type == '2') {\n this.t1 = '邀请好友送PCB打样';\n this.t2 = '成功邀请三位好友即可申请PCB打样,快去邀请吧';\n }\n\n if (this.userSpecialInfo.invite_count == 0) {\n this.getPop = true;\n } else {\n if (status) {\n if (type == '1') {\n this.isShowChooseWork = true;\n } else if (type == '2') {\n window.location.href = 'https://www.pcbhunt.com/pcbonline.html?BoardHeight=10&BoardWidth=10&Num=5&BoardLayers=2&BoardThickness=1.6';\n }\n } else {\n if (this.userSpecialInfo.has_order == '1') {\n Object(vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"])('您当前已申请领取了哟,请前往订单中心查看');\n } else {\n this.getPops = true;\n }\n }\n }\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n wxShare: _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_11__[\"List\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/sample/special.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.11@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.11@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.10.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.11@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.5.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/wxShare.vue */ \"./src/views/common/wxShare.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.9.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Popup\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sample\",\n data: function data() {\n return {\n t1: '邀请好友送工具尺',\n t2: '成功邀请三位好友即可申请工具尺,快去邀请吧',\n t3: '好礼送给你,帮我助力, 我们一起免费领礼品定制工具尺、PCB板免费打样',\n
t4: 'http://img.ichunt.com/images/ichunt/minProgram/5af649acf29a3ed218f5c6379dc37401.jpg',\n
bannerHeight: 173,\n title: \"好友邀请活动\",\n meaushow: true,\n bgcolor: \"#fafafa\",\n color: \"#1080d0\",\n defaultcolor: \"#333\",\n swipeThreshold: 4,\n active: 0,\n getPop: false,\n //获得机会弹窗,没机会时展示\n getPops: false,\n quota: '',\n quotaNum: '',\n loadingYp: false,\n applyCount: 0,\n inviteCount: 0,\n p: 1,\n classId: \"\",\n fxType: 0,\n layer: false,\n type: '',\n sample_class_id: '',\n brand_id: {},\n packing: {},\n encap: {},\n attrs: {},\n curr: false,\n id: [],\n shareUrl: window.location.origin + \"/v3/samplereg?from=special&uid=\" + _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"Yo4teW_uid\"),\n isShowChooseWork: false,\n workType: -1,\n workFun: 0,\n isBelongs: 0,\n isProvideInfo: 0,\n goodId: null,\n isShowRule: false,\n userSpecialInfo: {}\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n aggSample: function aggSample(state) {\n return state.sample.aggSample;\n },\n ziYingIndex: function ziYingIndex(state) {\n return state.sample.ziYingIndex;\n },\n aggs: function aggs(state) {\n return state.sample.aggs;\n },\n goodList: function goodList(state) {\n return state.sample.goodList;\n },\n loading: function loading(state) {\n return state.sample.loading;\n },\n finished: function finished(state) {\n return state.sample.finished;\n },\n smaple_class_id: function smaple_class_id(state) {\n return state.sample.smaple_class_id;\n },\n getsamplebanner: function getsamplebanner(state) {\n return state.sample.getsamplebanner;\n }\n })),\n watch: {\n loading: function loading(now) {\n this.loadingYp = now;\n },\n smaple_class_id: function smaple_class_id(val) {\n if (val) {\n //先获取aggSample的第一个id\n this.$store.dispatch({\n type: \"ziYingIndex\",\n params: {\n 'sample_class_id/eq': val,\n p: this.p\n }\n });\n }\n }\n },\n beforeCreate: function beforeCreate() {\n if (!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {\n var paramsStr = '';\n\n for (var k in this.$route.query) {\n paramsStr += k + '=' + this.$route.query[k] + '&';\n }\n\n paramsStr = paramsStr.slice(0, -1);\n\n switch (window.location.hostname) {\n case \"m.liexin.com\":\n window.location.href = paramsStr ? \"http://www.liexin.com/v3/sample?\" + paramsStr : \"http://www.liexin.com/v3/sample\";\n break;\n\n default:\n window.location.href = window.location.origin + (paramsStr ? \"/v3/sample?\" + paramsStr : \"/v3/sample\");\n break;\n }\n }\n },\n created: function created() {\n this.judgeLogin();\n },\n methods: {\n judgeOccupation: function judgeOccupation() {\n var value = this.isBelongs; //0表示未填写 1表示已填写\n\n if (value == 0) {\n this.isShowChooseWork = true;\n return false;\n } else {\n return true;\n }\n },\n chooseWork: function chooseWork() {\n if (this.workType == -1) {\n return;\n }\n\n this.$router.push({\n path: \"/sampleapply\",\n query: {\n id: this.userSpecialInfo.goods_id,\n type: this.workType,\n full: '0',\n from: 'spacial'\n }\n });\n },\n changeWorkType: function changeWorkType(type) {\n this.workType = type;\n },\n judgeLogin: function judgeLogin() {\n if (getCookie(\"Yo4teW_uid\")) {\n this.getCount();\n } else {\n this.fxType = 3;\n }\n },\n getGoodList: function getGoodList() {\n this.$store.dispatch({\n type: \"getGoodList\",\n data: {\n p: this.p,\n class_id: this.classId\n }\n });\n },\n onClick: function onClick(name) {\n this.sample_class_id = name;\n this.layer = !this.layer;\n this.getAggData(name);\n },\n onLoad: function onLoad() {},\n getuserf: function getuserf() {\n this.getPop = false;\n },\n getAggData: function getAggData(id) {},\n getCount: function getCount() {\n var _this = this;\n\n //获取用户领取机会、邀约人数\n var me = this;\n _api_index__WEBPACK_IMPORTED_MODULE_9__[\"services\"].getUserSpecialInfo().then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n _this.userSpecialInfo = data.data;\n\n if (data.data.invite_count == 0) {\n me.fxType = 2;\n } else {\n me.fxType = 1;\n }\n } else if (data.err_code == \"11012\") {\n window.location.href = \"/v3/login?referer=\" + encodeURIComponent(window.location.href);\n }\n }).catch(function (err) {});\n },\n yaoqing: function yaoqing(status, type) {\n var loginpta = _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin(); //1强登入态\n\n if (loginpta != 1) {\n window.location.href = \"/v3/login?referer=\" + encodeURIComponent(window.location.href);\n return;\n } else {\n if (type == '2') {\n this.t1 = '邀请好友送PCB打样';\n this.t2 = '成功邀请三位好友即可申请PCB打样,快去邀请吧';\n }\n\n if (this.userSpecialInfo.invite_count == 0) {\n this.getPop = true;\n } else {\n if (status) {\n if (type == '1') {\n this.isShowChooseWork = true;\n } else if (type == '2') {\n window.location.href = 'https://www.pcbhunt.com/pcbonline.html?BoardHeight=10&BoardWidth=10&Num=5&BoardLayers=2&BoardThickness=1.6';\n }\n } else {\n if (this.userSpecialInfo.has_order == '1') {\n Object(vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"])('您当前已申请领取了哟,请前往订单中心查看');\n } else {\n this.getPops = true;\n }\n }\n }\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n wxShare: _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_11__[\"List\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/sample/special.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"sample\" },\n [\n _c(\"Header\", {\n attrs: {\n title: _vm.title,\n meaushow: _vm.meaushow,\n bgcolor: _vm.bgcolor\n }\n }),\n _c(\n \"div\",\n [\n _c(\"wxShare\", { attrs: { title: _vm.t3, link: _vm.shareUrl } }),\n _c(\n \"div\",\n { staticClass: \"banner\" },\n [\n _c(\n \"van-swipe\",\n {\n attrs: {\n autoplay: 3000,\n \"indicator-color\": \"white\",\n height: _vm.bannerHeight,\n loop: false,\n \"show-indicators\": false\n }\n },\n [\n _c(\"van-swipe-item\", [\n _c(\"a\", [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/sample/b.jpg */ \"./src/assets/images/sample/b.jpg\"),\n alt: \"\"\n }\n })\n ])\n ])\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"activity-rule\" }, [\n _c(\n \"div\",\n {\n staticClass: \"rule-title\",\n on: {\n click: function($event) {\n _vm.isShowRule = !_vm.isShowRule\n }\n }\n },\n [\n _vm._v(\"\\n 活动规则\\n \"),\n _c(\"i\", {\n class: [\n \"icon\",\n \"iconfont\",\n _vm.isShowRule ? \"icon-down-trangle\" : \"icon-jinru1\"\n ]\n })\n ]\n ),\n _c(\n \"div\",\n { class: [\"rule-content\", _vm.isShowRule ? \"show\" : \"\"] },\n [\n _c(\"p\", [_vm._v(\"• 活动规则\")]),\n _c(\"p\", [_vm._v(\"1:活动时间:2020年9月7日~2020年9月30日\")]),\n _c(\"p\", [\n _vm._v(\n \"2:活动期间邀请好友注册成功人数达到3人即可获赠工具尺一把;活动期间邀请好友注册成功人数达到5人即可获得PCB板免费打样一次;每个用户限领一次;\"\n )\n ]),\n _c(\"p\", [\n _vm._v(\n \"3:获得工具尺的用户:工程师、终端等用户可享受包邮福利;学生、贸易商等用户运费需自理。获得免费打样的用户:运费需自理;同时获得两种礼品的用户需分开 领取奖励。\"\n )\n ]),\n _c(\"p\", [\n _vm._v(\"4:获得PCB板免费打样的用户:只能享受特价板免费;\")\n ]),\n _c(\"p\", [\n _vm._v(\"5:所有用户均可参加活动;被邀请人同样享受活动权益;\")\n ]),\n _c(\"p\", [\n _vm._v(\n \"6:礼品将在5-7个工作日内通过审核,在活动结束后10个工作日内寄送;\"\n )\n ]),\n _c(\"p\", [\n _vm._v(\n \"7:在法律允许范围内,本活动最终解释权归猎芯网所有,对于恶意刷奖行为,猎芯网有权取消用户领取奖励资格并保留相关法律权益。详情可致电4008-755-881。\"\n )\n ])\n ]\n )\n ]),\n _vm.fxType\n ? _c(\"div\", { staticClass: \"fx_text\" }, [\n _vm.fxType == 1\n ? _c(\"div\", { staticClass: \"fx_text_one\" }, [\n _vm._v(\n \"\\n 成功邀请人数\\n \"\n ),\n _c(\"span\", [\n _vm._v(_vm._s(_vm.userSpecialInfo.invite_count))\n ]),\n _vm._v(\" 人\\n \")\n ])\n : _vm.fxType == 2\n ? _c(\"div\", { staticClass: \"fx_text_two\" }, [\n _vm._v(\n \"\\n 当前可领取次数为:\\n \"\n ),\n _c(\"span\", [_vm._v(_vm._s(_vm.applyCount))]),\n _vm._v(\" 次,分享可额外获得领取机会\\n \")\n ])\n : _c(\"div\", { staticClass: \"fx_text_three\" }, [\n _vm._v(\"分享可额外获得领取机会\")\n ])\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"sample-special-box\" }, [\n _c(\"div\", { staticClass: \"box1 row\" }, [\n _c(\"div\", { staticClass: \"row bothSide wrap boxsiz\" }, [\n _c(\n \"a\",\n {\n directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }],\n staticClass: \"type1 boxsiz link\",\n attrs: { href: \"javascript:;\" }\n },\n [_vm._v(\"邀请好友\")]\n ),\n _c(\n \"a\",\n {\n staticClass: \"type2 boxsiz link\",\n attrs: { href: \"javascript:;\" },\n on: {\n click: function($event) {\n return _vm.yaoqing(\n _vm.userSpecialInfo.can_get_ruler,\n \"1\"\n )\n }\n }\n },\n [_vm._v(\"领取\")]\n )\n ])\n ]),\n _c(\"div\", { staticClass: \"box2 row\" }, [\n _c(\"div\", { staticClass: \"row bothSide wrap boxsiz\" }, [\n _c(\n \"a\",\n {\n directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }],\n staticClass: \"type3 boxsiz link\",\n attrs: { href: \"javascript:;\" }\n },\n [_vm._v(\"邀请好友\")]\n ),\n _c(\n \"a\",\n {\n staticClass: \"type4 boxsiz link\",\n attrs: { href: \"javascript:;\" },\n on: {\n click: function($event) {\n return _vm.yaoqing(_vm.userSpecialInfo.can_get_pcb, \"2\")\n }\n }\n },\n [_vm._v(\"领取\")]\n )\n ])\n ])\n ]),\n _vm.getPop\n ? _c(\"div\", { staticClass: \"get-user-pop\" }, [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.t1) +\n \"\\n \"\n ),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: { click: _vm.getuserf }\n })\n ]),\n _c(\n \"span\",\n {\n directives: [\n { name: \"shareMask\", rawName: \"v-shareMask\" }\n ]\n },\n [_vm._v(\"点击邀请\")]\n )\n ])\n ])\n : _vm._e(),\n _vm.getPops\n ? _c(\"div\", { staticClass: \"get-user-pop\" }, [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.t2) +\n \"\\n \"\n ),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: {\n click: function($event) {\n _vm.getPops = false\n }\n }\n })\n ]),\n _c(\n \"span\",\n {\n directives: [\n { name: \"shareMask\", rawName: \"v-shareMask\" }\n ]\n },\n [_vm._v(\"点击邀请\")]\n )\n ])\n ])\n : _vm._e(),\n _vm.isShowChooseWork\n ? _c(\"div\", { staticClass: \"choose-work-pop\" }, [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"choose-work-con\" }, [\n _c(\"i\", {\n staticClass: \"icon iconfont icon-shandiao-\",\n on: {\n click: function($event) {\n _vm.isShowChooseWork = false\n }\n }\n }),\n _c(\"div\", { staticClass: \"work-groups clr\" }, [\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"xs-item\",\n _vm.workType == 4 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(4)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div xs-radius\" }),\n _c(\"p\", [_vm._v(\"我是学生\")])\n ]\n ),\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"mys-item\",\n _vm.workType == 7 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(7)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div mys-radius\" }),\n _c(\"p\", [_vm._v(\"我是贸易商\")])\n ]\n ),\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"gcs-item\",\n _vm.workType == 1 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(1)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div gcs-radius\" }),\n _c(\"p\", [_vm._v(\"我是工程师\")])\n ]\n ),\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"zds-item\",\n _vm.workType == 8 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(8)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div zds-radius\" }),\n _c(\"p\", [_vm._v(\"我是终端商\")])\n ]\n )\n ]),\n _c(\n \"div\",\n {\n class: [\"btn\", _vm.workType != -1 ? \"active\" : \"\"],\n on: { click: _vm.chooseWork }\n },\n [_vm._v(\"确定\")]\n )\n ])\n ])\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/sample/special.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22cf9e013c-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"sample\" },\n [\n _c(\"Header\", {\n attrs: {\n
imgUr: _vm.t4,\n
title: _vm.title,\n meaushow: _vm.meaushow,\n bgcolor: _vm.bgcolor\n }\n }),\n _c(\n \"div\",\n [\n _c(\"wxShare\", { attrs: { title: _vm.t3, link: _vm.shareUrl } }),\n _c(\n \"div\",\n { staticClass: \"banner\" },\n [\n _c(\n \"van-swipe\",\n {\n attrs: {\n autoplay: 3000,\n \"indicator-color\": \"white\",\n height: _vm.bannerHeight,\n loop: false,\n \"show-indicators\": false\n }\n },\n [\n _c(\"van-swipe-item\", [\n _c(\"a\", [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/sample/b.jpg */ \"./src/assets/images/sample/b.jpg\"),\n alt: \"\"\n }\n })\n ])\n ])\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"activity-rule\" }, [\n _c(\n \"div\",\n {\n staticClass: \"rule-title\",\n on: {\n click: function($event) {\n _vm.isShowRule = !_vm.isShowRule\n }\n }\n },\n [\n _vm._v(\"\\n 活动规则\\n \"),\n _c(\"i\", {\n class: [\n \"icon\",\n \"iconfont\",\n _vm.isShowRule ? \"icon-down-trangle\" : \"icon-jinru1\"\n ]\n })\n ]\n ),\n _c(\n \"div\",\n { class: [\"rule-content\", _vm.isShowRule ? \"show\" : \"\"] },\n [\n _c(\"p\", [_vm._v(\"• 活动规则\")]),\n _c(\"p\", [_vm._v(\"1:活动时间:2020年9月7日~2020年9月30日\")]),\n _c(\"p\", [\n _vm._v(\n \"2:活动期间邀请好友注册成功人数达到3人即可获赠工具尺一把;活动期间邀请好友注册成功人数达到5人即可获得PCB板免费打样一次;每个用户限领一次;\"\n )\n ]),\n _c(\"p\", [\n _vm._v(\n \"3:获得工具尺的用户:工程师、终端等用户可享受包邮福利;学生、贸易商等用户运费需自理。获得免费打样的用户:运费需自理;同时获得两种礼品的用户需分开 领取奖励。\"\n )\n ]),\n _c(\"p\", [\n _vm._v(\"4:获得PCB板免费打样的用户:只能享受特价板免费;\")\n ]),\n _c(\"p\", [\n _vm._v(\"5:所有用户均可参加活动;被邀请人同样享受活动权益;\")\n ]),\n _c(\"p\", [\n _vm._v(\n \"6:礼品将在5-7个工作日内通过审核,在活动结束后10个工作日内寄送;\"\n )\n ]),\n _c(\"p\", [\n _vm._v(\n \"7:在法律允许范围内,本活动最终解释权归猎芯网所有,对于恶意刷奖行为,猎芯网有权取消用户领取奖励资格并保留相关法律权益。详情可致电4008-755-881。\"\n )\n ])\n ]\n )\n ]),\n _vm.fxType\n ? _c(\"div\", { staticClass: \"fx_text\" }, [\n _vm.fxType == 1\n ? _c(\"div\", { staticClass: \"fx_text_one\" }, [\n _vm._v(\n \"\\n 成功邀请人数\\n \"\n ),\n _c(\"span\", [\n _vm._v(_vm._s(_vm.userSpecialInfo.invite_count))\n ]),\n _vm._v(\" 人\\n \")\n ])\n : _vm.fxType == 2\n ? _c(\"div\", { staticClass: \"fx_text_two\" }, [\n _vm._v(\n \"\\n 当前可领取次数为:\\n \"\n ),\n _c(\"span\", [_vm._v(_vm._s(_vm.applyCount))]),\n _vm._v(\" 次,分享可额外获得领取机会\\n \")\n ])\n : _c(\"div\", { staticClass: \"fx_text_three\" }, [\n _vm._v(\"分享可额外获得领取机会\")\n ])\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"sample-special-box\" }, [\n _c(\"div\", { staticClass: \"box1 row\" }, [\n _c(\"div\", { staticClass: \"row bothSide wrap boxsiz\" }, [\n _c(\n \"a\",\n {\n directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }],\n staticClass: \"type1 boxsiz link\",\n attrs: { href: \"javascript:;\" }\n },\n [_vm._v(\"邀请好友\")]\n ),\n _c(\n \"a\",\n {\n staticClass: \"type2 boxsiz link\",\n attrs: { href: \"javascript:;\" },\n on: {\n click: function($event) {\n return _vm.yaoqing(\n _vm.userSpecialInfo.can_get_ruler,\n \"1\"\n )\n }\n }\n },\n [_vm._v(\"领取\")]\n )\n ])\n ]),\n _c(\"div\", { staticClass: \"box2 row\" }, [\n _c(\"div\", { staticClass: \"row bothSide wrap boxsiz\" }, [\n _c(\n \"a\",\n {\n directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }],\n staticClass: \"type3 boxsiz link\",\n attrs: { href: \"javascript:;\" }\n },\n [_vm._v(\"邀请好友\")]\n ),\n _c(\n \"a\",\n {\n staticClass: \"type4 boxsiz link\",\n attrs: { href: \"javascript:;\" },\n on: {\n click: function($event) {\n return _vm.yaoqing(_vm.userSpecialInfo.can_get_pcb, \"2\")\n }\n }\n },\n [_vm._v(\"领取\")]\n )\n ])\n ])\n ]),\n _vm.getPop\n ? _c(\"div\", { staticClass: \"get-user-pop\" }, [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.t1) +\n \"\\n \"\n ),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: { click: _vm.getuserf }\n })\n ]),\n _c(\n \"span\",\n {\n directives: [\n { name: \"shareMask\", rawName: \"v-shareMask\" }\n ]\n },\n [_vm._v(\"点击邀请\")]\n )\n ])\n ])\n : _vm._e(),\n _vm.getPops\n ? _c(\"div\", { staticClass: \"get-user-pop\" }, [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.t2) +\n \"\\n \"\n ),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: {\n click: function($event) {\n _vm.getPops = false\n }\n }\n })\n ]),\n _c(\n \"span\",\n {\n directives: [\n { name: \"shareMask\", rawName: \"v-shareMask\" }\n ]\n },\n [_vm._v(\"点击邀请\")]\n )\n ])\n ])\n : _vm._e(),\n _vm.isShowChooseWork\n ? _c(\"div\", { staticClass: \"choose-work-pop\" }, [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"choose-work-con\" }, [\n _c(\"i\", {\n staticClass: \"icon iconfont icon-shandiao-\",\n on: {\n click: function($event) {\n _vm.isShowChooseWork = false\n }\n }\n }),\n _c(\"div\", { staticClass: \"work-groups clr\" }, [\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"xs-item\",\n _vm.workType == 4 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(4)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div xs-radius\" }),\n _c(\"p\", [_vm._v(\"我是学生\")])\n ]\n ),\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"mys-item\",\n _vm.workType == 7 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(7)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div mys-radius\" }),\n _c(\"p\", [_vm._v(\"我是贸易商\")])\n ]\n ),\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"gcs-item\",\n _vm.workType == 1 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(1)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div gcs-radius\" }),\n _c(\"p\", [_vm._v(\"我是工程师\")])\n ]\n ),\n _c(\n \"div\",\n {\n class: [\n \"fl\",\n \"work-item\",\n \"zds-item\",\n _vm.workType == 8 ? \"active\" : \"\"\n ],\n on: {\n click: function($event) {\n return _vm.changeWorkType(8)\n }\n }\n },\n [\n _c(\"div\", { staticClass: \"radius-div zds-radius\" }),\n _c(\"p\", [_vm._v(\"我是终端商\")])\n ]\n )\n ]),\n _c(\n \"div\",\n {\n class: [\"btn\", _vm.workType != -1 ? \"active\" : \"\"],\n on: { click: _vm.chooseWork }\n },\n [_vm._v(\"确定\")]\n )\n ])\n ])\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/sample/special.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22cf9e013c-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment