You've already forked guangan-mp
1.0.0
This commit is contained in:
38
components/i-account-list/i-account-list.vue
Normal file
38
components/i-account-list/i-account-list.vue
Normal file
@ -0,0 +1,38 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="flex align-center justify-between border-top py-3">
|
||||
<view class="flex-1 text-center" v-for="(item,index) in resdata" :key="index" @click="toShow(item)">
|
||||
<view class="font32">100</view>
|
||||
<view class="text-muted font24 mt-1">优惠券</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name:"i-account-list",
|
||||
props:{
|
||||
resdata:{
|
||||
type:Array,
|
||||
default() {
|
||||
return [];
|
||||
},
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
},
|
||||
methods:{
|
||||
toShow(item){
|
||||
console.log("链接")
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user