all completed,components/side is none commentpart
This commit is contained in:
@@ -1,22 +1,49 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<view class="begin">
|
||||
<view class="title">
|
||||
<view>{{this.value[3]}}</view>
|
||||
<view>{{this.value[4]}}</view>
|
||||
</view>
|
||||
<view class="content" v-html="this.value[5]">
|
||||
|
||||
</view>
|
||||
<view class="who">
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
|
||||
value: null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
methods: {},
|
||||
onLoad(option) {
|
||||
const id = option.id
|
||||
this.value = JSON.parse(decodeURIComponent(option.data))
|
||||
console.log('id:', id)
|
||||
console.log('完整数据:', this.value)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.begin {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
.title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 0.8rem;
|
||||
text-indent: 2em;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user