初始提交
This commit is contained in:
58
pages/workFlow/flowBefore/logError.vue
Normal file
58
pages/workFlow/flowBefore/logError.vue
Normal file
@@ -0,0 +1,58 @@
|
||||
<template>
|
||||
<view class="logError-v u-flex-col">
|
||||
<view class="error-prompt">
|
||||
<view class="error-prompt-title u-p-l-20 u-p-r-20">
|
||||
错误提示:
|
||||
</view>
|
||||
<view class="u-p-20 error-content">
|
||||
{{config.errorTip}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="error-prompt">
|
||||
<view class="error-prompt-title u-p-l-20 u-p-r-20">
|
||||
错误内容:
|
||||
</view>
|
||||
<view class="u-p-20 error-content">
|
||||
{{config.errorData}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
config: {},
|
||||
errorData: [],
|
||||
errorTip: {}
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.config = JSON.parse(this.jnpf.base64.decode(e.data))
|
||||
this.errorData = JSON.parse(this.config.errorData)
|
||||
this.errorTip = JSON.parse(this.config.errorTip)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.logError-v {
|
||||
width: 100vw;
|
||||
|
||||
.error-prompt {
|
||||
.error-prompt-title {
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
background-color: #edeff6;
|
||||
line-height: 80rpx;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.error-content {
|
||||
word-break: break-word;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user