Commit 53c27360fb9a2c5d415fe79d3d23385104d562d4

Authored by smile
1 parent e3296b98

1111

apis/modules/ryy.js
... ... @@ -3,17 +3,22 @@ import utils from '../../service/utils.js'
3 3 export default {
4 4 // 获取儿童手环信息
5 5 getChild(pages) {
6   - return request.get('/childStay/records/getUserProtect',pages)
  6 + return request.get('/childStay/records/getUserProtect', pages)
7 7 },
8 8 addRegistration(data) {
9   - return request.post('/childAdopt/registration',data)
  9 + return request.post('/childAdopt/registration', data)
10 10 },
11 11 // 获取历史记录和流程
12 12 getHistory(pages) {
13   - return request.get('/childAdopt/registration/caseHistory',pages)
  13 + return request.get('/childAdopt/registration/caseHistory', pages)
14 14 },
15 15 // 获取机构
16 16 getListRoles(pages) {
17   - return request.get('/system/user/listRoles',pages)
18   - }
  17 + return request.get('/system/user/listRoles', pages)
  18 + },
  19 + // 添加悄悄话
  20 + addInfo(data) {
  21 + return request.post('/childAdopt/infoes', data)
  22 + },
  23 +
19 24 }
20 25 \ No newline at end of file
... ...
common/config.js
1   -
2   -let BASE_URL='http://8.130.38.56:8536';
  1 +let BASE_URL = 'http://zhmz.rsxmzj.cn:8536';
3 2  
4 3 // let BASE_URL='http://192.168.179.221:8536';
5 4  
6 5  
7   -export default BASE_URL
  6 +export default BASE_URL
