ydb-components-material 0.1.125 → 0.1.126

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.
Files changed (126) hide show
  1. package/build/docs/404.html +3 -3
  2. package/build/docs/_demos/:uuid +3 -3
  3. package/build/docs/colorful-button.html +3 -3
  4. package/build/docs/colorful-input.html +3 -3
  5. package/build/docs/index.html +3 -3
  6. package/build/docs/{umi.35f02979.css → umi.57dda8ea.css} +1 -1
  7. package/build/docs/{umi.5327dbca.js → umi.af7442ae.js} +1 -1
  8. package/build/docs/~demos/:uuid.html +3 -3
  9. package/build/docs/~demos/colorful-button-demo.html +3 -3
  10. package/build/docs/~demos/colorful-input-demo.html +3 -3
  11. package/build/lowcode/3.js +2 -2
  12. package/build/lowcode/4.js +1 -1
  13. package/build/lowcode/5.js +1 -1
  14. package/build/lowcode/assets-daily.json +11 -11
  15. package/build/lowcode/assets-dev.json +2 -2
  16. package/build/lowcode/assets-prod.json +11 -11
  17. package/build/lowcode/index.js +1 -1
  18. package/build/lowcode/meta.js +1 -1
  19. package/build/lowcode/preview.js +9 -9
  20. package/build/lowcode/render/default/1.js +2 -2
  21. package/build/lowcode/render/default/2.js +1 -1
  22. package/build/lowcode/render/default/3.js +1 -1
  23. package/build/lowcode/render/default/view.css +1 -1
  24. package/build/lowcode/render/default/view.js +10 -10
  25. package/build/lowcode/view.css +1 -1
  26. package/build/lowcode/view.js +11 -11
  27. package/dist/1.js +2 -2
  28. package/dist/2.js +1 -1
  29. package/dist/3.js +1 -1
  30. package/dist/BizComps.css +1 -1
  31. package/dist/BizComps.js +15 -15
  32. package/dist/BizComps.js.map +1 -1
  33. package/es/components/file-list/item.js +3 -1
  34. package/es/components/guide-pc/comment.js +4 -4
  35. package/es/components/guide-pc/comment.scss +3 -3
  36. package/es/components/guide-pc/components/accept.js +3 -3
  37. package/es/components/guide-pc/components/accept.scss +3 -3
  38. package/es/components/guide-pc/components/basicInfo.js +31 -31
  39. package/es/components/guide-pc/components/basicInfo.scss +5 -5
  40. package/es/components/guide-pc/components/eventInfo.d.ts +7 -0
  41. package/es/components/guide-pc/components/eventInfo.js +45 -0
  42. package/es/components/guide-pc/components/eventInfo.scss +36 -0
  43. package/es/components/guide-pc/components/guideTabs.js +2 -2
  44. package/es/components/guide-pc/components/guideTabs.scss +3 -2
  45. package/es/components/guide-pc/components/guideTitle.js +4 -4
  46. package/es/components/guide-pc/components/guideTitle.scss +3 -3
  47. package/es/components/guide-pc/components/materialsList.js +46 -49
  48. package/es/components/guide-pc/components/materialsList.scss +22 -22
  49. package/es/components/guide-pc/components/places.js +21 -21
  50. package/es/components/guide-pc/components/places.scss +19 -19
  51. package/es/components/guide-pc/components/processImg.js +19 -19
  52. package/es/components/guide-pc/components/processImg.scss +16 -16
  53. package/es/components/guide-pc/components/result.js +36 -36
  54. package/es/components/guide-pc/components/result.scss +15 -15
  55. package/es/components/guide-pc/components/situation.d.ts +4 -0
  56. package/es/components/guide-pc/components/situation.js +35 -31
  57. package/es/components/guide-pc/components/situation.scss +9 -9
  58. package/es/components/guide-pc/imgs/icon1.png +0 -0
  59. package/es/components/guide-pc/imgs/icon2.png +0 -0
  60. package/es/components/guide-pc/index.d.ts +1 -3
  61. package/es/components/guide-pc/index.js +41 -88
  62. package/es/components/guide-pc/index.scss +43 -103
  63. package/lib/components/file-list/item.js +3 -1
  64. package/lib/components/guide-pc/comment.js +4 -4
  65. package/lib/components/guide-pc/comment.scss +3 -3
  66. package/lib/components/guide-pc/components/accept.js +3 -3
  67. package/lib/components/guide-pc/components/accept.scss +3 -3
  68. package/lib/components/guide-pc/components/basicInfo.js +31 -31
  69. package/lib/components/guide-pc/components/basicInfo.scss +5 -5
  70. package/lib/components/guide-pc/components/eventInfo.d.ts +7 -0
  71. package/lib/components/guide-pc/components/eventInfo.js +51 -0
  72. package/lib/components/guide-pc/components/eventInfo.scss +36 -0
  73. package/lib/components/guide-pc/components/guideTabs.js +2 -2
  74. package/lib/components/guide-pc/components/guideTabs.scss +3 -2
  75. package/lib/components/guide-pc/components/guideTitle.js +4 -4
  76. package/lib/components/guide-pc/components/guideTitle.scss +3 -3
  77. package/lib/components/guide-pc/components/materialsList.js +46 -49
  78. package/lib/components/guide-pc/components/materialsList.scss +22 -22
  79. package/lib/components/guide-pc/components/places.js +21 -21
  80. package/lib/components/guide-pc/components/places.scss +19 -19
  81. package/lib/components/guide-pc/components/processImg.js +19 -19
  82. package/lib/components/guide-pc/components/processImg.scss +16 -16
  83. package/lib/components/guide-pc/components/result.js +36 -36
  84. package/lib/components/guide-pc/components/result.scss +15 -15
  85. package/lib/components/guide-pc/components/situation.d.ts +4 -0
  86. package/lib/components/guide-pc/components/situation.js +35 -31
  87. package/lib/components/guide-pc/components/situation.scss +9 -9
  88. package/lib/components/guide-pc/imgs/icon1.png +0 -0
  89. package/lib/components/guide-pc/imgs/icon2.png +0 -0
  90. package/lib/components/guide-pc/index.d.ts +1 -3
  91. package/lib/components/guide-pc/index.js +41 -88
  92. package/lib/components/guide-pc/index.scss +43 -103
  93. package/lowcode/guide-pc/meta.ts +1 -32
  94. package/lowcode_es/guide-pc/meta.js +0 -30
  95. package/lowcode_es/meta.js +1 -1
  96. package/lowcode_lib/guide-pc/meta.js +0 -30
  97. package/lowcode_lib/meta.js +1 -1
  98. package/package.json +3 -3
  99. package/es/components/guide-pc/comment.vue +0 -117
  100. package/es/components/guide-pc/components/accept.vue +0 -50
  101. package/es/components/guide-pc/components/basicInfo.vue +0 -81
  102. package/es/components/guide-pc/components/guideTabs.vue +0 -48
  103. package/es/components/guide-pc/components/guideTitle.vue +0 -43
  104. package/es/components/guide-pc/components/materialsList.vue +0 -403
  105. package/es/components/guide-pc/components/places.vue +0 -198
  106. package/es/components/guide-pc/components/processImg.vue +0 -300
  107. package/es/components/guide-pc/components/result.vue +0 -191
  108. package/es/components/guide-pc/components/situation.vue +0 -430
  109. package/es/components/guide-pc/guide.vue +0 -179
  110. package/es/components/guide-pc/imgs/error.png +0 -0
  111. package/es/components/guide-pc/imgs/judge.png +0 -0
  112. package/es/components/guide-pc/imgs/pass.png +0 -0
  113. package/lib/components/guide-pc/comment.vue +0 -117
  114. package/lib/components/guide-pc/components/accept.vue +0 -50
  115. package/lib/components/guide-pc/components/basicInfo.vue +0 -81
  116. package/lib/components/guide-pc/components/guideTabs.vue +0 -48
  117. package/lib/components/guide-pc/components/guideTitle.vue +0 -43
  118. package/lib/components/guide-pc/components/materialsList.vue +0 -403
  119. package/lib/components/guide-pc/components/places.vue +0 -198
  120. package/lib/components/guide-pc/components/processImg.vue +0 -300
  121. package/lib/components/guide-pc/components/result.vue +0 -191
  122. package/lib/components/guide-pc/components/situation.vue +0 -430
  123. package/lib/components/guide-pc/guide.vue +0 -179
  124. package/lib/components/guide-pc/imgs/error.png +0 -0
  125. package/lib/components/guide-pc/imgs/judge.png +0 -0
  126. package/lib/components/guide-pc/imgs/pass.png +0 -0
