问题清单修复
This commit is contained in:
parent
faa7a61755
commit
a2824f157f
|
|
@ -66,6 +66,7 @@ declare module 'vue' {
|
||||||
TitleTip: typeof import('./src/components/TitleTip/index.vue')['default']
|
TitleTip: typeof import('./src/components/TitleTip/index.vue')['default']
|
||||||
UploadComponent: typeof import('./src/components/uploadComponent/index.vue')['default']
|
UploadComponent: typeof import('./src/components/uploadComponent/index.vue')['default']
|
||||||
UploadComponentNew: typeof import('./src/components/uploadComponentNew/index.vue')['default']
|
UploadComponentNew: typeof import('./src/components/uploadComponentNew/index.vue')['default']
|
||||||
|
UploadComponentNewTwo: typeof import('./src/components/uploadComponentNewTwo/index.vue')['default']
|
||||||
UploadImg: typeof import('./src/components/uploadImg.vue')['default']
|
UploadImg: typeof import('./src/components/uploadImg.vue')['default']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ const onHandelLessee = () => {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 140px;
|
height: 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,8 @@ const handlerLogout = () => {
|
||||||
router.push('/login')
|
router.push('/login')
|
||||||
store.cleanUpToken('')
|
store.cleanUpToken('')
|
||||||
store.clearUserInfo('')
|
store.clearUserInfo('')
|
||||||
|
localStorage.clear()
|
||||||
|
sessionStorage.clear()
|
||||||
ElMessage({
|
ElMessage({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '已退出登录',
|
message: '已退出登录',
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,8 @@ const handlerLogout = () => {
|
||||||
router.push('/login')
|
router.push('/login')
|
||||||
store.cleanUpToken('')
|
store.cleanUpToken('')
|
||||||
store.clearUserInfo('')
|
store.clearUserInfo('')
|
||||||
|
localStorage.clear()
|
||||||
|
sessionStorage.clear()
|
||||||
ElMessage({
|
ElMessage({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '已退出登录',
|
message: '已退出登录',
|
||||||
|
|
@ -104,6 +106,7 @@ const searchKeywordBtn = () => {
|
||||||
keywordIptValue.value = keywordIptValue.value.replace(/\s*/g, '')
|
keywordIptValue.value = keywordIptValue.value.replace(/\s*/g, '')
|
||||||
|
|
||||||
store.addHistoryRecord(keywordIptValue.value)
|
store.addHistoryRecord(keywordIptValue.value)
|
||||||
|
|
||||||
if (route.path == '/equipList') {
|
if (route.path == '/equipList') {
|
||||||
if (searchTypeName.value === '装备') {
|
if (searchTypeName.value === '装备') {
|
||||||
$bus.emit('search', keywordIptValue.value)
|
$bus.emit('search', keywordIptValue.value)
|
||||||
|
|
@ -115,7 +118,7 @@ const searchKeywordBtn = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (route.path == '/parity') {
|
if (route.path == '/parity') {
|
||||||
if (searchTypeName.value === '需求') {
|
if (searchTypeName.value == '需求') {
|
||||||
$bus.emit('search', keywordIptValue.value)
|
$bus.emit('search', keywordIptValue.value)
|
||||||
} else {
|
} else {
|
||||||
router.push({
|
router.push({
|
||||||
|
|
@ -139,6 +142,35 @@ const searchKeywordBtn = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (route.path == '/enterpriseZone') {
|
||||||
|
if (searchTypeName.value == '装备') {
|
||||||
|
router.push({
|
||||||
|
name: 'equipList',
|
||||||
|
query: { keyWord: keywordIptValue.value },
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if (searchTypeName.value == '需求') {
|
||||||
|
router.push({
|
||||||
|
name: 'parity',
|
||||||
|
query: { keyWord: keywordIptValue.value },
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (route.path.includes('equipDetail')) {
|
||||||
|
if (searchTypeName.value == '装备') {
|
||||||
|
router.push({
|
||||||
|
name: 'equipList',
|
||||||
|
query: { keyWord: keywordIptValue.value },
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if (searchTypeName.value == '需求') {
|
||||||
|
router.push({
|
||||||
|
name: 'parity',
|
||||||
|
query: { keyWord: keywordIptValue.value },
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 点击下方搜索记录时
|
// 点击下方搜索记录时
|
||||||
|
|
@ -224,7 +256,7 @@ const onJumpUser = () => {
|
||||||
<!-- 头部个人信息 收藏夹 手机版等图标 -->
|
<!-- 头部个人信息 收藏夹 手机版等图标 -->
|
||||||
<div class="header-container">
|
<div class="header-container">
|
||||||
<div class="header-user-info">
|
<div class="header-user-info">
|
||||||
<div class="header-box wapper">
|
<div class="header-box">
|
||||||
<div class="header-item" v-if="isShowLogout">
|
<div class="header-item" v-if="isShowLogout">
|
||||||
<!-- <img src="../assets/img/home/star.png" alt="" /> -->
|
<!-- <img src="../assets/img/home/star.png" alt="" /> -->
|
||||||
<a class="user-name"
|
<a class="user-name"
|
||||||
|
|
@ -303,10 +335,10 @@ const onJumpUser = () => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 中间logo 部分 -->
|
<!-- 中间logo 部分 -->
|
||||||
<div class="logo-ipt-container wapper">
|
<div class="logo-ipt-container">
|
||||||
<div class="home-logo">
|
<div class="home-logo">
|
||||||
<el-image
|
<el-image
|
||||||
style="width: 70%; margin-left: 60px; cursor: pointer"
|
style="width: 70%; margin-left: 100px; cursor: pointer"
|
||||||
:src="imgSrc"
|
:src="imgSrc"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
@click="$router.push('/mall-view')"
|
@click="$router.push('/mall-view')"
|
||||||
|
|
@ -422,13 +454,12 @@ const onJumpUser = () => {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.header-container {
|
.header-container {
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 999;
|
|
||||||
|
|
||||||
.header-user-info {
|
.header-user-info {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 头部个人信息部分 */
|
/* 头部个人信息部分 */
|
||||||
|
|
@ -554,14 +585,14 @@ const onJumpUser = () => {
|
||||||
// padding: 30px 0 60px 0;
|
// padding: 30px 0 60px 0;
|
||||||
|
|
||||||
.home-logo {
|
.home-logo {
|
||||||
width: 246px;
|
width: 286px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-search {
|
.home-search {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 800px;
|
width: 1000px;
|
||||||
margin-left: 20px;
|
margin-left: 40px;
|
||||||
|
|
||||||
.left-check-box {
|
.left-check-box {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -676,7 +707,7 @@ const onJumpUser = () => {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|
|
||||||
|
|
@ -18,21 +18,27 @@ onMounted(() => {})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<HeaderCom />
|
<div class="app-container">
|
||||||
<div class="container">
|
<HeaderCom />
|
||||||
<el-config-provider :locale="locale">
|
<div class="container">
|
||||||
<RouterView />
|
<el-config-provider :locale="locale">
|
||||||
</el-config-provider>
|
<RouterView />
|
||||||
|
</el-config-provider>
|
||||||
|
</div>
|
||||||
|
<FooterInfo v-if="isMyInfoPage()" />
|
||||||
</div>
|
</div>
|
||||||
<FooterInfo v-if="isMyInfoPage()" />
|
|
||||||
<!-- <FooterInfo /> -->
|
<!-- <FooterInfo /> -->
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
.app-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
.container {
|
.container {
|
||||||
width: 1200px;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow: hidden;
|
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
padding: 20px 30px;
|
padding: 20px 30px;
|
||||||
|
|
|
||||||
|
|
@ -1057,7 +1057,7 @@ const onAddCart = async () => {
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
|
|
||||||
.showImg {
|
.showImg {
|
||||||
width: 38%;
|
width: 40%;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
|
|
@ -1128,6 +1128,7 @@ const onAddCart = async () => {
|
||||||
.left {
|
.left {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
width: 62%;
|
width: 62%;
|
||||||
|
padding-left: 30px;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
.name {
|
.name {
|
||||||
|
|
@ -1147,7 +1148,7 @@ const onAddCart = async () => {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
font-size: 13px;
|
font-size: 16px;
|
||||||
font-family: PingFangSC, PingFang SC;
|
font-family: PingFangSC, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #005af2;
|
color: #005af2;
|
||||||
|
|
@ -1231,6 +1232,7 @@ const onAddCart = async () => {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
// justify-content: space-between;
|
// justify-content: space-between;
|
||||||
|
|
||||||
.collect {
|
.collect {
|
||||||
|
|
|
||||||
|
|
@ -270,7 +270,7 @@ const onSelectItem = (type: number) => {
|
||||||
</div>
|
</div>
|
||||||
<!-- 热搜装备 -->
|
<!-- 热搜装备 -->
|
||||||
|
|
||||||
<div class="hot-equip-container">
|
<div class="hot-equip-container" v-if="false">
|
||||||
<div class="hot-equip">
|
<div class="hot-equip">
|
||||||
<span>最新装备</span>
|
<span>最新装备</span>
|
||||||
<a
|
<a
|
||||||
|
|
@ -382,7 +382,7 @@ const onSelectItem = (type: number) => {
|
||||||
}
|
}
|
||||||
.home-index-banner {
|
.home-index-banner {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 20px 15px;
|
padding: 20px 5px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
@ -396,7 +396,7 @@ const onSelectItem = (type: number) => {
|
||||||
.left-nav {
|
.left-nav {
|
||||||
// padding: 10px 0;
|
// padding: 10px 0;
|
||||||
// margin-top: 8px;
|
// margin-top: 8px;
|
||||||
width: 200px;
|
width: 270px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
@ -473,8 +473,8 @@ const onSelectItem = (type: number) => {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: none;
|
display: none;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 200px;
|
left: 270px;
|
||||||
width: 915px;
|
width: 1200px;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
|
||||||
|
|
@ -667,7 +667,7 @@ const costSubmit = () => {
|
||||||
: ''
|
: ''
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ goods.days }}{{ ' ' + '天' }}
|
{{ goods.originDays }}{{ ' ' + '天' }}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="item.orderStatus == 20">
|
<span v-if="item.orderStatus == 20">
|
||||||
{{
|
{{
|
||||||
|
|
|
||||||
|
|
@ -917,7 +917,7 @@ const wordUrl = ref('')
|
||||||
: ''
|
: ''
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ goods.days }}{{ ' ' + '天' }}
|
{{ goods.originDays }}{{ ' ' + '天' }}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="item.orderStatus == 20">
|
<span v-if="item.orderStatus == 20">
|
||||||
{{
|
{{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue