Commit c44bd1ab by test

朋友圈样式调整

1 parent 67da29a8
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
<el-image class="item" style="width: 100px; height: 100px" :preview-src-list="[data.annexUrl]" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image> <el-image class="item" style="width: 100px; height: 100px" :preview-src-list="[data.annexUrl]" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="已发送员工" v-if="detail.addUserName"> <el-form-item label="已发送员工" v-if="detail.addUserName">
<el-tag v-for="(data, key) in detail.addUserName.split(',')" :key="key">{{data}}</el-tag> <el-tag v-for="(data, key) in detail.addUserName.split(',')" :key="key">{{data}}</el-tag>
......
...@@ -68,15 +68,13 @@ ...@@ -68,15 +68,13 @@
</div> </div>
</el-form-item> </el-form-item>
</template> </template>
<el-row :gutter="10">
<el-form-item label=" "> <el-form-item label=" ">
<template v-for="(data, index) in detail.otherContent"> <div class="img_list">
<el-col span="7"> <div v-for="(data, index) in detail.otherContent">
<el-image style="width: 100px; height: 100px" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image> <el-image class="item" style="width: 100px; height: 100px" :preview-src-list="[data.annexUrl]" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image>
</el-col> </div>
</template> </div>
</el-form-item> </el-form-item>
</el-row>
<el-form-item label="点赞客户:" v-if="detail.pointCustomerName"> <el-form-item label="点赞客户:" v-if="detail.pointCustomerName">
<el-tag v-for="(data, key) in detail.pointCustomerName.split(',')" :key="key">{{data}}</el-tag> <el-tag v-for="(data, key) in detail.pointCustomerName.split(',')" :key="key">{{data}}</el-tag>
</el-form-item> </el-form-item>
...@@ -215,4 +213,15 @@ ...@@ -215,4 +213,15 @@
font-size: 12px; font-size: 12px;
align-self: flex-end; align-self: flex-end;
} }
.img_list {
display: flex;
flex-wrap: wrap;
width: 330px;
.item {
flex: 1;
width: 110px;
height: 100px;
margin-right: 5px;
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!