@@ -1,300 +0,0 @@
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>
@@ -1,191 +0,0 @@
1
- <template>
2
- <view class="result-content">
3
-
4
- <guideTitle title="成效分析" />
5
-
6
- <view class="card" v-for="item, index in list" :key="index">
7
- <view class="title">情形{{ index + 1 }}</view>
8
- <view class="desc">{{ item.scene }}</view>
9
-
10
- <view class="info-con" :style="{backgroundImage: `url(${commonBg})`}">
11
- <view class="info-title">
12
- <view class="title-item">现在办理业务</view>
13
- <view class="title-item">过往办理业务</view>
14
- </view>
15
-
16
- <view class="info-list">
17
- <view class="info-item">
18
- <view class="icon" :style="{backgroundImage: `url(${icon1})`}" />
19
-
20
- <view class="right">
21
- <text class="num">{{ item.materialReduction }}</text>份
22
- <view class="info">
23
- 平均提交材料减少
24
- <view class="downIcon" :style="{backgroundImage: `url(${down})`}" />
25
- </view>
26
- </view>
27
- </view>
28
-
29
- <view class="info-item">
30
- <view class="icon" :style="{backgroundImage: `url(${icon2})`}" />
31
- <view class="right">
32
- <text class="num">{{ item.timeReduction }}</text>天
33
- <view class="info">
34
- 平均耗时减少
35
- <view class="downIcon" :style="{backgroundImage: `url(${down})`}" />
36
- </view>
37
- </view>
38
- </view>
39
-
40
- <view class="info-item">
41
- <view class="icon" :style="{backgroundImage: `url(${icon3})`}" />
42
- <view class="right">
43
- <text class="num">{{ item.formReduction }}</text>个
44
- <view class="info">
45
- 平均表单字段减少
46
- <view class="downIcon" :style="{backgroundImage: `url(${down})`}" />
47
- </view>
48
- </view>
49
- </view>
50
-
51
- <view class="info-item">
52
- <view class="icon" :style="{backgroundImage: `url(${icon4})`}" />
53
- <view class="right">
54
- <text class="num">{{ item.runReduction }}</text>次
55
- <view class="info">
56
- 平均跑腿次数减少
57
- <view class="downIcon" :style="{backgroundImage: `url(${down})`}" />
58
- </view>
59
- </view>
60
- </view>
61
- </view>
62
- </view>
63
- </view>
64
-
65
- <empty
66
- v-if="!list.length"
67
- mode="search"
68
- text="暂无成效分析"
69
- />
70
- </view>
71
- </template>
72
-
73
- <script>
74
- import guideTitle from './guideTitle.vue'
75
- export default {
76
- components: { guideTitle },
77
- data() {
78
- return {
79
- commonBg: '../static/img/declare/bg22.png',
80
- icon1: '../static/img/declare/icon1.png',
81
- icon2: '../static/img/declare/icon2.png',
82
- icon3: '../static/img/declare/icon3.png',
83
- icon4: '../static/img/declare/icon4.png',
84
- down: '../static/img/declare/down.png',
85
- list: []
86
- }
87
- },
88
- mounted() {
89
- this.initData()
90
- },
91
- methods: {
92
- // 初始化 成效分析
93
- async initData() {
94
- const eventInfo = uni.getStorageSync('eventInfo')
95
- this.list = eventInfo.applicationConfigEfficiencies
96
- },
97
- }
98
- }
99
- </script>
100
-
101
- <style lang="scss" scoped>
102
- .result-content{
103
- margin-top: 50px;
104
- .card{
105
- background: #ffffff;
106
- border-radius: 8px;
107
- padding: 16px 0 0;
108
- margin-bottom: 12px;
109
- .title{
110
- font-size: 20px;
111
- font-weight: 500;
112
- color: #333333;
113
- margin: 0 16px;
114
- }
115
- .desc{
116
- font-size: 16px;
117
- line-height: 22px;
118
- color: #222222;
119
- margin: 8px 16px 12px;
120
- }
121
- .info-con{
122
- width: 100%;
123
- height: 242px;
124
- // border: 1px solid red;
125
- background-size: 100% 100%;
126
- .info-title{
127
- // border: 1px solid red;
128
- height: 68px;
129
- display: flex;
130
- justify-content: space-around;
131
- align-items: center;
132
- .title-item{
133
- font-size: 20px;
134
- font-weight: 500;
135
- color: #FFFFFF;
136
- &:last-child{
137
- color: #6480A7;
138
- margin-top: 8px;
139
- }
140
- }
141
- }
142
- .info-list{
143
- // border: 1px solid;
144
- margin: 0 30px;
145
- height: 150px;
146
- display: flex;
147
- justify-content: center;
148
- align-items: center;
149
- // border: 1px solid red;
150
- .info-item{
151
- // border: 1px solid red;
152
- display: flex;
153
- justify-content: center;
154
- align-items: center;
155
- flex: 1;
156
- gap: 16px;
157
- .icon{
158
- width: 60px;
159
- height: 60px;
160
- background-size: 100% 100%;
161
- // border: 1px solid;
162
- }
163
-
164
- .right{
165
- // border: 1px solid;
166
- .num{
167
- font-size: 26px;
168
- font-weight: 500;
169
- color: #1678FF;
170
- margin: 0 5px;
171
- }
172
- .info{
173
- font-size: 14px;
174
- color: #333333;
175
- display: flex;
176
- justify-content: center;
177
- align-items: center;
178
- margin-top: 2px;
179
- .downIcon{
180
- width: 17px;
181
- height: 17px;
182
- background-size: 100% 100%;
183
- }
184
- }
185
- }
186
- }
187
- }
188
- }
189
- }
190
- }
191
- </style>