Commit 5f22be50 by 肖康

x

parent fbe2ccf8
......@@ -423,7 +423,7 @@ export const apis = {
/***历史浏览**/
getHistory: productionUrl + 'home/behavior/get_view_goods_history',
getHistory: productionUrlApi + 'home/behavior/get_view_goods_history',
/**品牌分类**/
brandList: productionUrl + 'api/brandList',
/**品牌详细**/
......
.user-index{background:#f8f8f8;padding-bottom:107px}.user-index .user-logo{background:url('../../images/user/user_logo.jpg');padding:7% 0 4% 0;background-size:100% 100%}.user-index .user-logo img{width:20%;display:block;margin:0 auto;border-radius:50%}.user-index .user-logo dt{padding-bottom:2%}.user-index .user-logo dd{text-align:center}.user-index .user-logo h4{font-size:14px;padding:3% 0;color:#fff}.user-index .user-logo p{font-size:12px;color:#fff}.user-index .orderbox{padding:0 2%;background:#ffffff;border-bottom:1px solid #e5e5e5;margin-bottom:10px}.user-index .orderbox .user-news li{width:24%;float:left;text-align:center;padding:20px 0;padding-bottom:0px}.user-index .orderbox .user-news li a{color:#333}.user-index .orderbox .user-news li b{font-size:20px}.user-index .orderbox .user-news li span{display:block;font-size:12px}.user-index .orderbox a{color:#333;font-size:12px;margin-right:12px;margin-bottom:30px;margin-top:10px}.user-index .orderbox a i{margin-left:8px;color:#1080d0;position:relative;top:4px;font-size:16px}.user-index .orderbox a span{position:relative;top:2px}.user-index .user-nav{padding:0 2%;background:#ffffff;padding:10px 0;border-bottom:1px solid #e5e5e5;border-top:1px solid #e5e5e5;margin-bottom:10px}.user-index .user-nav li{width:25%;float:left;text-align:center;padding:10px 0}.user-index .user-nav li a{color:#333;display:block}.user-index .user-nav li i{font-size:28px;height:30px;line-height:30px;overflow:hidden;display:block;text-align:center}.user-index .user-nav li .icon-1{color:#16a6ff}.user-index .user-nav li .icon-2{color:#ffba35}.user-index .user-nav li .icon-3{color:#41c6e4}.user-index .user-nav li .icon-4{color:#fe4d30}.user-index .user-nav li .icon-5{color:#fe4d30}.user-index .user-nav li .icon-6{color:#42ceb6}.user-index .user-nav li .icon-7{color:#fe4c2f}.user-index .user-nav li .i7{background:url('https://www.ichunt.com/v3/dist/res/m/images/nav/i2.png') no-repeat center;background-size:contain;margin:0 auto}.user-index .user-nav li span{display:block;font-size:14px;margin-top:10px}.user-index .loginLayoutx{border:1px solid #e5e5e5;border-left:none;border-right:none;width:100%;height:30px;background-color:#ffffff;display:block;line-height:30px;text-align:center;font-size:14px;color:#333333}
\ No newline at end of file
.inquery-list{
}
\ No newline at end of file
......@@ -40,6 +40,7 @@ const lxshop = resolve => require(['@/views/lxshop/lxshop'], resolve);
const joincart = resolve => require(['@/views/car/car'], resolve);
const user = resolve => require(['@/views/user/index'], resolve);
const userInfo = resolve => require(['@/views/user/userInfo'], resolve);
const inqueryList = resolve => require(['@/views/user/inqueryList'], resolve);
const userCoupon = resolve => require(['@/views/user/coupon'], resolve);
const userAddress = resolve => require(['@/views/user/address'], resolve);
const userOrder = resolve => require(['@/views/user/order'], resolve);
......@@ -360,6 +361,7 @@ const routes = [
back: true
}
},
{
path: '/orderDetail',
component: orderDetail,
......@@ -368,6 +370,15 @@ const routes = [
back: true
}
},
{
path: '/inqueryList',
component: inqueryList,
meta: {
title: '我的询价单',
back: true
}
},
{
path: '/userShipping',
component: shipping,
......
<template>
<section class="history">
<van-loading type="spinner" color="#000" class="loading-background" v-if="loading"/>
<!-- 购物车添加成功 -->
<addCarAlert></addCarAlert>
<!-- 购物车添加成功 -->
<!-- <GoodsOne :dataList="item.data" @placeOrder="placeOrder"></GoodsOne>
<goodsDetail :detailsData="detailsData"></goodsDetail> -->
<van-loading type="spinner" color="#000" class="loading-background" v-if="loading" />
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import { Loading } from 'vant';
import {
mapState
} from 'vuex'
import {
Loading
} from 'vant';
import GoodsOne from "@/views/common/GoodsOne.vue";
import goodsDetail from "@/views/common/goodsDetail.vue";
import addCarAlert from "@/views/common/addCarAlert";
Vue.use(Loading);
export default {
name: 'history',
data() {
return {
detailsData: {
isShow: false,
id: ""
},
}
},
computed: {
...mapState({
// loading: state => state.coupon.loading,
loading: state => state.history.loading,
isShowAlert: state => state.gooddetail.isShowAlert
})
},
watch: {
isShowAlert(now) {
if (now) {
this.detailsData = { isShow: false, id: "" };
this.$store.dispatch({
type: "cartCount"
});
}
},
},
created() {
this.getData()
this.getData()
},
methods: {
getData(){
getData() {
this.$store.dispatch({
type: 'getHistory'
})
},
tabs(index){
placeOrder(id) {
this.detailsData = {
isShow: true,
id: id
};
},
},
components: {
GoodsOne,
goodsDetail,
addCarAlert
}
}
</script>
<style scoped>
/* @import "../../assets/css/history/history.min.css"; */
@import "../../assets/css/history/history.min.css";
</style>
\ No newline at end of file
<template>
<section class="user-history">
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import {Toast} from 'vant';
import {productionUrlPc} from '../../api/index'
import Util from '../../util/index'
export default {
name: 'history',
data() {
return {
}
},
computed: {
...mapState({
})
},
watch: {
},
created() {
},
methods: {
updateCode() {
this.imgSrc = productionUrlPc + 'public/verify?' + new Date().getTime();
},
getCode() {
var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;
if (!this.account) {
Toast({
message: '填写手机号',
duration: 2000
});
return;
}
if (!myreg.test(this.account)) {
Toast({
message: '请输入正确手机号',
duration: 2000
});
return;
}
this.$store.dispatch({
type: 'smsVerifysInquiry',
mobile: this.account,
verify: this.verify
})
},
timeNum() {
var me = this;
var wait = 60;
me.disabled = true;
me.codeactive = true;
me.codetext = wait + '秒后获取';
var clock = setInterval(doLoop, 1000);
function doLoop() {
wait--;
if (wait > 0) {
me.codetext = wait + '秒后获取';
me.codeactive = true;
} else {
clearInterval(clock);
me.disabled = false;
me.codeactive = false;
me.codetext = '重新获取';
wait = 60;
}
}
},
submit() {
this.$store.dispatch({
type: 'actionLoginInquiry',
account: this.account,
sms_verify: this.sms_verify,
typetext:this.typetext,
number:this.number
})
}
},
components: {
Navigator
}
}
</script>
<style scoped>
@import "../../assets/css/user/inquiry.css";
</style>
\ No newline at end of file
......@@ -145,5 +145,5 @@
<style scoped>
@import "../../assets/css/user/index.min.css";
@import "../../assets/css/user/index.css";
</style>
\ No newline at end of file
<template>
<section class="inquery-list">
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import { Loading} from 'vant';
Vue.use(Loading);
export default {
name: 'inqueryList',
data() {
return {
}
},
computed: {
...mapState({
// loading: state => state.userInfo.loading,
})
},
watch: {
},
created() {
// this.$store.dispatch({
// type: 'getUserType2'
// })
},
methods: {
},
components: {
}
}
</script>
<style scoped>
@import "../../assets/css/user/inqueryList.min.css";
</style>
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -29,7 +29,7 @@
<script src="https://qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//static.leixin.com/0.js" rel="prefetch"><link href="//static.leixin.com/1.js" rel="prefetch"><link href="//static.leixin.com/10.js" rel="prefetch"><link href="//static.leixin.com/11.js" rel="prefetch"><link href="//static.leixin.com/12.js" rel="prefetch"><link href="//static.leixin.com/13.js" rel="prefetch"><link href="//static.leixin.com/14.js" rel="prefetch"><link href="//static.leixin.com/15.js" rel="prefetch"><link href="//static.leixin.com/16.js" rel="prefetch"><link href="//static.leixin.com/17.js" rel="prefetch"><link href="//static.leixin.com/18.js" rel="prefetch"><link href="//static.leixin.com/19.js" rel="prefetch"><link href="//static.leixin.com/2.js" rel="prefetch"><link href="//static.leixin.com/20.js" rel="prefetch"><link href="//static.leixin.com/21.js" rel="prefetch"><link href="//static.leixin.com/22.js" rel="prefetch"><link href="//static.leixin.com/23.js" rel="prefetch"><link href="//static.leixin.com/24.js" rel="prefetch"><link href="//static.leixin.com/25.js" rel="prefetch"><link href="//static.leixin.com/26.js" rel="prefetch"><link href="//static.leixin.com/27.js" rel="prefetch"><link href="//static.leixin.com/28.js" rel="prefetch"><link href="//static.leixin.com/29.js" rel="prefetch"><link href="//static.leixin.com/3.js" rel="prefetch"><link href="//static.leixin.com/30.js" rel="prefetch"><link href="//static.leixin.com/31.js" rel="prefetch"><link href="//static.leixin.com/32.js" rel="prefetch"><link href="//static.leixin.com/33.js" rel="prefetch"><link href="//static.leixin.com/34.js" rel="prefetch"><link href="//static.leixin.com/35.js" rel="prefetch"><link href="//static.leixin.com/36.js" rel="prefetch"><link href="//static.leixin.com/37.js" rel="prefetch"><link href="//static.leixin.com/38.js" rel="prefetch"><link href="//static.leixin.com/39.js" rel="prefetch"><link href="//static.leixin.com/4.js" rel="prefetch"><link href="//static.leixin.com/40.js" rel="prefetch"><link href="//static.leixin.com/41.js" rel="prefetch"><link href="//static.leixin.com/42.js" rel="prefetch"><link href="//static.leixin.com/43.js" rel="prefetch"><link href="//static.leixin.com/44.js" rel="prefetch"><link href="//static.leixin.com/45.js" rel="prefetch"><link href="//static.leixin.com/46.js" rel="prefetch"><link href="//static.leixin.com/47.js" rel="prefetch"><link href="//static.leixin.com/48.js" rel="prefetch"><link href="//static.leixin.com/49.js" rel="prefetch"><link href="//static.leixin.com/5.js" rel="prefetch"><link href="//static.leixin.com/50.js" rel="prefetch"><link href="//static.leixin.com/51.js" rel="prefetch"><link href="//static.leixin.com/52.js" rel="prefetch"><link href="//static.leixin.com/53.js" rel="prefetch"><link href="//static.leixin.com/54.js" rel="prefetch"><link href="//static.leixin.com/55.js" rel="prefetch"><link href="//static.leixin.com/56.js" rel="prefetch"><link href="//static.leixin.com/57.js" rel="prefetch"><link href="//static.leixin.com/58.js" rel="prefetch"><link href="//static.leixin.com/59.js" rel="prefetch"><link href="//static.leixin.com/6.js" rel="prefetch"><link href="//static.leixin.com/60.js" rel="prefetch"><link href="//static.leixin.com/61.js" rel="prefetch"><link href="//static.leixin.com/62.js" rel="prefetch"><link href="//static.leixin.com/7.js" rel="prefetch"><link href="//static.leixin.com/8.js" rel="prefetch"><link href="//static.leixin.com/9.js" rel="prefetch"><link href="//static.leixin.com/app.js" rel="preload" as="script"></head>
<link href="//static.leixin.com/0.js" rel="prefetch"><link href="//static.leixin.com/1.js" rel="prefetch"><link href="//static.leixin.com/10.js" rel="prefetch"><link href="//static.leixin.com/11.js" rel="prefetch"><link href="//static.leixin.com/12.js" rel="prefetch"><link href="//static.leixin.com/13.js" rel="prefetch"><link href="//static.leixin.com/14.js" rel="prefetch"><link href="//static.leixin.com/15.js" rel="prefetch"><link href="//static.leixin.com/16.js" rel="prefetch"><link href="//static.leixin.com/17.js" rel="prefetch"><link href="//static.leixin.com/18.js" rel="prefetch"><link href="//static.leixin.com/19.js" rel="prefetch"><link href="//static.leixin.com/2.js" rel="prefetch"><link href="//static.leixin.com/20.js" rel="prefetch"><link href="//static.leixin.com/21.js" rel="prefetch"><link href="//static.leixin.com/22.js" rel="prefetch"><link href="//static.leixin.com/23.js" rel="prefetch"><link href="//static.leixin.com/24.js" rel="prefetch"><link href="//static.leixin.com/25.js" rel="prefetch"><link href="//static.leixin.com/26.js" rel="prefetch"><link href="//static.leixin.com/27.js" rel="prefetch"><link href="//static.leixin.com/28.js" rel="prefetch"><link href="//static.leixin.com/29.js" rel="prefetch"><link href="//static.leixin.com/3.js" rel="prefetch"><link href="//static.leixin.com/30.js" rel="prefetch"><link href="//static.leixin.com/31.js" rel="prefetch"><link href="//static.leixin.com/32.js" rel="prefetch"><link href="//static.leixin.com/33.js" rel="prefetch"><link href="//static.leixin.com/34.js" rel="prefetch"><link href="//static.leixin.com/35.js" rel="prefetch"><link href="//static.leixin.com/36.js" rel="prefetch"><link href="//static.leixin.com/37.js" rel="prefetch"><link href="//static.leixin.com/38.js" rel="prefetch"><link href="//static.leixin.com/39.js" rel="prefetch"><link href="//static.leixin.com/4.js" rel="prefetch"><link href="//static.leixin.com/40.js" rel="prefetch"><link href="//static.leixin.com/41.js" rel="prefetch"><link href="//static.leixin.com/42.js" rel="prefetch"><link href="//static.leixin.com/43.js" rel="prefetch"><link href="//static.leixin.com/44.js" rel="prefetch"><link href="//static.leixin.com/45.js" rel="prefetch"><link href="//static.leixin.com/46.js" rel="prefetch"><link href="//static.leixin.com/47.js" rel="prefetch"><link href="//static.leixin.com/48.js" rel="prefetch"><link href="//static.leixin.com/49.js" rel="prefetch"><link href="//static.leixin.com/5.js" rel="prefetch"><link href="//static.leixin.com/50.js" rel="prefetch"><link href="//static.leixin.com/51.js" rel="prefetch"><link href="//static.leixin.com/52.js" rel="prefetch"><link href="//static.leixin.com/53.js" rel="prefetch"><link href="//static.leixin.com/54.js" rel="prefetch"><link href="//static.leixin.com/55.js" rel="prefetch"><link href="//static.leixin.com/56.js" rel="prefetch"><link href="//static.leixin.com/57.js" rel="prefetch"><link href="//static.leixin.com/58.js" rel="prefetch"><link href="//static.leixin.com/59.js" rel="prefetch"><link href="//static.leixin.com/6.js" rel="prefetch"><link href="//static.leixin.com/60.js" rel="prefetch"><link href="//static.leixin.com/61.js" rel="prefetch"><link href="//static.leixin.com/62.js" rel="prefetch"><link href="//static.leixin.com/63.js" rel="prefetch"><link href="//static.leixin.com/64.js" rel="prefetch"><link href="//static.leixin.com/7.js" rel="prefetch"><link href="//static.leixin.com/8.js" rel="prefetch"><link href="//static.leixin.com/9.js" rel="prefetch"><link href="//static.leixin.com/app.js" rel="preload" as="script"></head>
<body class="boxsiz">
<noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment