Commit a53cbf48 by chenwq

带货详情-样式

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