123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <template>
- <view class="wrapper">
- <!-- 建议号和ID -->
- <view>
- <view>
- <text>建议号:</text>
- <text class="benginTwo">{{suggestion.id}}</text>
- </view>
- <view>
- <text>ID:</text>
- <text class="benginTwo">{{suggestion.fromUid}}</text>
- </view>
- </view>
- <!-- 处理人ID和处理人昵称 -->
- <view>
- <view>
- <text>处理人ID:</text>
- <text>{{suggestion.processorUid}}</text>
- </view>
- <view>
- <text>处理人昵称:</text>
- <text>{{suggestion.name}}</text>
- </view>
- </view>
- <!-- 建议标题和日期 -->
- <view class="suggestTitleWrapper">
- <text class="suggestTtile">建议标题</text>
- <text class="suggestTime">{{suggestion.adviseTitle}}</text>
- </view>
- <!-- 建议内容 -->
- <view class="suggestContentWrapper">
- <text>建议内容:</text>
- <text>{{suggestion.adviseDetail}}</text>
- </view>
- <!-- 处理结果 -->
- <view class="handleResult">
- <text>处理结果描述:</text>
- <text>{{suggestion.result}}</text>
- </view>
- <!-- 日期 -->
- <view class="handleResult">
- <text>结案日期时间:</text>
- <text class="handleTime">{{suggestion.closetime}}</text>
- </view>
- <!-- 处理状态 -->
- <view class="handleStatus">
- <text>{{suggestion.status}}</text>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- suggestion: {}
- }
- },
- onLoad(opt){
- this.suggestion = JSON.parse(decodeURIComponent(opt.item));
- if(this.suggestion.processorUid==null){
- this.suggestion.processorUid = " ";
- }
- if(this.suggestion.name==null){
- this.suggestion.name = " ";
- }
- if(this.suggestion.result==null){
- this.suggestion.result = " ";
- }
- if(this.suggestion.closetime==null){
- this.suggestion.closetime = " ";
- }
-
- }
- }
- </script>
- <!-- 设置页面背景 -->
- <style lang="scss">
- page{
- height: 100%;
- // background-color: #FFF;
- }
- </style>
- <style lang="scss">
- /* 设置背景 */
- // page{
- // height: 100%;
- // background-color: #FFF2CC;
- // }
- .wrapper {
- width: 93%;
- padding: 20rpx;
- margin-left: 10rpx;
- border-radius: 20rpx;
- background-color: #FFF;
- }
- .benginTwo {
- margin-left: 10rpx;
- }
- /* 建议标题和时间 */
- .suggestTitleWrapper{
- margin-top: 50rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- /* 单独设置标题 */
- .suggestTtile{
- font-weight: bold;
- }
- /* 单独设置建议时间 */
- .suggestTime{
- font-size: 26rpx;
- color: #A6A6A6;
- }
- /* 建议内容 */
- .suggestContentWrapper{
- margin-top: 40rpx;
- display: flex;
- flex-direction: column;
- height: 600rpx;
- }
- /* 处理结果 */
- .handleResult{
- margin-top: 30rpx;
- }
- /* 处理时间 */
- .handleTime{
- font-weight: bold;
- }
- /* 处理状态 */
- .handleStatus{
- margin: 60rpx 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- font-weight: bold;
- color: red;
- }
- </style>
|