|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="matter-page">
|
|
|
- <template v-if="info">
|
|
|
+ <scroll-view scroll-y="true" class="matter-scroll">
|
|
|
<view class="matter-item" v-if="info.handleMethod">
|
|
|
<view class="matter-label">办理方式</view>
|
|
|
<view class="matter-val">{{info.handleMethod}}</view>
|
|
@@ -20,11 +20,12 @@
|
|
|
<view class="matter-item" v-if="info.processingDays">
|
|
|
<view class="matter-label">承诺办结</view>
|
|
|
<view class="matter-val">{{info.processingDays}}天(工作日)</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="distance-btn" @click.stop="goTransact()">
|
|
|
+ <text>去办理</text>
|
|
|
</view>
|
|
|
- </template>
|
|
|
- <view class="distance-btn" @click.stop="goTransact()">
|
|
|
- <text>去办理</text>
|
|
|
- </view>
|
|
|
+ </scroll-view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -32,42 +33,20 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- info: {
|
|
|
- // "deleteFlag": "NOT_DELETE",
|
|
|
- // "createTime": "2024-12-17 17:38:09",
|
|
|
- // "createUser": "1543837863788879871",
|
|
|
- // "updateTime": null,
|
|
|
- // "updateUser": null,
|
|
|
- // "id": "1868953821385449474",
|
|
|
- // "category": "交通",
|
|
|
- // "name": "message",
|
|
|
- // "code": "test---11",
|
|
|
- // "businessType": "SECURITY",
|
|
|
- // "appId": "1851541103046574082",
|
|
|
- // "bizAppName": null,
|
|
|
- // "sort": 1,
|
|
|
- // "active": "ENABLE",
|
|
|
- // "processingDays": 2,
|
|
|
- // "matterType": "COMPREHENSIVE",
|
|
|
- // "handleMethod": "ONLINE_PROCESSING,WINDOW_PROCESSING",
|
|
|
- // "serviceObject": "PERSON,ENTERPRISE",
|
|
|
- // "processingConditions": "<p><img src=\"http://192.168.0.78:8282/dev/file/download?id=1868953714309062658\" alt=\"\" width=\"152\" height=\"152\"></p>",
|
|
|
- // "processingMaterial": "<p>大萨达撒<a href=\"https://www.baidu.com\">www.baidu.com</a></p>",
|
|
|
- // "transMap": {}
|
|
|
- }
|
|
|
+ info: {}
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
const eventChannel = this.getOpenerEventChannel();
|
|
|
eventChannel.on('acceptDataFromOpenerPage', data => {
|
|
|
- this.info = data
|
|
|
+ this.info = data || {}
|
|
|
uni.setNavigationBarTitle({
|
|
|
title: data.name
|
|
|
});
|
|
|
})
|
|
|
},
|
|
|
- methods:{
|
|
|
- goTransact(){
|
|
|
+ methods: {
|
|
|
+ goTransact() {
|
|
|
window.location = 'https://wsgaj.chutianyun.gov.cn/weixin/#/'
|
|
|
}
|
|
|
}
|
|
@@ -77,9 +56,15 @@
|
|
|
<style lang="scss" scoped>
|
|
|
.matter-page {
|
|
|
width: 100%;
|
|
|
- min-height: 100vh;
|
|
|
+ // min-height: 100vh;
|
|
|
background-color: #F2F2F2;
|
|
|
- padding: 30rpx;
|
|
|
+
|
|
|
+ .matter-scroll {
|
|
|
+ width: 100%;
|
|
|
+ height: 100vh;
|
|
|
+ padding: 30rpx;
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
.matter-item {
|
|
|
width: 100%;
|
|
@@ -89,7 +74,8 @@
|
|
|
align-items: stretch;
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
|
- >view {
|
|
|
+ .matter-label,
|
|
|
+ .matter-val {
|
|
|
flex-shrink: 0;
|
|
|
padding: 20rpx;
|
|
|
}
|
|
@@ -130,7 +116,7 @@
|
|
|
background-color: #61A8FF;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
- align-items: center;
|
|
|
+ align-items: center;
|
|
|
font-size: 22rpx;
|
|
|
font-weight: 700;
|
|
|
color: #ffffff;
|