首页样式调整

zhc4dev
暖暖 2 years ago
parent 05c9fff089
commit 7f5093021e
  1. 33
      ant-design-vue-jeecg/src/views/shopping/components/Order/placeOrder.vue
  2. 8
      ant-design-vue-jeecg/src/views/shopping/pages/sirendingzhi.vue
  3. 34
      ant-design-vue-jeecg/src/views/shopping/shopHome.vue

@ -1,11 +1,42 @@
<template> <template>
<div class="placeOrder"> <div class="placeOrder">
下单页面 <div class="jz d-flex">
<div class="leftDiv">
<div class="phoneDiv">
<p class="f_14">手机号码:</p>
<p class="f_14">我们将通过以下手机号码向您发送订单相关信息</p>
<p class="f_14 phone">17719145652</p>
</div>
</div>
<div class="rightDiv">1</div>
</div>
</div> </div>
</template> </template>
<style lang="less" scoped> <style lang="less" scoped>
.placeOrder{ .placeOrder{
padding-top: 54px; padding-top: 54px;
background-color: #F6F6F6; background-color: #F6F6F6;
& >.jz{
justify-content: space-around;
.leftDiv{
width: 820px;
.phoneDiv{
padding: 15px 25px;
background-color: #fff;
margin-bottom: 25px;
p{
margin-bottom: 11px;
font-weight: 600;
}
.phone{
color: #999;
}
}
}
.rightDiv{
width: 410px;
}
}
} }
</style> </style>

@ -152,16 +152,20 @@
</div> </div>
</div> </div>
<div class="steps__wrapper" v-if="current == 1"></div> <div class="steps__wrapper" v-if="current == 1"></div>
<div v-if="current == 3">
<PlaceOrder></PlaceOrder>
</div>
</div> </div>
</template> </template>
<script> <script>
import Header from "../components/Header/HeaderView"; import Header from "../components/Header/HeaderView";
import PlaceOrder from "../components/Order/placeOrder"
export default { export default {
name: "sirendingzhi", name: "sirendingzhi",
components: { Header }, components: { Header ,PlaceOrder},
data() { data() {
return { return {
current: 0, current: 3,
dialogVisible: false, dialogVisible: false,
dialogModel: { dialogModel: {
imgUrl: "", imgUrl: "",

@ -88,8 +88,8 @@
</div> </div>
<div class="box" v-for="(item, index) in clothList2" :key="index"> <div class="box" v-for="(item, index) in clothList2" :key="index">
<img :src="item.imgUrl" alt="" /> <img :src="item.imgUrl" alt="" />
<p class="box1">{{item.title}}</p> <p class="box1">CLOTHING NAM</p>
<p class="box2">{{item.time}}</p> <p class="box2">15分钟前定制</p>
</div> </div>
</a-carousel> </a-carousel>
<div class="more d-flex" style="padding-top: 20px"> <div class="more d-flex" style="padding-top: 20px">
@ -124,7 +124,7 @@
> >
<img :src="item.imgUrl" alt="" /> <img :src="item.imgUrl" alt="" />
<p class="title_6"> <p class="title_6">
{{ item.title1 }}<span class="line">|</span>{{ item.title2 }} {{ item.title1 }}<span class="line">|</span>{{ item.title1 }}
</p> </p>
<div> <div>
<el-tag type="warning" size="small">{{ item.tag1 }}</el-tag <el-tag type="warning" size="small">{{ item.tag1 }}</el-tag
@ -151,7 +151,7 @@
> >
<img :src="item.imgUrl" alt="" /> <img :src="item.imgUrl" alt="" />
<p> <p>
{{ item.title1 }}<span class="line">|</span>{{ item.title2 }} {{ item.title1 }}<span class="line">|</span>{{ item.title1 }}
</p> </p>
<div> <div>
<el-tag type="warning" size="small">{{ item.tag1 }}</el-tag <el-tag type="warning" size="small">{{ item.tag1 }}</el-tag
@ -178,7 +178,7 @@
> >
<img :src="item.imgUrl" alt="" /> <img :src="item.imgUrl" alt="" />
<p> <p>
{{ item.title1 }}<span class="line">|</span>{{ item.title2 }} {{ item.title1 }}<span class="line">|</span>{{ item.title1 }}
</p> </p>
<div> <div>
<el-tag type="warning" size="small">{{ item.tag1 }}</el-tag <el-tag type="warning" size="small">{{ item.tag1 }}</el-tag
@ -215,8 +215,6 @@
activeName: "first", activeName: "first",
url: { url: {
zxdz: "/zygoods/zyGoods/zxdz", zxdz: "/zygoods/zyGoods/zxdz",
tjsp: "/zygoods/zyGoods/tjsp",
fzlx: "/zygoods/zyGoods/fzlx",
}, },
// //
imgList: [ imgList: [
@ -632,27 +630,11 @@
this.vh = window.screen.availHeight - 100; this.vh = window.screen.availHeight - 100;
getAction(this.url.zxdz).then((res) => { getAction(this.url.zxdz).then((res) => {
if (res.success) { if (res.success) {
console.log(res.result);
this.clothList = res.result; this.clothList = res.result;
}else{ }else{
this.$message.error(res.message); this.$message.error(res.message);
} }
});
getAction(this.url.tjsp).then((res) => {
if (res.success) {
this.clothList2 = res.result;
}else{
this.$message.error(res.message);
}
});
getAction(this.url.fzlx).then((res) => {
if (res.success) {
console.log(res.result)
this.nanzhuang = res.result.nz;
this.nvzhuang = res.result.nvz;
this.tongzhuang = res.result.tz;
}else{
this.$message.error(res.message);
}
}) })
}, },
} }
@ -881,16 +863,18 @@
padding-bottom: 10px; padding-bottom: 10px;
} }
.section5 .tabs .jz { .section5 .tabs .jz {
justify-content: space-between; justify-content: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
} }
.section5 .tabs .jz .item { .section5 .tabs .jz .item {
background-color: #fff; background-color: #fff;
width: 19%; width: 19%;
min-width: 270px;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding-bottom: 30px; padding-bottom: 30px;
margin-bottom: 30px; margin-bottom: 30px;
margin-right: 11px;
} }
.section5 .tabs .jz .item img { .section5 .tabs .jz .item img {
width: 80%; width: 80%;

Loading…
Cancel
Save