Commit 38a0d5f96cbc6af11689a3bbaf2cbfa29472a037
Merge branch 'master' of http://39.98.150.180/frontend-uniapp/Civil-Affairs-Bureau-WeChar
Showing
21 changed files
with
1116 additions
and
411 deletions
.DS_Store
No preview for this file type
apis/modules/oauth.js
| @@ -167,4 +167,14 @@ export default { | @@ -167,4 +167,14 @@ export default { | ||
| 167 | pqxxqr(data){ | 167 | pqxxqr(data){ |
| 168 | return request.put('/funeral/call/editFuneralStatus',data) | 168 | return request.put('/funeral/call/editFuneralStatus',data) |
| 169 | }, | 169 | }, |
| 170 | + | ||
| 171 | + // 获取车辆信息 | ||
| 172 | + // /funeral/vehicle/list | ||
| 173 | + getcllist(data){ | ||
| 174 | + return request.get('/funeral/vehicle/list',data) | ||
| 175 | + }, | ||
| 176 | + // 获取收敛工信息 | ||
| 177 | + getclglist(data){ | ||
| 178 | + return request.get('/funeral/driver/list',data) | ||
| 179 | + }, | ||
| 170 | } | 180 | } |
| 171 | \ No newline at end of file | 181 | \ No newline at end of file |
apis/modules/ryy.js
| @@ -3,17 +3,22 @@ import utils from '../../service/utils.js' | @@ -3,17 +3,22 @@ import utils from '../../service/utils.js' | ||
| 3 | export default { | 3 | export default { |
| 4 | // 获取儿童手环信息 | 4 | // 获取儿童手环信息 |
| 5 | getChild(pages) { | 5 | getChild(pages) { |
| 6 | - return request.get('/childStay/records/getUserProtect',pages) | 6 | + return request.get('/childStay/records/getUserProtect', pages) |
| 7 | }, | 7 | }, |
| 8 | addRegistration(data) { | 8 | addRegistration(data) { |
| 9 | - return request.post('/childAdopt/registration',data) | 9 | + return request.post('/childAdopt/registration', data) |
| 10 | }, | 10 | }, |
| 11 | // 获取历史记录和流程 | 11 | // 获取历史记录和流程 |
| 12 | getHistory(pages) { | 12 | getHistory(pages) { |
| 13 | - return request.get('/childAdopt/registration/caseHistory',pages) | 13 | + return request.get('/childAdopt/registration/caseHistory', pages) |
| 14 | }, | 14 | }, |
| 15 | // 获取机构 | 15 | // 获取机构 |
| 16 | getListRoles(pages) { | 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 | \ No newline at end of file | 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 | // let BASE_URL='http://192.168.179.221:8536'; | 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 | \ No newline at end of file | 7 | \ No newline at end of file |
pages.json
| @@ -2,8 +2,7 @@ | @@ -2,8 +2,7 @@ | ||
| 2 | "easycom": { | 2 | "easycom": { |
| 3 | "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" | 3 | "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" |
| 4 | }, | 4 | }, |
| 5 | - "pages": [ | ||
| 6 | - { | 5 | + "pages": [{ |
| 7 | "path": "pages/home/home", | 6 | "path": "pages/home/home", |
| 8 | "style": { | 7 | "style": { |
| 9 | "navigationStyle": "custom" | 8 | "navigationStyle": "custom" |
| @@ -189,12 +188,20 @@ | @@ -189,12 +188,20 @@ | ||
| 189 | "style": { | 188 | "style": { |
| 190 | "navigationStyle": "custom" | 189 | "navigationStyle": "custom" |
| 191 | } | 190 | } |
| 192 | - },{ | 191 | + }, |
| 192 | + { | ||
| 193 | + "path": "pages/whisper/whisperSuccess", | ||
| 194 | + "style": { | ||
| 195 | + "navigationStyle": "custom" | ||
| 196 | + } | ||
| 197 | + }, | ||
| 198 | + { | ||
| 193 | "path": "pages/mapdoorplate/mapdoorplate", | 199 | "path": "pages/mapdoorplate/mapdoorplate", |
| 194 | "style": { | 200 | "style": { |
| 195 | "navigationStyle": "custom" | 201 | "navigationStyle": "custom" |
| 196 | } | 202 | } |
| 197 | - }, { | 203 | + }, |
| 204 | + { | ||
| 198 | "path": "pages/minorsos/minorsos", | 205 | "path": "pages/minorsos/minorsos", |
| 199 | "style": { | 206 | "style": { |
| 200 | "navigationStyle": "custom" | 207 | "navigationStyle": "custom" |
| @@ -300,7 +307,7 @@ | @@ -300,7 +307,7 @@ | ||
| 300 | } | 307 | } |
| 301 | 308 | ||
| 302 | }, | 309 | }, |
| 303 | - { | 310 | + { |
| 304 | "path": "pages/declaration/community", | 311 | "path": "pages/declaration/community", |
| 305 | "style": { | 312 | "style": { |
| 306 | "navigationBarTitleText": "", | 313 | "navigationBarTitleText": "", |
| @@ -310,170 +317,153 @@ | @@ -310,170 +317,153 @@ | ||
| 310 | }, { | 317 | }, { |
| 311 | "path": "pages/declaration/list", | 318 | "path": "pages/declaration/list", |
| 312 | "style": { | 319 | "style": { |
| 313 | - "navigationBarTitleText": "区域申报", | 320 | + "navigationBarTitleText": "区域服务", |
| 314 | "enablePullDownRefresh": false | 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 | "navigationStyle": "custom", | 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 | "navigationStyle": "custom", | 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 | "enablePullDownRefresh": false | 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 | "navigationStyle": "custom", | 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 | "navigationStyle": "custom", | 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 | "navigationStyle": "custom", | 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 | "navigationStyle": "custom", | 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 | "navigationStyle": "custom" | 463 | "navigationStyle": "custom" |
| 474 | } | 464 | } |
| 475 | } | 465 | } |
| 476 | - ], | 466 | + ], |
| 477 | "globalStyle": { | 467 | "globalStyle": { |
| 478 | "navigationBarTextStyle": "black", | 468 | "navigationBarTextStyle": "black", |
| 479 | "navigationBarBackgroundColor": "#ffffff" | 469 | "navigationBarBackgroundColor": "#ffffff" |
pages/declaration/list.vue
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | <image style="height: 120rpx;width: 100%;" src="../../static/ly/image5.png" mode="aspectFit"></image> | 24 | <image style="height: 120rpx;width: 100%;" src="../../static/ly/image5.png" mode="aspectFit"></image> |
| 25 | </view> | 25 | </view> |
| 26 | <view style="width: 100%;color: #3D3D3D;text-align: center;font-size: 25rpx;margin-top: 10rpx;"> | 26 | <view style="width: 100%;color: #3D3D3D;text-align: center;font-size: 25rpx;margin-top: 10rpx;"> |
| 27 | - 建筑物备案 | 27 | + 建筑物名称备案 |
| 28 | </view> | 28 | </view> |
| 29 | </view> | 29 | </view> |
| 30 | <view @click="gopath('/pages/declaration/newDeclaration')" style="width: 49%;padding: 50rpx 30rpx;background: rgba(255,255,255,0.63);border-radius: 30rpx;margin-top:20rpx;"> | 30 | <view @click="gopath('/pages/declaration/newDeclaration')" style="width: 49%;padding: 50rpx 30rpx;background: rgba(255,255,255,0.63);border-radius: 30rpx;margin-top:20rpx;"> |
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | <image style="height: 120rpx;width: 100%;" src="../../static/ly/image6.png" mode="aspectFit"></image> | 32 | <image style="height: 120rpx;width: 100%;" src="../../static/ly/image6.png" mode="aspectFit"></image> |
| 33 | </view> | 33 | </view> |
| 34 | <view style="width: 100%;color: #3D3D3D;text-align: center;font-size: 25rpx;margin-top: 10rpx;"> | 34 | <view style="width: 100%;color: #3D3D3D;text-align: center;font-size: 25rpx;margin-top: 10rpx;"> |
| 35 | - 地名备案 | 35 | + 地名申报 |
| 36 | </view> | 36 | </view> |
| 37 | </view> | 37 | </view> |
| 38 | 38 |
pages/funeralreport/funeralreport.vue
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | <pyh-nv ref="nv" :config="nvConfig"></pyh-nv> | 3 | <pyh-nv ref="nv" :config="nvConfig"></pyh-nv> |
| 4 | <view class="listBox" :style="{'padding-top':(pageTop+'px')}"> | 4 | <view class="listBox" :style="{'padding-top':(pageTop+'px')}"> |
| 5 | <view class="content"> | 5 | <view class="content"> |
| 6 | - | ||
| 7 | <view class="message-list"> | 6 | <view class="message-list"> |
| 8 | <view class="titleall-box"> | 7 | <view class="titleall-box"> |
| 9 | <view class="titleall-left"><view class="titleall-left-line"></view>逝者信息<text style="color: red;">(必填)</text></view> | 8 | <view class="titleall-left"><view class="titleall-left-line"></view>逝者信息<text style="color: red;">(必填)</text></view> |
| @@ -37,7 +36,7 @@ | @@ -37,7 +36,7 @@ | ||
| 37 | <view class="info-box-small">逝者民族</view> | 36 | <view class="info-box-small">逝者民族</view> |
| 38 | </view> | 37 | </view> |
| 39 | </view> | 38 | </view> |
| 40 | - <u-picker :show="xbshow" @confirm="xbconfirm" @close="xbclose" :columns="xbcolumns"></u-picker> | 39 | + <u-picker :show="xbshow" @confirm="xbconfirm" @cancel="xbclose" :columns="xbcolumns"></u-picker> |
| 41 | </view> | 40 | </view> |
| 42 | </view> | 41 | </view> |
| 43 | 42 | ||
| @@ -116,7 +115,7 @@ | @@ -116,7 +115,7 @@ | ||
| 116 | <view class="info-box-small">死亡日期</view> | 115 | <view class="info-box-small">死亡日期</view> |
| 117 | </view> | 116 | </view> |
| 118 | </view> | 117 | </view> |
| 119 | - <u-picker :show="swyyshow" @confirm="swyyconfirm" @close="swyyclose" :columns="swyycolumns"></u-picker> | 118 | + <u-picker :show="swyyshow" @confirm="swyyconfirm" @cancel="swyyclose" :columns="swyycolumns"></u-picker> |
| 120 | </view> | 119 | </view> |
| 121 | </view> | 120 | </view> |
| 122 | <u-calendar minDate="2023-11-01" maxDate="3050-12-01" :show="timeshow" @confirm="timeconfirm" @close="timeclose"></u-calendar> | 121 | <u-calendar minDate="2023-11-01" maxDate="3050-12-01" :show="timeshow" @confirm="timeconfirm" @close="timeclose"></u-calendar> |
| @@ -143,7 +142,7 @@ | @@ -143,7 +142,7 @@ | ||
| 143 | <!-- <view><input class="input-text" type="text" placeholder="请选择" placeholder-class="inputtext" /></view> --> | 142 | <!-- <view><input class="input-text" type="text" placeholder="请选择" placeholder-class="inputtext" /></view> --> |
| 144 | <view class="info-box-small">与逝者关系</view> | 143 | <view class="info-box-small">与逝者关系</view> |
| 145 | </view> | 144 | </view> |
| 146 | - <u-picker :show="qsgxshow" @confirm="qsgxconfirm" @close="xbclose" :columns="qsgxcolumns"></u-picker> | 145 | + <u-picker :show="qsgxshow" @confirm="qsgxconfirm" @cancel="qsgxclose" :columns="qsgxcolumns"></u-picker> |
| 147 | <view class="info-box-width"> | 146 | <view class="info-box-width"> |
| 148 | <view><input class="input-text" v-model="from.relativeIdCardNumber" type="text" placeholder="请输入" placeholder-class="inputtext" /></view> | 147 | <view><input class="input-text" v-model="from.relativeIdCardNumber" type="text" placeholder="请输入" placeholder-class="inputtext" /></view> |
| 149 | <view class="info-box-small">家属证件号码</view> | 148 | <view class="info-box-small">家属证件号码</view> |
| @@ -230,8 +229,9 @@ | @@ -230,8 +229,9 @@ | ||
| 230 | ], | 229 | ], |
| 231 | timeshow:false, | 230 | timeshow:false, |
| 232 | jytimeshow:false, | 231 | jytimeshow:false, |
| 232 | + // 不详、车祸、触电、溺水、枪击、烧死、事故、摔、死胎、死刑、他杀、滝死、意外、中毒、坠楼、自杀 | ||
| 233 | swyycolumns:[ | 233 | swyycolumns:[ |
| 234 | - ['自然死亡','疾病死亡','意外死亡'] | 234 | + ['病','不详','车祸','触电','溺水','枪击','烧死','事故','摔','死胎','死刑','他杀','滝死','意外','中毒','坠楼','自杀'] |
| 235 | ], | 235 | ], |
| 236 | swyyshow:false, | 236 | swyyshow:false, |
| 237 | 237 |
pages/home/home.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page"> | 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 | <pyh-nv ref="nv" :config="nvConfig"></pyh-nv> | 6 | <pyh-nv ref="nv" :config="nvConfig"></pyh-nv> |
| 5 | <view class="listBox" :style="{'padding-top':(pageTop+'px')}"> | 7 | <view class="listBox" :style="{'padding-top':(pageTop+'px')}"> |
| 6 | <view class="content"> | 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 | <view class="list" @click="map"> | 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 | <view class="text">区域申报</view> | 36 | <view class="text">区域申报</view> |
| 29 | </view> | 37 | </view> |
| 30 | <view class="list" @click="funeral"> | 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 | <view class="text">殡葬</view> | 42 | <view class="text">殡葬</view> |
| 33 | </view> | 43 | </view> |
| 34 | <!-- <view class="list" @click="toponym"> | 44 | <!-- <view class="list" @click="toponym"> |
| @@ -47,8 +57,8 @@ | @@ -47,8 +57,8 @@ | ||
| 47 | <view><image src="/static/new/image 4.png" mode="heightFix"></image></view> | 57 | <view><image src="/static/new/image 4.png" mode="heightFix"></image></view> |
| 48 | <view class="text">新闻资讯</view> | 58 | <view class="text">新闻资讯</view> |
| 49 | </view> --> | 59 | </view> --> |
| 50 | - </view> | ||
| 51 | - </view> | 60 | + </view> |
| 61 | + </view> | ||
| 52 | </view> | 62 | </view> |
| 53 | <!-- 服务 --> | 63 | <!-- 服务 --> |
| 54 | <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;"> | 64 | <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;"> |
| @@ -60,101 +70,156 @@ | @@ -60,101 +70,156 @@ | ||
| 60 | </view> | 70 | </view> |
| 61 | <view class="content"> | 71 | <view class="content"> |
| 62 | <view class="box_item" @click="funeralculture"> | 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 | <view class="text">线上报丧</view> | 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 | </view> | 95 | </view> |
| 86 | </view> | 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 | </view> | 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 | </view> | 220 | </view> |
| 156 | </view> | 221 | </view> |
| 157 | - | 222 | + |
| 158 | </template> | 223 | </template> |
| 159 | 224 | ||
| 160 | <script> | 225 | <script> |
| @@ -162,18 +227,18 @@ | @@ -162,18 +227,18 @@ | ||
| 162 | export default { | 227 | export default { |
| 163 | data() { | 228 | data() { |
| 164 | return { | 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 | swiperList: [{ | 244 | swiperList: [{ |
| @@ -189,42 +254,46 @@ | @@ -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 | onLoad() { | 265 | onLoad() { |
| 197 | uni.hideTabBar(); | 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 | gopath(e) { | 298 | gopath(e) { |
| 230 | uni.navigateTo({ | 299 | uni.navigateTo({ |
| @@ -233,80 +302,81 @@ | @@ -233,80 +302,81 @@ | ||
| 233 | }, | 302 | }, |
| 234 | toponym() { | 303 | toponym() { |
| 235 | uni.navigateTo({ | 304 | uni.navigateTo({ |
| 236 | - url:"/pages/declaration/newDeclaration" | 305 | + url: "/pages/declaration/newDeclaration" |
| 237 | }) | 306 | }) |
| 238 | }, | 307 | }, |
| 239 | - tzyl(){ | 308 | + tzyl() { |
| 240 | // window.location.href = `http://show.rsxmzj.91xxt.com:81/2023/renshou/index.html?p=${t}&t=${time}&sign=${encryptedstr}` | 309 | // window.location.href = `http://show.rsxmzj.91xxt.com:81/2023/renshou/index.html?p=${t}&t=${time}&sign=${encryptedstr}` |
| 241 | uni.navigateTo({ | 310 | uni.navigateTo({ |
| 242 | - url:"/pages/webview/webview" | 311 | + url: "/pages/webview/webview" |
| 243 | }) | 312 | }) |
| 244 | }, | 313 | }, |
| 245 | - lmpsb(){ | 314 | + lmpsb() { |
| 246 | uni.navigateTo({ | 315 | uni.navigateTo({ |
| 247 | // url:'/pages/mapdoorplate/mapdoorplate' | 316 | // url:'/pages/mapdoorplate/mapdoorplate' |
| 248 | - url:'/pages/map1/map' | 317 | + url: '/pages/map1/map' |
| 249 | // url: '/pages/receiptRegistration/receiptRegistration' | 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 | journalism() { | 331 | journalism() { |
| 262 | uni.navigateTo({ | 332 | uni.navigateTo({ |
| 263 | url: '/pages/journalism/journalism' | 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 | map() { | 381 | map() { |
| 312 | uni.navigateTo({ | 382 | uni.navigateTo({ |
| @@ -321,9 +391,9 @@ | @@ -321,9 +391,9 @@ | ||
| 321 | url: '/pages/map1/map' | 391 | url: '/pages/map1/map' |
| 322 | }) | 392 | }) |
| 323 | }, | 393 | }, |
| 324 | - xwtz(){ | 394 | + xwtz() { |
| 325 | uni.navigateTo({ | 395 | uni.navigateTo({ |
| 326 | - url:"/pages/xw/xw" | 396 | + url: "/pages/xw/xw" |
| 327 | }) | 397 | }) |
| 328 | } | 398 | } |
| 329 | } | 399 | } |
| @@ -331,4 +401,4 @@ | @@ -331,4 +401,4 @@ | ||
| 331 | </script> | 401 | </script> |
| 332 | <style scoped lang="scss"> | 402 | <style scoped lang="scss"> |
| 333 | @import 'home.scss'; | 403 | @import 'home.scss'; |
| 334 | -</style> | 404 | +</style> |
| 335 | \ No newline at end of file | 405 | \ No newline at end of file |
pages/mydeathdetail/mydeathdetail.vue
| @@ -77,20 +77,25 @@ | @@ -77,20 +77,25 @@ | ||
| 77 | 77 | ||
| 78 | <!-- <view class="message-list"> | 78 | <!-- <view class="message-list"> |
| 79 | <view class="titleall-box"> | 79 | <view class="titleall-box"> |
| 80 | - <view class="titleall-left"><view class="titleall-left-line"></view>派遣司机</view> | 80 | + <view class="titleall-left"><view class="titleall-left-line"></view>派遣司机收敛工</view> |
| 81 | </view> | 81 | </view> |
| 82 | <view class="info-box"> | 82 | <view class="info-box"> |
| 83 | <view class="info-box-list"> | 83 | <view class="info-box-list"> |
| 84 | <view class="info-box-width width100"> | 84 | <view class="info-box-width width100"> |
| 85 | - | 85 | + <view class=""> |
| 86 | + <view @click="sjshow = true">{{sjinfo.name}}</view> | ||
| 87 | + <view class="info-box-small">司机</view> | ||
| 88 | + </view> | ||
| 86 | </view> | 89 | </view> |
| 87 | </view> | 90 | </view> |
| 91 | + <u-picker :show="sjshow" @confirm="sjconfirm" @cancel="sjclose" :columns="sjcolumns"></u-picker> | ||
| 88 | <view class="info-box-list"> | 92 | <view class="info-box-list"> |
| 89 | <view class="info-box-width width100"> | 93 | <view class="info-box-width width100"> |
| 90 | - <view>16:20-17:00</view> | ||
| 91 | - <view class="info-box-small">火化时间(此为预约时间,非实际火化时间)</view> | 94 | + <view @click="slgshow = true">{{slginfo.name}}</view> |
| 95 | + <view class="info-box-small">收敛工</view> | ||
| 92 | </view> | 96 | </view> |
| 93 | </view> | 97 | </view> |
| 98 | + <u-picker :show="slgshow" @confirm="slgconfirm" @cancel="slgclose" :columns="slgcolumns"></u-picker> | ||
| 94 | </view> | 99 | </view> |
| 95 | </view> --> | 100 | </view> --> |
| 96 | </view> | 101 | </view> |
| @@ -134,7 +139,22 @@ | @@ -134,7 +139,22 @@ | ||
| 134 | width: 10, | 139 | width: 10, |
| 135 | arrowLine: true, | 140 | arrowLine: true, |
| 136 | borderWidth: 2 //线的边框宽度,还有很多参数,请看文档 | 141 | borderWidth: 2 //线的边框宽度,还有很多参数,请看文档 |
| 137 | - }] | 142 | + }], |
| 143 | + | ||
| 144 | + sjinfo:{ | ||
| 145 | + name:"请选择" | ||
| 146 | + }, | ||
| 147 | + sjshow:false, | ||
| 148 | + sjcolumns:[ | ||
| 149 | + ['男', '女'] | ||
| 150 | + ], | ||
| 151 | + slginfo:{ | ||
| 152 | + name:"请选择" | ||
| 153 | + }, | ||
| 154 | + slgshow:false, | ||
| 155 | + slgcolumns:[ | ||
| 156 | + ['男', '女'] | ||
| 157 | + ], | ||
| 138 | }; | 158 | }; |
| 139 | }, | 159 | }, |
| 140 | onPageScroll(e) {this.$refs.nv.pageScroll(e)}, | 160 | onPageScroll(e) {this.$refs.nv.pageScroll(e)}, |
| @@ -142,12 +162,53 @@ | @@ -142,12 +162,53 @@ | ||
| 142 | pageTop(){return parseInt(88*uni.getSystemInfoSync().windowWidth/750) + uni.getSystemInfoSync().statusBarHeight} | 162 | pageTop(){return parseInt(88*uni.getSystemInfoSync().windowWidth/750) + uni.getSystemInfoSync().statusBarHeight} |
| 143 | }, | 163 | }, |
| 144 | onLoad(params) { | 164 | onLoad(params) { |
| 165 | + this.getcllist(); | ||
| 166 | + this.getclglist(); | ||
| 145 | this.info = JSON.parse(params.info) | 167 | this.info = JSON.parse(params.info) |
| 146 | console.log(this.info); | 168 | console.log(this.info); |
| 147 | this.getbsdetail(this.info.orderNumber) | 169 | this.getbsdetail(this.info.orderNumber) |
| 170 | + | ||
| 148 | // this.OrderType = params.type; | 171 | // this.OrderType = params.type; |
| 149 | }, | 172 | }, |
| 150 | methods:{ | 173 | methods:{ |
| 174 | + // 获取车辆信息 | ||
| 175 | + getcllist(){ | ||
| 176 | + var info = { | ||
| 177 | + pageNum: 1, | ||
| 178 | + pageSize: 10, | ||
| 179 | + vehicleStatus: "0", | ||
| 180 | + } | ||
| 181 | + this.API.getcllist(info).then(res=>{ | ||
| 182 | + console.log("车辆情况",res); | ||
| 183 | + }) | ||
| 184 | + }, | ||
| 185 | + // | ||
| 186 | + sjconfirm(e){ | ||
| 187 | + this.sjshow = false | ||
| 188 | + }, | ||
| 189 | + sjclose(){ | ||
| 190 | + this.sjshow = false | ||
| 191 | + }, | ||
| 192 | + // 获取收敛工信息 | ||
| 193 | + getclglist(){ | ||
| 194 | + // 收敛工司机 | ||
| 195 | + var info = { | ||
| 196 | + pageNum: 1, | ||
| 197 | + pageSize: 10, | ||
| 198 | + position: "收敛工", | ||
| 199 | + status: "0", | ||
| 200 | + }; | ||
| 201 | + this.API.getclglist(info).then(res=>{ | ||
| 202 | + console.log("收敛工",res); | ||
| 203 | + }) | ||
| 204 | + }, | ||
| 205 | + slgconfirm(e){ | ||
| 206 | + this.slgshow = false | ||
| 207 | + }, | ||
| 208 | + slgclose(){ | ||
| 209 | + this.slgshow = false | ||
| 210 | + }, | ||
| 211 | + // | ||
| 151 | lxdh(){ | 212 | lxdh(){ |
| 152 | uni.showModal({ | 213 | uni.showModal({ |
| 153 | title: '联系电话', | 214 | title: '联系电话', |
pages/receiptRegistration/organization.vue
| @@ -71,11 +71,15 @@ | @@ -71,11 +71,15 @@ | ||
| 71 | </view> | 71 | </view> |
| 72 | <view class="info-box"> | 72 | <view class="info-box"> |
| 73 | <view class="info-box-list"> | 73 | <view class="info-box-list"> |
| 74 | - <view class="serve"> | ||
| 75 | - <view class="serve-title">其他信息</view> | 74 | + <view> |
| 75 | + <view class="serve-title" style="font-size: 25rpx;color: #909090;">其他信息</view> | ||
| 76 | + <textarea v-model="form.reportRecord" placeholder="请输入" | ||
| 77 | + placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" | ||
| 78 | + style="margin-top: 20rpx;"></textarea> | ||
| 76 | <view> | 79 | <view> |
| 77 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" | ||
| 78 | - v-model="form.reportRecord" placeholder="请输入" style="text-align: right;" /> | 80 | + |
| 81 | + <!-- <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" | ||
| 82 | + v-model="form.reportRecord" placeholder="请输入" style="text-align: right;" /> --> | ||
| 79 | </view> | 83 | </view> |
| 80 | </view> | 84 | </view> |
| 81 | </view> | 85 | </view> |
| @@ -275,7 +279,8 @@ | @@ -275,7 +279,8 @@ | ||
| 275 | var minute = now.getMinutes(); //获取当前分钟数(0-59) | 279 | var minute = now.getMinutes(); //获取当前分钟数(0-59) |
| 276 | var second = now.getSeconds(); //获取当前秒数(0-59) | 280 | var second = now.getSeconds(); //获取当前秒数(0-59) |
| 277 | this.form.reportTime = year + "-" + (month < 10 ? "0" + month : month) + "-" + (day < 10 ? "0" + day : | 281 | this.form.reportTime = year + "-" + (month < 10 ? "0" + month : month) + "-" + (day < 10 ? "0" + day : |
| 278 | - day) + " " + (hour < 10 ? "0" + hour : hour) + ":" + (minute < 10 ? "0" + minute : minute) + ":" + ( | 282 | + day) + " " + (hour < 10 ? "0" + hour : hour) + ":" + (minute < 10 ? "0" + minute : minute) + ":" + |
| 283 | + ( | ||
| 279 | second < 10 ? "0" + second : second); | 284 | second < 10 ? "0" + second : second); |
| 280 | }, | 285 | }, |
| 281 | register() { | 286 | register() { |
pages/receiptRegistration/townShip.vue
| @@ -4,16 +4,21 @@ | @@ -4,16 +4,21 @@ | ||
| 4 | <view class="content"> | 4 | <view class="content"> |
| 5 | <view class="top-box" @click="gopath('/pages/receiptRegistration/receiptRegistrationList')"> | 5 | <view class="top-box" @click="gopath('/pages/receiptRegistration/receiptRegistrationList')"> |
| 6 | <view>上报历史</view> | 6 | <view>上报历史</view> |
| 7 | - <view class="top-box-img"><image src="../../static/right2.png"></image></view> | 7 | + <view class="top-box-img"> |
| 8 | + <image src="../../static/right2.png"></image> | ||
| 9 | + </view> | ||
| 10 | + </view> | ||
| 11 | + <view class="titleall-left"> | ||
| 12 | + <view class="titleall-left-line"></view>我要上报 | ||
| 8 | </view> | 13 | </view> |
| 9 | - <view class="titleall-left"><view class="titleall-left-line"></view>我要上报</view> | ||
| 10 | <view class="message-list"> | 14 | <view class="message-list"> |
| 11 | <view class="info-box"> | 15 | <view class="info-box"> |
| 12 | <view class="info-box-list"> | 16 | <view class="info-box-list"> |
| 13 | <view class="serve"> | 17 | <view class="serve"> |
| 14 | <view class="serve-title">发生地点</view> | 18 | <view class="serve-title">发生地点</view> |
| 15 | <view> | 19 | <view> |
| 16 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.incidentLocation" placeholder="请输入" style="text-align: right;"/> | 20 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 21 | + v-model="form.incidentLocation" placeholder="请输入" style="text-align: right;" /> | ||
| 17 | </view> | 22 | </view> |
| 18 | </view> | 23 | </view> |
| 19 | </view> | 24 | </view> |
| @@ -23,7 +28,8 @@ | @@ -23,7 +28,8 @@ | ||
| 23 | <view class="serve"> | 28 | <view class="serve"> |
| 24 | <view class="serve-title">儿童姓名</view> | 29 | <view class="serve-title">儿童姓名</view> |
| 25 | <view> | 30 | <view> |
| 26 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.childName" placeholder="请输入" style="text-align: right;"/> | 31 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 32 | + v-model="form.childName" placeholder="请输入" style="text-align: right;" /> | ||
| 27 | </view> | 33 | </view> |
| 28 | </view> | 34 | </view> |
| 29 | </view> | 35 | </view> |
| @@ -46,7 +52,8 @@ | @@ -46,7 +52,8 @@ | ||
| 46 | <view class="serve"> | 52 | <view class="serve"> |
| 47 | <view class="serve-title">儿童年龄</view> | 53 | <view class="serve-title">儿童年龄</view> |
| 48 | <view> | 54 | <view> |
| 49 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.age" placeholder="请输入" style="text-align: right;"/> | 55 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 56 | + v-model="form.age" placeholder="请输入" style="text-align: right;" /> | ||
| 50 | </view> | 57 | </view> |
| 51 | </view> | 58 | </view> |
| 52 | </view> | 59 | </view> |
| @@ -56,30 +63,45 @@ | @@ -56,30 +63,45 @@ | ||
| 56 | <view class="serve"> | 63 | <view class="serve"> |
| 57 | <view class="serve-title">报告原因</view> | 64 | <view class="serve-title">报告原因</view> |
| 58 | <view> | 65 | <view> |
| 59 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.reportReason" placeholder="请输入" style="text-align: right;"/> | 66 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 67 | + v-model="form.reportReason" placeholder="请输入" style="text-align: right;" /> | ||
| 60 | </view> | 68 | </view> |
| 61 | </view> | 69 | </view> |
| 62 | </view> | 70 | </view> |
| 63 | </view> | 71 | </view> |
| 64 | <view class="info-box"> | 72 | <view class="info-box"> |
| 65 | <view class="info-box-list"> | 73 | <view class="info-box-list"> |
| 66 | - <view class="serve"> | 74 | + <view> |
| 75 | + <view class="serve-title" style="font-size: 25rpx;color: #909090;">其他信息</view> | ||
| 76 | + <textarea v-model="form.reportRecord" placeholder="请输入" | ||
| 77 | + placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" | ||
| 78 | + style="margin-top: 20rpx;"></textarea> | ||
| 79 | + <!-- <view> | ||
| 80 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" | ||
| 81 | + v-model="form.reportRecord" placeholder="请输入" style="text-align: right;" /> | ||
| 82 | + </view> --> | ||
| 83 | + </view> | ||
| 84 | + <!-- <view class="serve"> | ||
| 67 | <view class="serve-title">其他信息</view> | 85 | <view class="serve-title">其他信息</view> |
| 68 | <view> | 86 | <view> |
| 69 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.reportRecord" placeholder="请输入" style="text-align: right;"/> | 87 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 88 | + v-model="form.reportRecord" placeholder="请输入" style="text-align: right;" /> | ||
| 70 | </view> | 89 | </view> |
| 71 | - </view> | 90 | + </view> --> |
| 72 | </view> | 91 | </view> |
| 73 | </view> | 92 | </view> |
| 74 | </view> | 93 | </view> |
| 75 | - <view class="titleall-left"><view class="titleall-left-line"></view>报告人信息</view> | 94 | + <view class="titleall-left"> |
| 95 | + <view class="titleall-left-line"></view>报告人信息 | ||
| 96 | + </view> | ||
| 76 | <view class="message-list"> | 97 | <view class="message-list"> |
| 77 | <view class="info-box"> | 98 | <view class="info-box"> |
| 78 | <view class="info-box-list"> | 99 | <view class="info-box-list"> |
| 79 | <view class="serve"> | 100 | <view class="serve"> |
| 80 | <view class="serve-title">姓名</view> | 101 | <view class="serve-title">姓名</view> |
| 81 | <view> | 102 | <view> |
| 82 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.reporterName" placeholder="请输入" style="text-align: right;"/> | 103 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 104 | + v-model="form.reporterName" placeholder="请输入" style="text-align: right;" /> | ||
| 83 | </view> | 105 | </view> |
| 84 | </view> | 106 | </view> |
| 85 | </view> | 107 | </view> |
| @@ -89,7 +111,8 @@ | @@ -89,7 +111,8 @@ | ||
| 89 | <view class="serve"> | 111 | <view class="serve"> |
| 90 | <view class="serve-title">与儿童关系</view> | 112 | <view class="serve-title">与儿童关系</view> |
| 91 | <view> | 113 | <view> |
| 92 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.relationshipWithChild" placeholder="请输入" style="text-align: right;"/> | 114 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 115 | + v-model="form.relationshipWithChild" placeholder="请输入" style="text-align: right;" /> | ||
| 93 | </view> | 116 | </view> |
| 94 | </view> | 117 | </view> |
| 95 | </view> | 118 | </view> |
| @@ -99,7 +122,8 @@ | @@ -99,7 +122,8 @@ | ||
| 99 | <view class="serve"> | 122 | <view class="serve"> |
| 100 | <view class="serve-title">电话</view> | 123 | <view class="serve-title">电话</view> |
| 101 | <view> | 124 | <view> |
| 102 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.phone" placeholder="请输入" style="text-align: right;"/> | 125 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 126 | + v-model="form.phone" placeholder="请输入" style="text-align: right;" /> | ||
| 103 | </view> | 127 | </view> |
| 104 | </view> | 128 | </view> |
| 105 | </view> | 129 | </view> |
| @@ -122,7 +146,8 @@ | @@ -122,7 +146,8 @@ | ||
| 122 | <view class="serve"> | 146 | <view class="serve"> |
| 123 | <view class="serve-title">职业</view> | 147 | <view class="serve-title">职业</view> |
| 124 | <view> | 148 | <view> |
| 125 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.reporterOccupation" placeholder="请输入" style="text-align: right;"/> | 149 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 150 | + v-model="form.reporterOccupation" placeholder="请输入" style="text-align: right;" /> | ||
| 126 | </view> | 151 | </view> |
| 127 | </view> | 152 | </view> |
| 128 | </view> | 153 | </view> |
| @@ -132,31 +157,33 @@ | @@ -132,31 +157,33 @@ | ||
| 132 | <view class="serve"> | 157 | <view class="serve"> |
| 133 | <view class="serve-title">单位名称</view> | 158 | <view class="serve-title">单位名称</view> |
| 134 | <view> | 159 | <view> |
| 135 | - <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" v-model="form.reporterOrganizationName" placeholder="请输入" style="text-align: right;"/> | 160 | + <input placeholder-style="color:#3d3d3d;font-weight: bold;font-size: 25rpx;" |
| 161 | + v-model="form.reporterOrganizationName" placeholder="请输入" | ||
| 162 | + style="text-align: right;" /> | ||
| 136 | </view> | 163 | </view> |
| 137 | </view> | 164 | </view> |
| 138 | </view> | 165 | </view> |
| 139 | </view> | 166 | </view> |
| 140 | </view> | 167 | </view> |
| 141 | <view class="page-footer"> | 168 | <view class="page-footer"> |
| 142 | - <view class="footer-buy"> | ||
| 143 | - <view class="cart-add" @click="register"> | ||
| 144 | - <image src="../../static/btn5.png"></image> | ||
| 145 | - <text>立即上报</text> | ||
| 146 | - </view> | ||
| 147 | - </view> | 169 | + <view class="footer-buy"> |
| 170 | + <view class="cart-add" @click="register"> | ||
| 171 | + <image src="../../static/btn5.png"></image> | ||
| 172 | + <text>立即上报</text> | ||
| 173 | + </view> | ||
| 174 | + </view> | ||
| 148 | </view> | 175 | </view> |
| 149 | - | ||
| 150 | - </view> | 176 | + |
| 151 | </view> | 177 | </view> |
| 152 | </view> | 178 | </view> |
| 179 | + </view> | ||
| 153 | </template> | 180 | </template> |
| 154 | 181 | ||
| 155 | <script> | 182 | <script> |
| 156 | export default { | 183 | export default { |
| 157 | data() { | 184 | data() { |
| 158 | return { | 185 | return { |
| 159 | - form:{ | 186 | + form: { |
| 160 | reportTime: "", | 187 | reportTime: "", |
| 161 | reportPlatform: "", | 188 | reportPlatform: "", |
| 162 | incidentLocation: "", | 189 | incidentLocation: "", |
| @@ -181,10 +208,10 @@ | @@ -181,10 +208,10 @@ | ||
| 181 | index: 0 | 208 | index: 0 |
| 182 | }; | 209 | }; |
| 183 | }, | 210 | }, |
| 184 | - methods:{ | 211 | + methods: { |
| 185 | gopath(e) { | 212 | gopath(e) { |
| 186 | uni.navigateTo({ | 213 | uni.navigateTo({ |
| 187 | - url:e | 214 | + url: e |
| 188 | }) | 215 | }) |
| 189 | }, | 216 | }, |
| 190 | // 选择性别 | 217 | // 选择性别 |
| @@ -207,15 +234,18 @@ | @@ -207,15 +234,18 @@ | ||
| 207 | var hour = now.getHours(); //获取当前小时数(0-23) | 234 | var hour = now.getHours(); //获取当前小时数(0-23) |
| 208 | var minute = now.getMinutes(); //获取当前分钟数(0-59) | 235 | var minute = now.getMinutes(); //获取当前分钟数(0-59) |
| 209 | var second = now.getSeconds(); //获取当前秒数(0-59) | 236 | var second = now.getSeconds(); //获取当前秒数(0-59) |
| 210 | - this.form.reportTime = year + "-" + (month<10?"0"+month:month) + "-" + (day<10?"0"+day:day) + " " + (hour<10?"0"+hour:hour) + ":" + (minute<10?"0"+minute:minute) + ":" + (second<10?"0"+second:second); | 237 | + this.form.reportTime = year + "-" + (month < 10 ? "0" + month : month) + "-" + (day < 10 ? "0" + day : |
| 238 | + day) + " " + (hour < 10 ? "0" + hour : hour) + ":" + (minute < 10 ? "0" + minute : minute) + ":" + | ||
| 239 | + ( | ||
| 240 | + second < 10 ? "0" + second : second); | ||
| 211 | }, | 241 | }, |
| 212 | - register(){ | 242 | + register() { |
| 213 | this.getTime(); | 243 | this.getTime(); |
| 214 | this.form.filingType = '个人'; | 244 | this.form.filingType = '个人'; |
| 215 | this.form.reportType = '强制报告'; | 245 | this.form.reportType = '强制报告'; |
| 216 | this.API.addRegistration(this.form).then(res => { | 246 | this.API.addRegistration(this.form).then(res => { |
| 217 | console.log(res) | 247 | console.log(res) |
| 218 | - if (res.code == 200 ) { | 248 | + if (res.code == 200) { |
| 219 | uni.showToast({ | 249 | uni.showToast({ |
| 220 | icon: 'success', | 250 | icon: 'success', |
| 221 | title: '上报成功' | 251 | title: '上报成功' |
| @@ -227,7 +257,7 @@ | @@ -227,7 +257,7 @@ | ||
| 227 | }, 800) | 257 | }, 800) |
| 228 | } | 258 | } |
| 229 | }) | 259 | }) |
| 230 | - | 260 | + |
| 231 | } | 261 | } |
| 232 | } | 262 | } |
| 233 | } | 263 | } |
| @@ -235,4 +265,4 @@ | @@ -235,4 +265,4 @@ | ||
| 235 | 265 | ||
| 236 | <style scoped lang="scss"> | 266 | <style scoped lang="scss"> |
| 237 | @import 'receiptRegistration.scss'; | 267 | @import 'receiptRegistration.scss'; |
| 238 | -</style> | 268 | -</style> |
| 269 | +</style> | ||
| 239 | \ No newline at end of file | 270 | \ 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 | \ No newline at end of file | 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 | \ No newline at end of file | 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 | \ No newline at end of file | 66 | \ No newline at end of file |
static/.DS_Store
No preview for this file type
static/img/.DS_Store
0 → 100644
No preview for this file type
static/img/05.jpg deleted
23.7 KB
static/img/06.jpg deleted
14.6 KB
static/imgs/.DS_Store
0 → 100644
No preview for this file type
static/ly/.DS_Store
0 → 100644
No preview for this file type
static/new/whisper.png
0 → 100644
19.4 KB