wx-starlock/pages/feature/recordDetail.vue
2025-04-02 18:40:56 +08:00

33 lines
701 B
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>