8 7 \ No newline at end of file
... ...
pages.json
... ... @@ -2,8 +2,7 @@
2 2 "easycom": {
3 3 "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
4 4 },
5   - "pages": [
6   - {
  5 + "pages": [{
7 6 "path": "pages/home/home",
8 7 "style": {
9 8 "navigationStyle": "custom"
... ... @@ -189,12 +188,20 @@
189 188 "style": {
190 189 "navigationStyle": "custom"
191 190 }
192   - },{
  191 + },
  192 + {
  193 + "path": "pages/whisper/whisperSuccess",
  194 + "style": {
  195 + "navigationStyle": "custom"
  196 + }
  197 + },
  198 + {
193 199 "path": "pages/mapdoorplate/mapdoorplate",
194 200 "style": {
195 201 "navigationStyle": "custom"
196 202 }
197   - }, {
  203 + },
  204 + {
198 205 "path": "pages/minorsos/minorsos",
199 206 "style": {
200 207 "navigationStyle": "custom"
... ... @@ -300,7 +307,7 @@
300 307 }
301 308  
302 309 },
303   - {
  310 + {
304 311 "path": "pages/declaration/community",
305 312 "style": {
306 313 "navigationBarTitleText": "",
... ... @@ -314,166 +321,149 @@
314 321 "enablePullDownRefresh": false
315 322 }
316 323  
317   - }
318   - ,{
319   - "path" : "pages/declaration/declaration",
320   - "style" :
321   - {
  324 + }, {
  325 + "path": "pages/declaration/declaration",
  326 + "style": {
322 327 "navigationStyle": "custom",
323   - "navigationBarTitleText": "",
324   - "enablePullDownRefresh": false
325   - }
326   -
327   - }
328   - ,{
329   - "path" : "pages/declaration/declarationList",
330   - "style" :
331   - {
332   - "navigationBarTitleText": "上报历史",
333   - "enablePullDownRefresh": false
334   - }
335   -
336   - }
337   - ,{
338   - "path" : "pages/declaration/declarationListdetail",
339   - "style" :
340   - {
  328 + "navigationBarTitleText": "",
  329 + "enablePullDownRefresh": false
  330 + }
  331 +
  332 + }, {
  333 + "path": "pages/declaration/declarationList",
  334 + "style": {
  335 + "navigationBarTitleText": "上报历史",
  336 + "enablePullDownRefresh": false
  337 + }
  338 +
  339 + }, {
  340 + "path": "pages/declaration/declarationListdetail",
  341 + "style": {
341 342 "navigationStyle": "custom",
342   - "navigationBarTitleText": "",
343   - "enablePullDownRefresh": false
344   - }
345   -
346   - }
347   - ,{
348   - "path" : "pages/policy/policy",
349   - "style" :
350   - {
351   - "navigationBarTitleText": "政策文件",
  343 + "navigationBarTitleText": "",
352 344 "enablePullDownRefresh": false
353 345 }
354   -
355   - }
356   - ,{
357   - "path" : "pages/receiptRegistration/receiptRegistrationDetail",
358   - "style" :
359   - {
360   - "navigationBarTitleText": "登记详情",
361   - "enablePullDownRefresh": false
362   - }
363   -
364   - },
  346 +
  347 + },
  348 + {
  349 + "path": "pages/policy/policy",
  350 + "style": {
  351 + "navigationBarTitleText": "政策文件",
  352 + "enablePullDownRefresh": false
  353 + }
  354 +
  355 + },
  356 + {
  357 + "path": "pages/receiptRegistration/receiptRegistrationDetail",
  358 + "style": {
  359 + "navigationBarTitleText": "登记详情",
  360 + "enablePullDownRefresh": false
  361 + }
  362 +
  363 + },
365 364 {
366   - "path" : "pages/receiptRegistration/organization",
367   - "style" :
368   - {
369   - "navigationBarTitleText": "机构上报",
370   - "enablePullDownRefresh": false
371   - }
372   -
373   - },
  365 + "path": "pages/receiptRegistration/organization",
  366 + "style": {
  367 + "navigationBarTitleText": "机构上报",
  368 + "enablePullDownRefresh": false
  369 + }
  370 +
  371 + },
374 372 {
375   - "path" : "pages/receiptRegistration/townShip",
376   - "style" :
377   - {
378   - "navigationBarTitleText": "乡镇上报",
379   - "enablePullDownRefresh": false
380   - }
381   -
382   - }
383   - ,{
  373 + "path": "pages/whisper/index",
  374 + "style": {
  375 + "navigationBarTitleText": "悄悄话",
  376 + "enablePullDownRefresh": false
  377 + }
  378 +
  379 + },
  380 + {
  381 + "path": "pages/receiptRegistration/townShip",
  382 + "style": {
  383 + "navigationBarTitleText": "乡镇上报",
  384 + "enablePullDownRefresh": false
  385 + }
  386 +
  387 + }, {
384 388  
385   - "path" : "pages/policy/policydetail",
386   - "style" :
387   - {
  389 + "path": "pages/policy/policydetail",
  390 + "style": {
388 391 "navigationStyle": "custom",
389   - "navigationBarTitleText": ""
  392 + "navigationBarTitleText": ""
  393 + }
  394 + }, {
  395 + "path": "pages/receiptRegistration/receiptRegistrationSchedule",
  396 + "style": {
  397 + "navigationBarTitleText": "帮扶进度",
  398 + "enablePullDownRefresh": false
390 399 }
391   - }
392   - ,{
393   - "path" : "pages/receiptRegistration/receiptRegistrationSchedule",
394   - "style" :
395   - {
396   - "navigationBarTitleText": "帮扶进度",
397   - "enablePullDownRefresh": false
398   - }
399   -
400   - }
401   - ,{
402 400  
403   - "path" : "pages/declaration/declaration1",
404   - "style" :
405   - {
  401 + }, {
  402 +
  403 + "path": "pages/declaration/declaration1",
  404 + "style": {
406 405 "navigationStyle": "custom",
407   - "navigationBarTitleText": ""
  406 + "navigationBarTitleText": ""
408 407 }
409   - }
410   - ,{
411   - "path" : "pages/receiptRegistration/receiptRegistration",
412   - "style" :
413   - {
414   - "navigationBarTitleText": "个案接报登记",
415   - "enablePullDownRefresh": false
416   - }
417   -
418   - },
419   - {
420   - "path": "pages/slgxx/slgxx",
421   - "style": {
422   - "navigationStyle": "custom"
423   - }
424   - }
425   - ,{
426   - "path" : "pages/receiptRegistration/receiptRegistrationList",
427   - "style" :
428   - {
429   - "navigationBarTitleText": "列表",
430   - "enablePullDownRefresh": false
431   - }
432   -
433   - }
434   - ,{
435   - "path" : "pages/mapdoorplate/mapdoorplatelist",
436   - "style" :
437   - {
438   - "navigationBarTitleText": "列表",
439   - "enablePullDownRefresh": false
440   - }
441   -
442   - },
443   - {
444   - "path": "pages/xxqr/xxqr",
445   - "style": {
446   - "navigationStyle": "custom"
447   - }
  408 + }, {
  409 + "path": "pages/receiptRegistration/receiptRegistration",
  410 + "style": {
  411 + "navigationBarTitleText": "个案接报登记",
  412 + "enablePullDownRefresh": false
  413 + }
  414 +
448 415 },
449 416 {
450   - "path" : "pages/declaration/newDeclaration",
451   - "style" :
452   - {
  417 + "path": "pages/slgxx/slgxx",
  418 + "style": {
  419 + "navigationStyle": "custom"
  420 + }
  421 + }, {
  422 + "path": "pages/receiptRegistration/receiptRegistrationList",
  423 + "style": {
  424 + "navigationBarTitleText": "列表",
  425 + "enablePullDownRefresh": false
  426 + }
  427 +
  428 + }, {
  429 + "path": "pages/mapdoorplate/mapdoorplatelist",
  430 + "style": {
  431 + "navigationBarTitleText": "列表",
  432 + "enablePullDownRefresh": false
  433 + }
  434 +
  435 + },
  436 + {
  437 + "path": "pages/xxqr/xxqr",
  438 + "style": {
  439 + "navigationStyle": "custom"
  440 + }
  441 + },
  442 + {
  443 + "path": "pages/declaration/newDeclaration",
  444 + "style": {
453 445 "navigationStyle": "custom",
454   - "navigationBarTitleText" : "",
455   - "enablePullDownRefresh" : false
  446 + "navigationBarTitleText": "",
  447 + "enablePullDownRefresh": false
456 448 }
457 449 },
458 450 {
459   - "path" : "pages/declaration/newDeclarationdetail",
460   - "style" :
461   - {
462   - "navigationBarTitleText" : "",
  451 + "path": "pages/declaration/newDeclarationdetail",
  452 + "style": {
  453 + "navigationBarTitleText": "",
463 454 "navigationStyle": "custom",
464   - "enablePullDownRefresh" : false
  455 + "enablePullDownRefresh": false
465 456 }
466 457 },
467 458 {
468   - "path" : "pages/mapstakelinedetail/addmapstakelinedetail",
469   - "style" :
470   - {
471   - "navigationBarTitleText" : "",
472   - "enablePullDownRefresh" : false,
  459 + "path": "pages/mapstakelinedetail/addmapstakelinedetail",
  460 + "style": {
  461 + "navigationBarTitleText": "",
  462 + "enablePullDownRefresh": false,
473 463 "navigationStyle": "custom"
474 464 }
475 465 }
476   - ],
  466 + ],
477 467 "globalStyle": {
478 468 "navigationBarTextStyle": "black",
479 469 "navigationBarBackgroundColor": "#ffffff"
... ...
pages/home/home.vue
1 1 <template>
2 2 <view class="page">
3   - <view class="bg"><image src="/static/bg.jpg"></image></view>
  3 + <view class="bg">
  4 + <image src="/static/bg.jpg"></image>
  5 + </view>
4 6 <pyh-nv ref="nv" :config="nvConfig"></pyh-nv>
5 7 <view class="listBox" :style="{'padding-top':(pageTop+'px')}">
6 8 <view class="content">
7   - <view class="banner">
8   - <swiper class="screen-swiper" indicator-dots="true" circular="true" autoplay="true" interval="5000"
9   - duration="500">
10   - <swiper-item v-for="(item,index) in swiperList" :key="index">
11   - <image :src="item.url" mode="aspectFill"></image>
12   - </swiper-item>
13   - </swiper>
14   - </view>
15   -
16   - <view class="menu-nav">
17   - <view class="nav">
18   - <view class="list" @click="tzyl">
19   - <view><image src="/static/new/1.png" mode="heightFix"></image></view>
20   - <view class="text">养老</view>
21   - </view>
22   - <view class="list" @click="minor">
23   - <view><image src="/static/new/2.png" mode="heightFix"></image></view>
24   - <view class="text">个案登记</view>
25   - </view>
  9 + <view class="banner">
  10 + <swiper class="screen-swiper" indicator-dots="true" circular="true" autoplay="true" interval="5000"
  11 + duration="500">
  12 + <swiper-item v-for="(item,index) in swiperList" :key="index">
  13 + <image :src="item.url" mode="aspectFill"></image>
  14 + </swiper-item>
  15 + </swiper>
  16 + </view>
  17 +
  18 + <view class="menu-nav">
  19 + <view class="nav">
  20 + <view class="list" @click="tzyl">
  21 + <view>
  22 + <image src="/static/new/1.png" mode="heightFix"></image>
  23 + </view>
  24 + <view class="text">养老</view>
  25 + </view>
  26 + <view class="list" @click="minor">
  27 + <view>
  28 + <image src="/static/new/2.png" mode="heightFix"></image>
  29 + </view>
  30 + <view class="text">个案登记</view>
  31 + </view>
26 32 <view class="list" @click="map">
27   - <view><image src="/static/new/3.png" mode="heightFix"></image></view>
  33 + <view>
  34 + <image src="/static/new/3.png" mode="heightFix"></image>
  35 + </view>
28 36 <view class="text">区域申报</view>
29 37 </view>
30 38 <view class="list" @click="funeral">
31   - <view><image src="/static/new/4.png" mode="heightFix"></image></view>
  39 + <view>
  40 + <image src="/static/new/4.png" mode="heightFix"></image>
  41 + </view>
32 42 <view class="text">殡葬</view>
33 43 </view>
34 44 <!-- <view class="list" @click="toponym">
... ... @@ -47,8 +57,8 @@
47 57 <view><image src="/static/new/image 4.png" mode="heightFix"></image></view>
48 58 <view class="text">新闻资讯</view>
49 59 </view> -->
50   - </view>
51   - </view>
  60 + </view>
  61 + </view>
52 62 </view>
53 63 <!-- 服务 -->
54 64 <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;">
... ... @@ -60,101 +70,107 @@
60 70 </view>
61 71 <view class="content">
62 72 <view class="box_item" @click="funeralculture">
63   - <view>
64   - <image src="/static/nav/nav_ico5.png" style="width: 90%;" mode="widthFix"></image>
65   - </view>
  73 + <view>
  74 + <image src="/static/nav/nav_ico5.png" style="width: 90%;" mode="widthFix"></image>
  75 + </view>
66 76 <view class="text">线上报丧</view>
67   - </view>
68   - <view class="box_item" @click="funerallaw">
69   - <view>
70   - <image src="/static/nav/nav_ico6.png" style="width: 90%;" mode="widthFix"></image>
71   - </view>
72   - <view class="text">线上预约</view>
73   - </view>
74   - <view class="box_item" @click="funeralguide">
75   - <view>
76   - <image src="/static/nav/nav_ico9.png" style="width: 90%;" mode="widthFix"></image>
77   - </view>
78   - <view class="text">办事指南</view>
79   - </view>
80   - <view class="box_item" @click="funeralproblem">
81   - <view>
82   - <image src="/static/nav/nav_ico10.png" style="width: 90%;" mode="widthFix"></image>
83   - </view>
84   - <view class="text">常见问题</view>
  77 + </view>
  78 + <view class="box_item" @click="funerallaw">
  79 + <view>
  80 + <image src="/static/nav/nav_ico6.png" style="width: 90%;" mode="widthFix"></image>
  81 + </view>
  82 + <view class="text">线上预约</view>
  83 + </view>
  84 + <view class="box_item" @click="funeralguide">
  85 + <view>
  86 + <image src="/static/nav/nav_ico9.png" style="width: 90%;" mode="widthFix"></image>
  87 + </view>
  88 + <view class="text">办事指南</view>
  89 + </view>
  90 + <view class="box_item" @click="funeralproblem">
  91 + <view>
  92 + <image src="/static/nav/nav_ico10.png" style="width: 90%;" mode="widthFix"></image>
  93 + </view>
  94 + <view class="text">常见问题</view>
  95 + </view>
  96 + </view>
  97 + </view>
  98 +
  99 + <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;">
  100 + <view class="title">
  101 + <view class="box1">
  102 + <image src="../../static/new/矩形 331.png" mode=""></image>
  103 + <span>区域服务</span>
  104 + </view>
  105 + </view>
  106 + <view class="content" style="margin-bottom:40rpx;">
  107 + <view class="box_item" @click="gopath('/pages/declaration/declaration?type=5')">
  108 + <view style="margin-bottom: 20rpx;">
  109 + <image src="/static/ly/image11.png" style="width: 60%;height: 90rpx;" mode=""></image>
  110 + </view>
  111 + <view class="text">门楼牌申报</view>
  112 + </view>
  113 + <view class="box_item" @click="gopath('/pages/mapdoorplate/mapdoorplate')">
  114 + <view style="margin-bottom: 20rpx;">
  115 + <image src="/static/ly/image8.png" style="width: 60%;height: 90rpx;" mode=""></image>
  116 + </view>
  117 + <view class="text">地名标志牌申报</view>
  118 + </view>
  119 + <view class="box_item" @click="gopath('/pages/declaration/declaration?type=3')">
  120 + <view style="margin-bottom: 20rpx;">
  121 + <image src="/static/ly/image5.png" style="width: 60%;height: 90rpx;" mode=""></image>
  122 + </view>
  123 + <view class="text">建筑物备案</view>
  124 + </view>
  125 + <view class="box_item" @click="gopath('/pages/declaration/newDeclaration')">
  126 + <view style="margin-bottom: 20rpx;">
  127 + <image src="/static/ly/image6.png" style="width: 60%;height: 90rpx;" mode=""></image>
  128 + </view>
  129 + <view class="text">地名备案</view>
  130 + </view>
  131 + </view>
  132 + <view class="content" style="margin-top: -70rpx;z-index: 10000;padding: 0 20rpx;">
  133 + <view class="box_item" @click="lmpsb">
  134 + <view style="margin-bottom: 20rpx;">
  135 + <image src="/static/new/image 2.png" style="width: 60%;height: 90rpx;" mode=""></image>
  136 + </view>
  137 + <view class="text">地名查询服务</view>
  138 + </view>
  139 + <view class="box_item" @click="gopath('/pages/maptask/maptask')">
  140 + <view style="margin-bottom: 20rpx;">
  141 + <image src="/static/new/image 1.png" style="width: 60%;height: 90rpx;" mode=""></image>
  142 + </view>
  143 + <view class="text">巡检任务</view>
  144 + </view>
  145 + </view>
  146 + </view>
  147 +
  148 + <view class="xw" style="">
  149 + <view class="title">
  150 + <view class="box1">
  151 + <image src="../../static/new/矩形 331.png" mode=""></image>
  152 + <span>未保服务</span>
  153 + </view>
  154 + </view>
  155 + <view class="content">
  156 + <view class="box_item" @click="minor">
  157 + <view style="margin-bottom: 20rpx;">
  158 + <image src="/static/new/2.png" style="height: 100rpx;" mode="heightFix"></image>
  159 + </view>
  160 + <view class="text">个案登记</view>
  161 + </view>
  162 + <view class="box_item" @click="whisper">
  163 + <view style="margin-bottom: 20rpx;">
  164 + <image src="/static/new/whisper.png" style="height: 100rpx;" mode="heightFix"></image>
  165 + </view>
  166 + <view class="text">悄悄话</view>
85 167 </view>
86 168 </view>
87   - </view>
88   -
89   - <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;">
90   - <view class="title">
91   - <view class="box1">
92   - <image src="../../static/new/矩形 331.png" mode=""></image>
93   - <span>区域服务</span>
94   - </view>
95   - </view>
96   - <view class="content" style="margin-bottom:40rpx;">
97   - <view class="box_item" @click="gopath('/pages/declaration/declaration?type=5')">
98   - <view style="margin-bottom: 20rpx;">
99   - <image src="/static/ly/image11.png" style="width: 60%;height: 90rpx;" mode=""></image>
100   - </view>
101   - <view class="text">门楼牌申报</view>
102   - </view>
103   - <view class="box_item" @click="gopath('/pages/mapdoorplate/mapdoorplate')">
104   - <view style="margin-bottom: 20rpx;">
105   - <image src="/static/ly/image8.png" style="width: 60%;height: 90rpx;" mode=""></image>
106   - </view>
107   - <view class="text">地名标志牌申报</view>
108   - </view>
109   - <view class="box_item" @click="gopath('/pages/declaration/declaration?type=3')">
110   - <view style="margin-bottom: 20rpx;">
111   - <image src="/static/ly/image5.png" style="width: 60%;height: 90rpx;" mode=""></image>
112   - </view>
113   - <view class="text">建筑物备案</view>
114   - </view>
115   - <view class="box_item" @click="gopath('/pages/declaration/newDeclaration')">
116   - <view style="margin-bottom: 20rpx;">
117   - <image src="/static/ly/image6.png" style="width: 60%;height: 90rpx;" mode=""></image>
118   - </view>
119   - <view class="text">地名备案</view>
120   - </view>
121   - </view>
122   - <view class="content" style="margin-top: -70rpx;z-index: 10000;padding: 0 20rpx;">
123   - <view class="box_item" @click="lmpsb">
124   - <view style="margin-bottom: 20rpx;">
125   - <image src="/static/new/image 2.png" style="width: 60%;height: 90rpx;" mode=""></image>
126   - </view>
127   - <view class="text">地名查询服务</view>
128   - </view>
129   - <view class="box_item" @click="gopath('/pages/maptask/maptask')">
130   - <view style="margin-bottom: 20rpx;">
131   - <image src="/static/new/image 1.png" style="width: 60%;height: 90rpx;" mode=""></image>
132   - </view>
133   - <view class="text">巡检任务</view>
134   - </view>
135   - </view>
136 169 </view>
137   -
138   - <view class="xw" style="">
139   - <view class="title">
140   - <view class="box1">
141   - <image src="../../static/new/矩形 331.png" mode=""></image>
142   - <span>未保服务</span>
143   - </view>
144   - </view>
145   - <view class="content">
146   - <view class="box_item" @click="minor">
147   - <view style="margin-bottom: 20rpx;">
148   - <image src="/static/new/2.png" style="height: 100rpx;" mode="heightFix"></image>
149   - </view>
150   - <view class="text">个案登记</view>
151   - </view>
152   - </view>
153   - </view>
154   -
  170 +
155 171 </view>
156 172 </view>
157   -
  173 +
158 174 </template>
159 175  
160 176 <script>
... ... @@ -162,18 +178,18 @@
162 178 export default {
163 179 data() {
164 180 return {
165   - nvConfig:{
166   - title:"数字民政服务平台",
167   - bgColor:"#ffffff",
168   - color:"#000000",
169   - fixedAssist:{
170   - hide:true,
  181 + nvConfig: {
  182 + title: "数字民政服务平台",
  183 + bgColor: "#ffffff",
  184 + color: "#000000",
  185 + fixedAssist: {
  186 + hide: true,
171 187 },
172   - transparent:{
173   - initColor:"#000",
  188 + transparent: {
  189 + initColor: "#000",
174 190 },
175   - back:{
176   - hide:true
  191 + back: {
  192 + hide: true
177 193 },
178 194 },
179 195 swiperList: [{
... ... @@ -189,42 +205,46 @@
189 205 ],
190 206 }
191 207 },
192   - onPageScroll(e) {this.$refs.nv.pageScroll(e)},
193   - computed:{
194   - pageTop(){return parseInt(88*uni.getSystemInfoSync().windowWidth/750) + uni.getSystemInfoSync().statusBarHeight}
  208 + onPageScroll(e) {
  209 + this.$refs.nv.pageScroll(e)
  210 + },
  211 + computed: {
  212 + pageTop() {
  213 + return parseInt(88 * uni.getSystemInfoSync().windowWidth / 750) + uni.getSystemInfoSync().statusBarHeight
  214 + }
195 215 },
196 216 onLoad() {
197 217 uni.hideTabBar();
198 218 },
199   - methods: {
200   - //
201   - funeralculture() {
202   - uni.setStorageSync('dh',1)
203   - uni.navigateTo({
204   - url: '/pages/funeralreport/funeralreport'
205   - })
206   - },
207   - funerallaw() {
208   - uni.navigateTo({
209   - url: '/pages/funeralreservation/funeralreservation'
210   - })
211   - },
212   - funeralguide() {
213   - uni.navigateTo({
214   - url: '/pages/funeralguide/funeralguide'
215   - })
216   - },
217   - funeralproblem() {
218   - uni.navigateTo({
219   - url: '/pages/funeralproblem/funeralproblem'
220   - })
221   - },
222   - //
223   - gopath(e) {
224   - uni.navigateTo({
225   - url: e
226   - })
227   - },
  219 + methods: {
  220 + //
  221 + funeralculture() {
  222 + uni.setStorageSync('dh', 1)
  223 + uni.navigateTo({
  224 + url: '/pages/funeralreport/funeralreport'
  225 + })
  226 + },
  227 + funerallaw() {
  228 + uni.navigateTo({
  229 + url: '/pages/funeralreservation/funeralreservation'
  230 + })
  231 + },
  232 + funeralguide() {
  233 + uni.navigateTo({
  234 + url: '/pages/funeralguide/funeralguide'
  235 + })
  236 + },
  237 + funeralproblem() {
  238 + uni.navigateTo({
  239 + url: '/pages/funeralproblem/funeralproblem'
  240 + })
  241 + },
  242 + //
  243 + gopath(e) {
  244 + uni.navigateTo({
  245 + url: e
  246 + })
  247 + },
228 248 //
229 249 gopath(e) {
230 250 uni.navigateTo({
... ... @@ -233,80 +253,81 @@
233 253 },
234 254 toponym() {
235 255 uni.navigateTo({
236   - url:"/pages/declaration/newDeclaration"
  256 + url: "/pages/declaration/newDeclaration"
237 257 })
238 258 },
239   - tzyl(){
  259 + tzyl() {
240 260 // window.location.href = `http://show.rsxmzj.91xxt.com:81/2023/renshou/index.html?p=${t}&t=${time}&sign=${encryptedstr}`
241 261 uni.navigateTo({
242   - url:"/pages/webview/webview"
  262 + url: "/pages/webview/webview"
243 263 })
244 264 },
245   - lmpsb(){
  265 + lmpsb() {
246 266 uni.navigateTo({
247 267 // url:'/pages/mapdoorplate/mapdoorplate'
248   - url:'/pages/map1/map'
  268 + url: '/pages/map1/map'
249 269 // url: '/pages/receiptRegistration/receiptRegistration'
250 270 })
251 271 },
252   - minor() {
253   - uni.navigateTo({
254   - // url:'/pages/mapdoorplate/mapdoorplate'
255   - url: '/pages/receiptRegistration/receiptRegistration'
  272 + minor() {
  273 + uni.navigateTo({
  274 + url: '/pages/receiptRegistration/receiptRegistration'
  275 + })
  276 + },
  277 + whisper() {
  278 + uni.navigateTo({
  279 + url: '/pages/whisper/index'
256 280 })
257   - // uni.navigateTo({
258   - // url: '/pages/minor/minor'
259   - // })
260 281 },
261 282 journalism() {
262 283 uni.navigateTo({
263 284 url: '/pages/journalism/journalism'
264 285 })
265   - },
266   - // 获取用户信息
267   - hquserinfo(){
268   - var info = {
269   - userId:uni.getStorageSync("USERS_KEY").userId,
270   - }
271   - this.API.hquserinfo(info).then(res=>{
272   - console.log("获取用户信息",res);
273   - this.user.nickName = res.data.nickName;
274   - this.user.avatar = res.data.avatar
275   - this.user.deptId = res.data.deptId
276   - console.log("信息",this.user);
277   - })
278 286 },
279   - funeral() {
280   - var info = {
281   - userId:uni.getStorageSync("USERS_KEY").userId,
282   - }
283   - this.API.hquserinfo(info).then(res=>{
284   - console.log("获取用户信息",res);
285   - console.log("信息1",res.data.roles[0].roleName,uni.getStorageSync('userjs'));
286   - if(res.data.roles[0].roleName != uni.getStorageSync('userjs')){
287   - uni.reLaunch({
288   - url: '/pages/login/login'
289   - });
290   - return
291   - }
292   - if(uni.getStorageSync('userjs') == null || uni.getStorageSync('userjs') == undefined){
293   - uni.reLaunch({
294   - url: '/pages/login/login'
295   - });
296   - return
297   - }
298   -
299   - if(uni.getStorageSync('userjs') != '普通用户'){
300   - uni.switchTab({
301   - url: '/pages/my/my'
302   - })
303   - }else{
304   - uni.switchTab({
305   - url: '/pages/funeral/funeral'
306   - })
307   - }
308   - })
309   -
  287 + // 获取用户信息
  288 + hquserinfo() {
  289 + var info = {
  290 + userId: uni.getStorageSync("USERS_KEY").userId,
  291 + }
  292 + this.API.hquserinfo(info).then(res => {
  293 + console.log("获取用户信息", res);
  294 + this.user.nickName = res.data.nickName;
  295 + this.user.avatar = res.data.avatar
  296 + this.user.deptId = res.data.deptId
  297 + console.log("信息", this.user);
  298 + })
  299 + },
  300 + funeral() {
  301 + var info = {
  302 + userId: uni.getStorageSync("USERS_KEY").userId,
  303 + }
  304 + this.API.hquserinfo(info).then(res => {
  305 + console.log("获取用户信息", res);
  306 + console.log("信息1", res.data.roles[0].roleName, uni.getStorageSync('userjs'));
  307 + if (res.data.roles[0].roleName != uni.getStorageSync('userjs')) {
  308 + uni.reLaunch({
  309 + url: '/pages/login/login'
  310 + });
  311 + return
  312 + }
  313 + if (uni.getStorageSync('userjs') == null || uni.getStorageSync('userjs') == undefined) {
  314 + uni.reLaunch({
  315 + url: '/pages/login/login'
  316 + });
  317 + return
  318 + }
  319 +
  320 + if (uni.getStorageSync('userjs') != '普通用户') {
  321 + uni.switchTab({
  322 + url: '/pages/my/my'
  323 + })
  324 + } else {
  325 + uni.switchTab({
  326 + url: '/pages/funeral/funeral'
  327 + })
  328 + }
  329 + })
  330 +
310 331 },
311 332 map() {
312 333 uni.navigateTo({
... ... @@ -321,9 +342,9 @@
321 342 url: '/pages/map1/map'
322 343 })
323 344 },
324   - xwtz(){
  345 + xwtz() {
325 346 uni.navigateTo({
326   - url:"/pages/xw/xw"
  347 + url: "/pages/xw/xw"
327 348 })
328 349 }
329 350 }
... ... @@ -331,4 +352,4 @@
331 352 </script>
332 353 <style scoped lang="scss">
333 354 @import 'home.scss';
334   -</style>
  355 +</style>
335 356 \ No newline at end of file
... ...
pages/whisper/index.vue 0 → 100644
  1 +<template>
  2 + <!-- 悄悄话-->
  3 + <view class="page">
  4 + <view class="content">
  5 + <view class="titleall-left">
  6 + <view class="titleall-left-line"></view>我的悄悄话
  7 + </view>
  8 + <view class="message-list">
  9 + <view class="info-box">
  10 + <view class="info-box-list">
  11 + <view class="serve">
  12 + <view class="serve-title">姓名</view>
  13 + <view>
  14 + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;"
  15 + v-model="form.name" placeholder="请输入" style="text-align: right;" />
  16 + </view>
  17 + </view>
  18 + </view>
  19 + </view>
  20 + <view class="info-box">
  21 + <view class="info-box-list">
  22 + <view class="serve">
  23 + <view class="serve-title">性别</view>
  24 + <view class="serve-right">
  25 + <picker @change="bindPickerChangeSex" :value="index" :range="sexArray">
  26 + <view class="uni-input">{{form.sex?sexArray[form.sex]:'请选择'}}</view>
  27 + </picker>
  28 + <image src="../../static/down3.png"></image>
  29 + </view>
  30 + </view>
  31 + </view>
  32 + </view>
  33 + <view class="info-box">
  34 + <view class="info-box-list">
  35 + <view class="serve">
  36 + <view class="serve-title">年龄</view>
  37 + <view>
  38 + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;"
  39 + v-model="form.age" placeholder="请输入" style="text-align: right;" />
  40 + </view>
  41 + </view>
  42 + </view>
  43 + </view>
  44 + <view class="info-box">
  45 + <view class="info-box-list">
  46 + <view class="serve">
  47 + <view class="serve-title">学历</view>
  48 + <view>
  49 + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;"
  50 + v-model="form.degree" placeholder="请输入" style="text-align: right;" />
  51 + </view>
  52 + </view>
  53 + </view>
  54 + </view>
  55 + <view class="info-box">
  56 + <view class="info-box-list">
  57 + <view class="serve">
  58 + <view class="serve-title">就读学校</view>
  59 + <view>
  60 + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;"
  61 + v-model="form.attend_school" placeholder="请输入" style="text-align: right;" />
  62 + </view>
  63 + </view>
  64 + </view>
  65 + </view>
  66 + <view class="info-box">
  67 + <view class="info-box-list">
  68 + <view>
  69 + <view class="serve-title" style="font-size: 25rpx;color: #909090;">内容</view>
  70 + <textarea v-model="form.content" placeholder="请输入"
  71 + placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;"
  72 + style="margin-top: 20rpx;"></textarea>
  73 + <view>
  74 + </view>
  75 + </view>
  76 + </view>
  77 + </view>
  78 + </view>
  79 + <view class="page-footer">
  80 + <view class="footer-buy">
  81 + <view class="cart-add" @click="register">
  82 + <image src="../../static/btn5.png"></image>
  83 + <text>提交</text>
  84 + </view>
  85 + </view>
  86 + </view>
  87 +
  88 + </view>
  89 + </view>
  90 + </view>
  91 +</template>
  92 +
  93 +<script>
  94 + export default {
  95 + data() {
  96 + return {
  97 + form: {
  98 + name: "",
  99 + sex: "",
  100 + age: "",
  101 + degree: "",
  102 + attend_school: "",
  103 + content: ""
  104 + },
  105 + // 性别下拉框
  106 + sexArray: ['男', '女'],
  107 + index: 0,
  108 + };
  109 + },
  110 + created() {},
  111 + methods: {
  112 + // 选择性别
  113 + bindPickerChangeSex: function(e) {
  114 + console.log('picker发送选择改变,携带值为', e)
  115 + this.form.sex = e.detail.value;
  116 + },
  117 + register() {
  118 + this.API.addInfo(this.form).then(res => {
  119 + console.log(res)
  120 + if (res.code == 200) {
  121 + uni.showToast({
  122 + icon: 'success',
  123 + title: '提交成功'
  124 + })
  125 + setTimeout(() => {
  126 + uni.redirectTo({
  127 + url: '/pages/whisper/whisperSuccess',
  128 + })
  129 + }, 800)
  130 + }
  131 + })
  132 + }
  133 + }
  134 + }
  135 +</script>
  136 +
  137 +<style scoped lang="scss">
  138 + .listBox {
  139 + position: relative;
  140 + z-index: 1;
  141 + }
  142 +
  143 + .content {
  144 + width: 100%;
  145 + padding-bottom: 120rpx;
  146 + }
  147 +
  148 + .titleall-left {
  149 + font-size: 32rpx;
  150 + font-weight: bold;
  151 + display: flex;
  152 + align-items: center;
  153 + margin: 30rpx;
  154 +
  155 + .titleall-left-line {
  156 + width: 16rpx;
  157 + height: 36rpx;
  158 + border-radius: 100rpx;
  159 + background-color: #5D76F4;
  160 + margin-right: 20rpx;
  161 + }
  162 + }
  163 +
  164 + .top-box {
  165 + display: flex;
  166 + justify-content: space-between;
  167 + margin: 30rpx;
  168 + font-size: 30rpx;
  169 + font-weight: bold;
  170 + background-color: #fff;
  171 + border-radius: 20rpx;
  172 + padding: 30rpx;
  173 +
  174 + .top-box-img {
  175 + image {
  176 + width: 40rpx;
  177 + height: 40rpx;
  178 + }
  179 + }
  180 + }
  181 +
  182 + .titleall-box {
  183 + display: flex;
  184 + justify-content: space-between;
  185 + padding: 40rpx 20rpx 20rpx 0;
  186 +
  187 + .titleall-left {
  188 + font-size: 32rpx;
  189 + font-weight: bold;
  190 + display: flex;
  191 + align-items: center;
  192 +
  193 + .titleall-left-line {
  194 + width: 14rpx;
  195 + height: 36rpx;
  196 + border-radius: 0 10rpx 10rpx 0;
  197 + background-color: #667FFF;
  198 + box-shadow: 0 0 10rpx 5rpx #d1d9ff;
  199 + margin-right: 20rpx;
  200 + }
  201 +
  202 + text {
  203 + font-size: 28rpx;
  204 + color: #999999;
  205 + }
  206 + }
  207 + }
  208 +
  209 + .message-list {
  210 + // background-color: #FFFFFF;
  211 + border-radius: 20rpx;
  212 + font-size: 26rpx;
  213 + margin: 25rpx;
  214 + padding: 20rpx 0;
  215 +
  216 + .info-box {
  217 + background-color: #FFFFFF;
  218 + margin-bottom: 10px;
  219 + padding: 0 40rpx;
  220 + border-radius: 20rpx;
  221 +
  222 + // margin-bottom: 30rpx;
  223 + .info-box-list {
  224 + display: flex;
  225 + align-items: center;
  226 + border-bottom: 2rpx solid #ececec;
  227 + padding-top: 20rpx;
  228 + padding-bottom: 20rpx;
  229 +
  230 + .width100 {
  231 + width: 100% !important;
  232 + }
  233 +
  234 + .info-box-width {
  235 + width: 50%;
  236 + font-size: 30rpx;
  237 + font-weight: bold;
  238 +
  239 + .info-box-small {
  240 + font-size: 26rpx;
  241 + color: #a8a8a8;
  242 + font-weight: 500;
  243 + margin-top: 10rpx;
  244 + }
  245 +
  246 + .info-box-list-img {
  247 + margin-top: 30rpx;
  248 +
  249 + image {
  250 + width: 180rpx;
  251 + height: 180rpx;
  252 + border-radius: 20rpx;
  253 + }
  254 + }
  255 +
  256 + .input-text {
  257 + font-size: 30rpx;
  258 + }
  259 +
  260 + .inputtext {
  261 + color: #3d3d3d;
  262 + }
  263 +
  264 + .textarea {
  265 + background-color: #F7F7F7;
  266 + border-radius: 20rpx;
  267 + width: 100%;
  268 + margin-top: 20rpx;
  269 + padding: 20rpx;
  270 + font-size: 28rpx;
  271 + font-weight: normal;
  272 + min-height: 80rpx;
  273 + }
  274 + }
  275 +
  276 + .serve {
  277 + display: flex;
  278 + justify-content: space-between;
  279 + align-items: center;
  280 + width: 100%;
  281 +
  282 + .serve-title {
  283 + font-size: 25rpx;
  284 + color: #909090;
  285 + width: 25%;
  286 + }
  287 +
  288 + .serve-right {
  289 + font-size: 25rpx;
  290 + font-weight: bold;
  291 + display: flex;
  292 + align-items: center;
  293 + justify-content: flex-end;
  294 +
  295 + text {
  296 + color: #FC4444;
  297 + }
  298 +
  299 + image {
  300 + width: 20rpx;
  301 + height: 20rpx;
  302 + margin-left: 10rpx;
  303 + }
  304 + }
  305 + }
  306 + }
  307 +
  308 + .info-box-list:last-child {
  309 + border-bottom: 0;
  310 + }
  311 + }
  312 + }
  313 +
  314 + /* 底部 */
  315 + .page-footer {
  316 + margin: 30rpx;
  317 + display: flex;
  318 + height: 100rpx;
  319 +
  320 + .footer-buy {
  321 + height: 100%;
  322 + width: 100%;
  323 +
  324 + .cart-add {
  325 + display: flex;
  326 + align-items: center;
  327 + justify-content: center;
  328 + margin-top: 60rpx;
  329 +
  330 + image {
  331 + position: absolute;
  332 + z-index: 0;
  333 + width: 95%;
  334 + height: 83rpx;
  335 + box-shadow: 5rpx 10rpx 20rpx 0 #b7c8ff;
  336 + border-radius: 100rpx;
  337 + }
  338 +
  339 + text {
  340 + font-size: 30rpx;
  341 + font-weight: bold;
  342 + color: #fff;
  343 + position: absolute;
  344 + z-index: 1;
  345 + }
  346 + }
  347 + }
  348 + }
  349 +
  350 + .serve-right {
  351 + font-size: 30rpx;
  352 + font-weight: bold;
  353 + display: flex;
  354 + align-items: center;
  355 + justify-content: flex-end;
  356 +
  357 + text {
  358 + color: #FC4444;
  359 + }
  360 +
  361 + image {
  362 + width: 20rpx;
  363 + height: 20rpx;
  364 + margin-left: 10rpx;
  365 + }
  366 + }
  367 +</style>
0 368 \ No newline at end of file
... ...
pages/whisper/whisperSuccess.scss 0 → 100644
  1 +.listBox{
  2 + position: relative;
  3 + z-index: 1;
  4 +}
  5 +.content {
  6 + width: 100%;
  7 +}
  8 +.pay-price{
  9 + width: 100%;
  10 + margin-top: 100rpx;
  11 + .icon{
  12 + width: 250rpx;
  13 + height: 250rpx;
  14 + margin: 0 auto;
  15 + image{
  16 + width: 100%;
  17 + height: 100%;
  18 + }
  19 + }
  20 + .price-data{
  21 + text-align: center;
  22 + margin-top: 50rpx;
  23 + .list{
  24 + width: 100%;
  25 + .title{
  26 + font-size: 34rpx;
  27 + font-weight: bold;
  28 + }
  29 + .content{
  30 + font-size: 30rpx;
  31 + color:#767676;
  32 + margin-top: 20rpx;
  33 + text{
  34 + color: #3d3d3d;
  35 + }
  36 + }
  37 + }
  38 + }
  39 +}
  40 +.tips {
  41 + font-size: 28rpx;
  42 + margin: 50rpx 30rpx;
  43 + text {
  44 + color: #FF4848;
  45 + }
  46 +}
  47 +/* 跳转按钮 */
  48 +.skip-btn{
  49 + display: flex;
  50 + align-items: center;
  51 + justify-content: center;
  52 + width: 100%;
  53 + height: 100rpx;
  54 + margin-top: 70rpx;
  55 + .cart-add{
  56 + display: flex;
  57 + align-items: center;
  58 + justify-content: center;
  59 + width: 35%;
  60 + image {
  61 + position: absolute;
  62 + z-index: 0;
  63 + width: 253rpx;
  64 + height: 80rpx;
  65 + }
  66 + text{
  67 + font-size: 30rpx;
  68 + font-weight: bold;
  69 + color: #262626;
  70 + position: absolute;
  71 + z-index: 1;
  72 + left: 120rpx;
  73 + image {
  74 + position: absolute;
  75 + top: 6rpx;
  76 + left: -36rpx;
  77 + width: 28rpx;
  78 + height: 28rpx;
  79 + }
  80 + }
  81 + }
  82 + .buy-at{
  83 + display: flex;
  84 + align-items: center;
  85 + justify-content: center;
  86 + width: 58%;
  87 + image {
  88 + position: absolute;
  89 + z-index: 0;
  90 + width: 415rpx;
  91 + height: 80rpx;
  92 + box-shadow: 5rpx 10rpx 20rpx 0 #b7c8ff;
  93 + border-radius: 100rpx;
  94 + }
  95 + text{
  96 + font-size: 30rpx;
  97 + font-weight: bold;
  98 + color: #FFFFFF;
  99 + position: absolute;
  100 + z-index: 1;
  101 + }
  102 + }
  103 +}
0 104 \ No newline at end of file
... ...
pages/whisper/whisperSuccess.vue 0 → 100644
  1 +<template>
  2 + <view class="page">
  3 +
  4 + <pyh-nv ref="nv" :config="nvConfig"></pyh-nv>
  5 + <view class="listBox" :style="{'padding-top':(pageTop+'px')}">
  6 + <view class="content">
  7 +
  8 + <view class="pay-price">
  9 + <view class="icon">
  10 + <image src="../../static/success.png" mode=""></image>
  11 + </view>
  12 + <view class="price-data">
  13 + <view class="list">
  14 + <view class="title">已成功提交</view>
  15 + </view>
  16 + </view>
  17 + </view>
  18 + <!-- 跳转按钮 -->
  19 + <view class="skip-btn">
  20 + <view class="buy-at" @click="goback">
  21 + <image src="../../static/btn4.png"></image>
  22 + <text>完成</text>
  23 + </view>
  24 + </view>
  25 +
  26 + </view>
  27 + </view>
  28 + </view>
  29 +</template>
  30 +
  31 +<script>
  32 + export default {
  33 + data() {
  34 + return {
  35 + nvConfig: {
  36 + title: "提交成功",
  37 + bgColor: "#ffffff",
  38 + color: "#000000",
  39 + fixedAssist: {
  40 + hide: true,
  41 + },
  42 + },
  43 + }
  44 + },
  45 + onPageScroll(e) {
  46 + this.$refs.nv.pageScroll(e)
  47 + },
  48 + computed: {
  49 + pageTop() {
  50 + return parseInt(88 * uni.getSystemInfoSync().windowWidth / 750) + uni.getSystemInfoSync().statusBarHeight
  51 + }
  52 + },
  53 + methods: {
  54 + goback() {
  55 + uni.navigateBack({
  56 + delta: 2
  57 + });
  58 + }
  59 + }
  60 + }
  61 +</script>
  62 +
  63 +<style scoped lang="scss">
  64 + @import 'whisperSuccess.scss';
  65 +</style>
0 66 \ No newline at end of file
... ...
static/new/whisper.png 0 → 100644

19.4 KB