<template>
<view>
<uni-nav-bar :title="`订单详情-${form.actionTitle}`" leftText='返回' leftIcon="back" @clickLeft="goBack" fixed />
<uni-card class="action-form">
<uni-row>
<uni-col class="col" :span="12"><text class="col-left">日期:</text><text
class="col-right">{{form.date}}</text>
</uni-col>
<uni-col class="col" :span="24"><text class="col-left">店铺:</text><text
class="col-right">长江路店</text></uni-col>
<uni-col class="col" :span="24"><text class="col-left">商品名称:</text><text
class="col-right">xxx商品</text>
</uni-col>
<uni-col class="col" :span="12"><text class="col-left">状态:</text>
<uni-tag text="完成" type="success" />
</uni-col>
<uni-col class="col" :span="12"><text class="col-left">已付:</text>
<uni-tag v-if="form.ispay===1" text="是" type="success" />
<uni-tag v-if="form.ispay===0" text="否" />
</uni-col>
<uni-col class="col" :span="24"><text class="col-left">会员名:</text><text
class="col-right">开心yyds</text>
</uni-col>
<uni-col class="col" :span="24"><text class="col-left">姓名:</text><text
class="col-right">张三</text>
</uni-col>
<uni-col class="col" :span="12"><text class="col-left">付款金额:</text><text
class="col-right">{{form.goodPrice}} 元</text>
</uni-col>
<uni-col class="col" :span="24"><text class="col-left">备注:</text><text
class="col-right">这里是备注信息</text>
</uni-col>
</uni-row>
</uni-card>
</view>
</template>
<script>
import {
commonForm
} from '@/mixin'
export default {
mixins: [commonForm],
data() {
return {
};
}
}
</script>
<style lang="scss">
.action-form {
.col {
padding: 2px 0;
}
.col-left {
font-weight: bold;
}
}
</style>