ydb-components-material 0.1.119 → 0.1.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/static/situation.80bdb450.png +0 -0
- package/build/docs/{umi.ffb7b81c.css → umi.35f02979.css} +1 -1
- package/build/docs/umi.8b7db9c6.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/3.js +2 -2
- package/build/lowcode/4.js +1 -1
- package/build/lowcode/5.js +1 -1
- package/build/lowcode/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/1.js +2 -2
- package/build/lowcode/render/default/2.js +1 -1
- package/build/lowcode/render/default/3.js +1 -1
- package/build/lowcode/render/default/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +26 -26
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +26 -26
- package/dist/1.js +2 -2
- package/dist/2.js +1 -1
- package/dist/3.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +19 -19
- package/dist/BizComps.js.map +1 -1
- package/dist/assets/8644ab95dcea871942e57b3d0e2e0eea.png +0 -0
- package/es/components/file-list/item.js +2 -2
- package/es/components/file-list/seal.js +5 -1
- package/es/components/file-list/signUtil.js +9 -1
- package/es/components/guide-pc/comment.d.ts +9 -0
- package/es/components/guide-pc/comment.js +93 -0
- package/es/components/guide-pc/comment.scss +15 -0
- package/es/components/guide-pc/comment.vue +117 -0
- package/es/components/guide-pc/components/accept.d.ts +7 -0
- package/es/components/guide-pc/components/accept.js +30 -0
- package/es/components/guide-pc/components/accept.scss +18 -0
- package/es/components/guide-pc/components/accept.vue +50 -0
- package/es/components/guide-pc/components/basicInfo.d.ts +7 -0
- package/es/components/guide-pc/components/basicInfo.js +89 -0
- package/es/components/guide-pc/components/basicInfo.scss +30 -0
- package/es/components/guide-pc/components/basicInfo.vue +81 -0
- package/es/components/guide-pc/components/guideTabs.d.ts +8 -0
- package/es/components/guide-pc/components/guideTabs.js +32 -0
- package/es/components/guide-pc/components/guideTabs.scss +34 -0
- package/es/components/guide-pc/components/guideTabs.vue +48 -0
- package/es/components/guide-pc/components/guideTitle.d.ts +7 -0
- package/es/components/guide-pc/components/guideTitle.js +22 -0
- package/es/components/guide-pc/components/guideTitle.scss +15 -0
- package/es/components/guide-pc/components/guideTitle.vue +43 -0
- package/es/components/guide-pc/components/materialsList.d.ts +11 -0
- package/es/components/guide-pc/components/materialsList.js +386 -0
- package/es/components/guide-pc/components/materialsList.scss +139 -0
- package/es/components/guide-pc/components/materialsList.vue +403 -0
- package/es/components/guide-pc/components/places.d.ts +7 -0
- package/es/components/guide-pc/components/places.js +110 -0
- package/es/components/guide-pc/components/places.scss +144 -0
- package/es/components/guide-pc/components/places.vue +198 -0
- package/es/components/guide-pc/components/processImg.d.ts +9 -0
- package/es/components/guide-pc/components/processImg.js +220 -0
- package/es/components/guide-pc/components/processImg.scss +117 -0
- package/es/components/guide-pc/components/processImg.vue +300 -0
- package/es/components/guide-pc/components/result.d.ts +7 -0
- package/es/components/guide-pc/components/result.js +130 -0
- package/es/components/guide-pc/components/result.scss +104 -0
- package/es/components/guide-pc/components/result.vue +191 -0
- package/es/components/guide-pc/components/situation.d.ts +12 -0
- package/es/components/guide-pc/components/situation.js +142 -0
- package/es/components/guide-pc/components/situation.scss +79 -0
- package/es/components/guide-pc/components/situation.vue +430 -0
- package/es/components/guide-pc/guide.vue +179 -0
- package/es/components/guide-pc/imgs/bg.png +0 -0
- package/es/components/guide-pc/imgs/cant.png +0 -0
- package/es/components/guide-pc/imgs/dept.png +0 -0
- package/es/components/guide-pc/imgs/error.png +0 -0
- package/es/components/guide-pc/imgs/judge.png +0 -0
- package/es/components/guide-pc/imgs/pass.png +0 -0
- package/es/components/guide-pc/imgs/rightArr.png +0 -0
- package/es/components/guide-pc/imgs/situation.png +0 -0
- package/es/components/guide-pc/imgs/time.png +0 -0
- package/es/components/guide-pc/imgs/titleL.png +0 -0
- package/es/components/guide-pc/imgs/titleR.png +0 -0
- package/es/components/guide-pc/index.d.ts +37 -0
- package/es/components/guide-pc/index.js +440 -0
- package/es/components/guide-pc/index.scss +185 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -0
- package/lib/components/file-list/item.js +2 -2
- package/lib/components/file-list/seal.js +5 -1
- package/lib/components/file-list/signUtil.js +9 -1
- package/lib/components/guide-pc/comment.d.ts +9 -0
- package/lib/components/guide-pc/comment.js +98 -0
- package/lib/components/guide-pc/comment.scss +15 -0
- package/lib/components/guide-pc/comment.vue +117 -0
- package/lib/components/guide-pc/components/accept.d.ts +7 -0
- package/lib/components/guide-pc/components/accept.js +36 -0
- package/lib/components/guide-pc/components/accept.scss +18 -0
- package/lib/components/guide-pc/components/accept.vue +50 -0
- package/lib/components/guide-pc/components/basicInfo.d.ts +7 -0
- package/lib/components/guide-pc/components/basicInfo.js +95 -0
- package/lib/components/guide-pc/components/basicInfo.scss +30 -0
- package/lib/components/guide-pc/components/basicInfo.vue +81 -0
- package/lib/components/guide-pc/components/guideTabs.d.ts +8 -0
- package/lib/components/guide-pc/components/guideTabs.js +37 -0
- package/lib/components/guide-pc/components/guideTabs.scss +34 -0
- package/lib/components/guide-pc/components/guideTabs.vue +48 -0
- package/lib/components/guide-pc/components/guideTitle.d.ts +7 -0
- package/lib/components/guide-pc/components/guideTitle.js +28 -0
- package/lib/components/guide-pc/components/guideTitle.scss +15 -0
- package/lib/components/guide-pc/components/guideTitle.vue +43 -0
- package/lib/components/guide-pc/components/materialsList.d.ts +11 -0
- package/lib/components/guide-pc/components/materialsList.js +392 -0
- package/lib/components/guide-pc/components/materialsList.scss +139 -0
- package/lib/components/guide-pc/components/materialsList.vue +403 -0
- package/lib/components/guide-pc/components/places.d.ts +7 -0
- package/lib/components/guide-pc/components/places.js +116 -0
- package/lib/components/guide-pc/components/places.scss +144 -0
- package/lib/components/guide-pc/components/places.vue +198 -0
- package/lib/components/guide-pc/components/processImg.d.ts +9 -0
- package/lib/components/guide-pc/components/processImg.js +226 -0
- package/lib/components/guide-pc/components/processImg.scss +117 -0
- package/lib/components/guide-pc/components/processImg.vue +300 -0
- package/lib/components/guide-pc/components/result.d.ts +7 -0
- package/lib/components/guide-pc/components/result.js +136 -0
- package/lib/components/guide-pc/components/result.scss +104 -0
- package/lib/components/guide-pc/components/result.vue +191 -0
- package/lib/components/guide-pc/components/situation.d.ts +12 -0
- package/lib/components/guide-pc/components/situation.js +147 -0
- package/lib/components/guide-pc/components/situation.scss +79 -0
- package/lib/components/guide-pc/components/situation.vue +430 -0
- package/lib/components/guide-pc/guide.vue +179 -0
- package/lib/components/guide-pc/imgs/bg.png +0 -0
- package/lib/components/guide-pc/imgs/cant.png +0 -0
- package/lib/components/guide-pc/imgs/dept.png +0 -0
- package/lib/components/guide-pc/imgs/error.png +0 -0
- package/lib/components/guide-pc/imgs/judge.png +0 -0
- package/lib/components/guide-pc/imgs/pass.png +0 -0
- package/lib/components/guide-pc/imgs/rightArr.png +0 -0
- package/lib/components/guide-pc/imgs/situation.png +0 -0
- package/lib/components/guide-pc/imgs/time.png +0 -0
- package/lib/components/guide-pc/imgs/titleL.png +0 -0
- package/lib/components/guide-pc/imgs/titleR.png +0 -0
- package/lib/components/guide-pc/index.d.ts +37 -0
- package/lib/components/guide-pc/index.js +445 -0
- package/lib/components/guide-pc/index.scss +185 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lowcode/guide-pc/meta.ts +338 -0
- package/lowcode_es/guide-pc/meta.d.ts +22 -0
- package/lowcode_es/guide-pc/meta.js +315 -0
- package/lowcode_es/meta.js +3 -2
- package/lowcode_lib/guide-pc/meta.d.ts +22 -0
- package/lowcode_lib/guide-pc/meta.js +320 -0
- package/lowcode_lib/meta.js +17 -16
- package/package.json +3 -3
- package/build/docs/umi.55472eae.js +0 -1
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="processImg-content">
|
|
3
|
+
<guideTitle title="办事流程" />
|
|
4
|
+
<view class="sub-con">
|
|
5
|
+
<u-subsection :list="subList" :current="subIndex" @change="subChange" />
|
|
6
|
+
</view>
|
|
7
|
+
<!-- 办事攻略 -->
|
|
8
|
+
<view class="card" v-if="subIndex == 0">
|
|
9
|
+
<view class="list-con">
|
|
10
|
+
<view class="item" v-for="item, index in strategyList" :key="index">
|
|
11
|
+
<view class="title-con">
|
|
12
|
+
<view class="num">0{{ index + 1 }}</view>
|
|
13
|
+
<view class="item-title">{{ item.title }}</view>
|
|
14
|
+
</view>
|
|
15
|
+
|
|
16
|
+
<view class="desc-con">
|
|
17
|
+
<view class="desc-info">
|
|
18
|
+
|
|
19
|
+
<view class="desc">
|
|
20
|
+
{{ item.introduction }}
|
|
21
|
+
</view>
|
|
22
|
+
<template v-if="item.fileId">
|
|
23
|
+
<img v-if="item.isImg" class="video-con" :src="item.fileUrl"/>
|
|
24
|
+
<video v-if="!item.isImg" class="video-con" :src="item.fileUrl" />
|
|
25
|
+
</template>
|
|
26
|
+
</view>
|
|
27
|
+
</view>
|
|
28
|
+
</view>
|
|
29
|
+
</view>
|
|
30
|
+
</view>
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
<!-- 办事流程 -->
|
|
34
|
+
<view class="card" v-if="subIndex == 1">
|
|
35
|
+
<!-- <view class="title">办事流程</view> -->
|
|
36
|
+
<view
|
|
37
|
+
class="imgView"
|
|
38
|
+
v-if="processImg"
|
|
39
|
+
:style="{backgroundImage: `url(${processImg})`}"
|
|
40
|
+
@click="preView"
|
|
41
|
+
/>
|
|
42
|
+
</view>
|
|
43
|
+
|
|
44
|
+
<view v-if="!processImg || loading" class="empty-content">
|
|
45
|
+
<u-loading-icon
|
|
46
|
+
:show="loading"
|
|
47
|
+
text="加载中"
|
|
48
|
+
textSize="14"
|
|
49
|
+
mode="circle"
|
|
50
|
+
vertical
|
|
51
|
+
/>
|
|
52
|
+
<empty
|
|
53
|
+
v-if="!processImg && !loading"
|
|
54
|
+
mode="page"
|
|
55
|
+
text="暂无相关材料"
|
|
56
|
+
:isFull="false"
|
|
57
|
+
/>
|
|
58
|
+
</view>
|
|
59
|
+
</view>
|
|
60
|
+
</template>
|
|
61
|
+
|
|
62
|
+
<script>
|
|
63
|
+
import { getFileUrlApi } from '@/api/business.js'
|
|
64
|
+
import guideTitle from './guideTitle.vue'
|
|
65
|
+
export default {
|
|
66
|
+
components: { guideTitle },
|
|
67
|
+
data() {
|
|
68
|
+
return {
|
|
69
|
+
loading: true,
|
|
70
|
+
processImg: '',
|
|
71
|
+
|
|
72
|
+
subList: ['办事攻略', '办事流程'],
|
|
73
|
+
// 或者如下,也可以配置keyName参数修改对象键名
|
|
74
|
+
// list: [{name: '未付款'}, {name: '待评价'}, {name: '已付款'}],
|
|
75
|
+
subIndex: 0,
|
|
76
|
+
|
|
77
|
+
strategyList: [],
|
|
78
|
+
|
|
79
|
+
list: [
|
|
80
|
+
{
|
|
81
|
+
title: '委托授权',
|
|
82
|
+
desc: '如果企业法定代表人本人来办理,则可以直接登录账号或者去大厅窗口进行业务办理。如果是委托第三方机构或者个人来办理,需要先去办理委托授权申请。',
|
|
83
|
+
url: '../../static/img/declare/commonBg.png',
|
|
84
|
+
video: 'https://zwfwpt.sxzwfw.gov.cn/fis/18a78d3d407-true/master/18b4752f107/2025/12/2001230010824531969/demo2.mp4',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
title: '业务申报',
|
|
88
|
+
desc: '登录账号选择“数字化”专区,选择对应的事项进行填写信息,提交对应的材料进行业务办理。',
|
|
89
|
+
url: '../../static/img/declare/commonBg.png',
|
|
90
|
+
video: 'https://zwfwpt.sxzwfw.gov.cn/fis/18a78d3d407-true/master/18b4752f107/2025/12/2001229910601637890/demo.mp4'
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
title: '结果领取',
|
|
94
|
+
desc: '结果领取可选择窗口领取或邮寄送达。',
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
mounted() {
|
|
100
|
+
this.initData()
|
|
101
|
+
},
|
|
102
|
+
methods: {
|
|
103
|
+
subChange(index) {
|
|
104
|
+
console.log(index);
|
|
105
|
+
this.subIndex = index
|
|
106
|
+
},
|
|
107
|
+
// 初始化 流程图
|
|
108
|
+
async initData() {
|
|
109
|
+
const eventInfo = uni.getStorageSync('eventInfo')
|
|
110
|
+
const imgObj = eventInfo.taskGeneralExtend.programProcess
|
|
111
|
+
const imgObj_ = JSON.parse(imgObj)
|
|
112
|
+
if(imgObj_.length > 0) {
|
|
113
|
+
if(imgObj_[0].id) {
|
|
114
|
+
const photoUrl = await this.getFileUrlFun(imgObj_[0].id)
|
|
115
|
+
this.processImg = photoUrl
|
|
116
|
+
this.loading = false
|
|
117
|
+
}else{
|
|
118
|
+
this.loading = false
|
|
119
|
+
}
|
|
120
|
+
}else{
|
|
121
|
+
this.loading = false
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// 办事攻略
|
|
125
|
+
this.strategyList = eventInfo.applicationAffairsStrategy
|
|
126
|
+
this.initStrategyList() // 将办事攻略中的图片和视频查回来 并放到列表里
|
|
127
|
+
},
|
|
128
|
+
// 预览图片 [方法]
|
|
129
|
+
preView() {
|
|
130
|
+
uni.previewImage({
|
|
131
|
+
urls: [this.processImg]
|
|
132
|
+
})
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
// 初始化攻略列表 将文件id查询到文件地址 [方法]
|
|
136
|
+
initStrategyList() {
|
|
137
|
+
const { applicationAffairsStrategy } = uni.getStorageSync('eventInfo')
|
|
138
|
+
if(applicationAffairsStrategy && applicationAffairsStrategy.length) {
|
|
139
|
+
applicationAffairsStrategy.forEach((ele, index) => {
|
|
140
|
+
if(ele.fileId) {
|
|
141
|
+
this.getFileUrlFun2(ele.fileId, index)
|
|
142
|
+
}
|
|
143
|
+
})
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
|
|
147
|
+
// =============== API ===============
|
|
148
|
+
// 获取文件地址
|
|
149
|
+
getFileUrlFun(id) {
|
|
150
|
+
const params = {
|
|
151
|
+
effectiveTime: '3600',
|
|
152
|
+
id
|
|
153
|
+
}
|
|
154
|
+
this.loading = true
|
|
155
|
+
return new Promise((resole) => {
|
|
156
|
+
getFileUrlApi(params).then((res) => {
|
|
157
|
+
if(res && res.presignedUrlList && res.presignedUrlList.length > 0) {
|
|
158
|
+
resole(res.presignedUrlList[2])
|
|
159
|
+
}
|
|
160
|
+
}).catch(err => {
|
|
161
|
+
console.log(err)
|
|
162
|
+
this.loading = false
|
|
163
|
+
})
|
|
164
|
+
})
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
// 获取文件地址(同步的)
|
|
168
|
+
getFileUrlFun2(id, index) {
|
|
169
|
+
const params = {
|
|
170
|
+
effectiveTime: '3600',
|
|
171
|
+
id
|
|
172
|
+
}
|
|
173
|
+
const imgFormat = ['jpg', 'jpeg', 'png', 'gif']
|
|
174
|
+
getFileUrlApi(params).then((res) => {
|
|
175
|
+
if(res && res.presignedUrlList && res.presignedUrlList.length > 0) {
|
|
176
|
+
const fileUrl = res.presignedUrlList[2]
|
|
177
|
+
const isImg = imgFormat.find((item) => fileUrl.includes(item))
|
|
178
|
+
this.strategyList[index].fileUrl = fileUrl
|
|
179
|
+
this.strategyList[index].isImg = isImg
|
|
180
|
+
this.$forceUpdate()
|
|
181
|
+
}
|
|
182
|
+
}).catch(err => {
|
|
183
|
+
console.log(err)
|
|
184
|
+
this.loading = false
|
|
185
|
+
})
|
|
186
|
+
},
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
</script>
|
|
190
|
+
|
|
191
|
+
<style lang="scss" scoped>
|
|
192
|
+
.processImg-content{
|
|
193
|
+
margin-top: 20px;
|
|
194
|
+
.sub-con{
|
|
195
|
+
width: 200px;
|
|
196
|
+
}
|
|
197
|
+
.card{
|
|
198
|
+
background: #FFFFFF;
|
|
199
|
+
border-radius: 8px;
|
|
200
|
+
width: 100%;
|
|
201
|
+
margin-bottom: 30rpx;
|
|
202
|
+
box-sizing: border-box;
|
|
203
|
+
.title{
|
|
204
|
+
font-size: 16px;
|
|
205
|
+
font-weight: 500;
|
|
206
|
+
color: #333333;
|
|
207
|
+
margin-bottom: 16px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.list-con{
|
|
212
|
+
|
|
213
|
+
.item{
|
|
214
|
+
margin: 16px 0;
|
|
215
|
+
background: #f5f6f8;
|
|
216
|
+
padding: 20px;
|
|
217
|
+
border-radius: 8px;
|
|
218
|
+
.title-con{
|
|
219
|
+
display: flex;
|
|
220
|
+
justify-content: flex-start;
|
|
221
|
+
align-items: center;
|
|
222
|
+
.num{
|
|
223
|
+
background: linear-gradient(90deg, #73AEFF 0%, #1678FF 100%);
|
|
224
|
+
color: #ffffff;
|
|
225
|
+
font-size: 13px;
|
|
226
|
+
padding: 0 7px;
|
|
227
|
+
border-radius: 2px;
|
|
228
|
+
|
|
229
|
+
transform: skew(-10deg)
|
|
230
|
+
}
|
|
231
|
+
.item-title{
|
|
232
|
+
font-size: 16px;
|
|
233
|
+
font-weight: 500;
|
|
234
|
+
color: #333333;
|
|
235
|
+
margin-left: 10px;
|
|
236
|
+
&::after{
|
|
237
|
+
content: '';
|
|
238
|
+
display: block;
|
|
239
|
+
// position: absolute;
|
|
240
|
+
width: 68px;
|
|
241
|
+
height: 8px;
|
|
242
|
+
margin-top: -7px;
|
|
243
|
+
background: linear-gradient(90deg, #D9E9FF 0%, #FFFFFF 98%);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
.desc-con{
|
|
248
|
+
// border-left: 1px dashed #1678FF;
|
|
249
|
+
// margin-left: 14px;
|
|
250
|
+
margin-top: 10px;
|
|
251
|
+
// padding-left: 22px;
|
|
252
|
+
.desc-info{
|
|
253
|
+
// background: #F5F9FF;
|
|
254
|
+
// padding: 12px;
|
|
255
|
+
font-size: 14px;
|
|
256
|
+
line-height: 22px;
|
|
257
|
+
color: #333333;
|
|
258
|
+
border-radius: 8px;
|
|
259
|
+
|
|
260
|
+
display: flex;
|
|
261
|
+
justify-content: space-between;
|
|
262
|
+
align-items: flex-start;
|
|
263
|
+
gap: 50px;
|
|
264
|
+
.desc{
|
|
265
|
+
flex: 1;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.video-con{
|
|
269
|
+
// border: 1px solid red;
|
|
270
|
+
width: 100%;
|
|
271
|
+
width: 262px;
|
|
272
|
+
// margin-top: 10px;
|
|
273
|
+
height: 146px;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
&:last-child{
|
|
278
|
+
.desc-con{
|
|
279
|
+
border: none;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
.imgView{
|
|
285
|
+
width: 30%;
|
|
286
|
+
height: 900px;
|
|
287
|
+
// border: 1px solid;
|
|
288
|
+
background-size: 100%;
|
|
289
|
+
background-repeat: no-repeat;
|
|
290
|
+
margin: 20px auto;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.empty-content{
|
|
294
|
+
height: 800rpx;
|
|
295
|
+
display: flex;
|
|
296
|
+
justify-content: center;
|
|
297
|
+
align-items: center;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
</style>
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var React = _interopRequireWildcard(require("react"));
|
|
7
|
+
var _guideTitle = _interopRequireDefault(require("./guideTitle"));
|
|
8
|
+
var _icon = _interopRequireDefault(require("../../guide/imgs/icon1.png"));
|
|
9
|
+
var _icon2 = _interopRequireDefault(require("../../guide/imgs/icon2.png"));
|
|
10
|
+
var _icon3 = _interopRequireDefault(require("../../guide/imgs/icon3.png"));
|
|
11
|
+
var _icon4 = _interopRequireDefault(require("../../guide/imgs/icon4.png"));
|
|
12
|
+
var _down = _interopRequireDefault(require("../../guide/imgs/down.png"));
|
|
13
|
+
require("./result.scss");
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
|
+
var Result = function Result(_ref) {
|
|
16
|
+
var eventInfoProp = _ref.eventInfo;
|
|
17
|
+
var _React$useState = React.useState([]),
|
|
18
|
+
list = _React$useState[0],
|
|
19
|
+
setList = _React$useState[1];
|
|
20
|
+
React.useEffect(function () {
|
|
21
|
+
var eventInfo = eventInfoProp;
|
|
22
|
+
if (eventInfo !== null && eventInfo !== void 0 && eventInfo.applicationConfigEfficiencies) {
|
|
23
|
+
setList(eventInfo.applicationConfigEfficiencies);
|
|
24
|
+
}
|
|
25
|
+
}, [eventInfoProp]);
|
|
26
|
+
if (!list.length) {
|
|
27
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
className: "result-content"
|
|
29
|
+
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
30
|
+
title: "\u6210\u6548\u5206\u6790"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: "empty-text"
|
|
33
|
+
}, "\u6682\u65E0\u6210\u6548\u5206\u6790"));
|
|
34
|
+
}
|
|
35
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: "result-content"
|
|
37
|
+
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
38
|
+
title: "\u6210\u6548\u5206\u6790"
|
|
39
|
+
}), list.map(function (item, index) {
|
|
40
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
className: "card",
|
|
42
|
+
key: index
|
|
43
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
44
|
+
className: "title"
|
|
45
|
+
}, "\u60C5\u5F62", index + 1), /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
className: "desc"
|
|
47
|
+
}, item.scene), /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
className: "bg-card",
|
|
49
|
+
style: {
|
|
50
|
+
backgroundImage: "url(https://zwfwpt.sxzwfw.gov.cn:11001/fis/18a78d3d488-true/master/18b4752f107/2026/5/2059443890220503042/bg2.png)"
|
|
51
|
+
}
|
|
52
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: "info-title"
|
|
54
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: "title-item"
|
|
56
|
+
}, "\u73B0\u5728\u529E\u7406\u4E1A\u52A1"), /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: "title-item past"
|
|
58
|
+
}, "\u8FC7\u5F80\u529E\u7406\u4E1A\u52A1")), /*#__PURE__*/React.createElement("div", {
|
|
59
|
+
className: "info-list"
|
|
60
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61
|
+
className: "info-item"
|
|
62
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
63
|
+
className: "icon",
|
|
64
|
+
style: {
|
|
65
|
+
backgroundImage: "url(" + _icon["default"] + ")"
|
|
66
|
+
}
|
|
67
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
68
|
+
className: "right"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
70
|
+
className: "num"
|
|
71
|
+
}, item.materialReduction), "\u4EFD", /*#__PURE__*/React.createElement("div", {
|
|
72
|
+
className: "info-label"
|
|
73
|
+
}, "\u5E73\u5747\u63D0\u4EA4\u6750\u6599\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
74
|
+
className: "down-icon",
|
|
75
|
+
style: {
|
|
76
|
+
backgroundImage: "url(" + _down["default"] + ")"
|
|
77
|
+
}
|
|
78
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
79
|
+
className: "info-item"
|
|
80
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
81
|
+
className: "icon",
|
|
82
|
+
style: {
|
|
83
|
+
backgroundImage: "url(" + _icon2["default"] + ")"
|
|
84
|
+
}
|
|
85
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
86
|
+
className: "right"
|
|
87
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
88
|
+
className: "num"
|
|
89
|
+
}, item.timeReduction), "\u5929", /*#__PURE__*/React.createElement("div", {
|
|
90
|
+
className: "info-label"
|
|
91
|
+
}, "\u5E73\u5747\u8017\u65F6\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
92
|
+
className: "down-icon",
|
|
93
|
+
style: {
|
|
94
|
+
backgroundImage: "url(" + _down["default"] + ")"
|
|
95
|
+
}
|
|
96
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
97
|
+
className: "info-item"
|
|
98
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
99
|
+
className: "icon",
|
|
100
|
+
style: {
|
|
101
|
+
backgroundImage: "url(" + _icon3["default"] + ")"
|
|
102
|
+
}
|
|
103
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
104
|
+
className: "right"
|
|
105
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
106
|
+
className: "num"
|
|
107
|
+
}, item.formReduction), "\u4E2A", /*#__PURE__*/React.createElement("div", {
|
|
108
|
+
className: "info-label"
|
|
109
|
+
}, "\u5E73\u5747\u8868\u5355\u5B57\u6BB5\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
110
|
+
className: "down-icon",
|
|
111
|
+
style: {
|
|
112
|
+
backgroundImage: "url(" + _down["default"] + ")"
|
|
113
|
+
}
|
|
114
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
className: "info-item"
|
|
116
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
117
|
+
className: "icon",
|
|
118
|
+
style: {
|
|
119
|
+
backgroundImage: "url(" + _icon4["default"] + ")"
|
|
120
|
+
}
|
|
121
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
122
|
+
className: "right"
|
|
123
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
124
|
+
className: "num"
|
|
125
|
+
}, item.runReduction), "\u6B21", /*#__PURE__*/React.createElement("div", {
|
|
126
|
+
className: "info-label"
|
|
127
|
+
}, "\u5E73\u5747\u8DD1\u817F\u6B21\u6570\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
128
|
+
className: "down-icon",
|
|
129
|
+
style: {
|
|
130
|
+
backgroundImage: "url(" + _down["default"] + ")"
|
|
131
|
+
}
|
|
132
|
+
})))))));
|
|
133
|
+
}));
|
|
134
|
+
};
|
|
135
|
+
Result.displayName = 'Result';
|
|
136
|
+
var _default = exports["default"] = Result;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
.result-content {
|
|
2
|
+
.card {
|
|
3
|
+
background: #ffffff;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
padding: 16px 0 0;
|
|
6
|
+
margin-bottom: 12px;
|
|
7
|
+
|
|
8
|
+
.title {
|
|
9
|
+
font-size: 20px;
|
|
10
|
+
font-weight: 500;
|
|
11
|
+
color: #333333;
|
|
12
|
+
margin: 0 16px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.desc {
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
line-height: 22px;
|
|
18
|
+
color: #222222;
|
|
19
|
+
margin: 8px 16px 12px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.bg-card {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 242px;
|
|
25
|
+
background-size: 100% 100%;
|
|
26
|
+
background-repeat: no-repeat;
|
|
27
|
+
|
|
28
|
+
.info-title {
|
|
29
|
+
height: 68px;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: space-around;
|
|
32
|
+
align-items: center;
|
|
33
|
+
|
|
34
|
+
.title-item {
|
|
35
|
+
font-size: 20px;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
color: #FFFFFF;
|
|
38
|
+
|
|
39
|
+
&.past {
|
|
40
|
+
color: #6480A7;
|
|
41
|
+
margin-top: 8px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.info-list {
|
|
47
|
+
margin: 0 30px;
|
|
48
|
+
height: 150px;
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
|
|
53
|
+
.info-item {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
align-items: center;
|
|
57
|
+
flex: 1;
|
|
58
|
+
gap: 16px;
|
|
59
|
+
|
|
60
|
+
.icon {
|
|
61
|
+
width: 60px;
|
|
62
|
+
height: 60px;
|
|
63
|
+
background-size: 100% 100%;
|
|
64
|
+
background-repeat: no-repeat;
|
|
65
|
+
flex-shrink: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.right {
|
|
69
|
+
.num {
|
|
70
|
+
font-size: 26px;
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
color: #1678FF;
|
|
73
|
+
margin: 0 5px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.info-label {
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
color: #333333;
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
margin-top: 2px;
|
|
82
|
+
|
|
83
|
+
.down-icon {
|
|
84
|
+
display: inline-block;
|
|
85
|
+
width: 17px;
|
|
86
|
+
height: 17px;
|
|
87
|
+
background-size: 100% 100%;
|
|
88
|
+
background-repeat: no-repeat;
|
|
89
|
+
margin-left: 2px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.empty-text {
|
|
99
|
+
text-align: center;
|
|
100
|
+
padding: 40px;
|
|
101
|
+
color: #999;
|
|
102
|
+
font-size: 14px;
|
|
103
|
+
}
|
|
104
|
+
}
|