Commit d974c5fc by caoyanzhi

调整样式

parent b7f8bf4c
...@@ -65,25 +65,25 @@ ...@@ -65,25 +65,25 @@
<!-- <template slot-scope="scope"> --> <!-- <template slot-scope="scope"> -->
<!-- <el-radio class="radio-style" :label="scope.row.coupCardId" v-model="radio" :disabled="scope.row.disabled"></el-radio> --> <!-- <el-radio class="radio-style" :label="scope.row.coupCardId" v-model="radio" :disabled="scope.row.disabled"></el-radio> -->
<!-- </template> --> <!-- </template> -->
<el-table-column :show-overflow-tooltip="true" :min-width="100" align="left" prop="cardName" label="卡券名称"></el-table-column> <el-table-column :show-overflow-tooltip="true" min-width="100" align="left" prop="cardName" label="卡券名称"></el-table-column>
<el-table-column :show-overflow-tooltip="true" :min-width="100" align="left" prop="subName" label="备注名"></el-table-column> <el-table-column :show-overflow-tooltip="true" min-width="100" align="left" prop="subName" label="备注名"></el-table-column>
<el-table-column prop="" label="有效期" :min-width="100" :show-overflow-tooltip="false"> <el-table-column prop="" label="有效期" min-width="130" :show-overflow-tooltip="false">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.cardEffectiveMode == 0">固定日期:{{ formateDateTimeByType(scope.row.beginDate, 'yyyy-MM-dd') + '至' + formateDateTimeByType(scope.row.endDate, 'yyyy-MM-dd') }}</div> <div v-if="scope.row.cardEffectiveMode == 0">固定日期:<br>{{ formateDateTimeByType(scope.row.beginDate, 'yyyy-MM-dd') + '至' + formateDateTimeByType(scope.row.endDate, 'yyyy-MM-dd') }}</div>
<div v-if="scope.row.cardEffectiveMode == 1">领取后{{ (scope.row.startDay === 0 ? '当' : scope.row.startDay) + '天,有效天数' + scope.row.limitDay }}</div> <div v-if="scope.row.cardEffectiveMode == 1">领取后{{ (scope.row.startDay === 0 ? '当' : scope.row.startDay) + '天,有效天数' + scope.row.limitDay }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="cardLimit" :show-overflow-tooltip="false" label="领取限制" width="90"> <el-table-column prop="cardLimit" :show-overflow-tooltip="false" label="领取限制" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.cardLimit }}张/人 {{ scope.row.cardLimit }}张/人
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="false" :width="90" align="left" prop="storeMode" label="适用门店"> <el-table-column :show-overflow-tooltip="false" min-width="100" align="left" prop="storeMode" label="适用门店">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.storeMode === 0 ? '所有门店' : scope.row.storeMode === 1 ? '部分分组' : '部分门店' }} {{ scope.row.storeMode === 0 ? '所有门店' : scope.row.storeMode === 1 ? '部分分组' : '部分门店' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="false" :width="100" align="left" prop="couponStock" label="库存"></el-table-column> <el-table-column :show-overflow-tooltip="false" width="90" align="left" prop="couponStock" label="库存"></el-table-column>
</el-table> </el-table>
<div class="pagination" v-if="total > 0"> <div class="pagination" v-if="total > 0">
...@@ -480,10 +480,9 @@ export default { ...@@ -480,10 +480,9 @@ export default {
} }
.attention-textAndImg-wrap { .attention-textAndImg-wrap {
.text-img-search { .text-img-search {
padding: 10px; padding: 16px 10px 0;
font-size: 14px; font-size: 14px;
color: #292929; color: #292929;
padding-bottom: 22px;
display: block; display: block;
overflow: hidden; overflow: hidden;
background-color: #f7faff; background-color: #f7faff;
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</div> </div>
<!-- 无标签值 --> <!-- 无标签值 -->
<div class="no-tag-value" v-else> <div class="no-tag-value" v-else>
<p class="font-14 color-909399">你还没有标签值</p> <p class="font-14 color-909399">你还没有创建标签</p>
<p class="m-t-10 font-14 color-909399">请先完善标签基本信息再添加标签值</p> <p class="m-t-10 font-14 color-909399">请先完善标签基本信息再添加标签值</p>
<el-button class="m-t-18" :disabled="!canAddTagVal" type="primary" @click="addTagValPop.isShow = true">添加标签值</el-button> <el-button class="m-t-18" :disabled="!canAddTagVal" type="primary" @click="addTagValPop.isShow = true">添加标签值</el-button>
</div> </div>
......
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
</div> </div>
<p v-if="tagId" class="m-t-20 m-b-20 tag-config">标签值设置</p> <p v-if="tagId" class="m-t-20 m-b-20 tag-config">标签值设置</p>
<!-- 所有标签的配置项 --> <!-- 所有标签的配置项 -->
<div class="tag-config-options">
<tag-config-options v-if="isAddFlag" :tagId="tagDataAssgin.tagId" ref="tagConfig" :templateDataList="templateObj" @returnTagData="returnTagData"></tag-config-options> <tag-config-options v-if="isAddFlag" :tagId="tagDataAssgin.tagId" ref="tagConfig" :templateDataList="templateObj" @returnTagData="returnTagData"></tag-config-options>
</div> </div>
</div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="handleClose">取 消</el-button> <el-button @click="handleClose">取 消</el-button>
<el-button type="primary" @click="handleSave">确 定</el-button> <el-button type="primary" @click="handleSave">确 定</el-button>
...@@ -96,8 +98,6 @@ export default { ...@@ -96,8 +98,6 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.dialog-box { .dialog-box {
max-height: 70vh;
overflow-y: scroll;
.tag-info { .tag-info {
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px solid #dcdfe6; border-bottom: 1px solid #dcdfe6;
...@@ -132,6 +132,10 @@ export default { ...@@ -132,6 +132,10 @@ export default {
font-size: 14px; font-size: 14px;
color: #606266; color: #606266;
} }
.tag-config-options {
max-height: 50vh;
overflow-y: scroll;
}
.tag-value { .tag-value {
margin-top: 10px; margin-top: 10px;
padding-top: 10px; padding-top: 10px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment