diff --git a/src/assets/img/detail/authenticationInfoInte.svg b/src/assets/img/detail/authenticationInfoInte.svg new file mode 100644 index 0000000..d9f78a8 --- /dev/null +++ b/src/assets/img/detail/authenticationInfoInte.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/assets/img/detail/authenticationInfoInteTab.svg b/src/assets/img/detail/authenticationInfoInteTab.svg new file mode 100644 index 0000000..5d02c9e --- /dev/null +++ b/src/assets/img/detail/authenticationInfoInteTab.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/assets/img/detail/authenticationInfoR.svg b/src/assets/img/detail/authenticationInfoR.svg new file mode 100644 index 0000000..2851bfd --- /dev/null +++ b/src/assets/img/detail/authenticationInfoR.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/assets/img/detail/authenticationInfoTab.svg b/src/assets/img/detail/authenticationInfoTab.svg new file mode 100644 index 0000000..dff6b11 --- /dev/null +++ b/src/assets/img/detail/authenticationInfoTab.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/components/seachModule/authenticationInfo.vue b/src/components/seachModule/authenticationInfo.vue new file mode 100644 index 0000000..a16ffa1 --- /dev/null +++ b/src/components/seachModule/authenticationInfo.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/src/components/seachModule/seachModule.vue b/src/components/seachModule/seachModule.vue index 90b4e1b..d1e7707 100644 --- a/src/components/seachModule/seachModule.vue +++ b/src/components/seachModule/seachModule.vue @@ -29,7 +29,7 @@
- {{ item }} + {{ item }}
@@ -62,8 +62,9 @@
- - + +
- - + +
@@ -106,6 +108,7 @@ import choosingIdentity from '@/components/edit/choosingIdentity.vue' import { useRouter } from 'vue-router'; import store from '../../store/index'; import api from "../../utils/api"; +import authenticationInfo from './authenticationInfo.vue' const props = defineProps({ getDataList: { @@ -223,6 +226,11 @@ let setSeachVal = (item) => { seachList() // getDataList(seachAllType) } +//删除历史记录 +let deleteSeachVal=(i)=>{ + historyArr.data.splice(i,1) + localStorage.setItem('historyArr', JSON.stringify(historyArr.data)); +} //点击热门地区 let setHotSeach = (item) => { @@ -390,6 +398,10 @@ defineExpose({ color: #000000; } + .info-box :hover .img{ + display: block; + } + .info-box { display: flex; flex-wrap: wrap; @@ -400,11 +412,24 @@ defineExpose({ color: #555555; text-align: left; + .img { + width: 8px; + height: 8px; + position: absolute; + top:6px; + right:-8px; + cursor: pointer; + display: none; + } + .btn { - margin: 20px 30px 0 0; + margin: 10px 30px 0 0; + padding: 0 10px 0 0; cursor: pointer; word-wrap: break-word; max-width: 100%; + position: relative; + flex-wrap: wrap; } } } diff --git a/src/views/detail.vue b/src/views/detail.vue index e6819ff..f1b2e46 100644 --- a/src/views/detail.vue +++ b/src/views/detail.vue @@ -493,10 +493,10 @@ -
+
{{ item && item.name }}
-
+
{{ items.title }}