Commit f009da1c32e8e8e93b6c9339b6993c90fd2cb9b0
1
Showing
15 changed files
with
965 additions
and
366 deletions
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
manifest.json
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/declaration/declarationListdetail.vue
| ... | ... | @@ -464,8 +464,8 @@ |
| 464 | 464 | </view> |
| 465 | 465 | </view> |
| 466 | 466 | </view> |
| 467 | - <view class="skip-btn" v-if="info.filePath"> | |
| 468 | - <view class="buy-at" @click="downfile(info.filePath)"> | |
| 467 | + <view class="skip-btn" v-if="info.filePath" @click="downfile(info.filePath)"> | |
| 468 | + <view class="buy-at" > | |
| 469 | 469 | <image src="../../static/btn7.png"></image> |
| 470 | 470 | <text>批复文件下载</text> |
| 471 | 471 | </view> |
| ... | ... | @@ -710,7 +710,7 @@ |
| 710 | 710 | justify-content: center; |
| 711 | 711 | width: 100%; |
| 712 | 712 | height: 100rpx; |
| 713 | - margin-top: 70rpx; | |
| 713 | + | |
| 714 | 714 | position: fixed; |
| 715 | 715 | bottom: 30rpx; |
| 716 | 716 | ... | ... |
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,156 @@ |
| 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> | |
| 85 | 95 | </view> |
| 86 | 96 | </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 | 97 | </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 | - | |
| 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> | |
| 167 | + </view> | |
| 168 | + </view> | |
| 169 | + </view> | |
| 170 | + | |
| 171 | + <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;"> | |
| 172 | + <view class="title"> | |
| 173 | + <view class="box1"> | |
| 174 | + <image src="../../static/new/矩形 331.png" mode=""></image> | |
| 175 | + <span>区域划分</span> | |
| 176 | + </view> | |
| 177 | + </view> | |
| 178 | + <view class="content" style="margin-bottom:40rpx;"> | |
| 179 | + <view class="box_item" @click="gopath('/pages/declaration/declaration?type=5')"> | |
| 180 | + <view style="margin-bottom: 20rpx;"> | |
| 181 | + <image src="/static/ly/image11.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 182 | + </view> | |
| 183 | + <view class="text">门楼牌申报</view> | |
| 184 | + </view> | |
| 185 | + <view class="box_item" @click="gopath('/pages/mapdoorplate/mapdoorplate')"> | |
| 186 | + <view style="margin-bottom: 20rpx;"> | |
| 187 | + <image src="/static/ly/image8.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 188 | + </view> | |
| 189 | + <view class="text">地名标志牌申报</view> | |
| 190 | + </view> | |
| 191 | + <view class="box_item" @click="gopath('/pages/declaration/declaration?type=3')"> | |
| 192 | + <view style="margin-bottom: 20rpx;"> | |
| 193 | + <image src="/static/ly/image5.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 194 | + </view> | |
| 195 | + <view class="text">建筑物备案</view> | |
| 196 | + </view> | |
| 197 | + <view class="box_item" @click="gopath('/pages/declaration/newDeclaration')"> | |
| 198 | + <view style="margin-bottom: 20rpx;"> | |
| 199 | + <image src="/static/ly/image6.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 200 | + </view> | |
| 201 | + <view class="text">地名备案</view> | |
| 202 | + </view> | |
| 203 | + </view> | |
| 204 | + <view class="content" style="margin-top: -70rpx;z-index: 10000;padding: 0 20rpx;"> | |
| 205 | + <view class="box_item" @click="lmpsb"> | |
| 206 | + <view style="margin-bottom: 20rpx;"> | |
| 207 | + <image src="/static/new/image 2.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 208 | + </view> | |
| 209 | + <view class="text">地名查询服务</view> | |
| 210 | + </view> | |
| 211 | + <view class="box_item" @click="gopath('/pages/maptask/maptask')"> | |
| 212 | + <view style="margin-bottom: 20rpx;"> | |
| 213 | + <image src="/static/new/image 1.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 214 | + </view> | |
| 215 | + <view class="text">巡检任务</view> | |
| 216 | + </view> | |
| 217 | + </view> | |
| 218 | + </view> | |
| 219 | + | |
| 155 | 220 | </view> |
| 156 | 221 | </view> |
| 157 | - | |
| 222 | + | |
| 158 | 223 | </template> |
| 159 | 224 | |
| 160 | 225 | <script> |
| ... | ... | @@ -162,18 +227,18 @@ |
| 162 | 227 | export default { |
| 163 | 228 | data() { |
| 164 | 229 | return { |
| 165 | - nvConfig:{ | |
| 166 | - title:"数字民政服务平台", | |
| 167 | - bgColor:"#ffffff", | |
| 168 | - color:"#000000", | |
| 169 | - fixedAssist:{ | |
| 170 | - hide:true, | |
| 230 | + nvConfig: { | |
| 231 | + title: "数字民政服务平台", | |
| 232 | + bgColor: "#ffffff", | |
| 233 | + color: "#000000", | |
| 234 | + fixedAssist: { | |
| 235 | + hide: true, | |
| 171 | 236 | }, |
| 172 | - transparent:{ | |
| 173 | - initColor:"#000", | |
| 237 | + transparent: { | |
| 238 | + initColor: "#000", | |
| 174 | 239 | }, |
| 175 | - back:{ | |
| 176 | - hide:true | |
| 240 | + back: { | |
| 241 | + hide: true | |
| 177 | 242 | }, |
| 178 | 243 | }, |
| 179 | 244 | swiperList: [{ |
| ... | ... | @@ -189,42 +254,46 @@ |
| 189 | 254 | ], |
| 190 | 255 | } |
| 191 | 256 | }, |
| 192 | - onPageScroll(e) {this.$refs.nv.pageScroll(e)}, | |
| 193 | - computed:{ | |
| 194 | - pageTop(){return parseInt(88*uni.getSystemInfoSync().windowWidth/750) + uni.getSystemInfoSync().statusBarHeight} | |
| 257 | + onPageScroll(e) { | |
| 258 | + this.$refs.nv.pageScroll(e) | |
| 259 | + }, | |
| 260 | + computed: { | |
| 261 | + pageTop() { | |
| 262 | + return parseInt(88 * uni.getSystemInfoSync().windowWidth / 750) + uni.getSystemInfoSync().statusBarHeight | |
| 263 | + } | |
| 195 | 264 | }, |
| 196 | 265 | onLoad() { |
| 197 | 266 | uni.hideTabBar(); |
| 198 | 267 | }, |
| 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 | - }, | |
| 268 | + methods: { | |
| 269 | + // | |
| 270 | + funeralculture() { | |
| 271 | + uni.setStorageSync('dh', 1) | |
| 272 | + uni.navigateTo({ | |
| 273 | + url: '/pages/funeralreport/funeralreport' | |
| 274 | + }) | |
| 275 | + }, | |
| 276 | + funerallaw() { | |
| 277 | + uni.navigateTo({ | |
| 278 | + url: '/pages/funeralreservation/funeralreservation' | |
| 279 | + }) | |
| 280 | + }, | |
| 281 | + funeralguide() { | |
| 282 | + uni.navigateTo({ | |
| 283 | + url: '/pages/funeralguide/funeralguide' | |
| 284 | + }) | |
| 285 | + }, | |
| 286 | + funeralproblem() { | |
| 287 | + uni.navigateTo({ | |
| 288 | + url: '/pages/funeralproblem/funeralproblem' | |
| 289 | + }) | |
| 290 | + }, | |
| 291 | + // | |
| 292 | + gopath(e) { | |
| 293 | + uni.navigateTo({ | |
| 294 | + url: e | |
| 295 | + }) | |
| 296 | + }, | |
| 228 | 297 | // |
| 229 | 298 | gopath(e) { |
| 230 | 299 | uni.navigateTo({ |
| ... | ... | @@ -233,80 +302,81 @@ |
| 233 | 302 | }, |
| 234 | 303 | toponym() { |
| 235 | 304 | uni.navigateTo({ |
| 236 | - url:"/pages/declaration/newDeclaration" | |
| 305 | + url: "/pages/declaration/newDeclaration" | |
| 237 | 306 | }) |
| 238 | 307 | }, |
| 239 | - tzyl(){ | |
| 308 | + tzyl() { | |
| 240 | 309 | // window.location.href = `http://show.rsxmzj.91xxt.com:81/2023/renshou/index.html?p=${t}&t=${time}&sign=${encryptedstr}` |
| 241 | 310 | uni.navigateTo({ |
| 242 | - url:"/pages/webview/webview" | |
| 311 | + url: "/pages/webview/webview" | |
| 243 | 312 | }) |
| 244 | 313 | }, |
| 245 | - lmpsb(){ | |
| 314 | + lmpsb() { | |
| 246 | 315 | uni.navigateTo({ |
| 247 | 316 | // url:'/pages/mapdoorplate/mapdoorplate' |
| 248 | - url:'/pages/map1/map' | |
| 317 | + url: '/pages/map1/map' | |
| 249 | 318 | // url: '/pages/receiptRegistration/receiptRegistration' |
| 250 | 319 | }) |
| 251 | 320 | }, |
| 252 | - minor() { | |
| 253 | - uni.navigateTo({ | |
| 254 | - // url:'/pages/mapdoorplate/mapdoorplate' | |
| 255 | - url: '/pages/receiptRegistration/receiptRegistration' | |
| 321 | + minor() { | |
| 322 | + uni.navigateTo({ | |
| 323 | + url: '/pages/receiptRegistration/receiptRegistration' | |
| 324 | + }) | |
| 325 | + }, | |
| 326 | + whisper() { | |
| 327 | + uni.navigateTo({ | |
| 328 | + url: '/pages/whisper/index' | |
| 256 | 329 | }) |
| 257 | - // uni.navigateTo({ | |
| 258 | - // url: '/pages/minor/minor' | |
| 259 | - // }) | |
| 260 | 330 | }, |
| 261 | 331 | journalism() { |
| 262 | 332 | uni.navigateTo({ |
| 263 | 333 | url: '/pages/journalism/journalism' |
| 264 | 334 | }) |
| 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 | 335 | }, |
| 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 | - | |
| 336 | + // 获取用户信息 | |
| 337 | + hquserinfo() { | |
| 338 | + var info = { | |
| 339 | + userId: uni.getStorageSync("USERS_KEY").userId, | |
| 340 | + } | |
| 341 | + this.API.hquserinfo(info).then(res => { | |
| 342 | + console.log("获取用户信息", res); | |
| 343 | + this.user.nickName = res.data.nickName; | |
| 344 | + this.user.avatar = res.data.avatar | |
| 345 | + this.user.deptId = res.data.deptId | |
| 346 | + console.log("信息", this.user); | |
| 347 | + }) | |
| 348 | + }, | |
| 349 | + funeral() { | |
| 350 | + var info = { | |
| 351 | + userId: uni.getStorageSync("USERS_KEY").userId, | |
| 352 | + } | |
| 353 | + this.API.hquserinfo(info).then(res => { | |
| 354 | + console.log("获取用户信息", res); | |
| 355 | + console.log("信息1", res.data.roles[0].roleName, uni.getStorageSync('userjs')); | |
| 356 | + if (res.data.roles[0].roleName != uni.getStorageSync('userjs')) { | |
| 357 | + uni.reLaunch({ | |
| 358 | + url: '/pages/login/login' | |
| 359 | + }); | |
| 360 | + return | |
| 361 | + } | |
| 362 | + if (uni.getStorageSync('userjs') == null || uni.getStorageSync('userjs') == undefined) { | |
| 363 | + uni.reLaunch({ | |
| 364 | + url: '/pages/login/login' | |
| 365 | + }); | |
| 366 | + return | |
| 367 | + } | |
| 368 | + | |
| 369 | + if (uni.getStorageSync('userjs') != '普通用户') { | |
| 370 | + uni.switchTab({ | |
| 371 | + url: '/pages/my/my' | |
| 372 | + }) | |
| 373 | + } else { | |
| 374 | + uni.switchTab({ | |
| 375 | + url: '/pages/funeral/funeral' | |
| 376 | + }) | |
| 377 | + } | |
| 378 | + }) | |
| 379 | + | |
| 310 | 380 | }, |
| 311 | 381 | map() { |
| 312 | 382 | uni.navigateTo({ |
| ... | ... | @@ -321,9 +391,9 @@ |
| 321 | 391 | url: '/pages/map1/map' |
| 322 | 392 | }) |
| 323 | 393 | }, |
| 324 | - xwtz(){ | |
| 394 | + xwtz() { | |
| 325 | 395 | uni.navigateTo({ |
| 326 | - url:"/pages/xw/xw" | |
| 396 | + url: "/pages/xw/xw" | |
| 327 | 397 | }) |
| 328 | 398 | } |
| 329 | 399 | } |
| ... | ... | @@ -331,4 +401,4 @@ |
| 331 | 401 | </script> |
| 332 | 402 | <style scoped lang="scss"> |
| 333 | 403 | @import 'home.scss'; |
| 334 | -</style> | |
| 404 | +</style> | |
| 335 | 405 | \ 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/img/02.jpg deleted
35.9 KB
static/img/07.jpg deleted
9.45 KB
static/ly/image11.png
static/ly/image17.png
static/ly/image18.png
static/new/whisper.png
0 → 100644
19.4 KB