liyongle 3 years ago
parent
commit
5bd36ffaaa
  1. 7
      CHANGELOG.md
  2. 4
      package-lock.json
  3. 2
      package.json
  4. 5
      src/assets/images/search/icon_area.svg
  5. 5
      src/components/ActivityDetail/ActivityDetail.vue
  6. 8
      src/components/SearchResultListItem/SearchResultListItem.vue
  7. 16
      src/views/Brand/shopList.vue

7
CHANGELOG.md

@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.0.4-B.0](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.3...v1.0.4-B.0) (2023-08-07)
### Bug Fixes
* 修改品牌模块推荐页自适应,不显示景观城和B2B3,修改搜索页面结果显示区域 ([882f061](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/commit/882f061cddbf62e94db1daff15052707fea9cbf4))
### [1.0.3](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.3-B.0...v1.0.3) (2023-08-05)
### [1.0.3-B.0](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.2...v1.0.3-B.0) (2023-08-05)

4
package-lock.json

@ -1,12 +1,12 @@
{
"name": "vue_cli_ts",
"version": "1.0.3",
"version": "1.0.4-B.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vue_cli_ts",
"version": "1.0.3",
"version": "1.0.4-B.0",
"dependencies": {
"@better-scroll/core": "^2.5.0",
"@better-scroll/observe-image": "^2.5.0",

2
package.json

@ -1,6 +1,6 @@
{
"name": "vue_cli_ts",
"version": "1.0.3",
"version": "1.0.4-B.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",

5
src/assets/images/search/icon_area.svg

@ -0,0 +1,5 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="&#229;&#159;&#186;&#231;&#161;&#128;/&#228;&#186;&#140;&#231;&#186;&#167;&#232;&#143;&#156;&#229;&#141;&#149;/&#230;&#156;&#141;&#229;&#138;&#161;-&#229;&#145;&#168;&#232;&#190;&#185;">
<path id="&#231;&#159;&#162;&#233;&#135;&#143;" d="M16.6667 2.5C17.1267 2.5 17.5 2.87333 17.5 3.33333V16.6667C17.5 17.1267 17.1267 17.5 16.6667 17.5H3.33333C2.87333 17.5 2.5 17.1267 2.5 16.6667V3.33333C2.5 2.87333 2.87333 2.5 3.33333 2.5H16.6667ZM9.32417 10.965L4.16667 11.875V15.8333H10.1817L9.32333 10.965H9.32417ZM15.8333 4.16667H9.8175L11.8742 15.8333H15.8333V4.16667ZM8.125 4.16667H4.16667V10.1817L9.035 9.32333L8.125 4.16667Z" fill="#615C59"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 751 B

5
src/components/ActivityDetail/ActivityDetail.vue

@ -162,6 +162,11 @@ function handleGo() {
const facList = res.data
console.log('props.actInfo.facilityCode :>> ', props.actInfo.facilityCode)
const fac = facList.find(item => item.code === props.actInfo.facilityCode)
const obj = store.facilityList.find(item => item.abbreviation === fac?.abbreviation)
if (obj && fac) {
fac.navFilePath = obj.navFilePath
}
if (fac) {
handleFacility(toRaw(fac))
}

8
src/components/SearchResultListItem/SearchResultListItem.vue

@ -6,6 +6,8 @@
<div class="bottom">
<span class="name">{{ switchLanguage(shop, 'shopName') }}</span>
<span class="floor-name">
<img src="@/assets/images/search/icon_area.svg" alt="" />
<span class="format-name">{{ switchLanguage(shop, 'regionName') }}</span>
<img v-if="shop.industryUrl" :src="shop.industryUrl" alt="" />
<span class="format-name">{{ switchLanguage(shop, 'industryFatherName') }}</span>
<img src="@/assets/images/search/pos.svg" alt="" />
@ -59,13 +61,13 @@ const emits = defineEmits(['click'])
align-items: center;
width: 100%;
height: 28px;
padding-right: 40px;
padding-right: 32px;
padding-left: 32px;
font-family: 'font_bold';
line-height: 28px;
.name {
// max-width: 460px;
width: 460px;
width: 398px;
padding-right: 20px;
font-size: 24px;
color: #8e9090;
@ -85,7 +87,7 @@ const emits = defineEmits(['click'])
margin-right: 8px;
}
.format-name {
width: 96px;
width: 84px;
@include no-wrap();
}

16
src/views/Brand/shopList.vue

@ -1,5 +1,5 @@
<template>
<div class="shop-list">
<div class="shop-list" :class="{ 'no-rec': recList.length === 0 }">
<!-- -->
<switchtab
class="switch-btn"
@ -19,6 +19,7 @@
:refresh-delay="200"
:pull-up="true"
:list="pageList"
:class="{ 'no-rec': recList.length === 0 }"
@scroll-end="myScrollEnd"
>
<!-- <swiper
@ -199,7 +200,9 @@ const floorsList = computed(() => {
floorOrder: -1,
floorMapCode: ''
},
...currentBuildingFloorsList.value
...currentBuildingFloorsList.value.filter(
item => item.floor !== 'B2' && item.floor !== 'B3' && item.floorOrder < currentBuildingFloorsList.value.length - 1
)
]
})
const recList = ref<Shop[]>([])
@ -381,6 +384,9 @@ function myScrollEnd() {
height: 1080px;
padding-top: 0;
padding-left: 0;
&.no-rec {
width: 1790px;
}
.right-control-area {
position: absolute;
top: 134px;
@ -499,6 +505,12 @@ function myScrollEnd() {
.swiper-wrapper {
height: auto;
}
&.no-rec {
width: 1532px;
.shop-items {
width: 1532px;
}
}
.shop-items {
width: 1388px;

Loading…
Cancel
Save