33 lines
701 B
Vue
33 lines
701 B
Vue
<template>
|
||
<view>
|
||
<view v-if="info"
|
||
><view class="font-bold text-base mx-3 py-3">
|
||
操作时间:{{ timeFormat(info.operateDate, 'yyyy-mm-dd h:M') }}{{
|
||
}}</view>
|
||
<view class="bg-white shadow-sm mx-3 p-3 rounded-xl font-bold text-lg">{{
|
||
info.recordDetailStr
|
||
}}</view></view
|
||
>
|
||
</view>
|
||
</template>
|
||
|
||
<script setup>
|
||
import { onLoad } from '@dcloudio/uni-app'
|
||
import { ref } from 'vue'
|
||
import { timeFormat } from 'uview-plus'
|
||
|
||
const info = ref(null)
|
||
|
||
onLoad(options => {
|
||
if (options.info) {
|
||
info.value = JSON.parse(options.info)
|
||
}
|
||
})
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
page {
|
||
background-color: $uni-bg-color-grey;
|
||
}
|
||
</style>
|