Commit be76e4d5 by 肖康

阿斯达

parent 3163d964
Showing with 14 additions and 3 deletions
......@@ -165,7 +165,7 @@
</div>
<ul class="list boxsiz">
<li class="boxsiz" v-for="(v,index) in item.data.pointGoods" :key="index">
<a class="boxsiz" :href="/v3/pointmall" :target="v.window_open > 0 ? '_blank':'_self'" @click="recordFloorFn(ptag+'-floor'+(count * 1 +1))">
<a class="boxsiz" href="/v3/pointmall" :target="v.window_open > 0 ? '_blank':'_self'" @click="recordFloorFn(ptag+'-floor'+(count * 1 +1))">
<div class="pic">
<img v-lazy="v.prize_img_url" :alt="v.prize_name">
</div>
......@@ -212,7 +212,7 @@
<i class="lineBlock"></i>
<span class="t1">资讯中心</span>
</div>
<a class="r" :href="/news?cat_id=11" @click="recordFloorFn(ptag+'-dynamic')">
<a class="r" href="/news?cat_id=11" >
<span class="va-m">更多</span>
<i class="lineBlock va-m"></i>
</a>
......
......@@ -92,7 +92,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
/***/ (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 () {}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack:///./src/views/home/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%223fdc9e70-vue-loader-template%22%7D!./node_modules/_vue-loader@15.7.0@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.7.0@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: \"main-interface boxsiz\" },\n [\n _c(\n \"div\",\n { staticClass: \"container-wrap boxsiz\" },\n [\n _c(\n \"van-pull-refresh\",\n {\n on: { refresh: _vm.onRefresh },\n model: {\n value: _vm.isLoading,\n callback: function($$v) {\n _vm.isLoading = $$v\n },\n expression: \"isLoading\"\n }\n },\n [\n _c(\"div\", { staticClass: \"head boxsiz\" }, [\n _c(\n \"div\",\n { staticClass: \"banner boxsiz\" },\n [_c(\"Slide\", { attrs: { slidedata: _vm.index.rollbanner } })],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"login-wrap\" },\n [\n _vm.loginCheck\n ? [\n _c(\n \"a\",\n {\n staticClass: \"person-btn\",\n attrs: { href: \"/v3/user\" },\n on: {\n click: function($event) {\n return _vm.recordFn(\"member\")\n }\n }\n },\n [_c(\"i\")]\n )\n ]\n : [\n _c(\n \"a\",\n {\n staticClass: \"btn\",\n attrs: { href: \"/v3/login\" },\n on: {\n click: function($event) {\n return _vm.recordFn(\"login\")\n }\n }\n },\n [_vm._v(\"登录\")]\n )\n ]\n ],\n 2\n ),\n _c(\"div\", { staticClass: \"search boxsiz\" }, [\n _c(\"div\", { staticClass: \"search-wrap boxsiz\" }, [\n _c(\"div\", { staticClass: \"pic\" }, [\n _c(\"img\", {\n staticClass: \"logo\",\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/home/logo.png */ \"./src/assets/images/home/logo.png\"),\n alt: \"\"\n }\n })\n ]),\n _c(\"div\", { staticClass: \"inp boxsiz\" }, [\n _c(\"i\"),\n _c(\"input\", {\n staticClass: \"boxsiz\",\n attrs: {\n type: \"text\",\n placeholder: \"请输入元器件型号、参数\"\n },\n on: { focus: _vm.jump }\n })\n ])\n ])\n ])\n ]),\n _vm.index.lx_activity\n ? _c(\"div\", { staticClass: \"notice boxsiz\" }, [\n _c(\"span\", [_vm._v(\"猎芯活动\")]),\n _c(\"i\", { staticClass: \"lineBlock va-m\" }),\n _c(\n \"div\",\n { staticClass: \"notice-contant boxsiz\" },\n [\n _c(\n \"van-swipe\",\n {\n attrs: {\n vertical: \"\",\n \"show-indicators\": false,\n height: _vm.height,\n autoplay: 3000\n }\n },\n _vm._l(_vm.index.lx_activity, function(item, index) {\n return _c(\"van-swipe-item\", { key: index }, [\n _c(\n \"a\",\n {\n attrs: { href: _vm._f(\"urlParams\")(item.url) }\n },\n [_vm._v(_vm._s(item.title))]\n )\n ])\n }),\n 1\n )\n ],\n 1\n ),\n _c(\n \"a\",\n {\n staticClass: \"more\",\n attrs: { href: \"/news?cat_id=20\" }\n },\n [_vm._v(\"更多\")]\n )\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"tab-content boxsiz\" }, [\n _c(\n \"ul\",\n { staticClass: \"boxsiz\" },\n _vm._l(_vm.index.business_entry, function(item, index) {\n return _c(\"li\", [\n _c(\n \"a\",\n {\n attrs: {\n href: item.url,\n target: item.window_open > 0 ? \"_blank\" : \"_self\"\n },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag + \"-path\" + (index * 1 + 1)\n )\n }\n }\n },\n [\n _c(\"img\", { attrs: { src: item.images, alt: \"\" } }),\n _c(\"p\", [_vm._v(_vm._s(item.title))])\n ]\n )\n ])\n }),\n 0\n )\n ]),\n _vm.index.template\n ? _c(\n \"div\",\n { staticClass: \"content boxsiz\" },\n [\n _vm._l(_vm.index.template, function(item, count) {\n return [\n item.class == \"temp5\"\n ? [\n _c(\"div\", { staticClass: \"selfshop boxsiz\" }, [\n _c(\n \"div\",\n { staticClass: \"tit boxsiz\" },\n [\n _c(\"div\", { staticClass: \"l\" }, [\n _c(\"i\", { staticClass: \"lineBlock\" }),\n _c(\"span\", { staticClass: \"t1\" }, [\n _vm._v(_vm._s(item.tem_name))\n ]),\n _c(\"span\", { staticClass: \"t2\" }, [\n _vm._v(_vm._s(item.ad_words))\n ])\n ]),\n item.link_words\n ? [\n _c(\n \"a\",\n {\n staticClass: \"r\",\n attrs: { href: item.url },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\"span\", [\n _vm._v(\n _vm._s(item.link_words)\n )\n ]),\n _c(\"i\", {\n staticClass: \"lineBlock\"\n })\n ]\n )\n ]\n : _vm._e()\n ],\n 2\n ),\n _c(\n \"ul\",\n { staticClass: \"boxsiz list\" },\n _vm._l(item.data.tempGoods, function(\n v,\n index\n ) {\n return _c(\n \"li\",\n { key: index, staticClass: \"boxsiz\" },\n [\n _c(\n \"a\",\n {\n directives: [\n {\n name: \"lazy-container\",\n rawName: \"v-lazy-container\",\n value: { selector: \"img\" },\n expression:\n \"{ selector: 'img' }\"\n }\n ],\n staticClass: \"boxsiz\",\n attrs: {\n href:\n \"/item/\" +\n v.goods_id +\n \".html\",\n target:\n v.window_open > 0\n ? \"_blank\"\n : \"_self\"\n },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n v.ac_type == 1\n ? [\n _c(\"img\", {\n attrs: {\n \"data-src\":\n v.default_img,\n alt: v.supplier_name,\n \"data-error\":\n \"static/images/ziyin.png\"\n }\n }),\n _c(\n \"div\",\n {\n staticClass:\n \"text boxsiz\"\n },\n [\n _c(\n \"p\",\n {\n staticClass:\n \"t1 boxsiz\"\n },\n [\n _vm._v(\n _vm._s(\n v.goods_name\n )\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t2\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"l\"\n },\n [\n _vm._v(\n _vm._s(\n v.price_ac\n )\n )\n ]\n ),\n _c(\n \"span\",\n {\n staticClass: \"r\"\n },\n [_vm._v(\"抢购\")]\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t3\" },\n [\n _vm._v(\n _vm._s(v.price)\n )\n ]\n )\n ]\n )\n ]\n : v.ac_type == 2\n ? [\n _c(\"img\", {\n attrs: {\n \"data-src\":\n v.default_img,\n alt: v.supplier_name,\n \"data-error\":\n \"static/images/ziyin.png\"\n }\n }),\n _c(\n \"div\",\n {\n staticClass:\n \"text boxsiz\"\n },\n [\n _c(\n \"p\",\n {\n staticClass:\n \"t1 boxsiz\"\n },\n [\n _vm._v(\n _vm._s(\n v.goods_name\n )\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t2\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"l\"\n },\n [\n _vm._v(\n _vm._s(\n v.price_ac\n )\n )\n ]\n ),\n _c(\n \"span\",\n {\n staticClass: \"r\"\n },\n [_vm._v(\"抢购\")]\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t3\" },\n [\n _vm._v(\n _vm._s(v.price)\n )\n ]\n )\n ]\n )\n ]\n : v.ac_type == 3\n ? [\n _c(\"img\", {\n attrs: {\n \"data-src\":\n v.default_img,\n alt: v.supplier_name,\n \"data-error\":\n \"static/images/ziyin.png\"\n }\n }),\n _c(\n \"div\",\n {\n staticClass:\n \"text boxsiz\"\n },\n [\n _c(\n \"p\",\n {\n staticClass:\n \"t1 boxsiz\"\n },\n [\n _vm._v(\n _vm._s(\n v.goods_name\n )\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t2\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"l\"\n },\n [\n _vm._v(\n _vm._s(\n v.price_ac\n )\n )\n ]\n ),\n _c(\n \"span\",\n {\n staticClass: \"r\"\n },\n [_vm._v(\"优惠\")]\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t3\" },\n [\n _vm._v(\n _vm._s(v.price)\n )\n ]\n )\n ]\n )\n ]\n : [\n _c(\"img\", {\n attrs: {\n \"data-src\":\n v.default_img,\n alt: v.supplier_name,\n \"data-error\":\n \"static/images/ziyin.png\"\n }\n }),\n _c(\n \"div\",\n {\n staticClass:\n \"text boxsiz\"\n },\n [\n _c(\n \"p\",\n {\n staticClass:\n \"t1 boxsiz\"\n },\n [\n _vm._v(\n _vm._s(\n v.goods_name\n )\n )\n ]\n ),\n _c(\n \"p\",\n { staticClass: \"t2\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"l\"\n },\n [\n _vm._v(\n _vm._s(\n v.price\n )\n )\n ]\n )\n ]\n )\n ]\n )\n ]\n ],\n 2\n )\n ]\n )\n }),\n 0\n )\n ])\n ]\n : item.class == \"temp4\"\n ? [\n _c(\"div\", { staticClass: \"lxshop boxsiz\" }, [\n _c(\n \"div\",\n { staticClass: \"tit boxsiz\" },\n [\n _c(\"div\", { staticClass: \"l\" }, [\n _c(\"i\", { staticClass: \"lineBlock\" }),\n _c(\"span\", { staticClass: \"t1\" }, [\n _vm._v(_vm._s(item.tem_name))\n ]),\n _c(\"span\", { staticClass: \"t2\" }, [\n _vm._v(_vm._s(item.ad_words))\n ])\n ]),\n item.link_words\n ? [\n _c(\n \"a\",\n {\n staticClass: \"r\",\n attrs: { href: item.url },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\n \"span\",\n { staticClass: \"va-m\" },\n [\n _vm._v(\n _vm._s(item.link_words)\n )\n ]\n ),\n _c(\"i\", {\n staticClass: \"lineBlock va-m\"\n })\n ]\n )\n ]\n : _vm._e()\n ],\n 2\n ),\n _c(\n \"ul\",\n { staticClass: \"boxsiz list\" },\n _vm._l(item.data.brandImages, function(\n v,\n index\n ) {\n return _c(\n \"li\",\n { key: index, staticClass: \"boxsiz\" },\n [\n _c(\n \"a\",\n {\n attrs: {\n href: v.url,\n target:\n v.window_open > 0\n ? \"_blank\"\n : \"_self\"\n },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"pic\" },\n [\n _c(\"img\", {\n directives: [\n {\n name: \"lazy\",\n rawName: \"v-lazy\",\n value: v.images,\n expression: \"v.images\"\n }\n ],\n attrs: { alt: v.title }\n })\n ]\n )\n ]\n )\n ]\n )\n }),\n 0\n )\n ])\n ]\n : item.class == \"temp6\"\n ? [\n _c(\"div\", { staticClass: \"jfshop boxsiz\" }, [\n _c(\n \"div\",\n { staticClass: \"tit boxsiz\" },\n [\n _c(\"div\", { staticClass: \"l\" }, [\n _c(\"i\", { staticClass: \"lineBlock\" }),\n _c(\"span\", { staticClass: \"t1\" }, [\n _vm._v(_vm._s(item.tem_name))\n ]),\n _c(\"span\", { staticClass: \"t2\" }, [\n _vm._v(_vm._s(item.ad_words))\n ])\n ]),\n item.link_words\n ? [\n _c(\n \"a\",\n {\n staticClass: \"r\",\n attrs: { href: item.url },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\n \"span\",\n { staticClass: \"va-m\" },\n [\n _vm._v(\n _vm._s(item.link_words)\n )\n ]\n ),\n _c(\"i\", {\n staticClass: \"lineBlock va-m\"\n })\n ]\n )\n ]\n : _vm._e()\n ],\n 2\n ),\n _c(\n \"ul\",\n { staticClass: \"list boxsiz\" },\n _vm._l(item.data.pointGoods, function(\n v,\n index\n ) {\n return _c(\n \"li\",\n { key: index, staticClass: \"boxsiz\" },\n [\n _c(\n \"a\",\n {\n staticClass: \"boxsiz\",\n attrs: {\n href: \"/v3/pointmall\",\n target:\n v.window_open > 0\n ? \"_blank\"\n : \"_self\"\n },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"pic\" },\n [\n _c(\"img\", {\n directives: [\n {\n name: \"lazy\",\n rawName: \"v-lazy\",\n value: v.prize_img_url,\n expression:\n \"v.prize_img_url\"\n }\n ],\n attrs: { alt: v.prize_name }\n })\n ]\n ),\n _c(\"p\", { staticClass: \"t1\" }, [\n _vm._v(_vm._s(v.prize_name))\n ]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _c(\"i\", {\n staticClass: \"va-m lineBlock\"\n }),\n _c(\"em\", [\n _vm._v(_vm._s(v.prize_point))\n ])\n ])\n ]\n )\n ]\n )\n }),\n 0\n )\n ])\n ]\n : item.class == \"temp7\"\n ? [\n _c(\"div\", { staticClass: \"pcb boxsiz\" }, [\n _c(\n \"div\",\n { staticClass: \"tit boxsiz\" },\n [\n _c(\"div\", { staticClass: \"l\" }, [\n _c(\"i\", { staticClass: \"lineBlock\" }),\n _c(\"span\", { staticClass: \"t1\" }, [\n _vm._v(_vm._s(item.tem_name))\n ]),\n _c(\"span\", { staticClass: \"t2\" }, [\n _vm._v(_vm._s(item.ad_words))\n ])\n ]),\n item.link_words\n ? [\n _c(\n \"a\",\n {\n staticClass: \"r\",\n attrs: { href: item.url },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\n \"span\",\n { staticClass: \"va-m\" },\n [\n _vm._v(\n _vm._s(item.link_words)\n )\n ]\n ),\n _c(\"i\", {\n staticClass: \"lineBlock va-m\"\n })\n ]\n )\n ]\n : _vm._e()\n ],\n 2\n ),\n _c(\n \"ul\",\n { staticClass: \"list boxsiz\" },\n _vm._l(item.data.tempImages, function(\n v,\n index\n ) {\n return _c(\n \"li\",\n { key: index, staticClass: \"boxsiz\" },\n [\n _c(\n \"a\",\n {\n staticClass: \"boxsiz\",\n attrs: {\n href: v.url,\n target:\n v.window_open > 0\n ? \"_blank\"\n : \"_self\"\n },\n on: {\n click: function($event) {\n _vm.recordFloorFn(\n _vm.ptag +\n \"-floor\" +\n (count * 1 + 1)\n )\n }\n }\n },\n [\n _c(\"img\", {\n directives: [\n {\n name: \"lazy\",\n rawName: \"v-lazy\",\n value: v.images,\n expression: \"v.images\"\n }\n ],\n attrs: { alt: v.title }\n })\n ]\n )\n ]\n )\n }),\n 0\n )\n ])\n ]\n : _vm._e()\n ]\n }),\n _vm.index.footer_new_article\n ? _c(\"div\", { staticClass: \"news boxsiz\" }, [\n _c(\"div\", { staticClass: \"tit boxsiz\" }, [\n _c(\"div\", { staticClass: \"l\" }, [\n _c(\"i\", { staticClass: \"lineBlock\" }),\n _c(\"span\", { staticClass: \"t1\" }, [\n _vm._v(\"资讯中心\")\n ])\n ]),\n _c(\n \"a\",\n {\n staticClass: \"r\",\n attrs: { href: \"/news?cat_id=11\" }\n },\n [\n _c(\"span\", { staticClass: \"va-m\" }, [\n _vm._v(\"更多\")\n ]),\n _c(\"i\", { staticClass: \"lineBlock va-m\" })\n ]\n )\n ]),\n _c(\n \"ul\",\n { staticClass: \"list boxsiz\" },\n _vm._l(_vm.index.footer_new_article, function(\n item\n ) {\n return _c(\n \"li\",\n { key: item.art_id, staticClass: \"boxsiz\" },\n [\n _c(\n \"a\",\n {\n staticClass: \"boxsiz\",\n attrs: {\n href:\n \"/article/\" + item.art_id + \".html\"\n },\n on: {\n click: function($event) {\n return _vm.recordFloorFn(\n _vm.ptag + \"-dynamic\"\n )\n }\n }\n },\n [\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"lazy-container\",\n rawName: \"v-lazy-container\",\n value: { selector: \"img\" },\n expression: \"{selector:'img'}\"\n }\n ],\n staticClass: \"pic\"\n },\n [\n _c(\"img\", {\n attrs: {\n \"data-src\": item.litpic,\n title: \"猎芯网\",\n alt: \"猎芯网\",\n \"data-error\":\n \"static/images/news.png\"\n }\n })\n ]\n ),\n _c(\"div\", { staticClass: \"text\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [\n _vm._v(_vm._s(item.title_seo))\n ]),\n _c(\"div\", { staticClass: \"t2\" }, [\n _c(\"span\", [\n _vm._v(\n \"来源:\" + _vm._s(item.writer)\n )\n ]),\n _c(\"div\", [\n _c(\"i\", {\n staticClass:\n \"ico lineBlock va-m\"\n }),\n _c(\n \"em\",\n { staticClass: \"va-m\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n parseInt(item.click) +\n parseInt(\n item.start_review\n )\n ) +\n \"\\n \"\n )\n ]\n )\n ])\n ])\n ])\n ]\n )\n ]\n )\n }),\n 0\n )\n ])\n : _vm._e()\n ],\n 2\n )\n : _vm._e()\n ]\n )\n ],\n 1\n ),\n _c(\"Navigator\"),\n _c(\"SideBar\"),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/home/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%223fdc9e70-vue-loader-template%22%7D!./node_modules/_vue-loader@15.7.0@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.7.0@vue-loader/lib??vue-loader-options");
/***/ }),
......@@ -206,6 +206,17 @@ eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoC
/***/ }),
/***/ "./src/assets/images/home/logo.png":
/*!*****************************************!*\
!*** ./src/assets/images/home/logo.png ***!
\*****************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = __webpack_require__.p + \"img/logo.77238714.png\";\n\n//# sourceURL=webpack:///./src/assets/images/home/logo.png?");
/***/ }),
/***/ "./src/assets/images/home/naba.png":
/*!*****************************************!*\
!*** ./src/assets/images/home/naba.png ***!
......
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