wx-starlock/pages/feature/recordDetail.vue

33 lines
701 B
Vue
Raw Permalink Normal View History

2025-02-11 15:45:53 +08:00
<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>