Merge remote-tracking branch 'origin/master'

zhc4dev
暖暖 2 years ago
commit cc371ea6a7
  1. 20
      ant-design-vue-jeecg/src/views/shopping/shopHome.vue

@ -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="#">更多西装</a> <a href="/#/shopping/chengyi">更多推荐</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,6 +205,7 @@
<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},
@ -212,6 +213,9 @@
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"),
@ -624,6 +628,14 @@
}, },
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