新增添加优惠券页面
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
</view>
|
||||
<view class="total-info">
|
||||
<view class="item">
|
||||
<text class="info">{{ item.giveNum }}</text>
|
||||
<text class="info">
|
||||
<template v-if="item.giveNum == -10086">无限</template>
|
||||
<template v-else>{{ item.giveNum }}</template>
|
||||
</text>
|
||||
<text class="title">总发放</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
@@ -31,10 +34,10 @@
|
||||
</view>
|
||||
<view class="footer-wrap">
|
||||
<view class="btn">
|
||||
<u-button shape="circle">删除</u-button>
|
||||
<u-button shape="circle" @click="emits('delete', item)">删除</u-button>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<u-button shape="circle" type="primary">编辑</u-button>
|
||||
<u-button shape="circle" type="primary" @click="emits('editor', item)">编辑</u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -47,6 +50,8 @@ const props = defineProps({
|
||||
default: {}
|
||||
}
|
||||
});
|
||||
|
||||
const emits = defineEmits(['delete', 'editor']);
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user