修改搜索分类

master
xcw 2023-09-28 11:22:06 +08:00
parent a2bb594a15
commit 7e2f3cc909
150 changed files with 522 additions and 132 deletions

View File

@ -137,7 +137,7 @@ export default {
li {
& > a {
height: 42px;
padding: 0 20px;
padding: 0 10px;
}
&.active {
background-color: #ffeeef;

View File

@ -218,7 +218,7 @@ export default {
toSearch() {
if (!this.name) return this.$message.error('请输入商品名称')
this.$router.push({
path: '/goods_list',
path: '/search_goodsList',
query: {
name: this.name,
},
@ -315,7 +315,6 @@ export default {
}
}
.header-main {
.search-wrap {
height: 80px;
.logo {

View File

@ -1,6 +1,6 @@
// 本地访问域名
const testUrl = "http://glh.dev.scdxtc.cn"
const testUrl = "https://www.gonglehui.com"
//线上域名
const productUrl = ''
const config = {

View File

@ -334,7 +334,7 @@ export default {
params.sort_by_sales = saleSort
break
}
if(this.brandIndex > 0) {
if(this.brandIndex >= 0) {
params.brand_id = this.brandList[this.brandIndex].brand_id;
}
const {
@ -401,7 +401,7 @@ export default {
}
.item {
margin-bottom: 16px;
width: 120px;
width: 140px;
margin-left: 14px;
cursor: pointer;
&.active {

View File

@ -0,0 +1,326 @@
<template>
<div class="category">
<div class="category-hd bg-white">
<div class="category-wrap">
<div class="category-con flex">
<div class="name muted">全部分类</div>
<div class="category-list flex flex-wrap lighter">
<div
:class="[
'item line1',
{ active: threeIndex === index },
]"
v-for="(item, index) in categoryThree"
:key="index"
@click="changeData(item.id,index)"
>
{{ item.name }}
</div>
</div>
</div>
</div>
<div class="sort flex bg-white">
<div class="title muted">排序方式</div>
<div class="sort-name m-l-16 flex lighter">
<div
:class="['item', { active: sortType == '' }]"
@click="changeSortType('')"
>
综合
</div>
<div
:class="['item', { active: sortType == 'price' }]"
@click="changeSortType('price')"
>
价格
<i
v-show="priceSort == 'desc'"
class="el-icon-arrow-down"
></i>
<i
v-show="priceSort == 'asc'"
class="el-icon-arrow-up"
></i>
</div>
<div
:class="['item', { active: sortType == 'sales_sum' }]"
@click="changeSortType('sales_sum')"
>
销量
<i
v-show="saleSort == 'desc'"
class="el-icon-arrow-down"
></i>
<i
v-show="saleSort == 'asc'"
class="el-icon-arrow-up"
></i>
</div>
<div
:class="['item', { active: sortType == 'brand' && brandList.length}]"
@click="changeSortType('brand')"
>
品牌
</div>
</div>
</div>
<!-- 品牌 -->
<div class="sort flex bg-white" v-show="sortType == 'brand' && brandList.length > 0">
<div class="category-con flex" style="padding-top: 0;">
<div class="name muted">品牌</div>
<div class="category-list flex flex-wrap lighter">
<div
:class="['item', { active: brandIndex == index }]"
@click="getBrandGoods(index)" v-for="(item,index) in brandList" :key="index"
>
{{ item.name }}
</div>
</div>
</div>
</div>
</div>
<div v-if="isHasGoods" class="goods-list">
<goods-list :list="goodsList" />
<div
class="pagination flex row-center"
style="padding-bottom: 38px"
v-if="count"
>
<el-pagination
background
hide-on-single-page
layout="prev, pager, next"
:total="count"
prev-text="上一页"
next-text="下一页"
:page-size="20"
@current-change="changePage"
>
</el-pagination>
</div>
</div>
<null-data
v-else
:img="require('@/static/images/goods_null.png')"
text="暂无商品~"
></null-data>
</div>
</template>
<script>
import { trottle } from '~/utils/tools'
export default {
head() {
return {
title: this.$store.getters.headTitle,
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: this.$store.getters.favicon,
},
],
}
},
watchQuery: true,
async asyncData({ query, $get }) {
let { data } = await $get('goodsCategory/getThirdListByKeyword',{
params: {
keyword:query.name,
},
})
return {
categoryList: data,
}
},
data() {
return {
count: 0,
threeIndex: 0,
brandIndex:-1,
categoryThree: [],
sortType: '',
saleSort: 'desc',
priceSort: 'desc',
brandSort:'desc',
page: '',
goodsList: [],
cateId: 0,
isHasGoods: true,
brandList:[],//
}
},
created() {
this.changeSortType = trottle(this.changeSortType, 500, this)
},
methods: {
changeData(id,index) {
const { categoryList } = this
this.categoryThree = categoryList;
this.threeIndex = index || 0;
this.cateId = id || categoryList[this.threeIndex].id;
this.getGoods();
this.brandIndex = '-1';
this.sortType = '';
this.brandList = [];
},
changeSortType(type) {
this.sortType = type
switch (type) {
case 'price':
if (this.priceSort == 'asc') {
this.priceSort = 'desc'
} else if (this.priceSort == 'desc') {
this.priceSort = 'asc'
}
break
case 'sales_sum':
if (this.saleSort == 'asc') {
this.saleSort = 'desc'
} else if (this.saleSort == 'desc') {
this.saleSort = 'asc'
}
break
case 'brand':
if (this.brandSort == 'asc') {
this.brandSort = 'desc'
} else if (this.brandSort == 'desc') {
this.brandSort = 'asc'
}
break
default:
}
if(this.sortType == 'brand') {
this.getBrand() //
}else {
this.getGoods()
}
},
changePage(current) {
this.page = current
this.getGoods()
},
async getGoods() {
const { priceSort, sortType, saleSort } = this
const params = {
page_size: 20,
page_no: this.page,
platform_cate_id: this.cateId,
}
switch (sortType) {
case 'price':
params.sort_by_price = priceSort
break
case 'sales_sum':
params.sort_by_sales = saleSort
break
}
if(this.brandIndex >= 0) {
params.brand_id = this.brandList[this.brandIndex].brand_id;
}
const {
data: { lists, count },
} = await this.$get('goods/getGoodsList', {
params,
})
this.goodsList = lists
if (!lists.length) {
this.isHasGoods = false
} else {
this.isHasGoods = true
}
this.count = count
},
//
async getBrand() {
const params = {
page_size: 20,
page_no: this.page,
cate_id: this.cateId,
}
const {
data
} = await this.$get('goods/getBrandListByCateId', {
params,
})
this.brandList = data
},
//
getBrandGoods(index) {
this.brandIndex = index;
this.getGoods();
},
},
watch: {
categoryList: {
immediate: true,
handler(value) {
const { id } = this.$route.query
this.changeData(Number(id));
},
},
},
}
</script>
<style lang="scss" scoped>
.category {
padding: 16px 0;
.category-hd {
.category-wrap {
padding: 0 16px;
}
.category-con {
border-bottom: 1px dashed #e5e5e5;
align-items: flex-start;
padding-top: 16px;
word-wrap: break-word;
.name {
flex: none;
}
.item {
margin-bottom: 16px;
width: 140px;
margin-left: 14px;
cursor: pointer;
&.active {
color: $--color-primary;
}
&:hover {
color: $--color-primary;
}
}
}
.sort {
padding: 15px 16px;
.sort-name {
.item {
margin-right: 30px;
cursor: pointer;
&.active {
color: $--color-primary;
}
}
}
}
}
.brand-list {
border-top: 1px dashed #e5e5e5;
}
}
.goods-list {
margin-top: 20px;
}
</style>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(e){function r(data){for(var r,n,c=data[0],d=data[1],l=data[2],i=0,h=[];i<c.length;i++)n=c[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&h.push(o[n][0]),o[n]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(v&&v(data);h.length;)h.shift()();return f.push.apply(f,l||[]),t()}function t(){for(var e,i=0;i<f.length;i++){for(var r=f[i],t=!0,n=1;n<r.length;n++){var d=r[n];0!==o[d]&&(t=!1)}t&&(f.splice(i--,1),e=c(c.s=r[0]))}return e}var n={},o={60:0},f=[];function c(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var f,script=document.createElement("script");script.charset="utf-8",script.timeout=120,c.nc&&script.setAttribute("nonce",c.nc),script.src=function(e){return c.p+""+{0:"f32042e",1:"dd1152d",4:"689e288",5:"bb96b51",6:"53fca08",7:"ad549ff",8:"ea0dec1",9:"4a0e1a9",10:"e69155d",11:"e5eaf85",12:"d1b5fd1",13:"a65f025",14:"b1dd136",15:"aaa308f",16:"ce067b1",17:"cc8567e",18:"30ceafe",19:"f926c32",20:"1f85d6b",21:"ab16b80",22:"dd470c0",23:"d00ef3e",24:"368d8ef",25:"a315a29",26:"bb62ab6",27:"dfe4d07",28:"98009e1",29:"57fc227",30:"8a61718",31:"088982d",32:"b29bf27",33:"07ea945",34:"ba45651",35:"2c936d0",36:"c0dfe17",37:"d5b0e26",38:"9fb75a7",39:"f931be2",40:"89d37d3",41:"f3b9d7e",42:"3d88065",43:"2ed8ad1",44:"e8dcfbe",45:"ea2d845",46:"f297115",47:"89331ba",48:"2ae0e17",49:"02194dd",50:"4c87e08",51:"517b42c",52:"ee0ee92",53:"800ec3e",54:"4dc45fe",55:"2e3e19d",56:"d819c40",57:"bbb8a91",58:"4ad6ec1",59:"79fd49c"}[e]+".js"}(e);var d=new Error;f=function(r){script.onerror=script.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;d.message="Loading chunk "+e+" failed.\n("+n+": "+f+")",d.name="ChunkLoadError",d.type=n,d.request=f,t[1](d)}o[e]=void 0}};var l=setTimeout((function(){f({type:"timeout",target:script})}),12e4);script.onerror=script.onload=f,document.head.appendChild(script)}return Promise.all(r)},c.m=e,c.c=n,c.d=function(e,r,t){c.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,r){if(1&r&&(e=c(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)c.d(t,n,function(r){return e[r]}.bind(null,n));return t},c.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(r,"a",r),r},c.o=function(object,e){return Object.prototype.hasOwnProperty.call(object,e)},c.p="/_nuxt/",c.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],l=d.push.bind(d);d.push=r,d=d.slice();for(var i=0;i<d.length;i++)r(d[i]);var v=l;t()}([]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{527:function(t,e,d){var content=d(551);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,d(18).default)("4d0fbf2b",content,!0,{sourceMap:!1})},550:function(t,e,d){"use strict";d(527)},551:function(t,e,d){var o=d(17)((function(i){return i[1]}));o.push([t.i,".address-list[data-v-425028d8] .el-dialog__body{height:460px;overflow-y:auto}.address-list .list[data-v-425028d8]{margin:0 auto;width:800px}.address-list .list .item[data-v-425028d8]{border:1px solid hsla(0,0%,90%,.898);border-radius:2px;cursor:pointer;height:100px;padding:16px 150px 16px 20px;position:relative}.address-list .list .item.active[data-v-425028d8]{border-color:#ff2c3c}.address-list .list .item .oprate[data-v-425028d8]{bottom:9px;position:absolute;right:20px}.address-list .dialog-footer[data-v-425028d8]{text-align:center}.address-list .dialog-footer .el-button[data-v-425028d8]{width:160px}",""]),o.locals={},t.exports=o},606:function(t,e,d){"use strict";d.r(e);var o=d(8),r=(d(56),{components:{},props:{value:{type:Boolean,default:!1}},data:function(){return{showDialog:!1,showAddressAdd:!1,addressList:[],selectId:0,editId:""}},methods:{getAddress:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var d,code,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$get("user_address/lists");case 2:d=e.sent,code=d.code,data=d.data,1==code&&(t.addressList=data);case 6:case"end":return e.stop()}}),e)})))()},setDefault:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function d(){var o,code,r;return regeneratorRuntime.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,e.$post("user_address/setDefault",{id:t});case 2:o=d.sent,code=o.code,o.data,r=o.msg,1==code&&(e.$message({message:r,type:"success"}),e.getAddress());case 7:case"end":return d.stop()}}),d)})))()},onConfirm:function(){this.$emit("confirm",this.selectId),this.showDialog=!1}},watch:{value:function(t){this.showDialog=t,1==t&&this.getAddress()},showDialog:function(t){this.$emit("input",t)}}}),n=(d(550),d(9)),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"address-list"},[e("el-dialog",{attrs:{title:"更换地址",visible:t.showDialog,width:"900px"},on:{"update:visible":function(e){t.showDialog=e}}},[e("div",{staticClass:"list black"},t._l(t.addressList,(function(d,o){return e("div",{key:o,class:["item m-b-16",{active:d.id==t.selectId}],on:{click:function(e){t.selectId=d.id}}},[e("div",[e("span",{staticClass:"weigth-500"},[t._v(t._s(d.contact))]),t._v("\n "+t._s(d.telephone)+"\n "),d.is_default?e("el-tag",{attrs:{size:"mini",type:"warning",effect:"dark"}},[t._v("默认")]):t._e()],1),t._v(" "),e("div",{staticClass:"lighter m-t-8"},[t._v("\n "+t._s(d.province)+" "+t._s(d.city)+" "+t._s(d.district)+"\n "+t._s(d.address)+"\n ")]),t._v(" "),e("div",{staticClass:"oprate lighter flex"},[e("div",{staticClass:"m-r-16",on:{click:function(e){e.stopPropagation(),t.editId=d.id,t.showAddressAdd=!0}}},[t._v("\n 修改\n ")]),t._v(" "),e("div",{on:{click:function(e){return e.stopPropagation(),t.setDefault(d.id)}}},[t._v("设为默认")])])])})),0),t._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:t.onConfirm}},[t._v("确认")]),t._v(" "),e("el-button",{on:{click:function(e){t.showDialog=!1}}},[t._v("取消")])],1)]),t._v(" "),e("address-add",{attrs:{aid:t.editId},on:{success:t.getAddress},model:{value:t.showAddressAdd,callback:function(e){t.showAddressAdd=e},expression:"showAddressAdd"}})],1)}),[],!1,null,"425028d8",null);e.default=component.exports;installComponents(component,{AddressAdd:d(544).default})}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{527:function(t,e,d){var content=d(551);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,d(18).default)("4d0fbf2b",content,!0,{sourceMap:!1})},550:function(t,e,d){"use strict";d(527)},551:function(t,e,d){var o=d(17)((function(i){return i[1]}));o.push([t.i,".address-list[data-v-425028d8] .el-dialog__body{height:460px;overflow-y:auto}.address-list .list[data-v-425028d8]{margin:0 auto;width:800px}.address-list .list .item[data-v-425028d8]{border:1px solid hsla(0,0%,90%,.898);border-radius:2px;cursor:pointer;height:100px;padding:16px 150px 16px 20px;position:relative}.address-list .list .item.active[data-v-425028d8]{border-color:#ff2c3c}.address-list .list .item .oprate[data-v-425028d8]{bottom:9px;position:absolute;right:20px}.address-list .dialog-footer[data-v-425028d8]{text-align:center}.address-list .dialog-footer .el-button[data-v-425028d8]{width:160px}",""]),o.locals={},t.exports=o},607:function(t,e,d){"use strict";d.r(e);var o=d(8),r=(d(56),{components:{},props:{value:{type:Boolean,default:!1}},data:function(){return{showDialog:!1,showAddressAdd:!1,addressList:[],selectId:0,editId:""}},methods:{getAddress:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var d,code,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$get("user_address/lists");case 2:d=e.sent,code=d.code,data=d.data,1==code&&(t.addressList=data);case 6:case"end":return e.stop()}}),e)})))()},setDefault:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function d(){var o,code,r;return regeneratorRuntime.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,e.$post("user_address/setDefault",{id:t});case 2:o=d.sent,code=o.code,o.data,r=o.msg,1==code&&(e.$message({message:r,type:"success"}),e.getAddress());case 7:case"end":return d.stop()}}),d)})))()},onConfirm:function(){this.$emit("confirm",this.selectId),this.showDialog=!1}},watch:{value:function(t){this.showDialog=t,1==t&&this.getAddress()},showDialog:function(t){this.$emit("input",t)}}}),n=(d(550),d(9)),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"address-list"},[e("el-dialog",{attrs:{title:"更换地址",visible:t.showDialog,width:"900px"},on:{"update:visible":function(e){t.showDialog=e}}},[e("div",{staticClass:"list black"},t._l(t.addressList,(function(d,o){return e("div",{key:o,class:["item m-b-16",{active:d.id==t.selectId}],on:{click:function(e){t.selectId=d.id}}},[e("div",[e("span",{staticClass:"weigth-500"},[t._v(t._s(d.contact))]),t._v("\n "+t._s(d.telephone)+"\n "),d.is_default?e("el-tag",{attrs:{size:"mini",type:"warning",effect:"dark"}},[t._v("默认")]):t._e()],1),t._v(" "),e("div",{staticClass:"lighter m-t-8"},[t._v("\n "+t._s(d.province)+" "+t._s(d.city)+" "+t._s(d.district)+"\n "+t._s(d.address)+"\n ")]),t._v(" "),e("div",{staticClass:"oprate lighter flex"},[e("div",{staticClass:"m-r-16",on:{click:function(e){e.stopPropagation(),t.editId=d.id,t.showAddressAdd=!0}}},[t._v("\n 修改\n ")]),t._v(" "),e("div",{on:{click:function(e){return e.stopPropagation(),t.setDefault(d.id)}}},[t._v("设为默认")])])])})),0),t._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:t.onConfirm}},[t._v("确认")]),t._v(" "),e("el-button",{on:{click:function(e){t.showDialog=!1}}},[t._v("取消")])],1)]),t._v(" "),e("address-add",{attrs:{aid:t.editId},on:{success:t.getAddress},model:{value:t.showAddressAdd,callback:function(e){t.showAddressAdd=e},expression:"showAddressAdd"}})],1)}),[],!1,null,"425028d8",null);e.default=component.exports;installComponents(component,{AddressAdd:d(544).default})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[4,18],{488:function(t,e,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,r){"use strict";r.r(e);r(300);var o={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},n=(r(490),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},490:function(t,e,r){"use strict";r(488)},491:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},542:function(t,e,r){var content=r(562);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("195696a4",content,!0,{sourceMap:!1})},561:function(t,e,r){"use strict";r(542)},562:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".activity-area[data-v-008ee916]{background-color:#fff;border-radius:6px;padding:16px}.activity-area[data-v-008ee916] .swiper-container{height:280px;width:100%}.activity-area .goods-list .goods-item[data-v-008ee916]{width:31.5%}.activity-area .goods-list .goods-item .goods-img[data-v-008ee916]{height:0;padding-top:100%;position:relative;width:100%}.activity-area .goods-list .goods-item .goods-img .el-image[data-v-008ee916]{height:100%;left:0;position:absolute;top:0;width:100%}.activity-area .goods-list .goods-item .name[data-v-008ee916]{height:40px;line-height:20px}",""]),o.locals={},t.exports=o},609:function(t,e,r){"use strict";r.r(e);r(30),r(63);var o={components:{},props:{url:{type:String,default:""},title:{type:String},list:{type:Array,default:function(){return[]}}},data:function(){return{swiperOptions:{direction:"vertical",initialSlide:0,height:280,autoplay:!0},pageSize:3}},computed:{swiperSize:function(){return Math.ceil(this.list.length/this.pageSize)},getSwiperList:function(){var t=this;return function(e){return t.list.slice(e*t.pageSize,(e+1)*t.pageSize)}}}},n=(r(561),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return t.list.length?e("div",{staticClass:"activity-area m-t-16"},[e("div",{staticClass:"title flex row-between"},[e("div",{staticClass:"font-size-20"},[t._v(t._s(t.title))]),t._v(" "),e("nuxt-link",{staticClass:"more lighter",attrs:{to:t.url}},[t._v("更多 "),e("i",{staticClass:"el-icon-arrow-right"})])],1),t._v(" "),e("div",{staticClass:"activity-goods m-t-16"},[e("client-only",[e("swiper",{ref:"headerSwiper",attrs:{options:t.swiperOptions}},t._l(t.swiperSize,(function(r,o){return e("swiper-slide",{key:o,staticClass:"swiper-item"},[e("div",{staticClass:"goods-list flex row-between"},t._l(t.getSwiperList(o),(function(r,o){return e("nuxt-link",{key:o,staticClass:"goods-item",attrs:{to:"/goods_details/".concat(r.id)}},[e("div",{staticClass:"goods-img"},[e("el-image",{attrs:{lazy:"",src:r.image,fit:"cover",alt:""}})],1),t._v(" "),e("div",{staticClass:"name line-2 m-t-10"},[t._v(t._s(r.name))]),t._v(" "),e("div",{staticClass:"price flex col-baseline m-t-10"},[e("div",{staticClass:"primary m-r-8"},[e("price-formate",{attrs:{price:r.min_price,"first-size":16}})],1),t._v(" "),e("div",{staticClass:"muted sm line-through"},[e("price-formate",{attrs:{price:r.market_price}})],1)]),t._v(" "),e("div",{staticClass:"muted xs m-t-10"},[t._v("\n "+t._s(r.sales_total)+"人购买\n ")])])})),1)])})),1)],1)],1)]):t._e()}),[],!1,null,"008ee916",null);e.default=component.exports;installComponents(component,{PriceFormate:r(489).default})}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[4,18],{488:function(t,e,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,r){"use strict";r.r(e);r(300);var o={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},n=(r(490),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},490:function(t,e,r){"use strict";r(488)},491:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},542:function(t,e,r){var content=r(562);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("195696a4",content,!0,{sourceMap:!1})},561:function(t,e,r){"use strict";r(542)},562:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".activity-area[data-v-008ee916]{background-color:#fff;border-radius:6px;padding:16px}.activity-area[data-v-008ee916] .swiper-container{height:280px;width:100%}.activity-area .goods-list .goods-item[data-v-008ee916]{width:31.5%}.activity-area .goods-list .goods-item .goods-img[data-v-008ee916]{height:0;padding-top:100%;position:relative;width:100%}.activity-area .goods-list .goods-item .goods-img .el-image[data-v-008ee916]{height:100%;left:0;position:absolute;top:0;width:100%}.activity-area .goods-list .goods-item .name[data-v-008ee916]{height:40px;line-height:20px}",""]),o.locals={},t.exports=o},610:function(t,e,r){"use strict";r.r(e);r(30),r(63);var o={components:{},props:{url:{type:String,default:""},title:{type:String},list:{type:Array,default:function(){return[]}}},data:function(){return{swiperOptions:{direction:"vertical",initialSlide:0,height:280,autoplay:!0},pageSize:3}},computed:{swiperSize:function(){return Math.ceil(this.list.length/this.pageSize)},getSwiperList:function(){var t=this;return function(e){return t.list.slice(e*t.pageSize,(e+1)*t.pageSize)}}}},n=(r(561),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return t.list.length?e("div",{staticClass:"activity-area m-t-16"},[e("div",{staticClass:"title flex row-between"},[e("div",{staticClass:"font-size-20"},[t._v(t._s(t.title))]),t._v(" "),e("nuxt-link",{staticClass:"more lighter",attrs:{to:t.url}},[t._v("更多 "),e("i",{staticClass:"el-icon-arrow-right"})])],1),t._v(" "),e("div",{staticClass:"activity-goods m-t-16"},[e("client-only",[e("swiper",{ref:"headerSwiper",attrs:{options:t.swiperOptions}},t._l(t.swiperSize,(function(r,o){return e("swiper-slide",{key:o,staticClass:"swiper-item"},[e("div",{staticClass:"goods-list flex row-between"},t._l(t.getSwiperList(o),(function(r,o){return e("nuxt-link",{key:o,staticClass:"goods-item",attrs:{to:"/goods_details/".concat(r.id)}},[e("div",{staticClass:"goods-img"},[e("el-image",{attrs:{lazy:"",src:r.image,fit:"cover",alt:""}})],1),t._v(" "),e("div",{staticClass:"name line-2 m-t-10"},[t._v(t._s(r.name))]),t._v(" "),e("div",{staticClass:"price flex col-baseline m-t-10"},[e("div",{staticClass:"primary m-r-8"},[e("price-formate",{attrs:{price:r.min_price,"first-size":16}})],1),t._v(" "),e("div",{staticClass:"muted sm line-through"},[e("price-formate",{attrs:{price:r.market_price}})],1)]),t._v(" "),e("div",{staticClass:"muted xs m-t-10"},[t._v("\n "+t._s(r.sales_total)+"人购买\n ")])])})),1)])})),1)],1)],1)]):t._e()}),[],!1,null,"008ee916",null);e.default=component.exports;installComponents(component,{PriceFormate:r(489).default})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,18],{488:function(t,e,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,r){"use strict";r.r(e);r(300);var o={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},l=(r(490),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},490:function(t,e,r){"use strict";r(488)},491:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},498:function(t,e,r){var content=r(503);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("18c1d214",content,!0,{sourceMap:!1})},502:function(t,e,r){"use strict";r(498)},503:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".goods-list[data-v-060944d1]{align-items:stretch}.goods-list .goods-item[data-v-060944d1]{border-radius:4px;box-sizing:border-box;display:block;height:310px;margin-bottom:16px;padding:12px 12px 16px;transition:all .2s;width:224px}.goods-list .goods-item[data-v-060944d1]:hover{box-shadow:0 0 6px rgba(0,0,0,.1);transform:translateY(-8px)}.goods-list .goods-item .goods-img[data-v-060944d1]{height:200px;width:200px}.goods-list .goods-item .name[data-v-060944d1]{height:40px;line-height:20px;margin-bottom:10px}.goods-list .goods-item .seckill .btn[data-v-060944d1]{border:1px solid transparent;border-radius:4px;padding:4px 12px}.goods-list .goods-item .seckill .btn.not-start[data-v-060944d1]{background-color:transparent;border-color:#ff2c3c;color:#ff2c3c}.goods-list .goods-item .seckill .btn.end[data-v-060944d1]{background-color:#e5e5e5;color:#fff}",""]),o.locals={},t.exports=o},509:function(t,e,r){"use strict";r.r(e);r(30),r(300);var o={props:{list:{type:Array,default:function(){return[]}},num:{type:Number,default:5},type:{type:String},status:{type:Number}},watch:{list:{immediate:!0,handler:function(t){}}},computed:{getSeckillText:function(){switch(this.status){case 0:return"未开始";case 1:return"立即抢购";case 2:return"已结束"}}}},l=(r(502),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"goods-list flex flex-wrap"},t._l(t.list,(function(r,o){return e("nuxt-link",{key:o,staticClass:"goods-item bg-white",style:{marginRight:(o+1)%t.num==0?0:"14px"},attrs:{to:"/goods_details/".concat(r.id||r.goods_id)}},[e("el-image",{staticClass:"goods-img",attrs:{lazy:"",src:r.image||r.goods_image,alt:""}}),t._v(" "),e("div",{staticClass:"name line-2"},[t._v(t._s(r.name||r.goods_name))]),t._v(" "),"seckill"==t.type?e("div",{staticClass:"seckill flex row-between"},[e("div",{staticClass:"primary flex"},[t._v("\n 秒杀价\n "),e("price-formate",{attrs:{price:r.seckill_price,"first-size":18}})],1),t._v(" "),e("div",{class:["btn bg-primary white",{"not-start":0==t.status,end:2==t.status}]},[t._v(t._s(t.getSeckillText)+"\n ")])]):e("div",{staticClass:"flex row-between flex-wrap"},[e("div",{staticClass:"price flex col-baseline"},[e("div",{staticClass:"primary m-r-8"},[e("price-formate",{attrs:{price:r.min_price||r.price,"first-size":16}})],1),t._v(" "),e("div",{staticClass:"muted sm line-through"},[e("price-formate",{attrs:{price:r.market_price}})],1)]),t._v(" "),e("div",{staticClass:"muted xs"},[t._v(t._s(r.sales_total||r.sales_sum||0)+"人购买")])])],1)})),1)}),[],!1,null,"060944d1",null);e.default=component.exports;installComponents(component,{PriceFormate:r(489).default})}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,18],{488:function(t,e,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,r){"use strict";r.r(e);r(300);var o={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},l=(r(490),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},490:function(t,e,r){"use strict";r(488)},491:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},497:function(t,e,r){var content=r(503);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("18c1d214",content,!0,{sourceMap:!1})},502:function(t,e,r){"use strict";r(497)},503:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".goods-list[data-v-060944d1]{align-items:stretch}.goods-list .goods-item[data-v-060944d1]{border-radius:4px;box-sizing:border-box;display:block;height:310px;margin-bottom:16px;padding:12px 12px 16px;transition:all .2s;width:224px}.goods-list .goods-item[data-v-060944d1]:hover{box-shadow:0 0 6px rgba(0,0,0,.1);transform:translateY(-8px)}.goods-list .goods-item .goods-img[data-v-060944d1]{height:200px;width:200px}.goods-list .goods-item .name[data-v-060944d1]{height:40px;line-height:20px;margin-bottom:10px}.goods-list .goods-item .seckill .btn[data-v-060944d1]{border:1px solid transparent;border-radius:4px;padding:4px 12px}.goods-list .goods-item .seckill .btn.not-start[data-v-060944d1]{background-color:transparent;border-color:#ff2c3c;color:#ff2c3c}.goods-list .goods-item .seckill .btn.end[data-v-060944d1]{background-color:#e5e5e5;color:#fff}",""]),o.locals={},t.exports=o},504:function(t,e,r){"use strict";r.r(e);r(30),r(300);var o={props:{list:{type:Array,default:function(){return[]}},num:{type:Number,default:5},type:{type:String},status:{type:Number}},watch:{list:{immediate:!0,handler:function(t){}}},computed:{getSeckillText:function(){switch(this.status){case 0:return"未开始";case 1:return"立即抢购";case 2:return"已结束"}}}},l=(r(502),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"goods-list flex flex-wrap"},t._l(t.list,(function(r,o){return e("nuxt-link",{key:o,staticClass:"goods-item bg-white",style:{marginRight:(o+1)%t.num==0?0:"14px"},attrs:{to:"/goods_details/".concat(r.id||r.goods_id)}},[e("el-image",{staticClass:"goods-img",attrs:{lazy:"",src:r.image||r.goods_image,alt:""}}),t._v(" "),e("div",{staticClass:"name line-2"},[t._v(t._s(r.name||r.goods_name))]),t._v(" "),"seckill"==t.type?e("div",{staticClass:"seckill flex row-between"},[e("div",{staticClass:"primary flex"},[t._v("\n 秒杀价\n "),e("price-formate",{attrs:{price:r.seckill_price,"first-size":18}})],1),t._v(" "),e("div",{class:["btn bg-primary white",{"not-start":0==t.status,end:2==t.status}]},[t._v(t._s(t.getSeckillText)+"\n ")])]):e("div",{staticClass:"flex row-between flex-wrap"},[e("div",{staticClass:"price flex col-baseline"},[e("div",{staticClass:"primary m-r-8"},[e("price-formate",{attrs:{price:r.min_price||r.price,"first-size":16}})],1),t._v(" "),e("div",{staticClass:"muted sm line-through"},[e("price-formate",{attrs:{price:r.market_price}})],1)]),t._v(" "),e("div",{staticClass:"muted xs"},[t._v(t._s(r.sales_total||r.sales_sum||0)+"人购买")])])],1)})),1)}),[],!1,null,"060944d1",null);e.default=component.exports;installComponents(component,{PriceFormate:r(489).default})}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{566:function(t,e,n){var content=n(612);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("248f4eb1",content,!0,{sourceMap:!1})},611:function(t,e,n){"use strict";n(566)},612:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".news-details-container .nav-container[data-v-7dfc4742]{padding:15px 16px}.news-details-container .content-box[data-v-7dfc4742]{display:flex;flex-direction:row}.news-details-container .content-box .news-detail-box[data-v-7dfc4742]{background-color:#fff;width:100%}.news-details-container .content-box .news-detail-box .content-header[data-v-7dfc4742]{border-bottom:1px solid #e5e5e5;margin:0 20px;padding:20px 0}.news-details-container .content-box .news-detail-box .content-header .news-detail-title[data-v-7dfc4742]{color:#222;font-size:24px;font-weight:500}.news-details-container .content-box .news-detail-box .content-html-box[data-v-7dfc4742]{padding:24px 20px}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-7dfc4742]{overflow:hidden;width:100%}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-7dfc4742] img{width:100%}.news-details-container .content-box .recommend-box[data-v-7dfc4742]{width:264px}.news-details-container .content-box .recommend-box .recommend-box-header[data-v-7dfc4742]{border-bottom:1px solid #e5e5e5;padding:15px 10px}.news-details-container .content-box .recommend-box .recommend-box-header .primary-line[data-v-7dfc4742]{background-color:#ff2c3c;height:20px;margin-right:10px;width:4px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item[data-v-7dfc4742]{cursor:pointer;padding:10px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item .goods-info[data-v-7dfc4742]{margin-top:8px}",""]),o.locals={},t.exports=o},705:function(t,e,n){"use strict";n.r(e);var o=n(8),c=(n(56),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$get,t.$post,t.query,o={},e.next=4,n("policy/aboutUs",{});case 4:return 1==(c=e.sent).code&&(o=c.data),e.abrupt("return",{detailsObj:o});case 7:case"end":return e.stop()}}),e)})))()},data:function(){return{}},mounted:function(){console.log("route",this.$route)},methods:{}}),d=(n(611),n(9)),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"news-details-container mt16"},[e("div",{staticClass:"nav-container flex"},[e("div",{staticClass:"nr",staticStyle:{width:"70px"}},[t._v("当前位置:")]),t._v(" "),e("el-breadcrumb",{staticStyle:{flex:"1"},attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),e("el-breadcrumb-item",{staticClass:"line1"},[t._v("关于我们")])],1)],1),t._v(" "),e("div",{staticClass:"content-box"},[e("div",{staticClass:"news-detail-box"},[t._m(0),t._v(" "),e("div",{staticClass:"content-html-box bg-white"},[e("div",{domProps:{innerHTML:t._s(t.detailsObj.content)}})])])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"content-header bg-white"},[t("div",{staticClass:"news-detail-title"},[this._v("\n 关于我们\n ")])])}],!1,null,"7dfc4742",null);e.default=component.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{566:function(t,e,n){var content=n(613);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("248f4eb1",content,!0,{sourceMap:!1})},612:function(t,e,n){"use strict";n(566)},613:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".news-details-container .nav-container[data-v-7dfc4742]{padding:15px 16px}.news-details-container .content-box[data-v-7dfc4742]{display:flex;flex-direction:row}.news-details-container .content-box .news-detail-box[data-v-7dfc4742]{background-color:#fff;width:100%}.news-details-container .content-box .news-detail-box .content-header[data-v-7dfc4742]{border-bottom:1px solid #e5e5e5;margin:0 20px;padding:20px 0}.news-details-container .content-box .news-detail-box .content-header .news-detail-title[data-v-7dfc4742]{color:#222;font-size:24px;font-weight:500}.news-details-container .content-box .news-detail-box .content-html-box[data-v-7dfc4742]{padding:24px 20px}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-7dfc4742]{overflow:hidden;width:100%}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-7dfc4742] img{width:100%}.news-details-container .content-box .recommend-box[data-v-7dfc4742]{width:264px}.news-details-container .content-box .recommend-box .recommend-box-header[data-v-7dfc4742]{border-bottom:1px solid #e5e5e5;padding:15px 10px}.news-details-container .content-box .recommend-box .recommend-box-header .primary-line[data-v-7dfc4742]{background-color:#ff2c3c;height:20px;margin-right:10px;width:4px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item[data-v-7dfc4742]{cursor:pointer;padding:10px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item .goods-info[data-v-7dfc4742]{margin-top:8px}",""]),o.locals={},t.exports=o},708:function(t,e,n){"use strict";n.r(e);var o=n(8),c=(n(56),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$get,t.$post,t.query,o={},e.next=4,n("policy/aboutUs",{});case 4:return 1==(c=e.sent).code&&(o=c.data),e.abrupt("return",{detailsObj:o});case 7:case"end":return e.stop()}}),e)})))()},data:function(){return{}},mounted:function(){console.log("route",this.$route)},methods:{}}),d=(n(612),n(9)),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"news-details-container mt16"},[e("div",{staticClass:"nav-container flex"},[e("div",{staticClass:"nr",staticStyle:{width:"70px"}},[t._v("当前位置:")]),t._v(" "),e("el-breadcrumb",{staticStyle:{flex:"1"},attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),e("el-breadcrumb-item",{staticClass:"line1"},[t._v("关于我们")])],1)],1),t._v(" "),e("div",{staticClass:"content-box"},[e("div",{staticClass:"news-detail-box"},[t._m(0),t._v(" "),e("div",{staticClass:"content-html-box bg-white"},[e("div",{domProps:{innerHTML:t._s(t.detailsObj.content)}})])])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"content-header bg-white"},[t("div",{staticClass:"news-detail-title"},[this._v("\n 关于我们\n ")])])}],!1,null,"7dfc4742",null);e.default=component.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{497:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return c}));e(47),e(30),e(65),e(48),e(39),e(20),e(66),e(67),e(49);var r=e(22);e(109),e(63),e(12);var o=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2?arguments[2]:void 0,e=new Date(0).getTime();return function(){var r=(new Date).getTime();if(r-e>time){for(var o=arguments.length,c=new Array(o),f=0;f<o;f++)c[f]=arguments[f];t.apply(n,c),e=r}}};function c(t){var p="";if("object"==Object(r.a)(t)){for(var n in p="?",t)p+="".concat(n,"=").concat(t[n],"&");p=p.slice(0,-1)}return p}},499:function(t,n,e){var content=e(508);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(18).default)("488d347e",content,!0,{sourceMap:!1})},504:function(t,n,e){"use strict";var r=e(2),o=e(505);r({target:"String",proto:!0,forced:e(506)("link")},{link:function(t){return o(this,"a","href",t)}})},505:function(t,n,e){"use strict";var r=e(4),o=e(36),c=e(19),f=/"/g,l=r("".replace);t.exports=function(t,n,e,r){var d=c(o(t)),v="<"+n;return""!==e&&(v+=" "+e+'="'+l(c(r),f,"&quot;")+'"'),v+">"+d+"</"+n+">"}},506:function(t,n,e){"use strict";var r=e(3);t.exports=function(t){return r((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},507:function(t,n,e){"use strict";e(499)},508:function(t,n,e){var r=e(17)((function(i){return i[1]}));r.push([t.i,".ad-item[data-v-368017b1]{cursor:pointer;height:100%;width:100%}",""]),r.locals={},t.exports=r},510:function(t,n,e){"use strict";e.r(n);e(504),e(89);var r=e(497),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var n=t.link_type,link=t.link,e=t.params;if(3===n)window.open(t.link);else["/goods_details"].includes(link)?link+="/".concat(e.id):link+=Object(r.a)(e),this.$router.push({path:link})}}},c=(e(507),e(9)),component=Object(c.a)(o,(function(){var t=this,n=t._self._c;return n("div",{staticClass:"ad-item",on:{click:function(n){return n.stopPropagation(),t.goPage(t.item)}}},[n("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.item.image,fit:"cover"}})],1)}),[],!1,null,"368017b1",null);n.default=component.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{498:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return c}));e(47),e(30),e(64),e(48),e(39),e(20),e(65),e(66),e(49);var r=e(22);e(109),e(63),e(12);var o=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2?arguments[2]:void 0,e=new Date(0).getTime();return function(){var r=(new Date).getTime();if(r-e>time){for(var o=arguments.length,c=new Array(o),f=0;f<o;f++)c[f]=arguments[f];t.apply(n,c),e=r}}};function c(t){var p="";if("object"==Object(r.a)(t)){for(var n in p="?",t)p+="".concat(n,"=").concat(t[n],"&");p=p.slice(0,-1)}return p}},499:function(t,n,e){var content=e(510);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(18).default)("488d347e",content,!0,{sourceMap:!1})},506:function(t,n,e){"use strict";var r=e(2),o=e(507);r({target:"String",proto:!0,forced:e(508)("link")},{link:function(t){return o(this,"a","href",t)}})},507:function(t,n,e){"use strict";var r=e(4),o=e(36),c=e(19),f=/"/g,l=r("".replace);t.exports=function(t,n,e,r){var d=c(o(t)),v="<"+n;return""!==e&&(v+=" "+e+'="'+l(c(r),f,"&quot;")+'"'),v+">"+d+"</"+n+">"}},508:function(t,n,e){"use strict";var r=e(3);t.exports=function(t){return r((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},509:function(t,n,e){"use strict";e(499)},510:function(t,n,e){var r=e(17)((function(i){return i[1]}));r.push([t.i,".ad-item[data-v-368017b1]{cursor:pointer;height:100%;width:100%}",""]),r.locals={},t.exports=r},511:function(t,n,e){"use strict";e.r(n);e(506),e(89);var r=e(498),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var n=t.link_type,link=t.link,e=t.params;if(3===n)window.open(t.link);else["/goods_details"].includes(link)?link+="/".concat(e.id):link+=Object(r.a)(e),this.$router.push({path:link})}}},c=(e(509),e(9)),component=Object(c.a)(o,(function(){var t=this,n=t._self._c;return n("div",{staticClass:"ad-item",on:{click:function(n){return n.stopPropagation(),t.goPage(t.item)}}},[n("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.item.image,fit:"cover"}})],1)}),[],!1,null,"368017b1",null);n.default=component.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,16],{492:function(t,e,n){var content=n(494);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("1e01d57a",content,!0,{sourceMap:!1})},493:function(t,e,n){"use strict";n(492)},494:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".null-data[data-v-93598fb0]{padding:100px}.null-data .img-null[data-v-93598fb0]{height:150px;width:150px}",""]),o.locals={},t.exports=o},495:function(t,e,n){"use strict";n.r(e);var o={components:{},props:{img:{type:String},text:{type:String,default:"暂无数据"},imgStyle:{type:String,default:""}},methods:{}},c=(n(493),n(9)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-white flex-col col-center null-data"},[e("img",{staticClass:"img-null",style:t.imgStyle,attrs:{src:t.img,alt:""}}),t._v(" "),e("div",{staticClass:"muted mt8"},[t._v(t._s(t.text))])])}),[],!1,null,"93598fb0",null);e.default=component.exports},512:function(t,e,n){t.exports=n.p+"img/news_null.da0072f.png"},543:function(t,e,n){var content=n(564);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("35ab0cfa",content,!0,{sourceMap:!1})},563:function(t,e,n){"use strict";n(543)},564:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".comment-list .comment-con>.item[data-v-4e1720b8]{align-items:flex-start;border-bottom:1px dashed #e5e5e5;padding:20px}.comment-list .comment-con>.item .avatar img[data-v-4e1720b8]{border-radius:50%;height:44px;width:44px}.comment-list .comment-con>.item .comment-imglist[data-v-4e1720b8]{margin-top:10px}.comment-list .comment-con>.item .comment-imglist .item[data-v-4e1720b8]{height:80px;margin-right:6px;width:80px}.comment-list .comment-con>.item .reply[data-v-4e1720b8]{align-items:flex-start;background-color:#f2f2f2;padding:10px}",""]),o.locals={},t.exports=o},610:function(t,e,n){"use strict";n.r(e);var o=n(8),c=(n(56),n(300),{components:{},props:{list:{type:Array,default:function(){return[]}},type:Number,goodsId:[String,Number]},data:function(){return{commentList:[],count:0,page:1}},created:function(){this.getCommentList()},methods:{getCommentList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$get("goods_comment/lists",{params:{type:t.type,goods_id:t.goodsId,page_size:10,page_no:t.page}});case 2:n=e.sent,data=n.data,1==n.code&&(t.commentList=data.lists,t.count=data.count);case 6:case"end":return e.stop()}}),e)})))()},changePage:function(t){this.page=t,this.getCommentList()}}}),r=(n(563),n(9)),component=Object(r.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-list"},[e("div",{staticClass:"comment-con"},[t.commentList.length?[t._l(t.commentList,(function(n,o){return e("div",{key:o,staticClass:"item flex"},[e("div",{staticClass:"avatar m-r-8"},[e("img",{attrs:{src:n.avatar,alt:""}})]),t._v(" "),e("div",{staticClass:"content flex-1"},[e("div",[t._v(t._s(n.nickname))]),t._v(" "),e("div",{staticClass:"lighter",staticStyle:{margin:"5px 0 10px"}},[e("span",[t._v(t._s(n.create_time))]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("span",[t._v("规格:"+t._s(n.spec_value_str))])]),t._v(" "),e("div",[t._v("\n "+t._s(n.comment)+"\n ")]),t._v(" "),e("div",{staticClass:"comment-imglist flex"},t._l(n.image,(function(img,t){return e("div",{key:t,staticClass:"item"},[e("el-image",{staticStyle:{height:"100%",width:"100%"},attrs:{"preview-src-list":n.image,src:img,fit:"contain"}})],1)})),0),t._v(" "),n.reply?e("div",{staticClass:"flex reply m-t-16"},[e("div",{staticClass:"primary flex-none"},[t._v("商家回复:")]),t._v(" "),e("div",{staticClass:"lighter"},[t._v("\n "+t._s(n.reply)+"\n ")])]):t._e()])])})),t._v(" "),t.count?e("div",{staticClass:"pagination flex row-center",staticStyle:{padding:"38px 0"}},[e("el-pagination",{attrs:{background:"","hide-on-single-page":"",layout:"prev, pager, next",total:t.count,"page-size":10},on:{"current-change":t.changePage}})],1):t._e()]:e("null-data",{attrs:{img:n(512),text:"暂无评价~"}})],2)])}),[],!1,null,"4e1720b8",null);e.default=component.exports;installComponents(component,{NullData:n(495).default})}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,16],{492:function(t,e,n){var content=n(494);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("1e01d57a",content,!0,{sourceMap:!1})},493:function(t,e,n){"use strict";n(492)},494:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".null-data[data-v-93598fb0]{padding:100px}.null-data .img-null[data-v-93598fb0]{height:150px;width:150px}",""]),o.locals={},t.exports=o},495:function(t,e,n){"use strict";n.r(e);var o={components:{},props:{img:{type:String},text:{type:String,default:"暂无数据"},imgStyle:{type:String,default:""}},methods:{}},c=(n(493),n(9)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-white flex-col col-center null-data"},[e("img",{staticClass:"img-null",style:t.imgStyle,attrs:{src:t.img,alt:""}}),t._v(" "),e("div",{staticClass:"muted mt8"},[t._v(t._s(t.text))])])}),[],!1,null,"93598fb0",null);e.default=component.exports},512:function(t,e,n){t.exports=n.p+"img/news_null.da0072f.png"},543:function(t,e,n){var content=n(564);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("35ab0cfa",content,!0,{sourceMap:!1})},563:function(t,e,n){"use strict";n(543)},564:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".comment-list .comment-con>.item[data-v-4e1720b8]{align-items:flex-start;border-bottom:1px dashed #e5e5e5;padding:20px}.comment-list .comment-con>.item .avatar img[data-v-4e1720b8]{border-radius:50%;height:44px;width:44px}.comment-list .comment-con>.item .comment-imglist[data-v-4e1720b8]{margin-top:10px}.comment-list .comment-con>.item .comment-imglist .item[data-v-4e1720b8]{height:80px;margin-right:6px;width:80px}.comment-list .comment-con>.item .reply[data-v-4e1720b8]{align-items:flex-start;background-color:#f2f2f2;padding:10px}",""]),o.locals={},t.exports=o},611:function(t,e,n){"use strict";n.r(e);var o=n(8),c=(n(56),n(300),{components:{},props:{list:{type:Array,default:function(){return[]}},type:Number,goodsId:[String,Number]},data:function(){return{commentList:[],count:0,page:1}},created:function(){this.getCommentList()},methods:{getCommentList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$get("goods_comment/lists",{params:{type:t.type,goods_id:t.goodsId,page_size:10,page_no:t.page}});case 2:n=e.sent,data=n.data,1==n.code&&(t.commentList=data.lists,t.count=data.count);case 6:case"end":return e.stop()}}),e)})))()},changePage:function(t){this.page=t,this.getCommentList()}}}),r=(n(563),n(9)),component=Object(r.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-list"},[e("div",{staticClass:"comment-con"},[t.commentList.length?[t._l(t.commentList,(function(n,o){return e("div",{key:o,staticClass:"item flex"},[e("div",{staticClass:"avatar m-r-8"},[e("img",{attrs:{src:n.avatar,alt:""}})]),t._v(" "),e("div",{staticClass:"content flex-1"},[e("div",[t._v(t._s(n.nickname))]),t._v(" "),e("div",{staticClass:"lighter",staticStyle:{margin:"5px 0 10px"}},[e("span",[t._v(t._s(n.create_time))]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("span",[t._v("规格:"+t._s(n.spec_value_str))])]),t._v(" "),e("div",[t._v("\n "+t._s(n.comment)+"\n ")]),t._v(" "),e("div",{staticClass:"comment-imglist flex"},t._l(n.image,(function(img,t){return e("div",{key:t,staticClass:"item"},[e("el-image",{staticStyle:{height:"100%",width:"100%"},attrs:{"preview-src-list":n.image,src:img,fit:"contain"}})],1)})),0),t._v(" "),n.reply?e("div",{staticClass:"flex reply m-t-16"},[e("div",{staticClass:"primary flex-none"},[t._v("商家回复:")]),t._v(" "),e("div",{staticClass:"lighter"},[t._v("\n "+t._s(n.reply)+"\n ")])]):t._e()])])})),t._v(" "),t.count?e("div",{staticClass:"pagination flex row-center",staticStyle:{padding:"38px 0"}},[e("el-pagination",{attrs:{background:"","hide-on-single-page":"",layout:"prev, pager, next",total:t.count,"page-size":10},on:{"current-change":t.changePage}})],1):t._e()]:e("null-data",{attrs:{img:n(512),text:"暂无评价~"}})],2)])}),[],!1,null,"4e1720b8",null);e.default=component.exports;installComponents(component,{NullData:n(495).default})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{588:function(t,e,r){var content=r(664);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("7d721082",content,!0,{sourceMap:!1})},663:function(t,e,r){"use strict";r(588)},664:function(t,e,r){var n=r(17)((function(i){return i[1]}));n.push([t.i,".record{height:788px;width:100%}.record .main{height:100%;padding:18px}",""]),n.locals={},t.exports=n},726:function(t,e,r){"use strict";r.r(e);var n=r(8),o=(r(56),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},data:function(){return{record:[]}},mounted:function(){},asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$get,e.next=3,r("ShopApply/record");case 3:return n=e.sent,data=n.data,console.log(data),e.abrupt("return",{record:data.lists});case 7:case"end":return e.stop()}}),e)})))()},methods:{}}),l=(r(663),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"record"},[e("div",{staticClass:"m-t-20"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:"/store_settled"}}},[e("a",[t._v("商家入驻")])]),t._v(" "),e("el-breadcrumb-item",[t._v("申请列表")])],1)],1),t._v(" "),e("div",{staticClass:"main bg-white m-t-20"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.record,size:"medium","header-cell-style":{background:"#eee",color:"#606266"}}},[e("el-table-column",{attrs:{prop:"name",label:"商家名称","max-width":"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"audit_status_desc",label:"审核状态","max-width":"180"},scopedSlots:t._u([{key:"default",fn:function(r){return[3==r.row.audit_status?e("div",{staticClass:"primary"},[t._v(t._s(r.row.audit_status_desc))]):e("div",[t._v(t._s(r.row.audit_status_desc))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"apply_time",label:"提交时间","max-width":"180"}}),t._v(" "),e("el-table-column",{attrs:{label:"操作","max-width":"180"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("div",{staticClass:"pointer",on:{click:function(e){return t.$router.push({path:"/store_settled/detail",query:{id:r.row.id}})}}},[t._v("查看详情")])]}}])})],1)],1)])}),[],!1,null,null,null);e.default=component.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{589:function(t,e,r){var content=r(667);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("7d721082",content,!0,{sourceMap:!1})},666:function(t,e,r){"use strict";r(589)},667:function(t,e,r){var n=r(17)((function(i){return i[1]}));n.push([t.i,".record{height:788px;width:100%}.record .main{height:100%;padding:18px}",""]),n.locals={},t.exports=n},730:function(t,e,r){"use strict";r.r(e);var n=r(8),o=(r(56),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},data:function(){return{record:[]}},mounted:function(){},asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$get,e.next=3,r("ShopApply/record");case 3:return n=e.sent,data=n.data,console.log(data),e.abrupt("return",{record:data.lists});case 7:case"end":return e.stop()}}),e)})))()},methods:{}}),l=(r(666),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"record"},[e("div",{staticClass:"m-t-20"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:"/store_settled"}}},[e("a",[t._v("商家入驻")])]),t._v(" "),e("el-breadcrumb-item",[t._v("申请列表")])],1)],1),t._v(" "),e("div",{staticClass:"main bg-white m-t-20"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.record,size:"medium","header-cell-style":{background:"#eee",color:"#606266"}}},[e("el-table-column",{attrs:{prop:"name",label:"商家名称","max-width":"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"audit_status_desc",label:"审核状态","max-width":"180"},scopedSlots:t._u([{key:"default",fn:function(r){return[3==r.row.audit_status?e("div",{staticClass:"primary"},[t._v(t._s(r.row.audit_status_desc))]):e("div",[t._v(t._s(r.row.audit_status_desc))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"apply_time",label:"提交时间","max-width":"180"}}),t._v(" "),e("el-table-column",{attrs:{label:"操作","max-width":"180"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("div",{staticClass:"pointer",on:{click:function(e){return t.$router.push({path:"/store_settled/detail",query:{id:r.row.id}})}}},[t._v("查看详情")])]}}])})],1)],1)])}),[],!1,null,null,null);e.default=component.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!doctype html>
<html lang="zh" data-n-head="%7B%22lang%22:%7B%221%22:%22zh%22%7D%7D">
<head>
<meta data-n-head="1" charset="utf-8"><meta data-n-head="1" name="viewport" content="width=device-width,initial-scale=1"><meta data-n-head="1" data-hid="description" name="description" content=""><meta data-n-head="1" name="format-detection" content="telephone=no"><link data-n-head="1" rel="icon" type="image/x-icon" href="/favicon.ico"><base href="/"><link rel="preload" href="/_nuxt/8abcbe3.js" as="script"><link rel="preload" href="/_nuxt/16929cf.js" as="script"><link rel="preload" href="/_nuxt/e77456f.js" as="script"><link rel="preload" href="/_nuxt/e34fad2.js" as="script">
<meta data-n-head="1" charset="utf-8"><meta data-n-head="1" name="viewport" content="width=device-width,initial-scale=1"><meta data-n-head="1" data-hid="description" name="description" content=""><meta data-n-head="1" name="format-detection" content="telephone=no"><link data-n-head="1" rel="icon" type="image/x-icon" href="/favicon.ico"><base href="/"><link rel="preload" href="/_nuxt/0eaf85e.js" as="script"><link rel="preload" href="/_nuxt/c184b2a.js" as="script"><link rel="preload" href="/_nuxt/cea9cc6.js" as="script"><link rel="preload" href="/_nuxt/5afb3da.js" as="script">
</head>
<body>
<div id="__nuxt"><style>#nuxt-loading{background:#fff;visibility:hidden;opacity:0;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center;flex-direction:column;animation:nuxtLoadingIn 10s ease;-webkit-animation:nuxtLoadingIn 10s ease;animation-fill-mode:forwards;overflow:hidden}@keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}@-webkit-keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}#nuxt-loading>div,#nuxt-loading>div:after{border-radius:50%;width:5rem;height:5rem}#nuxt-loading>div{font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid #f5f5f5;border-left:.5rem solid #000;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:nuxtLoading 1.1s infinite linear;animation:nuxtLoading 1.1s infinite linear}#nuxt-loading.error>div{border-left:.5rem solid #ff4500;animation-duration:5s}@-webkit-keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style> <script>window.addEventListener("error",function(){var e=document.getElementById("nuxt-loading");e&&(e.className+=" error")})</script> <div id="nuxt-loading" aria-live="polite" role="status"><div>Loading...</div></div> </div><script>window.__NUXT__={config:{_app:{basePath:"/",assetsPath:"/_nuxt/",cdnURL:null}}}</script>
<script src="/_nuxt/8abcbe3.js"></script><script src="/_nuxt/16929cf.js"></script><script src="/_nuxt/e77456f.js"></script><script src="/_nuxt/e34fad2.js"></script></body>
<script src="/_nuxt/0eaf85e.js"></script><script src="/_nuxt/c184b2a.js"></script><script src="/_nuxt/cea9cc6.js"></script><script src="/_nuxt/5afb3da.js"></script></body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(e){function r(data){for(var r,n,c=data[0],d=data[1],l=data[2],i=0,h=[];i<c.length;i++)n=c[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&h.push(o[n][0]),o[n]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(v&&v(data);h.length;)h.shift()();return f.push.apply(f,l||[]),t()}function t(){for(var e,i=0;i<f.length;i++){for(var r=f[i],t=!0,n=1;n<r.length;n++){var d=r[n];0!==o[d]&&(t=!1)}t&&(f.splice(i--,1),e=c(c.s=r[0]))}return e}var n={},o={60:0},f=[];function c(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var f,script=document.createElement("script");script.charset="utf-8",script.timeout=120,c.nc&&script.setAttribute("nonce",c.nc),script.src=function(e){return c.p+""+{0:"f32042e",1:"dd1152d",4:"689e288",5:"bb96b51",6:"53fca08",7:"ad549ff",8:"ea0dec1",9:"4a0e1a9",10:"e69155d",11:"e5eaf85",12:"d1b5fd1",13:"a65f025",14:"b1dd136",15:"aaa308f",16:"ce067b1",17:"cc8567e",18:"30ceafe",19:"f926c32",20:"1f85d6b",21:"ab16b80",22:"dd470c0",23:"d00ef3e",24:"368d8ef",25:"a315a29",26:"bb62ab6",27:"dfe4d07",28:"98009e1",29:"57fc227",30:"8a61718",31:"088982d",32:"b29bf27",33:"07ea945",34:"ba45651",35:"2c936d0",36:"c0dfe17",37:"d5b0e26",38:"9fb75a7",39:"f931be2",40:"89d37d3",41:"f3b9d7e",42:"3d88065",43:"2ed8ad1",44:"e8dcfbe",45:"ea2d845",46:"f297115",47:"89331ba",48:"2ae0e17",49:"02194dd",50:"4c87e08",51:"517b42c",52:"ee0ee92",53:"800ec3e",54:"4dc45fe",55:"2e3e19d",56:"d819c40",57:"bbb8a91",58:"4ad6ec1",59:"79fd49c"}[e]+".js"}(e);var d=new Error;f=function(r){script.onerror=script.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;d.message="Loading chunk "+e+" failed.\n("+n+": "+f+")",d.name="ChunkLoadError",d.type=n,d.request=f,t[1](d)}o[e]=void 0}};var l=setTimeout((function(){f({type:"timeout",target:script})}),12e4);script.onerror=script.onload=f,document.head.appendChild(script)}return Promise.all(r)},c.m=e,c.c=n,c.d=function(e,r,t){c.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,r){if(1&r&&(e=c(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)c.d(t,n,function(r){return e[r]}.bind(null,n));return t},c.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(r,"a",r),r},c.o=function(object,e){return Object.prototype.hasOwnProperty.call(object,e)},c.p="/_nuxt/",c.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],l=d.push.bind(d);d.push=r,d=d.slice();for(var i=0;i<d.length;i++)r(d[i]);var v=l;t()}([]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{527:function(t,e,d){var content=d(551);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,d(18).default)("4d0fbf2b",content,!0,{sourceMap:!1})},550:function(t,e,d){"use strict";d(527)},551:function(t,e,d){var o=d(17)((function(i){return i[1]}));o.push([t.i,".address-list[data-v-425028d8] .el-dialog__body{height:460px;overflow-y:auto}.address-list .list[data-v-425028d8]{margin:0 auto;width:800px}.address-list .list .item[data-v-425028d8]{border:1px solid hsla(0,0%,90%,.898);border-radius:2px;cursor:pointer;height:100px;padding:16px 150px 16px 20px;position:relative}.address-list .list .item.active[data-v-425028d8]{border-color:#ff2c3c}.address-list .list .item .oprate[data-v-425028d8]{bottom:9px;position:absolute;right:20px}.address-list .dialog-footer[data-v-425028d8]{text-align:center}.address-list .dialog-footer .el-button[data-v-425028d8]{width:160px}",""]),o.locals={},t.exports=o},607:function(t,e,d){"use strict";d.r(e);var o=d(8),r=(d(56),{components:{},props:{value:{type:Boolean,default:!1}},data:function(){return{showDialog:!1,showAddressAdd:!1,addressList:[],selectId:0,editId:""}},methods:{getAddress:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var d,code,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$get("user_address/lists");case 2:d=e.sent,code=d.code,data=d.data,1==code&&(t.addressList=data);case 6:case"end":return e.stop()}}),e)})))()},setDefault:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function d(){var o,code,r;return regeneratorRuntime.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,e.$post("user_address/setDefault",{id:t});case 2:o=d.sent,code=o.code,o.data,r=o.msg,1==code&&(e.$message({message:r,type:"success"}),e.getAddress());case 7:case"end":return d.stop()}}),d)})))()},onConfirm:function(){this.$emit("confirm",this.selectId),this.showDialog=!1}},watch:{value:function(t){this.showDialog=t,1==t&&this.getAddress()},showDialog:function(t){this.$emit("input",t)}}}),n=(d(550),d(9)),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"address-list"},[e("el-dialog",{attrs:{title:"更换地址",visible:t.showDialog,width:"900px"},on:{"update:visible":function(e){t.showDialog=e}}},[e("div",{staticClass:"list black"},t._l(t.addressList,(function(d,o){return e("div",{key:o,class:["item m-b-16",{active:d.id==t.selectId}],on:{click:function(e){t.selectId=d.id}}},[e("div",[e("span",{staticClass:"weigth-500"},[t._v(t._s(d.contact))]),t._v("\n "+t._s(d.telephone)+"\n "),d.is_default?e("el-tag",{attrs:{size:"mini",type:"warning",effect:"dark"}},[t._v("默认")]):t._e()],1),t._v(" "),e("div",{staticClass:"lighter m-t-8"},[t._v("\n "+t._s(d.province)+" "+t._s(d.city)+" "+t._s(d.district)+"\n "+t._s(d.address)+"\n ")]),t._v(" "),e("div",{staticClass:"oprate lighter flex"},[e("div",{staticClass:"m-r-16",on:{click:function(e){e.stopPropagation(),t.editId=d.id,t.showAddressAdd=!0}}},[t._v("\n 修改\n ")]),t._v(" "),e("div",{on:{click:function(e){return e.stopPropagation(),t.setDefault(d.id)}}},[t._v("设为默认")])])])})),0),t._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:t.onConfirm}},[t._v("确认")]),t._v(" "),e("el-button",{on:{click:function(e){t.showDialog=!1}}},[t._v("取消")])],1)]),t._v(" "),e("address-add",{attrs:{aid:t.editId},on:{success:t.getAddress},model:{value:t.showAddressAdd,callback:function(e){t.showAddressAdd=e},expression:"showAddressAdd"}})],1)}),[],!1,null,"425028d8",null);e.default=component.exports;installComponents(component,{AddressAdd:d(544).default})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[4,18],{488:function(t,e,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,r){"use strict";r.r(e);r(300);var o={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},n=(r(490),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},490:function(t,e,r){"use strict";r(488)},491:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},542:function(t,e,r){var content=r(562);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("195696a4",content,!0,{sourceMap:!1})},561:function(t,e,r){"use strict";r(542)},562:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".activity-area[data-v-008ee916]{background-color:#fff;border-radius:6px;padding:16px}.activity-area[data-v-008ee916] .swiper-container{height:280px;width:100%}.activity-area .goods-list .goods-item[data-v-008ee916]{width:31.5%}.activity-area .goods-list .goods-item .goods-img[data-v-008ee916]{height:0;padding-top:100%;position:relative;width:100%}.activity-area .goods-list .goods-item .goods-img .el-image[data-v-008ee916]{height:100%;left:0;position:absolute;top:0;width:100%}.activity-area .goods-list .goods-item .name[data-v-008ee916]{height:40px;line-height:20px}",""]),o.locals={},t.exports=o},610:function(t,e,r){"use strict";r.r(e);r(30),r(63);var o={components:{},props:{url:{type:String,default:""},title:{type:String},list:{type:Array,default:function(){return[]}}},data:function(){return{swiperOptions:{direction:"vertical",initialSlide:0,height:280,autoplay:!0},pageSize:3}},computed:{swiperSize:function(){return Math.ceil(this.list.length/this.pageSize)},getSwiperList:function(){var t=this;return function(e){return t.list.slice(e*t.pageSize,(e+1)*t.pageSize)}}}},n=(r(561),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return t.list.length?e("div",{staticClass:"activity-area m-t-16"},[e("div",{staticClass:"title flex row-between"},[e("div",{staticClass:"font-size-20"},[t._v(t._s(t.title))]),t._v(" "),e("nuxt-link",{staticClass:"more lighter",attrs:{to:t.url}},[t._v("更多 "),e("i",{staticClass:"el-icon-arrow-right"})])],1),t._v(" "),e("div",{staticClass:"activity-goods m-t-16"},[e("client-only",[e("swiper",{ref:"headerSwiper",attrs:{options:t.swiperOptions}},t._l(t.swiperSize,(function(r,o){return e("swiper-slide",{key:o,staticClass:"swiper-item"},[e("div",{staticClass:"goods-list flex row-between"},t._l(t.getSwiperList(o),(function(r,o){return e("nuxt-link",{key:o,staticClass:"goods-item",attrs:{to:"/goods_details/".concat(r.id)}},[e("div",{staticClass:"goods-img"},[e("el-image",{attrs:{lazy:"",src:r.image,fit:"cover",alt:""}})],1),t._v(" "),e("div",{staticClass:"name line-2 m-t-10"},[t._v(t._s(r.name))]),t._v(" "),e("div",{staticClass:"price flex col-baseline m-t-10"},[e("div",{staticClass:"primary m-r-8"},[e("price-formate",{attrs:{price:r.min_price,"first-size":16}})],1),t._v(" "),e("div",{staticClass:"muted sm line-through"},[e("price-formate",{attrs:{price:r.market_price}})],1)]),t._v(" "),e("div",{staticClass:"muted xs m-t-10"},[t._v("\n "+t._s(r.sales_total)+"人购买\n ")])])})),1)])})),1)],1)],1)]):t._e()}),[],!1,null,"008ee916",null);e.default=component.exports;installComponents(component,{PriceFormate:r(489).default})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(e){function r(data){for(var r,n,c=data[0],l=data[1],d=data[2],i=0,h=[];i<c.length;i++)n=c[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&h.push(o[n][0]),o[n]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(v&&v(data);h.length;)h.shift()();return f.push.apply(f,d||[]),t()}function t(){for(var e,i=0;i<f.length;i++){for(var r=f[i],t=!0,n=1;n<r.length;n++){var l=r[n];0!==o[l]&&(t=!1)}t&&(f.splice(i--,1),e=c(c.s=r[0]))}return e}var n={},o={59:0},f=[];function c(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var f,script=document.createElement("script");script.charset="utf-8",script.timeout=120,c.nc&&script.setAttribute("nonce",c.nc),script.src=function(e){return c.p+""+{0:"d664aa8",1:"4478f34",4:"10c045e",5:"e1815ce",6:"b498670",7:"304b6de",8:"d405bde",9:"4a0e1a9",10:"2687174",11:"e5eaf85",12:"6877d7e",13:"ab270ec",14:"b1dd136",15:"aaa308f",16:"ce067b1",17:"cc8567e",18:"30ceafe",19:"f926c32",20:"1f85d6b",21:"7db8a25",22:"b26605f",23:"41c9f56",24:"e2d6d6f",25:"27cca0c",26:"2b38418",27:"54f62eb",28:"f88d614",29:"96b9c33",30:"18d44c7",31:"390f940",32:"fac2054",33:"c9ec6e0",34:"3a7f847",35:"a49e387",36:"7029622",37:"ef10585",38:"f946102",39:"a16b1e0",40:"7489c90",41:"39a578f",42:"2130068",43:"71dab2e",44:"108f27c",45:"328b92c",46:"6494f1b",47:"78a33ab",48:"37ff59f",49:"e00a53b",50:"1f1b928",51:"a6e9157",52:"f5f0bd1",53:"28b376b",54:"678763f",55:"f931045",56:"30ad194",57:"54bf523",58:"bd0b668"}[e]+".js"}(e);var l=new Error;f=function(r){script.onerror=script.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+f+")",l.name="ChunkLoadError",l.type=n,l.request=f,t[1](l)}o[e]=void 0}};var d=setTimeout((function(){f({type:"timeout",target:script})}),12e4);script.onerror=script.onload=f,document.head.appendChild(script)}return Promise.all(r)},c.m=e,c.c=n,c.d=function(e,r,t){c.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,r){if(1&r&&(e=c(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)c.d(t,n,function(r){return e[r]}.bind(null,n));return t},c.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(r,"a",r),r},c.o=function(object,e){return Object.prototype.hasOwnProperty.call(object,e)},c.p="/_nuxt/",c.oe=function(e){throw console.error(e),e};var l=window.webpackJsonp=window.webpackJsonp||[],d=l.push.bind(l);l.push=r,l=l.slice();for(var i=0;i<l.length;i++)r(l[i]);var v=d;t()}([]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,18],{488:function(t,e,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,r){"use strict";r.r(e);r(300);var o={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},l=(r(490),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},490:function(t,e,r){"use strict";r(488)},491:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},497:function(t,e,r){var content=r(503);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(18).default)("18c1d214",content,!0,{sourceMap:!1})},502:function(t,e,r){"use strict";r(497)},503:function(t,e,r){var o=r(17)((function(i){return i[1]}));o.push([t.i,".goods-list[data-v-060944d1]{align-items:stretch}.goods-list .goods-item[data-v-060944d1]{border-radius:4px;box-sizing:border-box;display:block;height:310px;margin-bottom:16px;padding:12px 12px 16px;transition:all .2s;width:224px}.goods-list .goods-item[data-v-060944d1]:hover{box-shadow:0 0 6px rgba(0,0,0,.1);transform:translateY(-8px)}.goods-list .goods-item .goods-img[data-v-060944d1]{height:200px;width:200px}.goods-list .goods-item .name[data-v-060944d1]{height:40px;line-height:20px;margin-bottom:10px}.goods-list .goods-item .seckill .btn[data-v-060944d1]{border:1px solid transparent;border-radius:4px;padding:4px 12px}.goods-list .goods-item .seckill .btn.not-start[data-v-060944d1]{background-color:transparent;border-color:#ff2c3c;color:#ff2c3c}.goods-list .goods-item .seckill .btn.end[data-v-060944d1]{background-color:#e5e5e5;color:#fff}",""]),o.locals={},t.exports=o},504:function(t,e,r){"use strict";r.r(e);r(30),r(300);var o={props:{list:{type:Array,default:function(){return[]}},num:{type:Number,default:5},type:{type:String},status:{type:Number}},watch:{list:{immediate:!0,handler:function(t){}}},computed:{getSeckillText:function(){switch(this.status){case 0:return"未开始";case 1:return"立即抢购";case 2:return"已结束"}}}},l=(r(502),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"goods-list flex flex-wrap"},t._l(t.list,(function(r,o){return e("nuxt-link",{key:o,staticClass:"goods-item bg-white",style:{marginRight:(o+1)%t.num==0?0:"14px"},attrs:{to:"/goods_details/".concat(r.id||r.goods_id)}},[e("el-image",{staticClass:"goods-img",attrs:{lazy:"",src:r.image||r.goods_image,alt:""}}),t._v(" "),e("div",{staticClass:"name line-2"},[t._v(t._s(r.name||r.goods_name))]),t._v(" "),"seckill"==t.type?e("div",{staticClass:"seckill flex row-between"},[e("div",{staticClass:"primary flex"},[t._v("\n 秒杀价\n "),e("price-formate",{attrs:{price:r.seckill_price,"first-size":18}})],1),t._v(" "),e("div",{class:["btn bg-primary white",{"not-start":0==t.status,end:2==t.status}]},[t._v(t._s(t.getSeckillText)+"\n ")])]):e("div",{staticClass:"flex row-between flex-wrap"},[e("div",{staticClass:"price flex col-baseline"},[e("div",{staticClass:"primary m-r-8"},[e("price-formate",{attrs:{price:r.min_price||r.price,"first-size":16}})],1),t._v(" "),e("div",{staticClass:"muted sm line-through"},[e("price-formate",{attrs:{price:r.market_price}})],1)]),t._v(" "),e("div",{staticClass:"muted xs"},[t._v(t._s(r.sales_total||r.sales_sum||0)+"人购买")])])],1)})),1)}),[],!1,null,"060944d1",null);e.default=component.exports;installComponents(component,{PriceFormate:r(489).default})}}]);

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{566:function(t,e,n){var content=n(613);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(18).default)("248f4eb1",content,!0,{sourceMap:!1})},612:function(t,e,n){"use strict";n(566)},613:function(t,e,n){var o=n(17)((function(i){return i[1]}));o.push([t.i,".news-details-container .nav-container[data-v-7dfc4742]{padding:15px 16px}.news-details-container .content-box[data-v-7dfc4742]{display:flex;flex-direction:row}.news-details-container .content-box .news-detail-box[data-v-7dfc4742]{background-color:#fff;width:100%}.news-details-container .content-box .news-detail-box .content-header[data-v-7dfc4742]{border-bottom:1px solid #e5e5e5;margin:0 20px;padding:20px 0}.news-details-container .content-box .news-detail-box .content-header .news-detail-title[data-v-7dfc4742]{color:#222;font-size:24px;font-weight:500}.news-details-container .content-box .news-detail-box .content-html-box[data-v-7dfc4742]{padding:24px 20px}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-7dfc4742]{overflow:hidden;width:100%}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-7dfc4742] img{width:100%}.news-details-container .content-box .recommend-box[data-v-7dfc4742]{width:264px}.news-details-container .content-box .recommend-box .recommend-box-header[data-v-7dfc4742]{border-bottom:1px solid #e5e5e5;padding:15px 10px}.news-details-container .content-box .recommend-box .recommend-box-header .primary-line[data-v-7dfc4742]{background-color:#ff2c3c;height:20px;margin-right:10px;width:4px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item[data-v-7dfc4742]{cursor:pointer;padding:10px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item .goods-info[data-v-7dfc4742]{margin-top:8px}",""]),o.locals={},t.exports=o},708:function(t,e,n){"use strict";n.r(e);var o=n(8),c=(n(56),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$get,t.$post,t.query,o={},e.next=4,n("policy/aboutUs",{});case 4:return 1==(c=e.sent).code&&(o=c.data),e.abrupt("return",{detailsObj:o});case 7:case"end":return e.stop()}}),e)})))()},data:function(){return{}},mounted:function(){console.log("route",this.$route)},methods:{}}),d=(n(612),n(9)),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"news-details-container mt16"},[e("div",{staticClass:"nav-container flex"},[e("div",{staticClass:"nr",staticStyle:{width:"70px"}},[t._v("当前位置:")]),t._v(" "),e("el-breadcrumb",{staticStyle:{flex:"1"},attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),e("el-breadcrumb-item",{staticClass:"line1"},[t._v("关于我们")])],1)],1),t._v(" "),e("div",{staticClass:"content-box"},[e("div",{staticClass:"news-detail-box"},[t._m(0),t._v(" "),e("div",{staticClass:"content-html-box bg-white"},[e("div",{domProps:{innerHTML:t._s(t.detailsObj.content)}})])])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"content-header bg-white"},[t("div",{staticClass:"news-detail-title"},[this._v("\n 关于我们\n ")])])}],!1,null,"7dfc4742",null);e.default=component.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{498:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return c}));e(47),e(30),e(64),e(48),e(39),e(20),e(65),e(66),e(49);var r=e(22);e(109),e(63),e(12);var o=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2?arguments[2]:void 0,e=new Date(0).getTime();return function(){var r=(new Date).getTime();if(r-e>time){for(var o=arguments.length,c=new Array(o),f=0;f<o;f++)c[f]=arguments[f];t.apply(n,c),e=r}}};function c(t){var p="";if("object"==Object(r.a)(t)){for(var n in p="?",t)p+="".concat(n,"=").concat(t[n],"&");p=p.slice(0,-1)}return p}},499:function(t,n,e){var content=e(510);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(18).default)("488d347e",content,!0,{sourceMap:!1})},506:function(t,n,e){"use strict";var r=e(2),o=e(507);r({target:"String",proto:!0,forced:e(508)("link")},{link:function(t){return o(this,"a","href",t)}})},507:function(t,n,e){"use strict";var r=e(4),o=e(36),c=e(19),f=/"/g,l=r("".replace);t.exports=function(t,n,e,r){var d=c(o(t)),v="<"+n;return""!==e&&(v+=" "+e+'="'+l(c(r),f,"&quot;")+'"'),v+">"+d+"</"+n+">"}},508:function(t,n,e){"use strict";var r=e(3);t.exports=function(t){return r((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},509:function(t,n,e){"use strict";e(499)},510:function(t,n,e){var r=e(17)((function(i){return i[1]}));r.push([t.i,".ad-item[data-v-368017b1]{cursor:pointer;height:100%;width:100%}",""]),r.locals={},t.exports=r},511:function(t,n,e){"use strict";e.r(n);e(506),e(89);var r=e(498),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var n=t.link_type,link=t.link,e=t.params;if(3===n)window.open(t.link);else["/goods_details"].includes(link)?link+="/".concat(e.id):link+=Object(r.a)(e),this.$router.push({path:link})}}},c=(e(509),e(9)),component=Object(c.a)(o,(function(){var t=this,n=t._self._c;return n("div",{staticClass:"ad-item",on:{click:function(n){return n.stopPropagation(),t.goPage(t.item)}}},[n("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.item.image,fit:"cover"}})],1)}),[],!1,null,"368017b1",null);n.default=component.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More