第一版初步完成提交
parent
7cb8cdbee6
commit
00a143b77c
|
@ -112,7 +112,12 @@
|
|||
>商家入驻</nuxt-link
|
||||
>
|
||||
</li>
|
||||
<li
|
||||
<li>
|
||||
<nuxt-link to="/about_us"
|
||||
>关于我们</nuxt-link
|
||||
>
|
||||
</li>
|
||||
<!-- <li
|
||||
id="tel-phone-block"
|
||||
v-if="
|
||||
publicData.mnp_qr_code ||
|
||||
|
@ -137,20 +142,8 @@
|
|||
官方小程序
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="flex-col col-center"
|
||||
style="margin-left: 30px"
|
||||
v-if="publicData.oa_qr_code"
|
||||
>
|
||||
<img
|
||||
style="width: 100px; height: 100px"
|
||||
:src="publicData.oa_qr_code"
|
||||
alt=""
|
||||
/>
|
||||
<div class="lighter m-t-10">公众号</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</li> -->
|
||||
<li>
|
||||
<nuxt-link to="/">返回官网</nuxt-link>
|
||||
</li>
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
<li class="item">
|
||||
<nuxt-link to="/">首页</nuxt-link>
|
||||
</li>
|
||||
|
||||
<li class="item">
|
||||
<nuxt-link to="/demand_list">我的需求</nuxt-link>
|
||||
</li>
|
||||
<li class="item">
|
||||
<nuxt-link to="/seckill">限时秒杀</nuxt-link>
|
||||
</li>
|
||||
|
|
|
@ -21,111 +21,130 @@
|
|||
{{ getOrderStatus(item.order_status) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-con flex">
|
||||
<div class="goods">
|
||||
<nuxt-link
|
||||
class="goods-item flex"
|
||||
:to="`/goods_details/${goods.goods_id}`"
|
||||
v-for="(goods, index) in item.order_goods"
|
||||
:key="index"
|
||||
>
|
||||
<el-image class="goods-img" :src="goods.image" alt="" />
|
||||
<div class="goods-info flex-1">
|
||||
<div class="goods-name m-b-8 flex row-between">
|
||||
<div class="line1" style="width: 350px">
|
||||
<el-tag
|
||||
size="mini"
|
||||
effect="plain"
|
||||
v-if="goods.is_seckill"
|
||||
>秒杀</el-tag
|
||||
>
|
||||
{{ goods.goods_name }}
|
||||
</div>
|
||||
<div class="num">x{{ goods.goods_num }}</div>
|
||||
</div>
|
||||
<div class="sm muted m-b-8">
|
||||
{{ goods.spec_value }}
|
||||
</div>
|
||||
<div class="primary">
|
||||
<price-formate :price="goods.goods_price" />
|
||||
</div>
|
||||
</div>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div
|
||||
class="pay-price flex-col col-center row-center"
|
||||
style="padding-left: 30px"
|
||||
>
|
||||
<div class="lighter">共{{ item.goods_count }}件商品</div>
|
||||
<div class="lighter m-t-8 flex">
|
||||
付款金额:
|
||||
<span class="primary">
|
||||
<price-formate
|
||||
:price="item.order_amount"
|
||||
:subscript-size="12"
|
||||
:first-size="16"
|
||||
:second-size="12"
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="operate flex-col col-center row-center sm">
|
||||
<nuxt-link
|
||||
:to="`/payment?id=${item.id}&from=order`"
|
||||
class="btn m-b-16 bg-primary flex row-center white sm"
|
||||
v-if="item.pay_btn"
|
||||
>
|
||||
<span class="m-r-8">去付款</span>
|
||||
<count-down
|
||||
v-if="getCancelTime(item.order_cancel_time) > 0"
|
||||
:time="getCancelTime(item.order_cancel_time)"
|
||||
format="hh:mm:ss"
|
||||
@finish="$emit('refresh')"
|
||||
/>
|
||||
</nuxt-link>
|
||||
<div
|
||||
class="btn m-b-10 primary flex row-center sm plain"
|
||||
v-if="item.take_btn"
|
||||
@click="handleOrder(2, item.id)"
|
||||
>
|
||||
确认收货
|
||||
</div>
|
||||
<div
|
||||
class="m-b-10 muted flex row-center sm"
|
||||
v-if="item.delivery_btn"
|
||||
@click="showDeliverDialog(item.id)"
|
||||
>
|
||||
物流查询
|
||||
</div>
|
||||
<div
|
||||
class="m-b-10 muted row-center sm"
|
||||
v-if="item.cancel_btn"
|
||||
@click="handleOrder(0, item.id)"
|
||||
>
|
||||
取消订单
|
||||
</div>
|
||||
<div
|
||||
class="m-b-10 muted row-center sm"
|
||||
v-if="item.del_btn"
|
||||
@click="handleOrder(1, item.id)"
|
||||
>
|
||||
删除订单
|
||||
</div>
|
||||
<nuxt-link
|
||||
class="lighter"
|
||||
:to="`/user/order/detail?id=${item.id}`"
|
||||
>
|
||||
<span>查看详情</span>
|
||||
<!-- <i class="el-icon-arrow-right"></i> -->
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div class="item-con">
|
||||
<div class="flex" style="align-items: stretch;">
|
||||
<div class="goods">
|
||||
<nuxt-link
|
||||
class="goods-item flex"
|
||||
:to="`/goods_details/${goods.goods_id}`"
|
||||
v-for="(goods, index) in item.order_goods"
|
||||
:key="index"
|
||||
>
|
||||
<el-image class="goods-img" :src="goods.image" alt="" />
|
||||
<div class="goods-info flex-1">
|
||||
<div class="goods-name m-b-8 flex row-between">
|
||||
<div class="line1" style="width: 350px">
|
||||
<el-tag
|
||||
size="mini"
|
||||
effect="plain"
|
||||
v-if="goods.is_seckill"
|
||||
>秒杀</el-tag
|
||||
>
|
||||
{{ goods.goods_name }}
|
||||
</div>
|
||||
<div class="num">x{{ goods.goods_num }}</div>
|
||||
</div>
|
||||
<div class="sm muted m-b-8">
|
||||
{{ goods.spec_value }}
|
||||
</div>
|
||||
<div class="primary">
|
||||
<price-formate :price="goods.goods_price" />
|
||||
</div>
|
||||
</div>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div
|
||||
class="pay-price flex-col col-center row-center"
|
||||
style="padding-left: 30px"
|
||||
>
|
||||
<div class="lighter">共{{ item.goods_count }}件商品</div>
|
||||
<div class="lighter m-t-8 flex">
|
||||
付款金额:
|
||||
<span class="primary">
|
||||
<price-formate
|
||||
:price="item.order_amount"
|
||||
:subscript-size="12"
|
||||
:first-size="16"
|
||||
:second-size="12"
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="operate flex-col col-center row-center sm">
|
||||
<nuxt-link
|
||||
:to="`/payment?id=${item.id}&from=order`"
|
||||
class="btn m-b-16 bg-primary flex row-center white sm"
|
||||
v-if="item.pay_btn"
|
||||
>
|
||||
<span class="m-r-8">去付款</span>
|
||||
<count-down
|
||||
v-if="getCancelTime(item.order_cancel_time) > 0"
|
||||
:time="getCancelTime(item.order_cancel_time)"
|
||||
format="hh:mm:ss"
|
||||
@finish="$emit('refresh')"
|
||||
/>
|
||||
</nuxt-link>
|
||||
<div
|
||||
class="btn m-b-10 primary flex row-center sm plain"
|
||||
v-if="item.take_btn"
|
||||
@click="handleOrder(2, item.id)"
|
||||
>
|
||||
确认收货
|
||||
</div>
|
||||
<div
|
||||
class="m-b-10 muted flex row-center sm"
|
||||
v-if="item.delivery_btn"
|
||||
@click="showDeliverDialog(item.id)"
|
||||
>
|
||||
物流查询
|
||||
</div>
|
||||
<div
|
||||
class="m-b-10 muted row-center sm"
|
||||
v-if="item.cancel_btn"
|
||||
@click="handleOrder(0, item.id)"
|
||||
>
|
||||
取消订单
|
||||
</div>
|
||||
<div
|
||||
class="m-b-10 muted row-center sm"
|
||||
v-if="item.del_btn"
|
||||
@click="handleOrder(1, item.id)"
|
||||
>
|
||||
删除订单
|
||||
</div>
|
||||
<nuxt-link
|
||||
class="lighter"
|
||||
:to="`/user/order/detail?id=${item.id}`"
|
||||
>
|
||||
<span>查看详情</span>
|
||||
<!-- <i class="el-icon-arrow-right"></i> -->
|
||||
</nuxt-link>
|
||||
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
:action="action"
|
||||
:multiple="true"
|
||||
:limit="10"
|
||||
:headers="{token: $store.state.token}"
|
||||
:show-file-list="false"
|
||||
:on-success="onSuccess"
|
||||
>
|
||||
<el-button type="primary" size="mini" class="m-t-10 muted row-center sm uploadBtn"
|
||||
v-if="item.pay_btn == 0 && item.del_btn != 1" @click="uploadContract(item.id)"
|
||||
>上传合同</el-button>
|
||||
</el-upload>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<deliver-search v-model="showDeliver" :aid="aid" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from "~/config/app";
|
||||
export default {
|
||||
props: {
|
||||
list: {
|
||||
|
@ -137,7 +156,10 @@ export default {
|
|||
return {
|
||||
showDeliver: false,
|
||||
aid: -1,
|
||||
}
|
||||
action: config.baseUrl + "/api/file/formimage",
|
||||
baseUrl:config.baseUrl + '/',
|
||||
uploadId:'',//上传的id
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(this.list)
|
||||
|
@ -196,6 +218,30 @@ export default {
|
|||
this.aid = id
|
||||
this.showDeliver = true
|
||||
},
|
||||
// 上传合同选中的id
|
||||
uploadContract(id) {
|
||||
this.uploadId = id;
|
||||
console.log(this.uploadId)
|
||||
},
|
||||
|
||||
async onSuccess(response, file, fileList) {
|
||||
console.log(response, file, fileList)
|
||||
let that = this;
|
||||
if(fileList) {
|
||||
let result = fileList.map(item => item.response.data.base_uri).join(',');
|
||||
let params = {
|
||||
order_id:that.uploadId,
|
||||
path:result
|
||||
}
|
||||
let respond = await that.$post("order/contractUpload", params);
|
||||
if (respond.code == 1) {
|
||||
this.$message({
|
||||
message: '上传成功,可进入详情查看',
|
||||
type: "success",
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
getOrderStatus() {
|
||||
|
@ -228,7 +274,7 @@ export default {
|
|||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
.order-list {
|
||||
padding: 0 16px;
|
||||
.item {
|
||||
|
@ -287,4 +333,34 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.uploadBtn {
|
||||
color: #fff;
|
||||
}
|
||||
.pre-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.pre-item {
|
||||
width: 120rpx;
|
||||
border-radius: 6rpx;
|
||||
height: 120rpx;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-bottom: 20rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.pre-item-image {
|
||||
width: 100%;
|
||||
height: 120rpx;
|
||||
}
|
||||
|
||||
// .item-con .el-upload-list {
|
||||
// display: none;
|
||||
// }
|
||||
</style>
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
// 本地访问域名
|
||||
const testUrl = "https://likeshopb2b2c.yixiangonline.com"
|
||||
const testUrl = "http://glh.dev.scdxtc.cn"
|
||||
//线上域名
|
||||
const productUrl = ''
|
||||
const config = {
|
||||
|
|
|
@ -58,7 +58,7 @@ export default {
|
|||
|
||||
router: {
|
||||
middleware: 'route', // 即每次路由跳转会调用该中间件
|
||||
base: '/pc/'
|
||||
base: '/'
|
||||
//多个中间件写法
|
||||
// middleware: ['route']
|
||||
},
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -11,16 +11,17 @@
|
|||
"dependencies": {
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
"@nuxtjs/style-resources": "^1.0.0",
|
||||
"cookie-universal-nuxt": "^2.1.4",
|
||||
"cookieparser": "^0.1.0",
|
||||
"core-js": "^3.15.1",
|
||||
"element-ui": "^2.15.2",
|
||||
"js-cookie": "^2.2.1",
|
||||
"nuxt": "^2.15.7",
|
||||
"cookie-universal-nuxt": "^2.1.4",
|
||||
"swiper": "^5.2.0",
|
||||
"vue-awesome-swiper": "^4.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxtjs/proxy": "^2.1.0",
|
||||
"sass": "~1.32.8",
|
||||
"sass-loader": "10"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,140 @@
|
|||
<template>
|
||||
<div class="news-details-container mt16">
|
||||
<div class="nav-container flex">
|
||||
<div class="nr" style="width: 70px">当前位置:</div>
|
||||
<el-breadcrumb style="flex: 1;" separator="/">
|
||||
<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
||||
<el-breadcrumb-item class="line1">关于我们</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div class="news-detail-box">
|
||||
<div class="content-header bg-white">
|
||||
<div class="news-detail-title">
|
||||
关于我们
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-html-box bg-white">
|
||||
<div v-html="detailsObj.content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
title: this.$store.getters.headTitle,
|
||||
link: [{
|
||||
rel: "icon",
|
||||
type: "image/x-icon",
|
||||
href: this.$store.getters.favicon
|
||||
}],
|
||||
};
|
||||
},
|
||||
async asyncData({
|
||||
$get,
|
||||
$post,
|
||||
query
|
||||
}) {
|
||||
let detailsObj = {};
|
||||
|
||||
let res = await $get("policy/aboutUs", {});
|
||||
if (res.code == 1) {
|
||||
detailsObj = res.data;
|
||||
|
||||
}
|
||||
return {
|
||||
detailsObj,
|
||||
|
||||
};
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('route', this.$route)
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.news-details-container {
|
||||
.nav-container {
|
||||
padding: 15px 16px;
|
||||
}
|
||||
|
||||
.content-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.news-detail-box {
|
||||
background-color: #FFFFFF;
|
||||
width: 100%;
|
||||
|
||||
.content-header {
|
||||
margin: 0px 20px;
|
||||
padding: 20px 0px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
|
||||
.news-detail-title {
|
||||
color: #222;
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.content-html-box {
|
||||
padding: 24px 20px;
|
||||
|
||||
&>div {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
::v-deep img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.recommend-box {
|
||||
width: 264px;
|
||||
|
||||
.recommend-box-header {
|
||||
padding: 15px 10px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
|
||||
.primary-line {
|
||||
margin-right: 10px;
|
||||
background-color: $--color-primary;
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.recommend-box-content {
|
||||
.recommend-list-container {
|
||||
.recommend-list-item {
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
|
||||
.goods-info {
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -104,12 +104,13 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="login-footer-box flex row-between">
|
||||
<div class="flex">
|
||||
<!-- <div class="flex">
|
||||
<div class="flex login__other-item" @click="goWechatLogin">
|
||||
<i class="iconfont icon-weixin1 login__weixin-icon"></i>
|
||||
<div class="m-l-4 muted">微信</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div></div>
|
||||
<nuxt-link class="primary" to="/account/register">注册账号</nuxt-link>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -110,28 +110,37 @@
|
|||
<div>运费:</div>
|
||||
<div>¥{{ item.shipping_price }}</div>
|
||||
</div>
|
||||
<div class="flex m-b-20 flex-1 row-right">
|
||||
<span class="m-r-10">店铺合计</span>
|
||||
<price-formate color="#FF2C3C" :price="item.total_amount" :firstSize="17"
|
||||
:subscriptSize="12" :secondSize="12" />
|
||||
</div>
|
||||
|
||||
<div class="flex m-b-10 flex-1 row-right">
|
||||
<span class="m-r-10">店铺合计</span>
|
||||
<price-formate color="#FF2C3C" :price="item.total_amount" :firstSize="17"
|
||||
:subscriptSize="12" :secondSize="12" />
|
||||
</div>
|
||||
<div class="flex m-b-20 flex-1 row-right">
|
||||
<a target="_blank" :href="download_contract.domain + '/' + download_contract.path"><el-button type="success" icon="el-icon-download">点击下载合同</el-button></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="order-footer flex bg-white">
|
||||
<div class="order-footer flex bg-white" style="justify-content: space-between;">
|
||||
<div class="front flex">
|
||||
<span>开启订单前置:</span>
|
||||
<el-switch v-model="front" @change="front_change"></el-switch>
|
||||
</div>
|
||||
<div class="flex col-center">
|
||||
<div class="money flex m-r-16">
|
||||
<div class="lighter">实付金额:</div>
|
||||
<div class="primary" style="font-size: 20px">
|
||||
<span class="xxs">¥</span>{{ orderInfo.total_amount }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="white bg-primary lg btn flex row-center" @click="submitOrder">
|
||||
去结算
|
||||
</div>
|
||||
<div class="money flex m-r-16">
|
||||
<div class="lighter">实付金额:</div>
|
||||
<div class="primary" style="font-size: 20px">
|
||||
<span class="xxs">¥</span>{{ orderInfo.total_amount }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="white bg-primary lg btn flex row-center" @click="submitOrder">
|
||||
去结算
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<address-add v-model="showAddressAdd" :aid="editId" @success="orderBuy" />
|
||||
|
@ -174,7 +183,13 @@ export default {
|
|||
asyncData.selecteCoupon = data.shop.map(() => '')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
await $post('order/contractDownload', {}).then(({ code, data, msg }) => {
|
||||
if (code == 1) {
|
||||
asyncData.download_contract = data;
|
||||
}
|
||||
})
|
||||
return asyncData
|
||||
},
|
||||
|
||||
|
@ -192,6 +207,9 @@ export default {
|
|||
editId: '',
|
||||
isEdit: false,
|
||||
shopPage: 1,
|
||||
front:false,
|
||||
is_frontend:0,
|
||||
download_contract:{} //下载合同地址
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -214,6 +232,14 @@ export default {
|
|||
this.addressId = val
|
||||
this.orderBuy()
|
||||
},
|
||||
|
||||
front_change(e) {
|
||||
if(e) {
|
||||
this.is_frontend = 1
|
||||
}else {
|
||||
this.is_frontend = 0
|
||||
}
|
||||
},
|
||||
async submitOrder() {
|
||||
const { carts, goods, selecteCoupon } = this
|
||||
const { orderInfo: { shop } } = this
|
||||
|
@ -221,6 +247,7 @@ export default {
|
|||
const submitObj = {
|
||||
goods: JSON.stringify(goods),
|
||||
address_id: this.addressId,
|
||||
is_frontend:this.is_frontend,
|
||||
cart_id: carts.join(),
|
||||
coupon_id: selecteCoupon.filter((item) => item),
|
||||
delivery_type,
|
||||
|
@ -233,14 +260,23 @@ export default {
|
|||
submitObj
|
||||
)
|
||||
if (code == 1) {
|
||||
this.getPublicData()
|
||||
this.$router.replace({
|
||||
path: '/payment',
|
||||
query: {
|
||||
id: data.trade_id,
|
||||
from: data.type,
|
||||
},
|
||||
})
|
||||
if(this.is_frontend == 1) {
|
||||
this.$router.replace({
|
||||
path: '/user/order',
|
||||
query: {
|
||||
is_frontend: this.is_frontend
|
||||
},
|
||||
})
|
||||
}else {
|
||||
this.getPublicData()
|
||||
this.$router.replace({
|
||||
path: '/payment',
|
||||
query: {
|
||||
id: data.trade_id,
|
||||
from: data.type,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -0,0 +1,255 @@
|
|||
<template>
|
||||
<div class="news-details-container mt16">
|
||||
<div class="nav-container flex">
|
||||
<div class="nr" style="width: 70px">当前位置:</div>
|
||||
<el-breadcrumb style="flex: 1;" separator="/" class="flex">
|
||||
<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
||||
<el-breadcrumb-item>
|
||||
<nuxt-link to="/demand_list">我的需求</nuxt-link>
|
||||
</el-breadcrumb-item>
|
||||
<el-breadcrumb-item class="line1 demand-title">{{detailsObj.name}}</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div class="news-detail-box m-r-16">
|
||||
<div class="content-header bg-white">
|
||||
<div class="news-detail-title">
|
||||
{{detailsObj.name}}
|
||||
</div>
|
||||
<div class="sign"><el-button type="primary" icon="el-icon-s-promotion" @click="dialogFormVisible = true">立即报名</el-button></div>
|
||||
<div class="flex">
|
||||
<div class="sm muted">
|
||||
发布时间:{{detailsObj.create_time}}
|
||||
</div>
|
||||
<div class="flex" style="margin-left: 40px">
|
||||
<i class="el-icon-s-promotion muted"></i>
|
||||
<div class="muted" style="margin-left: 3px;">已报名<span style="margin:0 5px;color: #f00;">{{detailsObj.reports_count}}</span>人</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-html-box bg-white">
|
||||
<div v-html="detailsObj.content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 填写表单 -->
|
||||
<el-dialog title="立即报名" :visible.sync="dialogFormVisible">
|
||||
<el-form :model="form" :rules="rules" ref="form">
|
||||
<el-form-item label="姓名" prop="name" :label-width="formLabelWidth">
|
||||
<el-input v-model="form.name" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="电话" prop="phone" :label-width="formLabelWidth">
|
||||
<el-input v-model="form.phone" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="公司名称" prop="company" :label-width="formLabelWidth">
|
||||
<el-input v-model="form.company" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="报价" prop="price" :label-width="formLabelWidth">
|
||||
<el-input v-model="form.price" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="其他" :label-width="formLabelWidth">
|
||||
<el-input type="textarea" v-model="form.remarks" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
||||
<el-button type="primary" @click="submitForm('form')">确 定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
title: this.$store.getters.headTitle,
|
||||
link: [{
|
||||
rel: "icon",
|
||||
type: "image/x-icon",
|
||||
href: this.$store.getters.favicon
|
||||
}],
|
||||
};
|
||||
},
|
||||
async asyncData({
|
||||
$get,
|
||||
$post,
|
||||
query
|
||||
}) {
|
||||
let detailsObj = {};
|
||||
let demand_id = '';
|
||||
let recommend_list = [];
|
||||
demand_id = query.id
|
||||
let res = await $get("demand/detail", {
|
||||
params: {
|
||||
id: query.id,
|
||||
}
|
||||
});
|
||||
if (res.code == 1) {
|
||||
detailsObj = res.data;
|
||||
}
|
||||
return {
|
||||
detailsObj,
|
||||
demand_id
|
||||
};
|
||||
},
|
||||
watchQuery: ['id'],
|
||||
data() {
|
||||
return {
|
||||
demand_id:'',
|
||||
dialogFormVisible: false,
|
||||
form: {
|
||||
name: '',
|
||||
phone: '',
|
||||
company: '',
|
||||
price: '',
|
||||
remarks: '',
|
||||
},
|
||||
formLabelWidth: '120px',
|
||||
rules: {
|
||||
name: [
|
||||
{ required: true, message: '请输入姓名', trigger: 'blur' },
|
||||
],
|
||||
phone: [
|
||||
{ required: true, message: '请输入电话', trigger: 'blur' },
|
||||
],
|
||||
company: [
|
||||
{ required: true, message: '请输入公司名称', trigger: 'blur' },
|
||||
],
|
||||
price: [
|
||||
{ required: true, message: '请输入报价', trigger: 'blur' },
|
||||
],
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('route', this.$route)
|
||||
// this.getNewsDetails(this.$route.query.id);
|
||||
},
|
||||
methods: {
|
||||
async getNewsDetails(id) {
|
||||
let res = await this.$get("help/detail", {params: {id: id, client: 2}});
|
||||
if(res.code == 1) {
|
||||
this.detailsObj = res.data;
|
||||
}
|
||||
},
|
||||
toOther(id) {
|
||||
this.$router.push('/help_center/help_center_detail?id=' + id)
|
||||
},
|
||||
// 表单提交
|
||||
submitForm(form) {
|
||||
console.log(this.demand_id)
|
||||
this.$refs[form].validate((valid) => {
|
||||
if (valid) {
|
||||
console.log(this.form)
|
||||
let params = this.form;
|
||||
params.demand_id = this.demand_id;
|
||||
this.$post("demand/report", params).then(res=>{
|
||||
if(res.code == 1) {
|
||||
this.dialogFormVisible = false,
|
||||
this.$message({
|
||||
message: '报名成功',
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.news-details-container {
|
||||
.nav-container {
|
||||
padding: 15px 16px;
|
||||
}
|
||||
|
||||
.content-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.news-detail-box {
|
||||
background-color: #FFFFFF;
|
||||
width: 100%;
|
||||
|
||||
.content-header {
|
||||
margin: 0px 20px;
|
||||
padding: 20px 0px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
position: relative;
|
||||
.news-detail-title {
|
||||
color: #222;
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 30px;
|
||||
max-width: 860px;
|
||||
}
|
||||
}
|
||||
|
||||
.content-html-box {
|
||||
padding: 24px 20px;
|
||||
|
||||
&>div {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
::v-deep img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.recommend-box {
|
||||
width: 264px;
|
||||
|
||||
.recommend-box-header {
|
||||
padding: 15px 10px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
|
||||
.primary-line {
|
||||
margin-right: 10px;
|
||||
background-color: $--color-primary;
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.recommend-box-content {
|
||||
.recommend-list-container {
|
||||
.recommend-list-item {
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
|
||||
.goods-info {
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.demand-title {
|
||||
max-width: 900px;
|
||||
line-height: 30px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.sign {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 30px;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,207 @@
|
|||
<template>
|
||||
<div class="help-center-container">
|
||||
<div class="help-center-box">
|
||||
<div class="article-lists-container m-l-16 bg-white" style="width: 100%;">
|
||||
<div v-show="!dataNull">
|
||||
<div>
|
||||
<nuxt-link :to="'/demand_list/demand_detail?id=' + item.id"
|
||||
class="article-item flex-col bg-white" v-for="(item) in articleList" :key="item.id">
|
||||
<div class="lg article-name line2" style="font-weight: bold;">{{item.name}}</div>
|
||||
<div class="lighter article-content" v-html="item.content"></div>
|
||||
<div class="flex row-between" style="margin-top:16px;">
|
||||
<div class="sm muted">发布时间:{{item.create_time}}</div>
|
||||
<div class="flex m-l-16">
|
||||
<i class="el-icon-s-promotion muted"></i>
|
||||
<div class="muted" style="margin-left: 3px;">已报名<span style="margin:0 5px;color: #f00;">{{item.reports_count}}</span>人</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sign"><el-button type="primary" icon="el-icon-s-promotion">查看报名</el-button></div>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div class="help-center-pagination row-center">
|
||||
<el-pagination background hide-on-single-page layout="prev, pager, next" :total="count"
|
||||
prev-text="上一页" next-text="下一页" :page-size="10" @current-change="changePage" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-null column-center" v-show="dataNull">
|
||||
<img style="width: 150px;height: 150px;" src="~/static/images/news_null.png" />
|
||||
<div class="xs muted">
|
||||
暂无消息记录~
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
title: this.$store.getters.headTitle,
|
||||
link: [{
|
||||
rel: "icon",
|
||||
type: "image/x-icon",
|
||||
href: this.$store.getters.favicon
|
||||
}],
|
||||
};
|
||||
},
|
||||
async asyncData({
|
||||
$get,
|
||||
$post
|
||||
}) {
|
||||
let currentId = 0;
|
||||
let articleList = [];
|
||||
let count = 0;
|
||||
let dataNull = true;
|
||||
let listsRes = await $get("demand/lists", {
|
||||
params: {
|
||||
page_size: 1,
|
||||
}
|
||||
});
|
||||
if (listsRes.code == 1) {
|
||||
articleList = listsRes.data.list;
|
||||
count = listsRes.data.count
|
||||
if (count <= 0) {
|
||||
dataNull = true;
|
||||
} else {
|
||||
dataNull = false
|
||||
}
|
||||
}
|
||||
return {
|
||||
articleList,
|
||||
count,
|
||||
dataNull,
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
articleList: [],
|
||||
count: 0,
|
||||
swiperOptions: {
|
||||
width: 1180,
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.articleList, 'articleList')
|
||||
},
|
||||
methods: {
|
||||
async changePage(current) {
|
||||
let res = await this.$get("demand/lists", {
|
||||
params: {
|
||||
cid: this.currentId,
|
||||
page_no: current,
|
||||
page_size: 10
|
||||
}
|
||||
});
|
||||
if (res.code == 1) {
|
||||
this.articleList = res.data.list;
|
||||
if (this.articleList.length <= 0) {
|
||||
dataNull = true;
|
||||
} else {
|
||||
dataNull = false
|
||||
}
|
||||
}
|
||||
},
|
||||
changeList(id) {
|
||||
this.currentId = id;
|
||||
this.changePage(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.help-center-container {
|
||||
.help-center-banner {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.help-center-box {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.help-center-aside {
|
||||
width: 160px;
|
||||
// min-height: 635px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
padding: 20px 30px;
|
||||
|
||||
.nav {
|
||||
li {
|
||||
margin: 10px 0px;
|
||||
padding: 0px 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.active-item {
|
||||
padding-left: 27px;
|
||||
color: $--color-primary;
|
||||
border-left: 3px solid $--color-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.article-lists-container {
|
||||
width: 1004px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
.article-item {
|
||||
margin: 0px 20px;
|
||||
padding: 15px 0px;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
.article-name {
|
||||
margin-bottom: 11px;
|
||||
margin-top: 13px;
|
||||
max-width: 720px;
|
||||
}
|
||||
}
|
||||
|
||||
.help-center-pagination {
|
||||
padding-top: 38px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.data-null {
|
||||
padding-top: 150px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .el-pagination.is-background .btn-prev {
|
||||
background: #fff;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
::v-deep .el-pagination.is-background .btn-next {
|
||||
background: #fff;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
::v-deep .el-pagination.is-background .el-pager li {
|
||||
background: #fff;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.article-content {
|
||||
min-height: 50px;
|
||||
max-height: 140px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sign {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 30px;
|
||||
}
|
||||
</style>
|
|
@ -52,6 +52,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="payment-footer">
|
||||
<template v-if="order.pay_status == 0 && order.order_status == 0">
|
||||
|
|
|
@ -150,13 +150,28 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-upload" v-if="orderDetail.frontend_array.length > 0">
|
||||
<div class="tit">上传合同列表</div>
|
||||
<div class="img-boxs">
|
||||
<div class="img" v-for="(item, index) in orderDetail.frontend_array" :key="index">
|
||||
<el-image
|
||||
style="width: 100%; height: 100%"
|
||||
:src="baseUrl + item"
|
||||
:preview-src-list="frontend_arrayNew"
|
||||
>
|
||||
</el-image>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<deliver-search v-model="showDeliverPop" :aid="id" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { copyClipboard } from '@/utils/tools'
|
||||
|
||||
import config from "~/config/app";
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
|
@ -189,6 +204,8 @@ export default {
|
|||
return {
|
||||
orderDetail: {},
|
||||
showDeliverPop: false,
|
||||
baseUrl:config.baseUrl + '/',
|
||||
frontend_arrayNew:[], //大图带域名
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -196,10 +213,14 @@ export default {
|
|||
if (this.orderDetail.delivery_type === 2) {
|
||||
this.creatQrCode(this.orderDetail.pickup_code)
|
||||
}
|
||||
if(this.orderDetail.frontend_array) {
|
||||
this.frontend_arrayNew = this.orderDetail.frontend_array.map(item => {
|
||||
return this.baseUrl + item
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
async getOrderDetail() {
|
||||
const { data, code } = await this.$get('order/getOrderDetail', {
|
||||
params: {
|
||||
|
@ -406,4 +427,27 @@ export default {
|
|||
border-radius: 6px;
|
||||
}
|
||||
}
|
||||
.detail-upload {
|
||||
.tit {
|
||||
font-size: 20px;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
margin-bottom: 20px;
|
||||
border-left: 4px solid #f00;
|
||||
padding-left: 14px;
|
||||
}
|
||||
.img-boxs {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
.img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin-top: 10px;
|
||||
margin-right: 15px;
|
||||
border: 1px solid #ededed;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -1,5 +1,8 @@
|
|||
<template>
|
||||
<div class="user-order">
|
||||
<div class="download-box">
|
||||
<a target="_blank" :href="download_contract.domain + '/' + download_contract.path"><el-button type="success" icon="el-icon-download" size="medium">下载合同</el-button></a>
|
||||
</div>
|
||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
||||
<el-tab-pane
|
||||
v-for="(item, index) in order"
|
||||
|
@ -34,6 +37,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Message } from 'element-ui';
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
|
@ -48,7 +52,9 @@ export default {
|
|||
}
|
||||
},
|
||||
layout: 'user',
|
||||
async asyncData({ $get, $post }) {
|
||||
async asyncData({query, $get, $post }) {
|
||||
let that = this;
|
||||
let download_contract = {};
|
||||
const {
|
||||
data: { list, count },
|
||||
code,
|
||||
|
@ -57,9 +63,18 @@ export default {
|
|||
page_size: 10,
|
||||
},
|
||||
})
|
||||
await $post('order/contractDownload', {}).then(({ code, data, msg }) => {
|
||||
if (code == 1) {
|
||||
download_contract = data;
|
||||
}
|
||||
})
|
||||
if(query.is_frontend == 1) {
|
||||
Message.success('订单前置成功')
|
||||
}
|
||||
if (code == 1) {
|
||||
return {
|
||||
orderList: { list, count },
|
||||
download_contract
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -104,6 +119,7 @@ export default {
|
|||
page: 1,
|
||||
},
|
||||
],
|
||||
download_contract:{} //下载合同地址
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -156,5 +172,13 @@ export default {
|
|||
<style lang="scss">
|
||||
.user-order {
|
||||
padding: 20px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.download-box {
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
top: 22px;
|
||||
z-index: 999;
|
||||
}
|
||||
</style>
|
|
@ -48,6 +48,13 @@
|
|||
<label class="user-form-label nr">登录密码</label>
|
||||
<div class="nr" style="color: #6699CC;cursor: pointer;" @click="openChangePwdPop">修改密码</div>
|
||||
</div>
|
||||
<div class="user-form-item flex">
|
||||
<label class="user-form-label nr">我的团队</label>
|
||||
<div class="normal nr flex">
|
||||
<div class="name">团队名称:<span class="primary">{{team_info.name}}</span></div>
|
||||
<div class="phone m-l-30">联系电话:<span class="primary">{{team_info.phone}}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="primary-btn bg-primary flex-center white" @click="saveUserInfo">
|
||||
保存
|
||||
</button>
|
||||
|
@ -151,6 +158,7 @@ export default {
|
|||
canSendNumber: true,
|
||||
canSendPwd: true,
|
||||
fileList: [],
|
||||
team_info:{} //团队
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
@ -183,6 +191,11 @@ export default {
|
|||
this.createTime = res.data.create_time;
|
||||
this.sn = res.data.sn;
|
||||
}
|
||||
|
||||
let resData = await this.$get("user/center");
|
||||
if (resData.code == 1) {
|
||||
this.team_info = resData.data.team_info;
|
||||
}
|
||||
},
|
||||
|
||||
async saveUserInfo() {
|
||||
|
|
|
@ -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="/pc/"><link rel="preload" href="/pc/_nuxt/650429b.js" as="script"><link rel="preload" href="/pc/_nuxt/551f074.js" as="script"><link rel="preload" href="/pc/_nuxt/67f442b.js" as="script"><link rel="preload" href="/pc/_nuxt/834ad8c.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/b248762.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/5ebb6bf.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:"/pc/",assetsPath:"/pc/_nuxt/",cdnURL:null}}}</script>
|
||||
<script src="/pc/_nuxt/650429b.js"></script><script src="/pc/_nuxt/551f074.js"></script><script src="/pc/_nuxt/67f442b.js"></script><script src="/pc/_nuxt/834ad8c.js"></script></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/b248762.js"></script><script src="/_nuxt/16929cf.js"></script><script src="/_nuxt/e77456f.js"></script><script src="/_nuxt/5ebb6bf.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
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{439:function(e,t,r){"use strict";var n=r(18),o=r(2),c=r(3),f=r(137),l=r(27),h=r(19),d=r(273),m=r(54),N=r(136),S=r(272),v=r(5),_=r(97).f,y=r(45).f,I=r(25).f,E=r(440),x=r(441).trim,w="Number",z=o.Number,F=z.prototype,T=o.TypeError,A=c("".slice),M=c("".charCodeAt),O=function(e){var t=S(e,"number");return"bigint"==typeof t?t:k(t)},k=function(e){var t,r,n,o,c,f,l,code,h=S(e,"number");if(N(h))throw T("Cannot convert a Symbol value to a number");if("string"==typeof h&&h.length>2)if(h=x(h),43===(t=M(h,0))||45===t){if(88===(r=M(h,2))||120===r)return NaN}else if(48===t){switch(M(h,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+h}for(f=(c=A(h,2)).length,l=0;l<f;l++)if((code=M(c,l))<48||code>o)return NaN;return parseInt(c,n)}return+h};if(f(w,!z(" 0o1")||!z("0b1")||z("+0x1"))){for(var R,V=function(e){var t=arguments.length<1?0:z(O(e)),r=this;return m(F,r)&&v((function(){E(r)}))?d(Object(t),r,V):t},G=n?_(z):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),L=0;G.length>L;L++)h(z,R=G[L])&&!h(V,R)&&I(V,R,y(z,R));V.prototype=F,F.constructor=V,l(o,w,V)}},440:function(e,t,r){var n=r(3);e.exports=n(1..valueOf)},441:function(e,t,r){var n=r(3),o=r(33),c=r(17),f=r(442),l=n("".replace),h="["+f+"]",d=RegExp("^"+h+h+"*"),m=RegExp(h+h+"*$"),N=function(e){return function(t){var r=c(o(t));return 1&e&&(r=l(r,d,"")),2&e&&(r=l(r,m,"")),r}};e.exports={start:N(1),end:N(2),trim:N(3)}},442:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},443:function(e,t,r){var content=r(446);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(15).default)("3181fc86",content,!0,{sourceMap:!1})},444:function(e,t,r){"use strict";r.r(t);r(439),r(39),r(274);var n={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(e){this.priceFormat()}},methods:{priceFormat:function(){var e=this.price,t={};null!==e&&(e=String(e).split("."),t.first=e[0],t.second=e[1],this.priceSlice=t)}}},o=(r(445),r(9)),component=Object(o.a)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{class:(e.lineThrough?"line-through":"")+"price-format",style:{color:e.color,"font-weight":e.weight}},[e.showSubscript?r("span",{style:{"font-size":e.subscriptSize+"px","margin-right":"1px"}},[e._v("¥")]):e._e(),e._v(" "),r("span",{style:{"font-size":e.firstSize+"px","margin-right":"1px"}},[e._v(e._s(e.priceSlice.first))]),e._v(" "),e.priceSlice.second?r("span",{style:{"font-size":e.secondSize+"px"}},[e._v("."+e._s(e.priceSlice.second))]):e._e()])}),[],!1,null,null,null);t.default=component.exports},445:function(e,t,r){"use strict";r(443)},446:function(e,t,r){var n=r(14)(!1);n.push([e.i,".price-format{display:flex;align-items:baseline}",""]),e.exports=n}}]);
|
File diff suppressed because one or more lines are too long
|
@ -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},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})}}]);
|
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
|
@ -0,0 +1 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{500:function(e,t,o){var content=o(514);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(18).default)("cfbdabb4",content,!0,{sourceMap:!1})},513:function(e,t,o){"use strict";o(500)},514:function(e,t,o){var n=o(17)((function(i){return i[1]}));n.push([e.i,".v-upload .el-upload--picture-card[data-v-9cabb86c]{height:76px;line-height:76px;width:76px}.v-upload .el-upload-list--picture-card .el-upload-list__item[data-v-9cabb86c]{height:76px;width:76px}",""]),n.locals={},e.exports=n},515:function(e,t,o){"use strict";o.r(t);o(300),o(30);var n=o(195),r={components:{},props:{limit:{type:Number,default:1},isSlot:{type:Boolean,default:!1},autoUpload:{type:Boolean,default:!0},onChange:{type:Function,default:function(){}}},watch:{},data:function(){return{url:n.a.baseUrl}},created:function(){},computed:{},methods:{success:function(e,t,o){this.autoUpload&&(this.$message({message:"上传成功",type:"success"}),this.$emit("success",o))},remove:function(e,t){this.$emit("remove",t)},error:function(e){this.$message({message:"上传失败,请重新上传",type:"error"})},beforeAvatarUpload:function(e){var t=e.name.substring(e.name.lastIndexOf(".")+1);console.log("fdsadsf");var o="jpg"===t,n="png"===t;return o||n?o||n||"jpeg"===t:(this.$message({message:"上传文件只能是 jpg, jpeg, png格式!",type:"warning"}),!1)}}},c=(o(513),o(9)),component=Object(c.a)(r,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"v-upload"},[t("el-upload",{attrs:{"list-type":"picture-card",action:e.url+"/api/file/formimage",limit:e.limit,"on-success":e.success,"on-error":e.error,"on-remove":e.remove,"on-change":e.onChange,headers:{token:e.$store.state.token},"auto-upload":e.autoUpload,accept:"image/jpg,image/jpeg,image/png","before-upload":e.beforeAvatarUpload}},[e.isSlot?e._t("default"):t("div",[t("div",{staticClass:"muted xs"},[e._v("上传图片")])])],2)],1)}),[],!1,null,"9cabb86c",null);t.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
|
@ -0,0 +1 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{488:function(e,t,r){var content=r(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(e,t,r){"use strict";r.r(t);r(300);var n={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(e){this.priceFormat()}},methods:{priceFormat:function(){var e=this.price,t={};null!==e&&(e=String(e).split("."),t.first=e[0],t.second=e[1],this.priceSlice=t)}}},o=(r(490),r(9)),component=Object(o.a)(n,(function(){var e=this,t=e._self._c;return t("span",{class:(e.lineThrough?"line-through":"")+"price-format",style:{color:e.color,"font-weight":e.weight}},[e.showSubscript?t("span",{style:{"font-size":e.subscriptSize+"px","margin-right":"1px"}},[e._v("¥")]):e._e(),e._v(" "),t("span",{style:{"font-size":e.firstSize+"px","margin-right":"1px"}},[e._v(e._s(e.priceSlice.first))]),e._v(" "),e.priceSlice.second?t("span",{style:{"font-size":e.secondSize+"px"}},[e._v("."+e._s(e.priceSlice.second))]):e._e()])}),[],!1,null,null,null);t.default=component.exports},490:function(e,t,r){"use strict";r(488)},491:function(e,t,r){var n=r(17)((function(i){return i[1]}));n.push([e.i,".price-format{align-items:baseline;display:flex}",""]),n.locals={},e.exports=n}}]);
|
|
@ -0,0 +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}}]);
|
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
|
@ -0,0 +1 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{496:function(t,e,n){"use strict";n.r(e);n(300),n(87),n(63),n(12),n(47),n(39),n(88);var r=6e4,o=36e5,m=24*o;function h(t){return(0+t.toString()).slice(-2)}var c={components:{},props:{isSlot:{type:Boolean,default:!1},time:{type:Number,default:0},format:{type:String,default:"hh:mm:ss"},autoStart:{type:Boolean,default:!0}},watch:{time:{immediate:!0,handler:function(t){t&&this.reset()}}},data:function(){return{timeObj:{},formateTime:0}},created:function(){},computed:{},methods:{createTimer:function(t){return setTimeout(t,100)},isSameSecond:function(t,e){return Math.floor(t)===Math.floor(e)},start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+1e3*this.remain,this.setTimer())},setTimer:function(){var t=this;this.tid=this.createTimer((function(){var e=t.getRemain();t.isSameSecond(e,t.remain)&&0!==e||t.setRemain(e),0!==t.remain&&t.setTimer()}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},pause:function(){this.counting=!1,clearTimeout(this.tid)},reset:function(){this.pause(),this.remain=this.time,this.setRemain(this.remain),this.autoStart&&this.start()},setRemain:function(t){var e=this.format;this.remain=t;var time,n=(time=t,{days:Math.floor(time/m),hours:h(Math.floor(time%m/o)),minutes:h(Math.floor(time%o/r)),seconds:h(Math.floor(time%r/1e3))});this.formateTime=function(t,e){var n=e.days,r=e.hours,o=e.minutes,m=e.seconds;return-1!==t.indexOf("dd")&&(t=t.replace("dd",n)),-1!==t.indexOf("hh")&&(t=t.replace("hh",h(r))),-1!==t.indexOf("mm")&&(t=t.replace("mm",h(o))),-1!==t.indexOf("ss")&&(t=t.replace("ss",h(m))),t}(e,n),this.$emit("change",n),0===t&&(this.pause(),this.$emit("finish"))}}},f=n(9),component=Object(f.a)(c,(function(){var t=this,e=t._self._c;return t.time>=0?e("div",[e("client-only",[t.isSlot?t._t("default"):e("span",[t._v(t._s(t.formateTime))])],2)],1):t._e()}),[],!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
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
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{482:function(t,e,d){var content=d(506);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,d(15).default)("ed2618a4",content,!0,{sourceMap:!1})},505:function(t,e,d){"use strict";d(482)},506:function(t,e,d){var o=d(14)(!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]{position:relative;cursor:pointer;height:100px;padding:16px 150px 16px 20px;border:1px solid hsla(0,0%,89.8%,.89804);border-radius:2px}.address-list .list .item.active[data-v-425028d8]{border-color:#ff2c3c}.address-list .list .item .oprate[data-v-425028d8]{position:absolute;right:20px;bottom:9px}.address-list .dialog-footer[data-v-425028d8]{text-align:center}.address-list .dialog-footer .el-button[data-v-425028d8]{width:160px}",""]),t.exports=o},558:function(t,e,d){"use strict";d.r(e);var o=d(6),r=(d(53),{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(505),d(9)),component=Object(n.a)(r,(function(){var t=this,e=t.$createElement,d=t._self._c||e;return d("div",{staticClass:"address-list"},[d("el-dialog",{attrs:{title:"更换地址",visible:t.showDialog,width:"900px"},on:{"update:visible":function(e){t.showDialog=e}}},[d("div",{staticClass:"list black"},t._l(t.addressList,(function(e,o){return d("div",{key:o,class:["item m-b-16",{active:e.id==t.selectId}],on:{click:function(d){t.selectId=e.id}}},[d("div",[d("span",{staticClass:"weigth-500"},[t._v(t._s(e.contact))]),t._v("\n "+t._s(e.telephone)+"\n "),e.is_default?d("el-tag",{attrs:{size:"mini",type:"warning",effect:"dark"}},[t._v("默认")]):t._e()],1),t._v(" "),d("div",{staticClass:"lighter m-t-8"},[t._v("\n "+t._s(e.province)+" "+t._s(e.city)+" "+t._s(e.district)+"\n "+t._s(e.address)+"\n ")]),t._v(" "),d("div",{staticClass:"oprate lighter flex"},[d("div",{staticClass:"m-r-16",on:{click:function(d){d.stopPropagation(),t.editId=e.id,t.showAddressAdd=!0}}},[t._v("\n 修改\n ")]),t._v(" "),d("div",{on:{click:function(d){return d.stopPropagation(),t.setDefault(e.id)}}},[t._v("设为默认")])])])})),0),t._v(" "),d("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[d("el-button",{attrs:{type:"primary"},on:{click:t.onConfirm}},[t._v("确认")]),t._v(" "),d("el-button",{on:{click:function(e){t.showDialog=!1}}},[t._v("取消")])],1)]),t._v(" "),d("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(499).default})}}]);
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
!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={56: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:"7061dd8",1:"aa22453",4:"9459641",5:"66106b0",6:"6481b75",7:"02d88c6",8:"c1d193b",9:"8e5c9ca",10:"7e81747",11:"c58b0d5",12:"945a660",13:"90b4bd9",14:"f9b82f0",15:"f7f9f7f",16:"dcaf3f1",17:"682baa1",18:"0f593d9",19:"6c6cafa",20:"740aad0",21:"7b53922",22:"b8d9cb7",23:"0acfe07",24:"7a36621",25:"606f23d",26:"499f6e2",27:"2431e49",28:"6ebff14",29:"f7f52c8",30:"911048b",31:"950870e",32:"624aa7f",33:"47cd53b",34:"7bae1a9",35:"7d6263e",36:"262995b",37:"df204b6",38:"5727d97",39:"56750ff",40:"1504f41",41:"7af7118",42:"9bedeb0",43:"d965367",44:"f84df8f",45:"940e984",46:"c93bebd",47:"30ce0f2",48:"7ddedec",49:"183b287",50:"890084b",51:"6193a7c",52:"e301d02",53:"a5d9ba2",54:"f389649",55:"e3f5a05"}[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="/pc/_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()}([]);
|
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{452:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(34);n(39),n(274),n(100),n(61),n(11),n(40),n(62),n(46),n(20),n(63),n(64),n(47);var o=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,e=arguments.length>2?arguments[2]:void 0,n=new Date(0).getTime();return function(){var r=(new Date).getTime();if(r-n>time){for(var o=arguments.length,c=new Array(o),f=0;f<o;f++)c[f]=arguments[f];t.apply(e,c),n=r}}};function c(t){var p="";if("object"==Object(r.a)(t)){for(var e in p="?",t)p+="".concat(e,"=").concat(t[e],"&");p=p.slice(0,-1)}return p}},454:function(t,e,n){var content=n(463);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(15).default)("532bec65",content,!0,{sourceMap:!1})},459:function(t,e,n){"use strict";var r=n(7),o=n(460);r({target:"String",proto:!0,forced:n(461)("link")},{link:function(t){return o(this,"a","href",t)}})},460:function(t,e,n){var r=n(3),o=n(33),c=n(17),f=/"/g,l=r("".replace);t.exports=function(t,e,n,r){var d=c(o(t)),v="<"+e;return""!==n&&(v+=" "+n+'="'+l(c(r),f,""")+'"'),v+">"+d+"</"+e+">"}},461:function(t,e,n){var r=n(5);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},462:function(t,e,n){"use strict";n(454)},463:function(t,e,n){var r=n(14)(!1);r.push([t.i,".ad-item[data-v-368017b1]{width:100%;height:100%;cursor:pointer}",""]),t.exports=r},465:function(t,e,n){"use strict";n.r(e);n(459),n(82);var r=n(452),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var e=t.link_type,link=t.link,n=t.params;if(3===e)window.open(t.link);else["/goods_details"].includes(link)?link+="/".concat(n.id):link+=Object(r.a)(n),this.$router.push({path:link})}}},c=(n(462),n(9)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ad-item",on:{click:function(e){return e.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);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
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{439:function(t,e,r){"use strict";var n=r(18),o=r(2),c=r(3),l=r(137),f=r(27),d=r(19),h=r(273),v=r(54),m=r(136),x=r(272),N=r(5),_=r(97).f,I=r(45).f,y=r(25).f,E=r(440),S=r(441).trim,w="Number",k=o.Number,A=k.prototype,C=o.TypeError,T=c("".slice),F=c("".charCodeAt),M=function(t){var e=x(t,"number");return"bigint"==typeof e?e:O(e)},O=function(t){var e,r,n,o,c,l,f,code,d=x(t,"number");if(m(d))throw C("Cannot convert a Symbol value to a number");if("string"==typeof d&&d.length>2)if(d=S(d),43===(e=F(d,0))||45===e){if(88===(r=F(d,2))||120===r)return NaN}else if(48===e){switch(F(d,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+d}for(l=(c=T(d,2)).length,f=0;f<l;f++)if((code=F(c,f))<48||code>o)return NaN;return parseInt(c,n)}return+d};if(l(w,!k(" 0o1")||!k("0b1")||k("+0x1"))){for(var R,V=function(t){var e=arguments.length<1?0:k(M(t)),r=this;return v(A,r)&&N((function(){E(r)}))?h(Object(e),r,V):e},G=n?_(k):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),L=0;G.length>L;L++)d(k,R=G[L])&&!d(V,R)&&y(V,R,I(k,R));V.prototype=A,A.constructor=V,f(o,w,V)}},440:function(t,e,r){var n=r(3);t.exports=n(1..valueOf)},441:function(t,e,r){var n=r(3),o=r(33),c=r(17),l=r(442),f=n("".replace),d="["+l+"]",h=RegExp("^"+d+d+"*"),v=RegExp(d+d+"*$"),m=function(t){return function(e){var r=c(o(e));return 1&t&&(r=f(r,h,"")),2&t&&(r=f(r,v,"")),r}};t.exports={start:m(1),end:m(2),trim:m(3)}},442:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},475:function(t,e,r){var content=r(489);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(15).default)("d6370bb2",content,!0,{sourceMap:!1})},488:function(t,e,r){"use strict";r(475)},489:function(t,e,r){var n=r(14)(!1);n.push([t.i,".shop-item[data-v-871c1244]{width:270px;height:400px;background-size:cover;background-position:50%;padding:10px;border-radius:6px}.shop-item .shop-info[data-v-871c1244]{border-radius:6px;padding:18px 15px}.shop-item .shop-info .logo[data-v-871c1244]{width:70px;height:70px;border-radius:16px;margin-top:-45px}.shop-item .shop-info .sales[data-v-871c1244]{display:inline-block;padding:4px 10px;background-color:#f2f2f2;margin-top:6px;border-radius:4px}",""]),t.exports=n},502:function(t,e,r){"use strict";r.r(e);r(439);var n={components:{},props:{cover:{type:String},shopId:{type:[String,Number]},logo:{type:String},type:{type:[String,Number]},name:{type:String},sales:{type:[String,Number]}},methods:{}},o=(r(488),r(9)),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("nuxt-link",{staticClass:"shop-item flex-col row-right",style:{"background-image":"url("+t.cover+")"},attrs:{to:"/shop_street_detail?id="+t.shopId}},[r("div",{staticClass:"bg-white shop-info text-center"},[r("el-image",{staticClass:"logo",attrs:{src:t.logo}}),t._v(" "),r("div",{staticClass:"m-t-12 line-1 lg"},[1==t.type?r("el-tag",{attrs:{size:"mini"}},[t._v("自营")]):t._e(),t._v(" "+t._s(t.name)+"\n ")],1),t._v(" "),r("span",{staticClass:"xs muted sales"},[t._v("共"+t._s(t.sales)+"件商品")])],1)])}),[],!1,null,"871c1244",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
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{439:function(e,t,r){"use strict";var n=r(18),o=r(2),c=r(3),l=r(137),f=r(27),d=r(19),m=r(273),v=r(54),h=r(136),N=r(272),I=r(5),x=r(97).f,E=r(45).f,_=r(25).f,y=r(440),w=r(441).trim,A="Number",S=o.Number,j=S.prototype,U=o.TypeError,$=c("".slice),F=c("".charCodeAt),T=function(e){var t=N(e,"number");return"bigint"==typeof t?t:k(t)},k=function(e){var t,r,n,o,c,l,f,code,d=N(e,"number");if(h(d))throw U("Cannot convert a Symbol value to a number");if("string"==typeof d&&d.length>2)if(d=w(d),43===(t=F(d,0))||45===t){if(88===(r=F(d,2))||120===r)return NaN}else if(48===t){switch(F(d,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+d}for(l=(c=$(d,2)).length,f=0;f<l;f++)if((code=F(c,f))<48||code>o)return NaN;return parseInt(c,n)}return+d};if(l(A,!S(" 0o1")||!S("0b1")||S("+0x1"))){for(var C,M=function(e){var t=arguments.length<1?0:S(T(e)),r=this;return v(j,r)&&I((function(){y(r)}))?m(Object(t),r,M):t},O=n?x(S):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),R=0;O.length>R;R++)d(S,C=O[R])&&!d(M,C)&&_(M,C,E(S,C));M.prototype=j,j.constructor=M,f(o,A,M)}},440:function(e,t,r){var n=r(3);e.exports=n(1..valueOf)},441:function(e,t,r){var n=r(3),o=r(33),c=r(17),l=r(442),f=n("".replace),d="["+l+"]",m=RegExp("^"+d+d+"*"),v=RegExp(d+d+"*$"),h=function(e){return function(t){var r=c(o(t));return 1&e&&(r=f(r,m,"")),2&e&&(r=f(r,v,"")),r}};e.exports={start:h(1),end:h(2),trim:h(3)}},442:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},455:function(e,t,r){var content=r(468);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(15).default)("368b5a27",content,!0,{sourceMap:!1})},467:function(e,t,r){"use strict";r(455)},468:function(e,t,r){var n=r(14)(!1);n.push([e.i,".v-upload .el-upload--picture-card[data-v-9cabb86c]{width:76px;height:76px;line-height:76px}.v-upload .el-upload-list--picture-card .el-upload-list__item[data-v-9cabb86c]{width:76px;height:76px}",""]),e.exports=n},469:function(e,t,r){"use strict";r.r(t);r(439),r(40);var n=r(188),o={components:{},props:{limit:{type:Number,default:1},isSlot:{type:Boolean,default:!1},autoUpload:{type:Boolean,default:!0},onChange:{type:Function,default:function(){}}},watch:{},data:function(){return{url:n.a.baseUrl}},created:function(){},computed:{},methods:{success:function(e,t,r){this.autoUpload&&(this.$message({message:"上传成功",type:"success"}),this.$emit("success",r))},remove:function(e,t){this.$emit("remove",t)},error:function(e){this.$message({message:"上传失败,请重新上传",type:"error"})},beforeAvatarUpload:function(e){var t=e.name.substring(e.name.lastIndexOf(".")+1);console.log("fdsadsf");var r="jpg"===t,n="png"===t;return r||n?r||n||"jpeg"===t:(this.$message({message:"上传文件只能是 jpg, jpeg, png格式!",type:"warning"}),!1)}}},c=(r(467),r(9)),component=Object(c.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"v-upload"},[r("el-upload",{attrs:{"list-type":"picture-card",action:e.url+"/api/file/formimage",limit:e.limit,"on-success":e.success,"on-error":e.error,"on-remove":e.remove,"on-change":e.onChange,headers:{token:e.$store.state.token},"auto-upload":e.autoUpload,accept:"image/jpg,image/jpeg,image/png","before-upload":e.beforeAvatarUpload}},[e.isSlot?e._t("default"):r("div",[r("div",{staticClass:"muted xs"},[e._v("上传图片")])])],2)],1)}),[],!1,null,"9cabb86c",null);t.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
|
@ -0,0 +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}}]);
|
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
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{439:function(t,e,n){"use strict";var r=n(18),o=n(2),f=n(3),c=n(137),m=n(27),h=n(19),l=n(273),d=n(54),v=n(136),N=n(272),T=n(5),I=n(97).f,S=n(45).f,E=n(25).f,_=n(440),y=n(441).trim,x="Number",w=o.Number,M=w.prototype,O=o.TypeError,R=f("".slice),A=f("".charCodeAt),F=function(t){var e=N(t,"number");return"bigint"==typeof e?e:k(e)},k=function(t){var e,n,r,o,f,c,m,code,h=N(t,"number");if(v(h))throw O("Cannot convert a Symbol value to a number");if("string"==typeof h&&h.length>2)if(h=y(h),43===(e=A(h,0))||45===e){if(88===(n=A(h,2))||120===n)return NaN}else if(48===e){switch(A(h,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+h}for(c=(f=R(h,2)).length,m=0;m<c;m++)if((code=A(f,m))<48||code>o)return NaN;return parseInt(f,r)}return+h};if(c(x,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var V,$=function(t){var e=arguments.length<1?0:w(F(t)),n=this;return d(M,n)&&T((function(){_(n)}))?l(Object(e),n,$):e},j=r?I(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),G=0;j.length>G;G++)h(w,V=j[G])&&!h($,V)&&E($,V,S(w,V));$.prototype=M,M.constructor=$,m(o,x,$)}},440:function(t,e,n){var r=n(3);t.exports=r(1..valueOf)},441:function(t,e,n){var r=n(3),o=n(33),f=n(17),c=n(442),m=r("".replace),h="["+c+"]",l=RegExp("^"+h+h+"*"),d=RegExp(h+h+"*$"),v=function(t){return function(e){var n=f(o(e));return 1&t&&(n=m(n,l,"")),2&t&&(n=m(n,d,"")),n}};t.exports={start:v(1),end:v(2),trim:v(3)}},442:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},451:function(t,e,n){"use strict";n.r(e);n(439),n(81),n(61),n(11),n(99),n(39),n(98);var r=6e4,o=36e5,f=24*o;function c(t){return(0+t.toString()).slice(-2)}var m={components:{},props:{isSlot:{type:Boolean,default:!1},time:{type:Number,default:0},format:{type:String,default:"hh:mm:ss"},autoStart:{type:Boolean,default:!0}},watch:{time:{immediate:!0,handler:function(t){t&&this.reset()}}},data:function(){return{timeObj:{},formateTime:0}},created:function(){},computed:{},methods:{createTimer:function(t){return setTimeout(t,100)},isSameSecond:function(t,e){return Math.floor(t)===Math.floor(e)},start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+1e3*this.remain,this.setTimer())},setTimer:function(){var t=this;this.tid=this.createTimer((function(){var e=t.getRemain();t.isSameSecond(e,t.remain)&&0!==e||t.setRemain(e),0!==t.remain&&t.setTimer()}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},pause:function(){this.counting=!1,clearTimeout(this.tid)},reset:function(){this.pause(),this.remain=this.time,this.setRemain(this.remain),this.autoStart&&this.start()},setRemain:function(t){var e=this.format;this.remain=t;var time,n=(time=t,{days:Math.floor(time/f),hours:c(Math.floor(time%f/o)),minutes:c(Math.floor(time%o/r)),seconds:c(Math.floor(time%r/1e3))});this.formateTime=function(t,e){var n=e.days,r=e.hours,o=e.minutes,f=e.seconds;return-1!==t.indexOf("dd")&&(t=t.replace("dd",n)),-1!==t.indexOf("hh")&&(t=t.replace("hh",c(r))),-1!==t.indexOf("mm")&&(t=t.replace("mm",c(o))),-1!==t.indexOf("ss")&&(t=t.replace("ss",c(f))),t}(e,n),this.$emit("change",n),0===t&&(this.pause(),this.$emit("finish"))}}},h=n(9),component=Object(h.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.time>=0?n("div",[n("client-only",[t.isSlot?t._t("default"):n("span",[t._v(t._s(t.formateTime))])],2)],1):t._e()}),[],!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
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
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{540:function(t,e,r){var content=r(610);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(15).default)("22020cdc",content,!0,{sourceMap:!1})},609:function(t,e,r){"use strict";r(540)},610:function(t,e,r){var n=r(14)(!1);n.push([t.i,".record{width:100%;height:788px}.record .main{padding:18px;height:100%}",""]),t.exports=n},669:function(t,e,r){"use strict";r.r(e);var n=r(6),o=(r(53),{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(609),r(9)),component=Object(l.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"record"},[r("div",{staticClass:"m-t-20"},[r("el-breadcrumb",{attrs:{separator:"/"}},[r("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),r("el-breadcrumb-item",{attrs:{to:{path:"/store_settled"}}},[r("a",[t._v("商家入驻")])]),t._v(" "),r("el-breadcrumb-item",[t._v("申请列表")])],1)],1),t._v(" "),r("div",{staticClass:"main bg-white m-t-20"},[r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.record,size:"medium","header-cell-style":{background:"#eee",color:"#606266"}}},[r("el-table-column",{attrs:{prop:"name",label:"商家名称","max-width":"180"}}),t._v(" "),r("el-table-column",{attrs:{prop:"audit_status_desc",label:"审核状态","max-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[3==e.row.audit_status?r("div",{staticClass:"primary"},[t._v(t._s(e.row.audit_status_desc))]):r("div",[t._v(t._s(e.row.audit_status_desc))])]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"apply_time",label:"提交时间","max-width":"180"}}),t._v(" "),r("el-table-column",{attrs:{label:"操作","max-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"pointer",on:{click:function(r){return t.$router.push({path:"/store_settled/detail",query:{id:e.row.id}})}}},[t._v("查看详情")])]}}])})],1)],1)])}),[],!1,null,null,null);e.default=component.exports}}]);
|
|
@ -1,9 +1,3 @@
|
|||
/*!
|
||||
* vue-router v3.5.3
|
||||
* (c) 2021 Evan You
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* JavaScript Cookie v2.2.1
|
||||
* https://github.com/js-cookie/js-cookie
|
||||
|
@ -13,8 +7,8 @@
|
|||
*/
|
||||
|
||||
/*!
|
||||
* Vue.js v2.6.14
|
||||
* (c) 2014-2021 Evan You
|
||||
* Vue.js v2.7.14
|
||||
* (c) 2014-2022 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
|
@ -66,6 +60,15 @@ See the Apache Version 2.0 License for specific language governing permissions
|
|||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright JS Foundation and other contributors <https://js.foundation/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/
|
||||
|
||||
/**
|
||||
* Checks if an event is supported in the current execution environment.
|
||||
*
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,16],{447:function(t,e,n){var content=n(449);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(15).default)("12a18d22",content,!0,{sourceMap:!1})},448:function(t,e,n){"use strict";n(447)},449:function(t,e,n){var r=n(14)(!1);r.push([t.i,".null-data[data-v-93598fb0]{padding:100px}.null-data .img-null[data-v-93598fb0]{width:150px;height:150px}",""]),t.exports=r},450:function(t,e,n){"use strict";n.r(e);var r={components:{},props:{img:{type:String},text:{type:String,default:"暂无数据"},imgStyle:{type:String,default:""}},methods:{}},o=(n(448),n(9)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bg-white flex-col col-center null-data"},[n("img",{staticClass:"img-null",style:t.imgStyle,attrs:{src:t.img,alt:""}}),t._v(" "),n("div",{staticClass:"muted mt8"},[t._v(t._s(t.text))])])}),[],!1,null,"93598fb0",null);e.default=component.exports},472:function(t,e,n){"use strict";var r=n(7),o=n(101).find,c=n(187),l="find",d=!0;l in[]&&Array(1).find((function(){d=!1})),r({target:"Array",proto:!0,forced:d},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),c(l)},509:function(t,e,n){t.exports=n.p+"img/order_null.ce12c76.png"},546:function(t,e,n){var content=n(625);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(15).default)("8a7e8b7a",content,!0,{sourceMap:!1})},624:function(t,e,n){"use strict";n(546)},625:function(t,e,n){var r=n(14)(!1);r.push([t.i,".user-order{padding:20px 0}",""]),t.exports=r},675:function(t,e,n){"use strict";n.r(e);var r=n(6),o=(n(472),n(11),n(53),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},layout:"user",asyncData:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$get,t.$post,e.next=3,n("order/lists",{params:{page_size:10}});case 3:if(r=e.sent,o=r.data,c=o.list,l=o.count,1!=r.code){e.next=10;break}return e.abrupt("return",{orderList:{list:c,count:l}});case 10:case"end":return e.stop()}}),e)})))()},components:{},data:function(){return{activeName:"all",order:[{type:"all",list:[],name:"全部",count:0,page:1},{type:"pay",list:[],name:"待付款",count:0,page:1},{type:"delivery",list:[],name:"待收货",count:0,page:1},{type:"finish",list:[],name:"已完成",count:0,page:1},{type:"close",list:[],name:"已关闭",count:0,page:1}]}},methods:{handleClick:function(){this.getOrderList()},getOrderList:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,l,d,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.activeName,r=t.order,o=r.find((function(t){return t.type==n})),e.next=4,t.$get("order/lists",{params:{page_size:10,page_no:o.page,type:n}});case 4:c=e.sent,l=c.data,d=l.list,f=l.count,1==c.code&&(t.orderList={list:d,count:f});case 10:case"end":return e.stop()}}),e)})))()},changePage:function(t){var e=this;this.order.some((function(n){n.type==e.activeName&&(n.page=t)})),this.getOrderList()}},watch:{orderList:{immediate:!0,handler:function(t){var e=this;this.order.some((function(n){if(n.type==e.activeName)return Object.assign(n,t),console.log(n),!0}))}}}}),c=o,l=(n(624),n(9)),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"user-order"},[r("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},t._l(t.order,(function(e,o){return r("el-tab-pane",{key:o,attrs:{label:e.name,name:e.type}},[e.list.length?[r("order-list",{attrs:{list:e.list},on:{refresh:t.getOrderList}}),t._v(" "),e.count?r("div",{staticClass:"pagination flex row-center"},[r("el-pagination",{attrs:{"hide-on-single-page":"",background:"",layout:"prev, pager, next",total:e.count,"prev-text":"上一页","next-text":"下一页","page-size":10},on:{"current-change":t.changePage}})],1):t._e()]:r("null-data",{attrs:{img:n(509),text:"暂无订单~"}})],2)})),1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{OrderList:n(650).default,NullData:n(450).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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue