39 lines
941 B
Vue
39 lines
941 B
Vue
<!--
|
||
|
||
订单列表页面, 数据渲染
|
||
业务: 门店
|
||
|
||
@author terrfly
|
||
@site https://www.jeequan.com
|
||
@date 2022/11/23 16:57
|
||
-->
|
||
<template>
|
||
|
||
<JeepayTableListItem :subtitle="props.record.storeId" @tap="toDetailPage" :logo="props.record.storeLogo||'/static/indexImg/icon-store.svg'">
|
||
<template #title>
|
||
{{ props.record.storeName }}
|
||
<JeepayTag v-if="props.record.defaultFlag == 1" type="green-rgba">默认</JeepayTag>
|
||
<JeepayTag v-if="props.record.alipayShopStatus == 99" type="blue">蚂蚁店铺</JeepayTag>
|
||
</template>
|
||
</JeepayTableListItem>
|
||
|
||
</template>
|
||
|
||
<script setup>
|
||
import { reactive, ref } from "vue"
|
||
import go from '@/commons/utils/go.js'
|
||
|
||
// 定义传入属性
|
||
const props = defineProps({
|
||
record: {type:Object, default: () => {}}, // 渲染对象
|
||
})
|
||
|
||
function toDetailPage(){
|
||
go.to("PAGES_APP_STORE_DETAIL", {storeId: props.record.storeId})
|
||
}
|
||
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
</style>
|