Commit a53cbf48 by chenwq

带货详情-样式

1 parent 3cdbd1be
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<div class="flex" style="margin-top: 20px;"> <div class="flex" style="margin-top: 20px;">
<div class="main-img-box"> <div class="main-img-box">
<el-carousel height="420px"> <el-carousel height="375px">
<el-carousel-item v-for="item in editForm.goodsDetailImageList" :key="item"> <el-carousel-item v-for="item in editForm.goodsDetailImageList" :key="item">
<video v-if="item.resType == 3" class="inner-img" :src="item.content"></video> <video v-if="item.resType == 3" class="inner-img" :src="item.content"></video>
<img class="inner-img" :src="item.content" /> <img class="inner-img" :src="item.content" />
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</div> </div>
<div style="width: calc(100% - 440px);"> <div style="width: calc(100% - 375px);">
<p class="pro-name txt-ellipsis">{{ editForm.goodsName }}</p> <p class="pro-name txt-ellipsis">{{ editForm.goodsName }}</p>
<p v-show="!specificationDetailList.length" class="txt-ellipsis"> <p v-show="!specificationDetailList.length" class="txt-ellipsis">
供货价: 供货价:
...@@ -130,19 +130,22 @@ export default { ...@@ -130,19 +130,22 @@ export default {
label: '零售价', label: '零售价',
name: 'retailPrice', name: 'retailPrice',
type: 'input', type: 'input',
isDisabled: false isDisabled: false,
width: '411px'
}, },
{ {
label: '供货价', label: '供货价',
name: 'supplyPrice', name: 'supplyPrice',
type: 'input', type: 'input',
isDisabled: true isDisabled: true,
width: '411px'
}, },
{ {
label: '库存', label: '库存',
name: 'goodsStock', name: 'goodsStock',
type: 'input', type: 'input',
isDisabled: true isDisabled: true,
width: '411px'
} }
] ]
} }
...@@ -392,14 +395,14 @@ export default { ...@@ -392,14 +395,14 @@ export default {
} }
.edit-product-dh .inner-img { .edit-product-dh .inner-img {
width: 420px; width: 100%;
height: 420px; height: 100%;
} }
.edit-product-dh .main-img-box { .edit-product-dh .main-img-box {
width: 440px; width: 375px;
text-align: center; text-align: center;
padding: 0 20px; margin: 0 34px 0 20px;
} }
.edit-product-dh .pro-name { .edit-product-dh .pro-name {
......
<!-- 带货管理 --> <!-- 带货管理 -->
<template> <template>
<div class="marketing take-good"> <div class="marketing take-good p-t-20">
<div class="container"> <div class="container">
<div> <div>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"> <glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
......
...@@ -5,15 +5,15 @@ ...@@ -5,15 +5,15 @@
<div class="container"> <div class="container">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<div class="flex" style="margin-top: 20px;"> <div class="flex" style="margin-top: 20px;">
<div style="width: 440px; text-align: center;"> <div class="main-img-box">
<el-carousel height="420px"> <el-carousel height="375px">
<el-carousel-item v-for="item in editForm.goodsDetailImageList" :key="item"> <el-carousel-item v-for="item in editForm.goodsDetailImageList" :key="item">
<video v-if="item.resType == 3" class="inner-img" :src="item.content"></video> <video v-if="item.resType == 3" class="inner-img" :src="item.content"></video>
<img class="inner-img" :src="item.content" /> <img class="inner-img" :src="item.content" />
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</div> </div>
<div style="width: calc(100% - 440px);"> <div style="width: calc(100% - 375px);">
<p class="pro-name txt-ellipsis">{{ editForm.goodsName }}</p> <p class="pro-name txt-ellipsis">{{ editForm.goodsName }}</p>
<p v-show="!specificationDetailList.length" class="txt-ellipsis"> <p v-show="!specificationDetailList.length" class="txt-ellipsis">
供货价: 供货价:
...@@ -94,13 +94,15 @@ export default { ...@@ -94,13 +94,15 @@ export default {
label: '供货价', label: '供货价',
name: 'supplyPrice', name: 'supplyPrice',
type: 'input', type: 'input',
isDisabled: true isDisabled: true,
width: '411px'
}, },
{ {
label: '库存', label: '库存',
name: 'goodsStock', name: 'goodsStock',
type: 'input', type: 'input',
isDisabled: true isDisabled: true,
width: '411px'
} }
] ]
} }
...@@ -227,6 +229,17 @@ export default { ...@@ -227,6 +229,17 @@ export default {
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
} }
.edit-product-dh .inner-img {
width: 100%;
height: 100%;
}
.edit-product-dh .main-img-box {
width: 375px;
text-align: center;
margin: 0 34px 0 20px;
}
.view { .view {
width: 375px; width: 375px;
height: 667px; height: 667px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!