| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224 |
- <template>
- <HomePageHead></HomePageHead>
- <HomePageNavigation></HomePageNavigation>
- <!-- 三农市场网-商城 -->
- <main class="index_main">
- <div class="shop_head_1 clearfix back100 phone_none">
- <span class="shop_head_1_a" href="" title="">{{ categoryName }}</span>
- </div>
- <!-- 导航 -->
- <!-- 二级栏目个数大于等于4 -->
- <section class="shop_2 clearfix phone_none" v-if="pageData.length >= 4">
- <div class="shop_2_in clearfix">
- <div class="shop_2_in_box clearfix shop_2_in_box_even">
- <div class="shop_2_box clearfix" v-if="pageData.length > 0">
- <NuxtLink class="shop_2_name" :href="`/${pageData[0].aLIas_pinyin}/index.html`"
- :title="pageData[0].title">
- {{ pageData[0].alias }}
- </NuxtLink>
- <div class="shop_2_right clearfix">
- <a class="shop_2_a" :href="`${pageData[0].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[0].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- <div class="shop_2_box clearfix" v-if="pageData.length > 1">
- <NuxtLink class="shop_2_name" :href="`/${pageData[1].aLIas_pinyin}/index.html`"
- :title="pageData[1].title">
- {{ pageData[1].alias }}
- </NuxtLink>
- <div class="shop_2_right clearfix">
- <a class="shop_2_a" :href="`${pageData[1].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[1].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- </div>
- <div class="shop_2_in_box clearfix">
- <div class="shop_2_box clearfix" v-if="pageData.length > 2">
- <NuxtLink class="shop_2_name" :href="`/${pageData[2].aLIas_pinyin}/index.html`"
- :title="pageData[2].title">
- {{ pageData[2].alias }}
- </NuxtLink>
- <div class="shop_2_right clearfix">
- <a class="shop_2_a" :href="`${pageData[2].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[2].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- <div class="shop_2_box clearfix" v-if="pageData.length > 3">
- <NuxtLink class="shop_2_name" :href="`/${pageData[3].aLIas_pinyin}/index.html`"
- :title="pageData[3].title">
- {{ pageData[3].alias }}
- </NuxtLink>
- <div class="shop_2_right clearfix">
- <a class="shop_2_a" :href="`${pageData[3].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[3].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- </div>
- </div>
- <div class="shop_2_in_2 clearfix" v-if="pageData.length > 4">
- <NuxtLink class="shop_2_name_2" :href="`/${pageData[4].aLIas_pinyin}/index.html`"
- :title="pageData[4].title">
- {{ pageData[4].alias }}
- </NuxtLink>
- <div class="shop_2_right_2 clearfix">
- <a class="shop_2_a_2" :href="`${pageData[4].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[4].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- </section>
- <!-- 二级栏目个数小于等于3 -->
- <section class="shop_2 clearfix phone_none" v-if="pageData.length <= 3">
- <div class="shop_2_in clearfix">
- <div class="shop_2_in_box clearfix shop_2_in_box_even">
- <div class="shop_2_box clearfix" v-if="pageData.length > 0">
- <NuxtLink class="shop_2_name" :href="`/${pageData[0].aLIas_pinyin}/index.html`"
- :title="pageData[0].title">
- {{ pageData[0].alias }}
- </NuxtLink>
- <div class="shop_2_right clearfix">
- <a class="shop_2_a" :href="`${pageData[0].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[0].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- </div>
- <div class="shop_2_in_box clearfix">
- <div class="shop_2_box clearfix" v-if="pageData.length > 1">
- <NuxtLink class="shop_2_name" :href="`/${pageData[1].aLIas_pinyin}/index.html`"
- :title="pageData[1].title">
- {{ pageData[1].alias }}
- </NuxtLink>
- <div class="shop_2_right clearfix">
- <a class="shop_2_a" :href="`${pageData[1].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[1].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- </div>
- </div>
- <div class="shop_2_in_2 clearfix" v-if="pageData.length > 2">
- <NuxtLink class="shop_2_name_2" :href="`/${pageData[2].aLIas_pinyin}/index.html`"
- :title="pageData[2].title">
- {{ pageData[2].alias }}
- </NuxtLink>
- <div class="shop_2_right_2 clearfix">
- <a class="shop_2_a_2" :href="`${pageData[2].pinyin}/${item.aLIas_pinyin}/list-1.html`"
- :title="item.alias" v-for="(item, index) in pageData[2].children" :key="index">
- {{ item.alias }}</a>
- </div>
- </div>
- </section>
-
- <div class="phone_nav pc_none">
- <div class="phone_nav_in">
- <NuxtLink class="phone_nav_a"
- v-if="pageData.length > 0"
- :href="`/${pageData[0].aLIas_pinyin}/index.html`">
- {{ pageData[0].alias }}
- </NuxtLink>
- <NuxtLink class="phone_nav_a"
- v-if="pageData.length > 1"
- :href="`/${pageData[1].aLIas_pinyin}/index.html`" >
- {{ pageData[1].alias }}
- </NuxtLink>
- <NuxtLink class="phone_nav_a"
- v-if="pageData.length > 2"
- :href="`/${pageData[2].aLIas_pinyin}/index.html`" >
- {{ pageData[2].alias }}
- </NuxtLink>
- <NuxtLink class="phone_nav_a"
- v-if="pageData.length > 3"
- :href="`/${pageData[3].aLIas_pinyin}/index.html`" >
- {{ pageData[3].alias }}
- </NuxtLink>
- <NuxtLink class="phone_nav_a"
- v-if="pageData.length > 4"
- :href="`/${pageData[4].aLIas_pinyin}/index.html`" >
- {{ pageData[4].alias }}
- </NuxtLink>
- </div>
- </div>
- <section class="shop_3 clearfix phone_none" v-if="goodsData.length > 0">
- <!-- 农产批发1 -->
- <div class="shop_3_in clearfix">
- <div class="shop_head_2 clearfix">
- <NuxtLink class="shop_head_2_name" :href="`/${goodsData[0].aLIas_pinyin}/index.html`"
- :title="goodsData[0].title">{{ goodsData[0].alias }}</NuxtLink>
- </div>
- <div class="shop_img_ul_1 clearfix" v-if="goodsData[0].data">
- <div class="shop_img_li_1 clearfix" v-for="(item, index) in goodsData[0].data" :key="index">
- <a class="shop_img_li_1_a" :href="getLinkPathDetail(item)" :title="item.title">
- <div class="shop_img_li_1_img_box clearfix">
- <img class="shop_img_li_1_img" :src="item.imgurl" title="" alt="">
- </div>
- <div class="shop_img_li_1_right clearfix">
- <h4 class="shop_img_li_1_h4 dot2">{{ item.name }}</h4>
- <div class="shop_img_li_1_tag">
- {{ item.type_id == 1 ? '求购' : '供应' }}
- </div>
- <a class="shop_img_li_1_btn" :href="getLinkPathDetail(item)">查看详情</a>
- </div>
- </a>
- </div>
- </div>
- </div>
- <div class="shop_3_in clearfix">
- <div class="shop_head_3 clearfix">
- <!-- <a class="shop_head_3_more" :href="`/${goodsData[0].aLIas_pinyin}/index.html`"
- :title="goodsData[0].title">栏目简介</a> -->
- </div>
- <div class="shop_ul_1 clearfix" v-if="goodsData[0].data1.length > 0">
- <div class="shop_li_1 clearfix" v-for="(item, index) in goodsData[0].data1" :key="index">
- <a class="shop_li_1_a" :href="getLinkPathDetail(item)" :title="item.title">
- <div class="shop_li_1_left">
- <h4 class="shop_li_1_h4 dot1">{{ item.name }}</h4>
- <div class="shop_li_1_text dot1">{{ item.description }}</div>
- </div>
- <a class="shop_li_1_btn" :href="getLinkPathDetail(item)">查看详情</a>
- </a>
- </div>
- </div>
- </div>
- <!-- 集贸市场2 -->
- </section>
-
- <div class="phone_shop_1 clearfix pc_none" v-if="goodsData.length > 0">
-
- <div class="phone_shop_head">
-
- <NuxtLink class="phone_shop_head_a"
- :href="`/${goodsData[0].aLIas_pinyin}/index.html`">
- {{ goodsData[0].alias }}
- </NuxtLink>
- </div>
- <div class="phone_shop_img_ul clearfix" v-if="goodsData[0].data">
- <div class="phone_shop_img_li" v-for="(item, index) in goodsData[0].data.slice(0, 2)" :key="index">
- <a class="phone_shop_img_li_a" :href="getLinkPathDetail(item)" >
- <img class="phone_shop_img" :src="item.imgurl" :alt="item.title" >
- <div class="phone_shop_img_li_dot2">
- {{ item.name }}
- </div>
- <div class="phone_shop_img_foot">
- <span class="phone_shop_img_foot_1">{{ item.type_id == 1 ? '求购' : '供应' }}</span>
- <span class="phone_shop_img_foot_2">查看详情</span>
- </div>
- </a>
- </div>
- </div>
- </div>
-
- <div class="phone_shop_1_text_box clearfix pc_none" v-if="goodsData.length > 0">
-
- <div class="phone_shop_text_ul" v-if="goodsData[0].data1.length > 0">
- <div class="phone_shop_text_li" v-for="(item, index) in goodsData[0].data1.slice(0, 6)" :key="index">
- <a class="phone_shop_text_li_a" :href="getLinkPathDetail(item)">
- <h4 class="phone_shop_text_li_h4"> {{ item.name }}</h4>
- <div class="phone_shop_text_li_dot1">{{ item.description }}</div>
- </a>
- </div>
- </div>
- </div>
-
- <section class="shop_4 clearfix phone_none" v-if="goodsData.length > 2">
- <!-- 名品之窗1 -->
- <div class="shop_3_in clearfix" v-if="goodsData.length > 1">
- <div class="shop_head_4 clearfix">
- <NuxtLink class="shop_head_4_name" :href="`/${goodsData[1].aLIas_pinyin}/index.html`"
- :title="goodsData[1].title">{{ goodsData[1].alias }}</NuxtLink>
- </div>
- <div class="shop_img_ul_2 clearfix">
- <div class="shop_img_li_2 clearfix" v-for="(item, index) in goodsData[1].data" :key="index">
- <a class="shop_img_li_2_a" href="" title="">
- <div class="shop_img_li_2_img_box clearfix">
- <img class="shop_img_li_2_img" :src="item.imgurl" title="" alt="">
- </div>
- <div class="shop_img_li_2_right clearfix">
- <h4 class="shop_img_li_2_h4 dot2">{{ item.name }}</h4>
- <div class="shop_img_li_2_tag">
- {{ item.type_id == 1 ? '求购' : '供应' }}
- </div>
- <div class="shop_img_li_2_btn">查看详情</div>
- </div>
- </a>
- </div>
- </div>
- </div>
- <!-- 名品之窗2 -->
- <!-- 供求信息1 -->
- <div class="shop_3_in clearfix" v-if="goodsData.length > 2">
- <div class="shop_head_5 clearfix">
- <NuxtLink class="shop_head_5_name" :href="`/${goodsData[2].aLIas_pinyin}/index.html`"
- :title="goodsData[2].title">{{ goodsData[2].alias }}</NuxtLink>
- </div>
- <div class="shop_img_ul_3 clearfix">
- <div class="shop_img_li_3 clearfix" v-for="(item, index) in goodsData[2].data" :key="index">
- <a class="shop_img_li_3_a" href="" title="">
- <div class="shop_img_li_3_img_box clearfix">
- <img class="shop_img_li_3_img" :src="item.imgurl" title="" alt="">
- </div>
- <div class="shop_img_li_3_right clearfix">
- <h4 class="shop_img_li_3_h4 dot2">{{ item.name }}</h4>
- <div class="shop_img_li_3_tag">
- {{ item.type_id == 1 ? '求购' : '供应' }}
- </div>
- <div class="shop_img_li_3_btn">查看详情</div>
- </div>
- </a>
- </div>
- </div>
- </div>
- <!-- 供求信息2 -->
- </section>
-
- <div class="phone_shop_2 clearfix pc_none" v-if="goodsData.length > 1">
- <div class="phone_shop_head">
- <NuxtLink class=""
- :href="`/${goodsData[1].aLIas_pinyin}/index.html`"
- :title="goodsData[1].title">{{ goodsData[1].alias }}
- </NuxtLink>
- </div>
- <div class="phone_shop_img_ul clearfix">
- <div class="phone_shop_img_li" v-for="(item, index) in goodsData[1].data.slice(0, 4)" :key="index">
- <a class="phone_shop_img_li_a" href="" >
- <img class="phone_shop_img" :src="item.imgurl" alt="" >
- <div class="phone_shop_img_li_dot2">
- {{ item.name }}
- </div>
- <div class="phone_shop_img_foot">
- <span class="phone_shop_img_foot_1">{{ item.type_id == 1 ? '求购' : '供应' }}</span>
- <span class="phone_shop_img_foot_2">查看详情</span>
- </div>
- </a>
- </div>
- </div>
- </div>
-
- <div class="phone_shop_3 clearfix pc_none" v-if="goodsData.length > 2">
- <div class="phone_shop_head">
- <NuxtLink class=""
- :href="`/${goodsData[2].aLIas_pinyin}/index.html`" >
- {{ goodsData[2].alias }}
- </NuxtLink>
- </div>
- <div class="phone_shop_img_ul clearfix" >
- <div class="phone_shop_img_li" v-for="(item, index) in goodsData[2].data.slice(0, 4)" :key="index">
- <a class="phone_shop_img_li_a" href="" >
- <img class="phone_shop_img" :src="item.imgurl" alt="" >
- <div class="phone_shop_img_li_dot2">
- {{ item.name }}
- </div>
- <div class="phone_shop_img_foot">
- <span class="phone_shop_img_foot_1">{{ item.type_id == 1 ? '求购' : '供应' }}</span>
- <span class="phone_shop_img_foot_2">查看详情</span>
- </div>
- </a>
- </div>
- </div>
- </div>
- <div class="ad phone_none" v-if="goodsData.length > 0">
- <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
- </div>
- <!-- 资讯 -->
- <section class="shop_5 clearfix phone_none" v-if="newsData.length > 0">
- <!-- 农产动态 1-->
- <div class="shop_5_left clearfix" v-if="newsData.length > 0">
- <div class="shop_head_7 clearfix">
- <NuxtLink :href="`/${newsData[0].aLIas_pinyin}/index.html`" class="shop_head_7_name">
- {{ newsData[0].alias }}
- </NuxtLink>
- <!-- <NuxtLink :href="`/${newsData[0].aLIas_pinyin}/index.html`" class="shop_head_7_more"
- :title="newsData[0].title">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="shop_box_1 clearfix">
- <div class="shop_img_ul_4 clearfix">
- <div class="shop_img_li_4 clearfix">
- <NuxtLink class="shop_img_li_4_a" :href="getLinkPathDetail(item)"
- v-for="(item, index) in newsData[0].data" :title="item.title" :key="index">
- <img class="shop_img_li_4_img" :src="item.imgurl" :title="item.title" alt="">
- <div class="shop_img_li_4_rgba clearfix dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="shop_img_ul_5 clearfix">
- <div class="shop_img_li_5 clearfix" v-for="(item, index) in newsData[0].data1" :key="index">
- <NuxtLink class="shop_img_li_5_a" :href="`/${item.pinyin}/${item.id}.html`"
- :title="item.title">
- <img class="shop_img_li_5_img" :src="item.imgurl" :title="item.title" alt="">
- <div class="shop_img_li_5_rgba clearfix dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="shop_box_2 clearfix">
- <div class="shop_ul_2 clearfix">
- <NuxtLink class="shop_li_2 clearfix dot1" :href="`/${item.pinyin}/${item.id}.html`"
- :title="item.title" v-for="(item, index) in newsData[0].data2" :key="index">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 农产动态 2-->
- <!-- 农产知识 1-->
- <div class="shop_5_right clearfix" v-if="newsData.length > 1">
- <div class="shop_head_8 clearfix">
- <NuxtLink :href="`/${newsData[1].aLIas_pinyin}/index.html`" class="shop_head_8_name">
- {{ newsData[1].alias }}
- </NuxtLink>
- <!-- <NuxtLink :href="`/${newsData[1].aLIas_pinyin}/index.html`" class="shop_head_8_more"
- :title="newsData[1].title">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="shop_img_ul_6 clearfix">
- <div class="shop_img_li_6 clearfix">
- <NuxtLink class="shop_img_li_6_a" :href="getLinkPathDetail(item)"
- v-for="(item, index) in newsData[1].data" :key="index" :title="item.title">
- <img class="shop_img_li_6_img" :src="item.imgurl" title="" alt="">
- <div class="shop_img_li_6_rgba clearfix dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="shop_ul_3 clearfix">
- <NuxtLink class="shop_li_3 dot1" :href="`/${item.pinyin}/${item.id}.html`" :title="item.title"
- v-for="(item, index) in newsData[1].data2" :key="index">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <!-- 农产知识 2-->
- </section>
- <div class="phone_box_1 pc_none" v-if="newsData.length > 0">
- <div class="phone_shop_head">
- <NuxtLink :href="`/${newsData[0].aLIas_pinyin}/index.html`"
- class="phone_shop_head_a">
- {{ newsData[0].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
- <div class="" >
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="(item, index) in newsData[0].data" :title="item.title" :key="index">
- <img class="" :src="item.imgurl" alt="">
- <span class="">
- {{ item.title }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_1_ul">
- <NuxtLink class="" :href="`/${item.pinyin}/${item.id}.html`"
- v-for="(item, index) in newsData[0].data2.slice(0, 4)" :key="index">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_2 pc_none" v-if="newsData.length > 1">
-
- <div class="phone_shop_head" >
- <NuxtLink
- :href="`/${newsData[1].aLIas_pinyin}/index.html`"
- class="phone_shop_head_a">
- {{ newsData[1].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul" >
- <div class="" >
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="(item, index) in newsData[1].data"
- :key="index">
- <img class="" :src="item.imgurl" alt="">
- <span class="">
- {{ item.title }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_1_ul" >
- <NuxtLink class=""
- :href="`/${item.pinyin}/${item.id}.html`"
- v-for="(item, index) in newsData[1].data2.slice(0, 2)"
- :key="index">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
-
-
- <section class="shop_6 clearfix phone_none" v-if="newsData.length > 2">
- <!-- 农产会展1 -->
- <div class="shop_6_left clearfix" v-if="newsData.length > 2">
- <div class="shop_head_9 clearfix">
- <NuxtLink :href="`/${newsData[2].aLIas_pinyin}/index.html`" class="shop_head_9_name">
- {{ newsData[2].alias }}
- </NuxtLink>
- <!-- <NuxtLink :href="`/${newsData[2].aLIas_pinyin}/index.html`" class="shop_head_9_more"
- :title="newsData[2].title">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="shop_box_3 clearfix">
- <div class="shop_img_ul_7 clearfix">
- <div class="shop_img_li_7 clearfix">
- <NuxtLink class="shop_img_li_7_a" :href="getLinkPathDetail(item)"
- v-for="(item, index) in newsData[2].data" :key="index" :title="item.title">
- <img class="shop_img_li_7_img" :src="item.imgurl" :title="item.title" alt="">
- <div class="shop_img_li_7_rgba clearfix dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="shop_box_4 clearfix">
- <div class="shop_ul_4 clearfix">
- <NuxtLink :href="`/${item.pinyin}/${item.id}.html`" :title="item.title"
- class="shop_li_4 clearfix dot1" v-for="(item, index) in newsData[2].data2" :key="index">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 农产会展2 -->
- <!-- 农产商机1 -->
- <div class="shop_6_right clearfix" v-if="newsData.length > 3">
- <div class="shop_head_10 clearfix">
- <NuxtLink :href="`/${newsData[3].aLIas_pinyin}/index.html`" class="shop_head_10_name">
- {{ newsData[3].alias }}
- </NuxtLink>
- <!-- <NuxtLink :href="`/${newsData[3].aLIas_pinyin}/index.html`" class="shop_head_10_more"
- :title="newsData[3].title">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="shop_box_5 clearfix" v-if="newsData[3].data">
- <div class="shop_img_ul_8 clearfix">
- <div class="shop_img_li_8 clearfix" v-for="(item, index) in newsData[3].data" :key="index">
- <NuxtLink class="shop_img_li_8_a" :href="`/${item.pinyin}/${item.id}.html`"
- :title="item.title">
- <img class="shop_img_li_8_img" :src="item.imgurl" title="" alt="">
- <div class="shop_img_li_8_rgba clearfix dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="shop_box_6 clearfix" v-if="newsData[3].data2">
- <div class="shop_ul_5 clearfix">
- <div class="shop_li_5 clearfix" v-for="(item, index) in newsData[3].data2" :key="index">
- <div class="shop_li_5_in clearfix">
- <NuxtLink class="shop_li_5_a dot2" :href="`/${item.pinyin}/${item.id}.html`"
- :title="item.title">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 农产商机2 -->
- </section>
-
- <div class="phone_box_3 pc_none" v-if="newsData.length > 2">
- <div class="phone_shop_head">
- <NuxtLink :href="`/${newsData[2].aLIas_pinyin}/index.html`"
- class="phone_shop_head_a">
- {{ newsData[2].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
- <div class="" >
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="(item, index) in newsData[2].data"
- :key="index" :title="item.title">
- <img class=" " :src="item.imgurl" alt="">
- <span class=" ">
- {{ item.title }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_1_ul">
- <NuxtLink
- :href="`/${item.pinyin}/${item.id}.html`"
- class=""
- v-for="(item, index) in newsData[2].data2.slice(0, 4)"
- :key="index">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
-
- </main>
- <HomeFoot></HomeFoot>
- </template>
- <script setup>
- import { NuxtLink } from '#components';
- import { ref } from 'vue'
- import { ElRadio, ElRadioGroup, ElMessage } from 'element-plus'
- //1.获得路由id start ---------------------------------------->
- const targetSegment = getRoutePath(1);
- //1.1 获得当前的路由id
- let routeId;
- let categoryName;
- //通过导航路径反向查询导航id
- const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
- method: 'GET',
- query: {
- 'pinyin': targetSegment,
- },
- });
- if (getRouteId.code == 200) {
- routeId = getRouteId.data.category_id
- categoryName = getRouteId.data.alias
-
- } else {
- console.log("获得路由id出错!", getRouteId.message)
- }
- //1.获得路由id end ---------------------------------------->
- //3.广告 start ---------------------------------------->
- let adImg1 = ref({})
- onMounted(async () => {
- //从客户端获取行政职能部门 加快打开速度
- const { $webUrl, $CwebUrl } = useNuxtApp();
- //广告1
- let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snscw_category_0001`
- const responseAd1 = await fetch(url, {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const resultAd1 = await responseAd1.json();
- adImg1.value = resultAd1.data[0];
- })
- //3.广告 end ---------------------------------------->
- //4.页面数据 start ---------------------------------------->
- const pageData = ref([
- //示例:
- // {
- // id: 1,
- // title: "", //该导航的标题
- // data: [], //数据1
- // data1: [], //数据2
- // data2: [], //数据3
- // data3: [], //数据4
- // data4: [], //数据5
- // category_id1: "", //子导航id1
- // category_id2: "",
- // category_id3: "",
- // category_id4: "",
- // title1: "", //子导航标题1
- // title2: "",
- // title3: "",
- // title4: "",
- // cid: "" //该导航的id
- // },
- ])
- const goodsData = ref([])
- const newsData = ref([])
-
- //4.1 获取所有导航
- try {
- const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
- method: 'GET',
- query: {
- 'placeid': 1,
- 'pid': routeId,
- 'num': 8,
- 'type': 1
- },
- });
-
- if (navigateData.code == 200) {
- // 遍历可用的导航池放到页面中
- for (let index in navigateData.data) {
- let data = {
- title: navigateData.data[index].name,
- cid: navigateData.data[index].category_id,
- children_count: navigateData.data[index].children_count,
- alias: navigateData.data[index].alias,
- aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
- children: navigateData.data[index].children,
- type: navigateData.data[index].type,
- pinyin: navigateData.data[index].aLIas_pinyin,
- data: [],
- data1: [],
- data2: [],
- data3: [],
- data4: [],
- category_id1: "",
- category_id2: "",
- category_id3: "",
- category_id4: "",
- title1: "",
- title2: "",
- title3: "",
- title4: ""
- };
- if (navigateData.data[index].is_url == 1) {
- // 处理 URL 的逻辑
- } else {
- if (navigateData.data[index].type == 2) {
- goodsData.value.push(data);
- } else if (navigateData.data[index].type == 1) {
- newsData.value.push(data);
- }
- //每个页面最多8个模块
- pageData.value.push(data);
- // console.log("导航池1111111pageData11111111111111111", pageData.value);
- }
- }
- // console.log("导航池11111goods", goodsData.value);
- // console.log("导航池11111newsData", newsData.value);
- //导航池加载完毕,开始申请模块数据
- let getJson = [
- // { "parent": routeId + ",0,0", "child": newsData.value[0].cid + ",5,9" },//模块1
- // { "parent": routeId + ",0,0", "child": newsData.value[1].cid + ",1,6" },//模块2
- // { "parent": routeId + ",0,0", "child": newsData.value[2].cid + ",1,6" },//模块3
- // { "parent": routeId + ",0,0", "child": newsData.value[3].cid + ",1,6" },//模块4
- ]
- for (let i = 0; i < newsData.value.length; i++) {
- if (i == 0) {
- getJson.push({ "parent": routeId + ",0,0", "child": newsData.value[0].cid + ",3,9" })
- } else if (i == 1) {
- getJson.push({ "parent": routeId + ",0,0", "child": newsData.value[1].cid + ",1,2" })
- } else if (i == 2) {
- getJson.push({ "parent": routeId + ",0,0", "child": newsData.value[2].cid + ",1,6" })
- } else if (i == 3) {
- getJson.push({ "parent": routeId + ",0,0", "child": newsData.value[3].cid + ",2,4" })
- }
- }
- let jsonString = JSON.stringify(getJson);
- if (newsData.value.length > 0) {
- getPageAllData(jsonString);
- }
- let goodsJson = [
- // { "catid": goodsData.value[0].cid + ",0,12" },//模块1
- // { "catid": goodsData.value[1].cid + ",0,4" },//模块2
- // { "catid": goodsData.value[2].cid + ",0,4" },//模块3
- ]
- for (let i = 0; i < goodsData.value.length; i++) {
- if (i == 0) {
- goodsJson.push({ "catid": goodsData.value[0].cid + ",0,12" });
- } else if (i == 1) {
- goodsJson.push({ "catid": goodsData.value[1].cid + ",0,4" });
- } else if (i == 2) {
- goodsJson.push({ "catid": goodsData.value[2].cid + ",0,4" });
- }
- }
- let goodsJsonString = JSON.stringify(goodsJson);
- getPageGoodsAllData(goodsJsonString);
- } else {
- console.log("错误:渲染8个模块环节出错,请检查是否存在没有数据的模块!")
- }
- } catch (error) {
- console.log("错误:导航池渲染执行接口出错!请检查频道页渲染的模块数据是否完整!")
- }
- // 获取商品数据 start--------------------------------------->
- async function getPageGoodsAllData(goodsJsonString) {
- const mkdata = await requestDataPromise('/web/getWebsiteCatidshop', {
- method: 'GET',
- query: {
- 'catid': goodsJsonString
- },
- });
- console.log("获取商品数据", mkdata);
- if (mkdata.code == 200) {
- //模块1
- for (let index in mkdata.data[0]) {
- // console.log("获取商品数据", index, mkdata.data[0][index]);
- if (index < 4) {
- goodsData.value[0].data.push(mkdata.data[0][index]);
- } else {
- goodsData.value[0].data1.push(mkdata.data[0][index]);
- }
- }
- //模块2
- if (mkdata.length > 1) {
- goodsData.value[1].data = mkdata.data[1];
- }
- if (mkdata.length > 2) {
- goodsData.value[2].data = mkdata.data[2];
- }
- console.log("获取商品数据111111", goodsData.value);
- }
- }
- // 获取商品数据 end----------------------------------------->
- // 获取资讯数据 start----------------------------------------->
- async function getPageAllData(jsonString) {
- const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
- method: 'GET',
- query: {
- 'id': jsonString
- },
- });
- console.log("获取资讯数据11111111111222222", mkdata);
- if (mkdata.code == 200) {
- //模块1 顶部大图和列表
- for (let index in mkdata.data[0].child.imgnum) {
- if (index < 1) {
- newsData.value[0].data.push(mkdata.data[0].child.imgnum[index]);
- } else {
- newsData.value[0].data1.push(mkdata.data[0].child.imgnum[index]);
- }
- }
- newsData.value[0].data2 = mkdata.data[0].child.textnum;
- //模块2
- newsData.value[1].data = mkdata.data[1].child.imgnum;
- newsData.value[1].data2 = mkdata.data[1].child.textnum;
- //模块3
- newsData.value[2].data = mkdata.data[2].child.imgnum;
- newsData.value[2].data2 = mkdata.data[2].child.textnum;
- //模块4
- newsData.value[3].data = mkdata.data[3].child.imgnum;
- newsData.value[3].data2 = mkdata.data[3].child.textnum;
- } else {
- ElMessage.error(mkdata.message)
- }
- }
- // 获取资讯数据 end----------------------------------------->
- //4.页面数据 end ---------------------------------------->
- //5.设置seo信息 start---------------------------------------->
- const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
- method: 'GET',
- query: {
- 'catid': routeId
- },
- });
- if (setData.code == 200) {
- let seoTitle = setData.data.seo_title;
- let seoDescription = setData.data.seo_description;
- let seoKeywords = setData.data.seo_keywords;
- let seoSuffix = setData.data.suffix;
- let seoName = setData.data.website_name;
- useSeoMeta({
- title: seoTitle + "_" + seoName + "_" + seoSuffix,
- meta: [
- { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
- { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
- { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
- ]
- });
- } else {
- console.log("设置频道页SEO出错!", setData.message)
- }
- //5.设置seo信息 end---------------------------------------->
- </script>
- <style lang="less" scoped>
- @import url("@/assets/css/shop/shopClass.less");
- </style>
-
- <style lang="less" scoped>
-
- @media screen and (min-width:801px){/*pc*/
-
-
- .pc_none{display:none;}
- }
- @media screen and (max-width:800px){/*ipad_phone*/
- .index_main{width:100%;margin:0px auto;}
-
- .phone_nav{
- width:100%; box-sizing:border-box;background:#fafafa;
- margin:10px auto;height:33px;
- .phone_nav_in{ width:92%;margin:0px auto;
- overflow-x:auto;overflow-y:hidden;
- word-break: keep-all; white-space: nowrap;
- line-height:33px;
- height:33px;
- }
- .phone_nav_in::-webkit-scrollbar{height:0px;}
-
- .phone_nav_a{display:inline-block;line-height:33px;height:33px;
- color:#333;font-size:14px;margin:0px 10px;
- }
- .phone_nav_a:nth-of-type(1){margin-left:0px;}
- }
- .phone_nav_a.active{
- color:#255590;
- }
- .phone_shop_1{width:92%;margin:10px auto 0;
- .phone_shop_head{overflow:hidden;}
- .phone_shop_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#255590;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/01.png) no-repeat left center;
- background-size:10px 14px;
- }
- .phone_shop_img_ul{min-height:252px;}
- .phone_shop_img_li{width:48%;margin-bottom:15px;}
- .phone_shop_img_li:nth-of-type(odd){float:left; }
- .phone_shop_img_li:nth-of-type(even){ float:right;}
- .phone_shop_img_li_a{display:block;width:100%; }
- .phone_shop_img{display:block;width:100%;height:44vw;border-radius:6px;}
- .phone_shop_img_li_dot2{height:40px;line-height:20px;color:#333;font-size:16px;margin:4px 0 2px;
- overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
- .phone_shop_img_foot{overflow:hidden;margin-top:4px;}
- .phone_shop_img_foot_1{float:left;height:22px;line-height:22px;color:#255590;font-size:14px;padding:0px 6px;margin-right:4px; border:solid 1px #255590;}
- .phone_shop_img_foot_2{float:right;height:22px;line-height:22px;color:#fff;font-size:14px;background:#255590; padding:0px 6px;border:solid 1px #255590;}
-
- }
- .phone_shop_2{width:92%;margin:10px auto 0;
- .phone_shop_head{overflow:hidden;}
- .phone_shop_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#255590;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/01.png) no-repeat left center;
- background-size:10px 14px;
- }
- .phone_shop_img_ul{min-height:252px;}
- .phone_shop_img_li{width:48%;margin-bottom:15px;}
- .phone_shop_img_li:nth-of-type(odd){float:left; }
- .phone_shop_img_li:nth-of-type(even){ float:right;}
- .phone_shop_img_li_a{display:block;width:100%; }
- .phone_shop_img{display:block;width:100%;height:44vw;border-radius:6px;}
- .phone_shop_img_li_dot2{height:40px;line-height:20px;color:#333;font-size:16px;margin:4px 0 2px;
- overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
- .phone_shop_img_foot{overflow:hidden;margin-top:4px;}
- .phone_shop_img_foot_1{float:left;height:22px;line-height:22px;color:#255590;font-size:14px;padding:0px 6px;margin-right:4px; border:solid 1px #255590;}
- .phone_shop_img_foot_2{float:right;height:22px;line-height:22px;color:#fff;font-size:14px;background:#255590; padding:0px 6px;border:solid 1px #255590;}
-
- }
- .phone_shop_3{width:92%;margin:10px auto 0;
- .phone_shop_head{overflow:hidden;}
- .phone_shop_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#255590;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/01.png) no-repeat left center;
- background-size:10px 14px;
- }
- .phone_shop_img_ul{min-height:252px;}
- .phone_shop_img_li{width:48%;margin-bottom:15px;}
- .phone_shop_img_li:nth-of-type(odd){float:left; }
- .phone_shop_img_li:nth-of-type(even){ float:right;}
- .phone_shop_img_li_a{display:block;width:100%; }
- .phone_shop_img{display:block;width:100%;height:44vw;border-radius:6px;}
- .phone_shop_img_li_dot2{height:40px;line-height:20px;color:#333;font-size:16px;margin:4px 0 2px;
- overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
- .phone_shop_img_foot{overflow:hidden;margin-top:4px;}
- .phone_shop_img_foot_1{float:left;height:22px;line-height:22px;color:#255590;font-size:14px;padding:0px 6px;margin-right:4px; border:solid 1px #255590;}
- .phone_shop_img_foot_2{float:right;height:22px;line-height:22px;color:#fff;font-size:14px;background:#255590; padding:0px 6px;border:solid 1px #255590;}
-
- }
- .phone_shop_1_text_box{
- width:92%;margin:15px auto 0px;
- .phone_shop_text_head{overflow:hidden;}
- .phone_shop_text_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#F7812B;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/02.png) no-repeat left center;
- background-size:10px 14px; }
- .phone_shop_text_ul{width:100%;}
- .phone_shop_text_li{width:100%;border-bottom:dashed 1px #ddd;padding-bottom:8px;margin-bottom:8px;}
- .phone_shop_text_li_a{display:block;width:100%;}
- .phone_shop_text_li_h4{display:block;width:100%;height:20px;line-height:20px;color:#333;font-size:16px;text-indent:15px;position:relative;font-weight:normal;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
- .phone_shop_text_li_h4::after {
- content: '';
- display: block;
- width: 6px;
- height: 6px;
- background: #F7812B;
- position: absolute;
- left: 0px;
- top: 7px;
- }
- .phone_shop_text_li_dot1{display:block;width:100%;height:20px;line-height:20px;color:#666;font-size:14px;text-indent:15px;margin-top:2px;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
-
- }
- .phone_box_1{
- width:92%;margin:0px auto 0px;
-
- .phone_shop_head{overflow:hidden;margin-top:15px;}
- .phone_shop_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#255590;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/01.png) no-repeat left center;
- background-size:10px 14px;
- }
-
- .phone_box_1_img_ul{
- height:55vw;overflow:hidden;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:8px auto 0px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+4){display:none;}
- }
- }
- .phone_box_2{
- width:92%;margin:0px auto 0px;
-
- .phone_shop_head{overflow:hidden;margin-top:15px;}
- .phone_shop_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#255590;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/01.png) no-repeat left center;
- background-size:10px 14px;
- }
-
- .phone_box_1_img_ul{
- height:55vw;overflow:hidden;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_1_ul{
- overflow:hidden;height:82px;margin:8px auto 29px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+4){display:none;}
- }
- }
- .phone_box_3{
- width:92%;margin:0px auto 0px;
-
- .phone_shop_head{overflow:hidden;margin-top:15px;}
- .phone_shop_head_a{ float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#255590;font-size:18px; font-weight:bold;box-sizing:border-box;
- padding-left:18px;
- background:url(@/public/shop/01.png) no-repeat left center;
- background-size:10px 14px;
- }
-
- .phone_box_1_img_ul{
- height:55vw;overflow:hidden;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_1_ul{
- overflow:hidden;height:82px;margin:8px auto 29px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+4){display:none;}
- }
- }
-
- .phone_none{display:none;}
- }
- </style>
|