refactor(CouponList): update style (#5501)

This commit is contained in:
rex
2020-01-09 10:09:55 +08:00
committed by neverland
parent 753165fdf7
commit ccdedecee7
4 changed files with 45 additions and 30 deletions
+11 -11
View File
@@ -165,17 +165,17 @@ export default createComponent({
const disabledTitle = (this.disabledTitle || t('disabled')) + disabledCount;
const ExchangeBar = this.showExchangeBar && (
<Field
vModel={this.currentCode}
clearable
border={false}
class={bem('field')}
placeholder={this.inputPlaceholder || t('placeholder')}
maxlength="20"
scopedSlots={{
button: this.genExchangeButton
}}
/>
<div class={bem('exchange-bar')}>
<Field
vModel={this.currentCode}
clearable
border={false}
class={bem('field')}
placeholder={this.inputPlaceholder || t('placeholder')}
maxlength="20"
/>
{this.genExchangeButton()}
</div>
);
const onChange = index => () => this.$emit('change', index);