中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當前位置: 首頁 > news >正文

淘寶客怎么做自己網站推廣東莞網絡推廣托管

淘寶客怎么做自己網站推廣,東莞網絡推廣托管,如何做網站搭建,如何自建網頁這個菜單組件 一般可以直接用到項目里 如果復用性不強的話 直接使用 但是有一個問題 如果很多地方都需要用到這個組件 我們可以把這個組件二次封裝一下 <template><div class"cinema-search-filter-component"><nut-menu><template #icon>&…

這個菜單組件 一般可以直接用到項目里 如果復用性不強的話 直接使用

但是有一個問題 如果很多地方都需要用到這個組件

我們可以把這個組件二次封裝一下

<template><div class="cinema-search-filter-component"><nut-menu><template #icon><TriangleDown size="12" /></template><nut-menu-itemv-model="searchFilter.regionValue":title="currentRegionTitle":options="searchFilter.region"/><nut-menu-itemv-model="searchFilter.brandValue":title="currentBrandTitle":options="searchFilter.brand"/></nut-menu></div>
</template>
<script setup lang="ts">
import { ref, reactive, computed, onMounted, watch } from "vue";
import { useLocationStore } from "../../store";
import { TriangleDown } from "@nutui/icons-vue-taro";
const locationStore = useLocationStore();
let searchFilter = ref({region: [{ text: "全部", title: "全城", value: 0 }],brand: [{ text: "全部", title: "品牌", value: 0 }],regionValue: 0,brandValue: 0,
});
onMounted(() => {getRegionData();
});
const emit = defineEmits(["onRegionChanged", "onBrandChanged"]);
watch(() => searchFilter.value.regionValue,(newVal) => {emit("onRegionChanged", newVal);}
);
watch(() => searchFilter.value.brandValue,(newVal) => {emit("onBrandChanged", newVal);}
);
watch(() => locationStore.selectCityinfo,(newVal) => {getRegionData();}
);
const currentRegionTitle = computed(() => {const arr = searchFilter.value.region;const value = searchFilter.value.regionValue;return arr.find((item) => {return item.value === value;})?.title;
});
const currentBrandTitle = computed(() => {const arr = searchFilter.value.brand;const value = searchFilter.value.brandValue;return arr.find((item) => {return item.value === value;})?.title;
});
const getRegionData = async () => {initData();// const cityId = locationStore.selectCityinfo.cityId;// const res: any = await cityApi.region(cityId);// const arr = searchFilter.value.region;// res.forEach((item) => {//   arr.push({//     text: item.regionname,//     title: item.regionname,//     value: item.regionid,//   });// });// searchFilter.value.region = arr;
};
const initData = () => {searchFilter.value = {region: [{ text: "全部", title: "全城", value: 0 }],brand: [{ text: "全部", title: "品牌", value: 0 }],regionValue: 0,brandValue: 0,};
};
</script>
<style lang="scss">
.cinema-search-filter-component {display: flex;flex-direction: column;//   background: #fff;.nut-menu .nut-menu__bar {box-shadow: none !important;}.nut-menu__title-text {font-size: 24px;}.nut-menu__bar {background: none !important;}
}
</style>

基本上就是這樣的

http://www.risenshineclean.com/news/6236.html

相關文章:

  • 做網站投注代理犯罪嗎百度熱搜榜排名今日第一
  • 嗶哩嗶哩免費安裝論壇seo網站
  • 深圳網站建設創(chuàng)造者網站關鍵詞排名外包
  • 網站標頭設計濟南百度公司
  • 設計友好的網站四川百度推廣排名查詢
  • 長春網站制作軟件seo快速優(yōu)化方法
  • b2b網站建設排名長春網站建設團隊
  • 網站小程序制作公司seo是誰
  • 湘潭交通網站網頁查詢
  • 江蘇優(yōu)化網站公司代理推廣
  • 做資訊類網站需要特殊資質嗎怎樣推廣app別人才愿意下載
  • 做視頻課程網站免費收錄網站推廣
  • 學校網站策劃書網站之家
  • 蕪湖尚格網絡科技有限公司北京網站seo招聘
  • wordpress v4.1廣州市口碑seo推廣
  • 小學教學活動設計方案模板桔子seo網
  • 純靜態(tài)網站怎么做社區(qū)推廣方法有哪些
  • 深圳建網站seo中國十大it培訓機構排名
  • wordpress調用指定菜單關鍵詞排名手機優(yōu)化軟件
  • 網站制作 北京網站建設公司seo搜索鋪文章
  • 鄭州網站建設zhuotop網絡新聞發(fā)布平臺發(fā)稿
  • 請舉例說明什么是網絡營銷seo是做什么工作的
  • 上海seo網站優(yōu)化百度推廣代運營
  • 建筑八大員證報考網站seo排名影響因素主要有
  • wordpress301不能用免費網站推廣優(yōu)化
  • 管理咨詢公司有哪些如何網頁優(yōu)化
  • 珠海商城網站制作西安百度首頁優(yōu)化
  • 網站開發(fā)公司網絡推廣的作用
  • 廣西網站建設推廣報價網絡營銷軟文范例
  • 盤龍區(qū)網絡推廣群排名優(yōu)化軟件官網