zhc4dev
暖暖 2 years ago
parent cc371ea6a7
commit 1213a0042a
  1. 24
      ant-design-vue-jeecg/src/views/shopping/shopHome.vue

@ -32,8 +32,8 @@
> >
<router-link :to="item.url" class="d-flex"> <router-link :to="item.url" class="d-flex">
<img :src="item.imgUrl" alt="" /> <!-- <img :src="item.imgUrl" alt="" />-->
<!-- <i :class="item.iconClass"></i>--> <i :class="item.iconClass"></i>
<span class="title_3">{{ item.title }}</span> <span class="title_3">{{ item.title }}</span>
<span class="title_4">{{ item.desc }}</span> <span class="title_4">{{ item.desc }}</span>
</router-link> </router-link>
@ -93,7 +93,7 @@
</div> </div>
</a-carousel> </a-carousel>
<div class="more d-flex" style="padding-top: 20px"> <div class="more d-flex" style="padding-top: 20px">
<a href="/#/shopping/chengyi">更多推荐</a> <a href="#">更多西装</a>
<img src="./assets/youjiantou.png" alt="" /> <img src="./assets/youjiantou.png" alt="" />
</div> </div>
<!-- <el-carousel type="card" arrow="always">--> <!-- <el-carousel type="card" arrow="always">-->
@ -138,7 +138,7 @@
</div> </div>
</div> </div>
<div class="more d-flex"> <div class="more d-flex">
<router-link to="/shopping/clothType">更多</router-link> <router-link to="/shopping/clothType">更多西</router-link>
<img src="./assets/youjiantou.png" alt="" /> <img src="./assets/youjiantou.png" alt="" />
</div> </div>
</el-tab-pane> </el-tab-pane>
@ -165,7 +165,7 @@
</div> </div>
</div> </div>
<div class="more d-flex"> <div class="more d-flex">
<router-link to="/shopping/clothType">更多</router-link> <router-link to="/shopping/clothType">更多西</router-link>
<img src="./assets/youjiantou.png" alt="" /> <img src="./assets/youjiantou.png" alt="" />
</div> </div>
</el-tab-pane> </el-tab-pane>
@ -192,7 +192,7 @@
</div> </div>
</div> </div>
<div class="more d-flex"> <div class="more d-flex">
<router-link to="/shopping/clothType">更多</router-link> <router-link to="/shopping/clothType">更多西</router-link>
<img src="./assets/youjiantou.png" alt="" /> <img src="./assets/youjiantou.png" alt="" />
</div> </div>
</el-tab-pane> </el-tab-pane>
@ -205,7 +205,6 @@
<script> <script>
import Header from './components/Header/HeaderView' import Header from './components/Header/HeaderView'
import Footer from './components/Footer/FooterView' import Footer from './components/Footer/FooterView'
import { httpAction, getAction } from '@/api/manage'
export default { export default {
name: "shopHome", name: "shopHome",
components: { Header ,Footer}, components: { Header ,Footer},
@ -213,9 +212,6 @@
return { return {
vh: 0, vh: 0,
activeName: "first", activeName: "first",
url: {
zxdz: "/zygoods/zyGoods/zxdz",
},
// //
imgList: [ imgList: [
require("./assets/bg.png"), require("./assets/bg.png"),
@ -628,14 +624,6 @@
}, },
mounted() { mounted() {
this.vh = window.screen.availHeight - 100; this.vh = window.screen.availHeight - 100;
getAction(this.url.zxdz).then((res) => {
if (res.success) {
console.log(res.result);
this.clothList = res.result;
}else{
this.$message.error(res.message);
}
})
}, },
} }
</script> </script>

Loading…
Cancel
Save