Commit 4a242f6ab4b86902f95f37dd56f747d26664cd0d
Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb
Showing
43 changed files
with
884 additions
and
199 deletions
admin-web-master/dist.zip deleted
No preview for this file type
admin-web-master/src/App.vue
| @@ -583,7 +583,7 @@ export default { | @@ -583,7 +583,7 @@ export default { | ||
| 583 | } | 583 | } |
| 584 | } | 584 | } |
| 585 | .el-table__body tr.current-row>td.el-table__cell, .el-table__body tr.selection-row>td.el-table__cell{ | 585 | .el-table__body tr.current-row>td.el-table__cell, .el-table__body tr.selection-row>td.el-table__cell{ |
| 586 | - background-color: #DEEBE2 !important; | 586 | + background-color: transparent; |
| 587 | } | 587 | } |
| 588 | .el-checkbox__input.is-checked+.el-checkbox__label{ | 588 | .el-checkbox__input.is-checked+.el-checkbox__label{ |
| 589 | color:#3F9B6A; | 589 | color:#3F9B6A; |
admin-web-master/src/utils/request.js
| @@ -17,10 +17,10 @@ let baseURL = '' | @@ -17,10 +17,10 @@ let baseURL = '' | ||
| 17 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { | 17 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { |
| 18 | 18 | ||
| 19 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; | 19 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 20 | - // baseURL = 'https://jy.scjysm.asia:18086/meserver/admin-server'; | 20 | + baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; |
| 21 | // baseURL = 'http://172.16.61.125:9003'; | 21 | // baseURL = 'http://172.16.61.125:9003'; |
| 22 | // baseURL = 'http://10.0.0.51:9003'; | 22 | // baseURL = 'http://10.0.0.51:9003'; |
| 23 | - baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; | 23 | + // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 24 | // baseURL = 'http://192.168.2.225:9003'; | 24 | // baseURL = 'http://192.168.2.225:9003'; |
| 25 | 25 | ||
| 26 | } else { | 26 | } else { |
admin-web-master/src/views/customer/icManagement/index.vue
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | <div style="background-color:#f7f7f7;padding:10px 10px;"> | 2 | <div style="background-color:#f7f7f7;padding:10px 10px;"> |
| 3 | <div class="zhuti" v-if="ggXin==false && detbox==false"> | 3 | <div class="zhuti" v-if="ggXin==false && detbox==false"> |
| 4 | <div style="height:58px;line-height:58px;"> | 4 | <div style="height:58px;line-height:58px;"> |
| 5 | - <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | 5 | + <div style="color:#0006"> <span>商户意向管理</span> <span style="padding:0 5px;">></span> <span |
| 6 | style="color:#000000e6">意向客户管理</span></div> | 6 | style="color:#000000e6">意向客户管理</span></div> |
| 7 | </div> | 7 | </div> |
| 8 | <div> | 8 | <div> |
admin-web-master/src/views/customer/rsaManagement/index.vue
| @@ -2,8 +2,8 @@ | @@ -2,8 +2,8 @@ | ||
| 2 | <div style="background-color:#f7f7f7;padding:10px 10px;"> | 2 | <div style="background-color:#f7f7f7;padding:10px 10px;"> |
| 3 | <div class="zhuti" v-if="ggXin == false && detbox==false && genjinShow==false && tanpanShow ==false"> | 3 | <div class="zhuti" v-if="ggXin == false && detbox==false && genjinShow==false && tanpanShow ==false"> |
| 4 | <div style="height:58px;line-height:58px;"> | 4 | <div style="height:58px;line-height:58px;"> |
| 5 | - <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | ||
| 6 | - style="color:#000000e6">寻租申请管理</span></div> | 5 | + <div style="color:#0006"> <span>商户意向管理</span> <span style="padding:0 5px;">></span> <span |
| 6 | + style="color:#000000e6">意向申请管理</span></div> | ||
| 7 | </div> | 7 | </div> |
| 8 | <div> | 8 | <div> |
| 9 | <!-- 搜索 --> | 9 | <!-- 搜索 --> |
admin-web-master/src/views/serve/MarkActivity/index.vue
| @@ -313,9 +313,21 @@ | @@ -313,9 +313,21 @@ | ||
| 313 | </div> | 313 | </div> |
| 314 | <div style="padding: 15px;"> | 314 | <div style="padding: 15px;"> |
| 315 | <div style="padding: 0px 20px 0px 0px"> | 315 | <div style="padding: 0px 20px 0px 0px"> |
| 316 | - <el-table :data="ziyuanData" highlight-current-row @current-change="handleSelectionChange" | ||
| 317 | - :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"> | ||
| 318 | 316 | ||
| 317 | + <el-table | ||
| 318 | + :data="ziyuanData" | ||
| 319 | + highlight-current-row | ||
| 320 | + ref="multipleTable" | ||
| 321 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 322 | + @row-click="handleRowClick" | ||
| 323 | + > | ||
| 324 | + <el-table-column | ||
| 325 | + label="选择" | ||
| 326 | + width="55"> | ||
| 327 | + <template slot-scope="scope"> | ||
| 328 | + <el-radio v-model="selectedRow" inert :label="scope.row" > </el-radio> | ||
| 329 | + </template> | ||
| 330 | + </el-table-column> | ||
| 319 | <el-table-column label="序号" min-width="8%"> | 331 | <el-table-column label="序号" min-width="8%"> |
| 320 | <template slot-scope="scope"> | 332 | <template slot-scope="scope"> |
| 321 | {{scope.$index + 1}} | 333 | {{scope.$index + 1}} |
| @@ -497,7 +509,8 @@ | @@ -497,7 +509,8 @@ | ||
| 497 | }], | 509 | }], |
| 498 | }, | 510 | }, |
| 499 | mingtotal:0, | 511 | mingtotal:0, |
| 500 | - mingPage:1 | 512 | + mingPage:1, |
| 513 | + selectedRow:null | ||
| 501 | } | 514 | } |
| 502 | }, | 515 | }, |
| 503 | created() { | 516 | created() { |
| @@ -565,7 +578,7 @@ | @@ -565,7 +578,7 @@ | ||
| 565 | this.getAll() | 578 | this.getAll() |
| 566 | }) | 579 | }) |
| 567 | } | 580 | } |
| 568 | - | 581 | + this.selectedRow = null |
| 569 | }else { | 582 | }else { |
| 570 | this.$message({ | 583 | this.$message({ |
| 571 | message: '请填写完整信息', | 584 | message: '请填写完整信息', |
| @@ -608,7 +621,7 @@ | @@ -608,7 +621,7 @@ | ||
| 608 | ids.map(res => { | 621 | ids.map(res => { |
| 609 | changAlls({ | 622 | changAlls({ |
| 610 | id: res, | 623 | id: res, |
| 611 | - pageNumber: 1, | 624 | + pageNumber: 0, |
| 612 | pageSize: 10, | 625 | pageSize: 10, |
| 613 | }).then(item => { | 626 | }).then(item => { |
| 614 | 627 | ||
| @@ -636,12 +649,13 @@ | @@ -636,12 +649,13 @@ | ||
| 636 | ids.map(res => { | 649 | ids.map(res => { |
| 637 | changAlls({ | 650 | changAlls({ |
| 638 | id: res, | 651 | id: res, |
| 639 | - pageNumber: 1, | 652 | + pageNumber: 0, |
| 640 | pageSize: 10, | 653 | pageSize: 10, |
| 641 | }).then(item => { | 654 | }).then(item => { |
| 642 | 655 | ||
| 643 | item.data.content.map(ids => { | 656 | item.data.content.map(ids => { |
| 644 | this.addziyuanData.push(ids) | 657 | this.addziyuanData.push(ids) |
| 658 | + this.selectedRow = ids | ||
| 645 | }) | 659 | }) |
| 646 | 660 | ||
| 647 | }) | 661 | }) |
| @@ -663,7 +677,11 @@ | @@ -663,7 +677,11 @@ | ||
| 663 | this.mingPage = val | 677 | this.mingPage = val |
| 664 | }, | 678 | }, |
| 665 | closeFn(val) { | 679 | closeFn(val) { |
| 680 | + this.getAll() | ||
| 666 | this.ggXin = false | 681 | this.ggXin = false |
| 682 | + this.addziyuanData =[] | ||
| 683 | + this.selectedRow = null | ||
| 684 | + | ||
| 667 | }, | 685 | }, |
| 668 | 686 | ||
| 669 | // 查询按钮 | 687 | // 查询按钮 |
| @@ -684,25 +702,24 @@ | @@ -684,25 +702,24 @@ | ||
| 684 | }, | 702 | }, |
| 685 | 703 | ||
| 686 | minSev() { | 704 | minSev() { |
| 687 | - if(this.addziyuanData.length == 1){ | ||
| 688 | - this.$message({ | ||
| 689 | - message: '场地只能添加一个', | ||
| 690 | - }) | ||
| 691 | - }else{ | ||
| 692 | - this.addziyuanData = this.multipleSelection | ||
| 693 | - } | 705 | + this.addziyuanData = [] |
| 706 | + this.addziyuanData.push(this.selectedRow) | ||
| 694 | this.addziyuan = false | 707 | this.addziyuan = false |
| 695 | this.multipleSelection = [] | 708 | this.multipleSelection = [] |
| 696 | 709 | ||
| 710 | +this.selectedRow = null | ||
| 697 | }, | 711 | }, |
| 698 | mingClose() { | 712 | mingClose() { |
| 713 | + | ||
| 699 | this.multipleSelection = [] | 714 | this.multipleSelection = [] |
| 700 | this.addziyuan = false | 715 | this.addziyuan = false |
| 701 | - }, | ||
| 702 | - handleSelectionChange(val) { | 716 | + this.selectedRow = null |
| 717 | + | ||
| 703 | 718 | ||
| 704 | - this.multipleSelection.push(val) | ||
| 705 | }, | 719 | }, |
| 720 | + handleRowClick(row) { | ||
| 721 | + this.selectedRow = row; // 点击行时选中对应的单选框 | ||
| 722 | + }, | ||
| 706 | deltab(item) { | 723 | deltab(item) { |
| 707 | const h = this.$createElement; | 724 | const h = this.$createElement; |
| 708 | this.$msgbox({ | 725 | this.$msgbox({ |
| @@ -784,7 +801,10 @@ | @@ -784,7 +801,10 @@ | ||
| 784 | }, | 801 | }, |
| 785 | 802 | ||
| 786 | addziDel(index){ | 803 | addziDel(index){ |
| 787 | - this.addziyuanData.splice(index, 1); | 804 | + |
| 805 | + this.addziyuanData.splice(index, 1) | ||
| 806 | + this.selectedRow = null | ||
| 807 | + | ||
| 788 | } | 808 | } |
| 789 | 809 | ||
| 790 | } | 810 | } |
| @@ -792,6 +812,9 @@ | @@ -792,6 +812,9 @@ | ||
| 792 | </script> | 812 | </script> |
| 793 | 813 | ||
| 794 | <style scoped> | 814 | <style scoped> |
| 815 | +/deep/ .el-table__body tr.current-row { | ||
| 816 | + background-color: transparent !important; | ||
| 817 | +} | ||
| 795 | .zhuti { | 818 | .zhuti { |
| 796 | padding: 0 20px 20px 20px; | 819 | padding: 0 20px 20px 20px; |
| 797 | min-height: calc(100vh - 50px - 20px); | 820 | min-height: calc(100vh - 50px - 20px); |
admin-web-master/src/views/serve/Merchant/index.vue
| @@ -342,10 +342,16 @@ | @@ -342,10 +342,16 @@ | ||
| 342 | <div style="padding: 0px 20px 0px 0px"> | 342 | <div style="padding: 0px 20px 0px 0px"> |
| 343 | <el-table :data="ziyuanData" | 343 | <el-table :data="ziyuanData" |
| 344 | highlight-current-row | 344 | highlight-current-row |
| 345 | - @current-change="handleSelectionChange" | 345 | + @row-click="handleRowClick" |
| 346 | :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | 346 | :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" |
| 347 | > | 347 | > |
| 348 | - | 348 | +<el-table-column |
| 349 | + label="选择" | ||
| 350 | + width="55"> | ||
| 351 | + <template slot-scope="scope"> | ||
| 352 | + <el-radio v-model="selectedRow" inert :label="scope.row" > </el-radio> | ||
| 353 | + </template> | ||
| 354 | + </el-table-column> | ||
| 349 | <el-table-column label="序号" min-width="8%" > | 355 | <el-table-column label="序号" min-width="8%" > |
| 350 | <template slot-scope="scope"> | 356 | <template slot-scope="scope"> |
| 351 | {{scope.$index + 1}} | 357 | {{scope.$index + 1}} |
| @@ -483,6 +489,7 @@ | @@ -483,6 +489,7 @@ | ||
| 483 | trigger: 'change' | 489 | trigger: 'change' |
| 484 | }, ], | 490 | }, ], |
| 485 | }, | 491 | }, |
| 492 | + selectedRow:null | ||
| 486 | } | 493 | } |
| 487 | }, | 494 | }, |
| 488 | created() { | 495 | created() { |
| @@ -553,6 +560,7 @@ | @@ -553,6 +560,7 @@ | ||
| 553 | this.getAll() | 560 | this.getAll() |
| 554 | }) | 561 | }) |
| 555 | } | 562 | } |
| 563 | + this.selectedRow = null | ||
| 556 | }else { | 564 | }else { |
| 557 | this.$message({ | 565 | this.$message({ |
| 558 | message: '请填写完整信息', | 566 | message: '请填写完整信息', |
| @@ -599,7 +607,7 @@ | @@ -599,7 +607,7 @@ | ||
| 599 | ids.map(res => { | 607 | ids.map(res => { |
| 600 | changAlls({ | 608 | changAlls({ |
| 601 | id: res, | 609 | id: res, |
| 602 | - pageNumber: 1, | 610 | + pageNumber: 0, |
| 603 | pageSize: 10, | 611 | pageSize: 10, |
| 604 | }).then(item => { | 612 | }).then(item => { |
| 605 | 613 | ||
| @@ -630,7 +638,10 @@ | @@ -630,7 +638,10 @@ | ||
| 630 | 638 | ||
| 631 | closeFn(val) { | 639 | closeFn(val) { |
| 632 | this.addziyuanData =[] | 640 | this.addziyuanData =[] |
| 641 | + this.getAll() | ||
| 633 | this.ggXin = false | 642 | this.ggXin = false |
| 643 | + this.selectedRow = null | ||
| 644 | + | ||
| 634 | }, | 645 | }, |
| 635 | //查看合同 | 646 | //查看合同 |
| 636 | lookHetong(val) { | 647 | lookHetong(val) { |
| @@ -663,12 +674,13 @@ | @@ -663,12 +674,13 @@ | ||
| 663 | ids.map(res => { | 674 | ids.map(res => { |
| 664 | changAlls({ | 675 | changAlls({ |
| 665 | id: res, | 676 | id: res, |
| 666 | - pageNumber: 1, | 677 | + pageNumber: 0, |
| 667 | pageSize: 10, | 678 | pageSize: 10, |
| 668 | }).then(item => { | 679 | }).then(item => { |
| 669 | 680 | ||
| 670 | item.data.content.map(ids => { | 681 | item.data.content.map(ids => { |
| 671 | this.addziyuanData.push(ids) | 682 | this.addziyuanData.push(ids) |
| 683 | + this.selectedRow = ids | ||
| 672 | }) | 684 | }) |
| 673 | 685 | ||
| 674 | }) | 686 | }) |
| @@ -679,27 +691,20 @@ | @@ -679,27 +691,20 @@ | ||
| 679 | 691 | ||
| 680 | }, | 692 | }, |
| 681 | minSev() { | 693 | minSev() { |
| 682 | - | ||
| 683 | - if(this.addziyuanData.length == 1){ | ||
| 684 | - this.$message({ | ||
| 685 | - message: '场地只能添加一个', | ||
| 686 | - }) | ||
| 687 | - }else{ | ||
| 688 | - this.addziyuanData = this.multipleSelection | ||
| 689 | - } | 694 | +this.addziyuanData = [] |
| 695 | +this.addziyuanData.push(this.selectedRow) | ||
| 690 | this.addziyuan = false | 696 | this.addziyuan = false |
| 691 | this.multipleSelection = [] | 697 | this.multipleSelection = [] |
| 698 | + this.selectedRow = null | ||
| 692 | }, | 699 | }, |
| 693 | mingClose(){ | 700 | mingClose(){ |
| 694 | this.multipleSelection =[] | 701 | this.multipleSelection =[] |
| 695 | this.addziyuan = false | 702 | this.addziyuan = false |
| 703 | + this.selectedRow = null | ||
| 696 | }, | 704 | }, |
| 697 | - handleSelectionChange(val) { | ||
| 698 | - | ||
| 699 | - this.multipleSelection.push(val) | ||
| 700 | - }, | ||
| 701 | - | ||
| 702 | - | 705 | + handleRowClick(row) { |
| 706 | + this.selectedRow = row; // 点击行时选中对应的单选框 | ||
| 707 | + }, | ||
| 703 | deltab(item){ | 708 | deltab(item){ |
| 704 | const h = this.$createElement; | 709 | const h = this.$createElement; |
| 705 | this.$msgbox({ | 710 | this.$msgbox({ |
| @@ -751,6 +756,7 @@ | @@ -751,6 +756,7 @@ | ||
| 751 | }, | 756 | }, |
| 752 | handleDelete(index){ | 757 | handleDelete(index){ |
| 753 | this.addziyuanData.splice(index, 1) | 758 | this.addziyuanData.splice(index, 1) |
| 759 | + this.selectedRow = null | ||
| 754 | } | 760 | } |
| 755 | } | 761 | } |
| 756 | } | 762 | } |
lvdao-miniapp/manifest.json
lvdao-miniapp/pages.json
| @@ -431,6 +431,27 @@ | @@ -431,6 +431,27 @@ | ||
| 431 | "navigationBarBackgroundColor": "#FFFFFF", | 431 | "navigationBarBackgroundColor": "#FFFFFF", |
| 432 | "navigationBarTitleText": "店铺信息" | 432 | "navigationBarTitleText": "店铺信息" |
| 433 | } | 433 | } |
| 434 | + }, | ||
| 435 | + { | ||
| 436 | + "path": "rentPay/rentPay", | ||
| 437 | + "style": { | ||
| 438 | + "navigationBarBackgroundColor": "#FFFFFF", | ||
| 439 | + "navigationBarTitleText": "租金缴费" | ||
| 440 | + } | ||
| 441 | + }, | ||
| 442 | + { | ||
| 443 | + "path": "rentPay/rentPayDetails", | ||
| 444 | + "style": { | ||
| 445 | + "navigationBarBackgroundColor": "#FFFFFF", | ||
| 446 | + "navigationBarTitleText": "缴费记录" | ||
| 447 | + } | ||
| 448 | + }, | ||
| 449 | + { | ||
| 450 | + "path": "rentPay/goPay", | ||
| 451 | + "style": { | ||
| 452 | + "navigationBarBackgroundColor": "#FFFFFF", | ||
| 453 | + "navigationBarTitleText": "支付" | ||
| 454 | + } | ||
| 434 | } | 455 | } |
| 435 | ] | 456 | ] |
| 436 | }], | 457 | }], |
lvdao-miniapp/pages/advertisement/advertisement.scss
| @@ -6,16 +6,11 @@ | @@ -6,16 +6,11 @@ | ||
| 6 | height: 100%; | 6 | height: 100%; |
| 7 | } | 7 | } |
| 8 | .head-search{ | 8 | .head-search{ |
| 9 | - display: flex; | ||
| 10 | - align-items: center; | ||
| 11 | - justify-content: space-between; | ||
| 12 | - position: relative; | ||
| 13 | - margin: 20rpx 0; | ||
| 14 | - background-color: #FFFFFF; | ||
| 15 | - border-radius: 35rpx; | ||
| 16 | - padding: 0 10rpx; | ||
| 17 | - border: 2rpx solid #E8E8E8; | ||
| 18 | - margin: 22rpx 24rpx; | 9 | + display: flex; |
| 10 | + align-items: center; | ||
| 11 | + justify-content: space-between; | ||
| 12 | + position: relative; | ||
| 13 | + padding: 20rpx; | ||
| 19 | .u-search { | 14 | .u-search { |
| 20 | position: relative; | 15 | position: relative; |
| 21 | } | 16 | } |
| @@ -33,7 +28,7 @@ | @@ -33,7 +28,7 @@ | ||
| 33 | display: flex; | 28 | display: flex; |
| 34 | align-items: center; | 29 | align-items: center; |
| 35 | width: 100%; | 30 | width: 100%; |
| 36 | - margin: 40rpx 0; | 31 | + margin: 20rpx 0; |
| 37 | .list { | 32 | .list { |
| 38 | display: flex; | 33 | display: flex; |
| 39 | justify-content: center; | 34 | justify-content: center; |
lvdao-miniapp/pages/advertisement/advertisement.vue
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | </view> --> | 7 | </view> --> |
| 8 | <!-- 搜索 --> | 8 | <!-- 搜索 --> |
| 9 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | 9 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > |
| 10 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pagesize.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 10 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="query.advertisingName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> |
| 11 | </view> | 11 | </view> |
| 12 | <view class="screen-list"> | 12 | <view class="screen-list"> |
| 13 | <view class="list" @click="typeshow = true"> | 13 | <view class="list" @click="typeshow = true"> |
| @@ -172,8 +172,6 @@ | @@ -172,8 +172,6 @@ | ||
| 172 | this.show = true | 172 | this.show = true |
| 173 | }, | 173 | }, |
| 174 | handleCompanyConfirm(val){ | 174 | handleCompanyConfirm(val){ |
| 175 | - console.log(val) | ||
| 176 | - | ||
| 177 | let page = { | 175 | let page = { |
| 178 | pageNumber: 1, | 176 | pageNumber: 1, |
| 179 | pageSize: 10, | 177 | pageSize: 10, |
lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue
| @@ -130,10 +130,15 @@ export default { | @@ -130,10 +130,15 @@ export default { | ||
| 130 | leaseAdd(url){ | 130 | leaseAdd(url){ |
| 131 | 131 | ||
| 132 | this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { | 132 | this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { |
| 133 | - //成功回调 | 133 | + if(res.data.code == '20004' || res.data.code == '20003'){ |
| 134 | + uni.navigateTo({ | ||
| 135 | + url: '/pages/login/login' | ||
| 136 | + }) | ||
| 137 | + | ||
| 138 | + } | ||
| 134 | if(res.data.data.content.length>0) { | 139 | if(res.data.data.content.length>0) { |
| 135 | let c1 = res.data.data.content[0] | 140 | let c1 = res.data.data.content[0] |
| 136 | - console.error({...c1}) | 141 | + |
| 137 | if(c1.checkState == '1') { | 142 | if(c1.checkState == '1') { |
| 138 | uni.showToast({ | 143 | uni.showToast({ |
| 139 | icon:'none', | 144 | icon:'none', |
lvdao-miniapp/pages/complaint/complaint.scss
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | left: 0; | 3 | left: 0; |
| 4 | top: 0; | 4 | top: 0; |
| 5 | width: 100%; | 5 | width: 100%; |
| 6 | - height: 100%; | ||
| 7 | background-color: #f6f6f6; | 6 | background-color: #f6f6f6; |
| 8 | } | 7 | } |
| 9 | 8 | ||
| @@ -63,28 +62,23 @@ | @@ -63,28 +62,23 @@ | ||
| 63 | left: 0; | 62 | left: 0; |
| 64 | bottom: 0; | 63 | bottom: 0; |
| 65 | display: flex; | 64 | display: flex; |
| 65 | + align-items: center; | ||
| 66 | + justify-content: center; | ||
| 66 | width: 100%; | 67 | width: 100%; |
| 67 | - height: 100rpx; | 68 | + height: 60px; |
| 68 | background-color: #FFFFFF; | 69 | background-color: #FFFFFF; |
| 69 | - padding-bottom: constant(safe-area-inset-bottom); | ||
| 70 | - padding-bottom: env(safe-area-inset-bottom); | ||
| 71 | - .footer-buy{ | 70 | + |
| 71 | + .footer-btn { | ||
| 72 | + display: flex; | ||
| 73 | + width: 90%; | ||
| 74 | + } | ||
| 75 | + .footer-service { | ||
| 72 | display: flex; | 76 | display: flex; |
| 77 | + flex-direction: column; | ||
| 73 | align-items: center; | 78 | align-items: center; |
| 74 | - justify-content: space-between; | ||
| 75 | - width: 100%; | ||
| 76 | - height: 100%; | ||
| 77 | - .cart-add{ | ||
| 78 | - display: flex; | ||
| 79 | - align-items: center; | ||
| 80 | - justify-content: center; | ||
| 81 | - width: 100%; | ||
| 82 | - height: 100rpx; | ||
| 83 | - background-color: #3f9b6a; | ||
| 84 | - text{ | ||
| 85 | - font-size: 28rpx; | ||
| 86 | - color: #FFFFFF; | ||
| 87 | - } | 79 | + text { |
| 80 | + margin-top: 6rpx; | ||
| 81 | + line-height: 32rpx; | ||
| 88 | } | 82 | } |
| 89 | } | 83 | } |
| 90 | } | 84 | } |
lvdao-miniapp/pages/complaint/complaint.vue
| @@ -68,8 +68,14 @@ | @@ -68,8 +68,14 @@ | ||
| 68 | </view> | 68 | </view> |
| 69 | <u-select v-model="popup1" mode="mutil-column-auto" :list="list" @confirm="pops" label-name="label" value-name="value"></u-select> | 69 | <u-select v-model="popup1" mode="mutil-column-auto" :list="list" @confirm="pops" label-name="label" value-name="value"></u-select> |
| 70 | <!-- 保存按钮 --> | 70 | <!-- 保存按钮 --> |
| 71 | + | ||
| 72 | + <!-- <view class="page-footer"> | ||
| 73 | + <u-button type="success" style="flex: 1; margin: 0 10px;" >提交</u-button> | ||
| 74 | + </view> --> | ||
| 71 | <view class="page-footer"> | 75 | <view class="page-footer"> |
| 72 | - <u-button type="success" style="flex: 1; margin: 0 10px;" @click="submit">提交</u-button> | 76 | + <view class="footer-btn"> |
| 77 | + <u-button type="success" style="width: 100%;border-radius: 10px;" @click="submit">提交</u-button> | ||
| 78 | + </view> | ||
| 73 | </view> | 79 | </view> |
| 74 | </view> | 80 | </view> |
| 75 | </template> | 81 | </template> |
| @@ -105,24 +111,25 @@ | @@ -105,24 +111,25 @@ | ||
| 105 | 111 | ||
| 106 | }, | 112 | }, |
| 107 | check(){ | 113 | check(){ |
| 108 | - if (this.ruleForm.onSitePhoto.length== 0) { | 114 | + |
| 115 | + if (!this.ruleForm.complaintType) { | ||
| 109 | uni.showToast({ | 116 | uni.showToast({ |
| 110 | icon: 'none', | 117 | icon: 'none', |
| 111 | - title: '请上传现场图片' | 118 | + title: '请选择投诉类型' |
| 112 | }); | 119 | }); |
| 113 | return false; | 120 | return false; |
| 114 | } | 121 | } |
| 115 | - if (!this.ruleForm.complaintType) { | 122 | + if (!this.ruleForm.problemDescription) { |
| 116 | uni.showToast({ | 123 | uni.showToast({ |
| 117 | icon: 'none', | 124 | icon: 'none', |
| 118 | - title: '请选择投诉类型' | 125 | + title: '请输入问题描述' |
| 119 | }); | 126 | }); |
| 120 | return false; | 127 | return false; |
| 121 | } | 128 | } |
| 122 | - if (!this.ruleForm.problemDescription) { | 129 | + if (this.ruleForm.onSitePhoto.length== 0) { |
| 123 | uni.showToast({ | 130 | uni.showToast({ |
| 124 | icon: 'none', | 131 | icon: 'none', |
| 125 | - title: '请输入问题描述' | 132 | + title: '请上传现场图片' |
| 126 | }); | 133 | }); |
| 127 | return false; | 134 | return false; |
| 128 | } | 135 | } |
lvdao-miniapp/pages/details/details.scss
| @@ -144,10 +144,9 @@ | @@ -144,10 +144,9 @@ | ||
| 144 | align-items: center; | 144 | align-items: center; |
| 145 | justify-content: center; | 145 | justify-content: center; |
| 146 | width: 100%; | 146 | width: 100%; |
| 147 | - height: 125rpx; | 147 | + height: 60px; |
| 148 | background-color: #FFFFFF; | 148 | background-color: #FFFFFF; |
| 149 | - padding-bottom: constant(safe-area-inset-bottom); | ||
| 150 | - padding-bottom: env(safe-area-inset-bottom); | 149 | + |
| 151 | .footer-btn { | 150 | .footer-btn { |
| 152 | display: flex; | 151 | display: flex; |
| 153 | width: 90%; | 152 | width: 90%; |
lvdao-miniapp/pages/details/details.vue
| @@ -173,10 +173,13 @@ export default { | @@ -173,10 +173,13 @@ export default { | ||
| 173 | methods: { | 173 | methods: { |
| 174 | leaseAdd(url){ | 174 | leaseAdd(url){ |
| 175 | this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { | 175 | this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { |
| 176 | - //成功回调 | 176 | + if(res.data.code == '20004' || res.data.code == '20003'){ |
| 177 | + uni.navigateTo({ | ||
| 178 | + url: '/pages/login/login' | ||
| 179 | + }) | ||
| 180 | + } | ||
| 177 | if(res.data.data.content.length>0) { | 181 | if(res.data.data.content.length>0) { |
| 178 | let c1 = res.data.data.content[0] | 182 | let c1 = res.data.data.content[0] |
| 179 | - console.error({...c1}) | ||
| 180 | if(c1.checkState == '1') { | 183 | if(c1.checkState == '1') { |
| 181 | uni.showToast({ | 184 | uni.showToast({ |
| 182 | icon:'none', | 185 | icon:'none', |
lvdao-miniapp/pages/field/field.scss
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | align-items: center; | 10 | align-items: center; |
| 11 | justify-content: space-between; | 11 | justify-content: space-between; |
| 12 | position: relative; | 12 | position: relative; |
| 13 | - margin: 20rpx; | 13 | + padding: 20rpx; |
| 14 | .search{ | 14 | .search{ |
| 15 | display: flex; | 15 | display: flex; |
| 16 | width:100%; | 16 | width:100%; |
| @@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
| 40 | display: flex; | 40 | display: flex; |
| 41 | align-items: center; | 41 | align-items: center; |
| 42 | width: 100%; | 42 | width: 100%; |
| 43 | - margin: 40rpx 0; | 43 | + margin: 20rpx 0; |
| 44 | .list { | 44 | .list { |
| 45 | display: flex; | 45 | display: flex; |
| 46 | justify-content: center; | 46 | justify-content: center; |
lvdao-miniapp/pages/field/field.vue
| @@ -7,8 +7,8 @@ | @@ -7,8 +7,8 @@ | ||
| 7 | <u-search bg-color="#fff" placeholder="请输入" v-model="query.venueName" :show-action="false" @search="search" @clear="clearGet"></u-search> | 7 | <u-search bg-color="#fff" placeholder="请输入" v-model="query.venueName" :show-action="false" @search="search" @clear="clearGet"></u-search> |
| 8 | <u-button type="success" @click="search">搜索</u-button> | 8 | <u-button type="success" @click="search">搜索</u-button> |
| 9 | </view> --> | 9 | </view> --> |
| 10 | - <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | ||
| 11 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pagesize.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 10 | + <view style="background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8;overflow: hidden;width: 100%;" > |
| 11 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="query.venueName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | ||
| 12 | </view> | 12 | </view> |
| 13 | </view> | 13 | </view> |
| 14 | <view class="screen-list"> | 14 | <view class="screen-list"> |
lvdao-miniapp/pages/home/home.scss
| @@ -7,6 +7,7 @@ | @@ -7,6 +7,7 @@ | ||
| 7 | // overflow-x: hidden; | 7 | // overflow-x: hidden; |
| 8 | // overflow-y: auto; | 8 | // overflow-y: auto; |
| 9 | position: absolute; | 9 | position: absolute; |
| 10 | + | ||
| 10 | } | 11 | } |
| 11 | .top-img { | 12 | .top-img { |
| 12 | width: 750rpx; | 13 | width: 750rpx; |
| @@ -362,6 +363,9 @@ | @@ -362,6 +363,9 @@ | ||
| 362 | color: #232323; | 363 | color: #232323; |
| 363 | } | 364 | } |
| 364 | } | 365 | } |
| 366 | +.cardHome:last-child { | ||
| 367 | + margin-bottom: 20px; | ||
| 368 | +} | ||
| 365 | .other-business { | 369 | .other-business { |
| 366 | .scroll-view_H { | 370 | .scroll-view_H { |
| 367 | white-space: nowrap; | 371 | white-space: nowrap; |
lvdao-miniapp/pages/home/home.vue
| @@ -229,7 +229,7 @@ | @@ -229,7 +229,7 @@ | ||
| 229 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > | 229 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > |
| 230 | <view v-for="(item, index) in tableData" :key="index" class="scroll-view-item_H" @click="details(item)"> | 230 | <view v-for="(item, index) in tableData" :key="index" class="scroll-view-item_H" @click="details(item)"> |
| 231 | <view class="business-card"> | 231 | <view class="business-card"> |
| 232 | - <u-image :showLoading="true" :src="imgurl + (item.displayMainImage || item.locationDiagram || item.displayImage) | getimgurl" width="100%" height="210rpx"></u-image> | 232 | + <u-image :showLoading="true" :src="imgurl + (item.displayMainImage || item.locationDiagram || item.displayImage) | getimgurl" width="100%" height="210rpx" border-radius="20"></u-image> |
| 233 | <view class="business-card-title"> | 233 | <view class="business-card-title"> |
| 234 | {{ item.shopName || item.advertisingName || item.venueName}} | 234 | {{ item.shopName || item.advertisingName || item.venueName}} |
| 235 | </view> | 235 | </view> |
| @@ -258,7 +258,7 @@ | @@ -258,7 +258,7 @@ | ||
| 258 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > | 258 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > |
| 259 | <view v-for="(item, index) in activity" :key="index" class="scroll-view-item_H" @click="toDetail(item.id, '/pages/activityDetail/activityDetail')" > | 259 | <view v-for="(item, index) in activity" :key="index" class="scroll-view-item_H" @click="toDetail(item.id, '/pages/activityDetail/activityDetail')" > |
| 260 | <view class="business-card"> | 260 | <view class="business-card"> |
| 261 | - <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx"></u-image> | 261 | + <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx" border-radius="20"></u-image> |
| 262 | <view class="business-card-title"> | 262 | <view class="business-card-title"> |
| 263 | {{item.activityName || '标题'}} | 263 | {{item.activityName || '标题'}} |
| 264 | </view> | 264 | </view> |
| @@ -281,7 +281,7 @@ | @@ -281,7 +281,7 @@ | ||
| 281 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > | 281 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > |
| 282 | <view v-for="(item, index) in yingxiaoData" :key="item.id" class="scroll-view-item_H" @click="toDetail(item.id, '/pages/marketing/marketingDetail/marketingDetail')"> | 282 | <view v-for="(item, index) in yingxiaoData" :key="item.id" class="scroll-view-item_H" @click="toDetail(item.id, '/pages/marketing/marketingDetail/marketingDetail')"> |
| 283 | <view class="business-card"> | 283 | <view class="business-card"> |
| 284 | - <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx"></u-image> | 284 | + <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx" border-radius="20"></u-image> |
| 285 | <view class="business-card-title"> | 285 | <view class="business-card-title"> |
| 286 | {{item.title}} | 286 | {{item.title}} |
| 287 | </view> | 287 | </view> |
| @@ -303,7 +303,7 @@ | @@ -303,7 +303,7 @@ | ||
| 303 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > | 303 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > |
| 304 | <view v-for="(item, index) in shangwuData" :key="item.id" class="scroll-view-item_H" @click="toDetailTwo(item, '/pages/business/businessDetail/businessDetail')"> | 304 | <view v-for="(item, index) in shangwuData" :key="item.id" class="scroll-view-item_H" @click="toDetailTwo(item, '/pages/business/businessDetail/businessDetail')"> |
| 305 | <view class="business-card"> | 305 | <view class="business-card"> |
| 306 | - <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx"></u-image> | 306 | + <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx" border-radius="20"></u-image> |
| 307 | <view class="business-card-title"> | 307 | <view class="business-card-title"> |
| 308 | {{item.title}} | 308 | {{item.title}} |
| 309 | </view> | 309 | </view> |
lvdao-miniapp/pages/marketing/marketingDetail/marketingDetail.scss
| @@ -69,7 +69,7 @@ | @@ -69,7 +69,7 @@ | ||
| 69 | padding-bottom: constant(safe-area-inset-bottom); | 69 | padding-bottom: constant(safe-area-inset-bottom); |
| 70 | padding-bottom: env(safe-area-inset-bottom); | 70 | padding-bottom: env(safe-area-inset-bottom); |
| 71 | .footer-btn { | 71 | .footer-btn { |
| 72 | - // padding: 0 10%; | 72 | + padding: 0 20px; |
| 73 | margin-top: 20rpx; | 73 | margin-top: 20rpx; |
| 74 | } | 74 | } |
| 75 | .footer-service { | 75 | .footer-service { |
lvdao-miniapp/pages/marketing/marketingDetail/marketingDetail.vue
| @@ -26,13 +26,13 @@ | @@ -26,13 +26,13 @@ | ||
| 26 | 26 | ||
| 27 | <!-- 底部 --> | 27 | <!-- 底部 --> |
| 28 | <view style="height: 125rpx;"></view> | 28 | <view style="height: 125rpx;"></view> |
| 29 | - <view class="page-footer"> | 29 | + <view class="page-footer" v-if="tableData.activeState == 1"> |
| 30 | <!-- <view class="footer-service"> | 30 | <!-- <view class="footer-service"> |
| 31 | <u-image :showLoading="true" :src="$imgUrl('/sevice-icon.png')" width="30rpx" height="30rpx"></u-image> | 31 | <u-image :showLoading="true" :src="$imgUrl('/sevice-icon.png')" width="30rpx" height="30rpx"></u-image> |
| 32 | <text>客服</text> | 32 | <text>客服</text> |
| 33 | </view> --> | 33 | </view> --> |
| 34 | <view class="footer-btn"> | 34 | <view class="footer-btn"> |
| 35 | - <u-button type="success" style="width:90%" @click="baoShow">报名参加</u-button> | 35 | + <u-button type="success" @click="baoShow">报名参加</u-button> |
| 36 | </view> | 36 | </view> |
| 37 | <!-- <view class="footer-service"> | 37 | <!-- <view class="footer-service"> |
| 38 | <u-image :showLoading="true" :src="$imgUrl('/share-icon.png')" width="30rpx" height="30rpx"></u-image> | 38 | <u-image :showLoading="true" :src="$imgUrl('/share-icon.png')" width="30rpx" height="30rpx"></u-image> |
lvdao-miniapp/pages/my/my.vue
| @@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
| 48 | </view> | 48 | </view> |
| 49 | <view class="my-service"> | 49 | <view class="my-service"> |
| 50 | <view class="service-list"> | 50 | <view class="service-list"> |
| 51 | - <view class="service-list-list"> | 51 | + <!-- <view class="service-list-list"> |
| 52 | <view class="thumb"> | 52 | <view class="thumb"> |
| 53 | <text v-if="Islogin">0</text> | 53 | <text v-if="Islogin">0</text> |
| 54 | <text v-else>{{wenjuanNum}}</text> | 54 | <text v-else>{{wenjuanNum}}</text> |
| @@ -56,7 +56,7 @@ | @@ -56,7 +56,7 @@ | ||
| 56 | <view class="name" @click="questionnaire"> | 56 | <view class="name" @click="questionnaire"> |
| 57 | <text>我的问卷</text> | 57 | <text>我的问卷</text> |
| 58 | </view> | 58 | </view> |
| 59 | - </view> | 59 | + </view> --> |
| 60 | <view class="service-list-list"> | 60 | <view class="service-list-list"> |
| 61 | <view class="thumb"> | 61 | <view class="thumb"> |
| 62 | <text v-if="Islogin">0</text> | 62 | <text v-if="Islogin">0</text> |
lvdao-miniapp/pages/mycreated/mycreated.scss
| @@ -64,6 +64,7 @@ | @@ -64,6 +64,7 @@ | ||
| 64 | margin-bottom: 24rpx; | 64 | margin-bottom: 24rpx; |
| 65 | .body { | 65 | .body { |
| 66 | display: flex; | 66 | display: flex; |
| 67 | + justify-content: space-between; | ||
| 67 | width: 100%; | 68 | width: 100%; |
| 68 | height: calc(100% - 70rpx); | 69 | height: calc(100% - 70rpx); |
| 69 | padding: 15rpx 18rpx; | 70 | padding: 15rpx 18rpx; |
lvdao-miniapp/pages/mycreated/mycreated.vue
| @@ -10,13 +10,15 @@ | @@ -10,13 +10,15 @@ | ||
| 10 | <u-button type="success" @click="search">搜索</u-button> | 10 | <u-button type="success" @click="search">搜索</u-button> |
| 11 | </view> --> | 11 | </view> --> |
| 12 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | 12 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > |
| 13 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pagesize.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 13 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pageIndex.activityName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> |
| 14 | </view> | 14 | </view> |
| 15 | <view class="goods-data"> | 15 | <view class="goods-data"> |
| 16 | <view class="goods-list"> | 16 | <view class="goods-list"> |
| 17 | <view class="good-item" v-for="(v, i) in datalist" :key="i"> | 17 | <view class="good-item" v-for="(v, i) in datalist" :key="i"> |
| 18 | <view class="body"> | 18 | <view class="body"> |
| 19 | - <u-image width="40%" :src="$img+v.coverImage" border-radius="10" mode="widthFix" style="margin-top:8px;margin-right:8px;" ></u-image> | 19 | + |
| 20 | + <u-image width="260rpx" height="180rpx" :src="imgurl+v.coverImage" borderRadius="10" mode="heightFix" style="margin-top:3px;margin-right:8px;" ></u-image> | ||
| 21 | + | ||
| 20 | <!-- <image :src="$img+v.coverImage" style="border-raidus"></image> --> | 22 | <!-- <image :src="$img+v.coverImage" style="border-raidus"></image> --> |
| 21 | <view class="info"> | 23 | <view class="info"> |
| 22 | <view class="title">{{v.activityName}}</view> | 24 | <view class="title">{{v.activityName}}</view> |
| @@ -79,12 +81,14 @@ | @@ -79,12 +81,14 @@ | ||
| 79 | pageNumber: 0, | 81 | pageNumber: 0, |
| 80 | pageSize: 10, | 82 | pageSize: 10, |
| 81 | createUser:uni.getStorageSync('user').phone | 83 | createUser:uni.getStorageSync('user').phone |
| 82 | - } | 84 | + }, |
| 85 | + imgurl:'' | ||
| 83 | }; | 86 | }; |
| 84 | }, | 87 | }, |
| 85 | onLoad(option) { | 88 | onLoad(option) { |
| 86 | this.num = option.id; | 89 | this.num = option.id; |
| 87 | this.statuslist = 'nomore'; | 90 | this.statuslist = 'nomore'; |
| 91 | + this.imgurl = this.$img | ||
| 88 | }, | 92 | }, |
| 89 | 93 | ||
| 90 | // onPullDownRefresh(e) { | 94 | // onPullDownRefresh(e) { |
lvdao-miniapp/pages/participation/participation.vue
| @@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
| 14 | <u-button type="success" @click="search">搜索</u-button> | 14 | <u-button type="success" @click="search">搜索</u-button> |
| 15 | </view> --> | 15 | </view> --> |
| 16 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | 16 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > |
| 17 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pagesize.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 17 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pageIndex.activityName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> |
| 18 | </view> | 18 | </view> |
| 19 | <view class="screen-list"> | 19 | <view class="screen-list"> |
| 20 | <u-dropdown menu-icon="arrow-down-fill" :title-size="24" :height="40"> | 20 | <u-dropdown menu-icon="arrow-down-fill" :title-size="24" :height="40"> |
lvdao-miniapp/pages/questionnaire/questionnaire.vue
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | <u-button type="success" @click="search">搜索</u-button> | 5 | <u-button type="success" @click="search">搜索</u-button> |
| 6 | </view> --> | 6 | </view> --> |
| 7 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | 7 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > |
| 8 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pagesize.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 8 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="query.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> |
| 9 | </view> | 9 | </view> |
| 10 | <view class="screen-list"> | 10 | <view class="screen-list"> |
| 11 | <view class="list" @click="show = true"> | 11 | <view class="list" @click="show = true"> |
lvdao-miniapp/pages/record/record.scss
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | justify-content: center; | 26 | justify-content: center; |
| 27 | align-items: center; | 27 | align-items: center; |
| 28 | // width: 30%; | 28 | // width: 30%; |
| 29 | - height: 100%; | 29 | + height: 32px; |
| 30 | background-color: #fff; | 30 | background-color: #fff; |
| 31 | padding: 10rpx 16rpx; | 31 | padding: 10rpx 16rpx; |
| 32 | border-radius: 18rpx; | 32 | border-radius: 18rpx; |
lvdao-miniapp/pages/serve/jiDed.vue
| @@ -23,7 +23,10 @@ | @@ -23,7 +23,10 @@ | ||
| 23 | <view style="padding: 10px 0; border-bottom: #eee solid 1rpx;">{{record.estimate || '无'}}</view> | 23 | <view style="padding: 10px 0; border-bottom: #eee solid 1rpx;">{{record.estimate || '无'}}</view> |
| 24 | <view style="padding: 5px 0;line-height: 36px;">现场照片</view> | 24 | <view style="padding: 5px 0;line-height: 36px;">现场照片</view> |
| 25 | <view class="imgList"> | 25 | <view class="imgList"> |
| 26 | - <u-image width="48%" height="280" border-radius="10" :src="$img+item" v-for="(item,index) in this.record.onSitePhoto"></u-image> | 26 | + <view style="width: 48%;" v-for="(item,index) in record.onSitePhoto" :key="index"> |
| 27 | + <u-image width="100%" height="280" border-radius="10" :src="srcUrl+item" ></u-image> | ||
| 28 | + </view> | ||
| 29 | + | ||
| 27 | </view> | 30 | </view> |
| 28 | </view> | 31 | </view> |
| 29 | 32 | ||
| @@ -36,11 +39,12 @@ | @@ -36,11 +39,12 @@ | ||
| 36 | data() { | 39 | data() { |
| 37 | return { | 40 | return { |
| 38 | record:{}, | 41 | record:{}, |
| 42 | + srcUrl:'' | ||
| 39 | } | 43 | } |
| 40 | }, | 44 | }, |
| 41 | onLoad(options) { | 45 | onLoad(options) { |
| 46 | + this.srcUrl = this.$img | ||
| 42 | const item = JSON.parse(decodeURIComponent(options.item)); | 47 | const item = JSON.parse(decodeURIComponent(options.item)); |
| 43 | - console.log('Received item:', item); | ||
| 44 | this.record = item | 48 | this.record = item |
| 45 | if(typeof this.record.onSitePhoto == 'string'){ | 49 | if(typeof this.record.onSitePhoto == 'string'){ |
| 46 | this.record.onSitePhoto = this.record.onSitePhoto.split(',') | 50 | this.record.onSitePhoto = this.record.onSitePhoto.split(',') |
| @@ -58,7 +62,6 @@ | @@ -58,7 +62,6 @@ | ||
| 58 | left: 0; | 62 | left: 0; |
| 59 | top: 0; | 63 | top: 0; |
| 60 | width: 100%; | 64 | width: 100%; |
| 61 | - height: 100%; | ||
| 62 | padding: 0 24rpx; | 65 | padding: 0 24rpx; |
| 63 | } | 66 | } |
| 64 | /* 记录列表 */ | 67 | /* 记录列表 */ |
lvdao-miniapp/pages/serve/serve.scss
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | justify-content: center; | 26 | justify-content: center; |
| 27 | align-items: center; | 27 | align-items: center; |
| 28 | // width: 30%; | 28 | // width: 30%; |
| 29 | - height: 100%; | 29 | + height: 32px; |
| 30 | background-color: #fff; | 30 | background-color: #fff; |
| 31 | padding: 10rpx 16rpx; | 31 | padding: 10rpx 16rpx; |
| 32 | border-radius: 18rpx; | 32 | border-radius: 18rpx; |
lvdao-miniapp/pages/shops/shops.scss
| @@ -137,7 +137,7 @@ | @@ -137,7 +137,7 @@ | ||
| 137 | .retail-price { | 137 | .retail-price { |
| 138 | display: flex; | 138 | display: flex; |
| 139 | align-items: flex-end; | 139 | align-items: flex-end; |
| 140 | - width: 100%; | 140 | + width: 50%; |
| 141 | color: #676767; | 141 | color: #676767; |
| 142 | font-size: 24rpx; | 142 | font-size: 24rpx; |
| 143 | .min { | 143 | .min { |
lvdao-miniapp/pages/shops/shops.vue
| @@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
| 6 | <u-button type="success" @click="search" style="height:32px;">搜索</u-button> | 6 | <u-button type="success" @click="search" style="height:32px;">搜索</u-button> |
| 7 | </view> --> | 7 | </view> --> |
| 8 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | 8 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > |
| 9 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pagesize.title" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 9 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="query.shopName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> |
| 10 | </view> | 10 | </view> |
| 11 | <view class="screen-list"> | 11 | <view class="screen-list"> |
| 12 | <view class="list" @click="show = true"> | 12 | <view class="list" @click="show = true"> |
| @@ -49,7 +49,11 @@ | @@ -49,7 +49,11 @@ | ||
| 49 | <text class="one-omit">{{item.detailedLocation}}</text> | 49 | <text class="one-omit">{{item.detailedLocation}}</text> |
| 50 | </view> | 50 | </view> |
| 51 | <view class="like-goods"> | 51 | <view class="like-goods"> |
| 52 | - <view class="retail-price" v-if="item.actualUsableArea"> | 52 | + <view class="retail-price" v-if="item.belongingRegion"> |
| 53 | + <text>所属区域:</text> | ||
| 54 | + <text class="max">{{item.belongingRegion}}</text> | ||
| 55 | + </view> | ||
| 56 | + <view class="retail-price" > | ||
| 53 | <!-- <text>租金:</text> | 57 | <!-- <text>租金:</text> |
| 54 | <text class="min">¥</text> | 58 | <text class="min">¥</text> |
| 55 | <text class="max">{{item.id * 10}}</text> | 59 | <text class="max">{{item.id * 10}}</text> |
| @@ -57,7 +61,7 @@ | @@ -57,7 +61,7 @@ | ||
| 57 | <text class="line"></text> --> | 61 | <text class="line"></text> --> |
| 58 | <text>面积:</text> | 62 | <text>面积:</text> |
| 59 | <text class="max">{{item.actualUsableArea}}</text> | 63 | <text class="max">{{item.actualUsableArea}}</text> |
| 60 | - <text class="min">/m²</text> | 64 | + <text class="min" >/m²</text> |
| 61 | </view> | 65 | </view> |
| 62 | </view> | 66 | </view> |
| 63 | </view> | 67 | </view> |
| @@ -67,13 +71,6 @@ | @@ -67,13 +71,6 @@ | ||
| 67 | <u-popup v-model="zidongS" mode="center" width="90%" border-radius="20" :mask-close-able="false" :closeable="true" close-icon-pos="top-right"> | 71 | <u-popup v-model="zidongS" mode="center" width="90%" border-radius="20" :mask-close-able="false" :closeable="true" close-icon-pos="top-right"> |
| 68 | <view class="zulinY"> | 72 | <view class="zulinY"> |
| 69 | <view style="font-size: 32rpx;font-weight: 600;margin-bottom: 20rpx;">请填写您的租赁意向</view> | 73 | <view style="font-size: 32rpx;font-weight: 600;margin-bottom: 20rpx;">请填写您的租赁意向</view> |
| 70 | - <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | ||
| 71 | - <text class="sc" style="color: #979797;font-size: 30rpx;">意向租赁管理</text> | ||
| 72 | - <view @click="showS(1)"> | ||
| 73 | - <text class="mc" style="margin-right: 10rpx;"> {{formList.zulei ==''?'请选择':formList.zulei}}</text> | ||
| 74 | - <u-icon name="arrow-down"></u-icon> | ||
| 75 | - </view> | ||
| 76 | - </view> | ||
| 77 | <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | 74 | <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> |
| 78 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向区域</text> | 75 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向区域</text> |
| 79 | <view @click="showS(2)"> | 76 | <view @click="showS(2)"> |
| @@ -81,20 +78,13 @@ | @@ -81,20 +78,13 @@ | ||
| 81 | <u-icon name="arrow-down"></u-icon> | 78 | <u-icon name="arrow-down"></u-icon> |
| 82 | </view> | 79 | </view> |
| 83 | </view> | 80 | </view> |
| 84 | - <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | ||
| 85 | - <text class="sc" style="color: #979797;font-size: 30rpx;">意向租期</text> | ||
| 86 | - <view @click="showS(3)"> | ||
| 87 | - <text class="mc" style="margin-right: 10rpx;"> {{formList.zuqi ==''?'请选择':formList.zuqi}}</text> | ||
| 88 | - <u-icon name="arrow-down"></u-icon> | ||
| 89 | - </view> | ||
| 90 | - </view> | ||
| 91 | - <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | ||
| 92 | - <text class="sc" style="color: #979797;font-size: 30rpx;">意向租金</text> | 81 | + <!-- <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> |
| 82 | + <text class="sc" style="color: #979797;font-size: 30rpx;">意向租金(月)</text> | ||
| 93 | <view @click="showS(4)"> | 83 | <view @click="showS(4)"> |
| 94 | <text class="mc" style="margin-right: 10rpx;"> {{formList.zujin ==''?'请选择':formList.zujin}}</text> | 84 | <text class="mc" style="margin-right: 10rpx;"> {{formList.zujin ==''?'请选择':formList.zujin}}</text> |
| 95 | <u-icon name="arrow-down"></u-icon> | 85 | <u-icon name="arrow-down"></u-icon> |
| 96 | </view> | 86 | </view> |
| 97 | - </view> | 87 | + </view> --> |
| 98 | <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | 88 | <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> |
| 99 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向面积</text> | 89 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向面积</text> |
| 100 | <view @click="showS(5)"> | 90 | <view @click="showS(5)"> |
| @@ -118,7 +108,7 @@ | @@ -118,7 +108,7 @@ | ||
| 118 | 确定 | 108 | 确定 |
| 119 | </view> | 109 | </view> |
| 120 | </view> | 110 | </view> |
| 121 | - <u-select v-model="show" :list="companys" @confirm="handleCompanyConfirm" mini borderless></u-select> | 111 | + <u-select v-model="showList" :list="companys" @confirm="handleCompanyConfirm" mini borderless></u-select> |
| 122 | 112 | ||
| 123 | </u-popup> | 113 | </u-popup> |
| 124 | 114 | ||
| @@ -153,7 +143,7 @@ | @@ -153,7 +143,7 @@ | ||
| 153 | {value: '温江区', label: '温江区'}, | 143 | {value: '温江区', label: '温江区'}, |
| 154 | ], // 区域列表 | 144 | ], // 区域列表 |
| 155 | 145 | ||
| 156 | - | 146 | + showList:false, |
| 157 | zidongS: false, | 147 | zidongS: false, |
| 158 | formList: { | 148 | formList: { |
| 159 | zulei: '', | 149 | zulei: '', |
| @@ -163,17 +153,13 @@ | @@ -163,17 +153,13 @@ | ||
| 163 | mianji:'', | 153 | mianji:'', |
| 164 | name:'', | 154 | name:'', |
| 165 | phone:'', | 155 | phone:'', |
| 166 | - pageNumber: 1, | 156 | + pageNumber: 0, |
| 167 | pageSize: 10, | 157 | pageSize: 10, |
| 158 | + publishStatus:2 | ||
| 168 | }, | 159 | }, |
| 169 | showSex: false, | 160 | showSex: false, |
| 170 | show:false, | 161 | show:false, |
| 171 | index:1, | 162 | index:1, |
| 172 | - zujinList:[ | ||
| 173 | - {price:'4800'}, | ||
| 174 | - {price:'3400'}, | ||
| 175 | - {price:'3000'} | ||
| 176 | - ], | ||
| 177 | companys: [ | 163 | companys: [ |
| 178 | { | 164 | { |
| 179 | value: '1', | 165 | value: '1', |
| @@ -330,7 +316,7 @@ | @@ -330,7 +316,7 @@ | ||
| 330 | } | 316 | } |
| 331 | ] | 317 | ] |
| 332 | } | 318 | } |
| 333 | - this.show = true | 319 | + this.showList = true |
| 334 | }, | 320 | }, |
| 335 | handleCompanyConfirm(e){ | 321 | handleCompanyConfirm(e){ |
| 336 | if(this.index == 1){ | 322 | if(this.index == 1){ |
| @@ -368,7 +354,7 @@ | @@ -368,7 +354,7 @@ | ||
| 368 | }, | 354 | }, |
| 369 | confirm(val){ | 355 | confirm(val){ |
| 370 | let page = { | 356 | let page = { |
| 371 | - pageNumber: 1, | 357 | + pageNumber: 0, |
| 372 | pageSize: 10, | 358 | pageSize: 10, |
| 373 | belongingRegion:val[0].label | 359 | belongingRegion:val[0].label |
| 374 | } | 360 | } |
| @@ -396,8 +382,9 @@ | @@ -396,8 +382,9 @@ | ||
| 396 | mianji:'', | 382 | mianji:'', |
| 397 | name:'', | 383 | name:'', |
| 398 | phone:'', | 384 | phone:'', |
| 399 | - pageNumber: 1, | 385 | + pageNumber: 0, |
| 400 | pageSize: 10, | 386 | pageSize: 10, |
| 387 | + publishStatus:2 | ||
| 401 | 388 | ||
| 402 | } | 389 | } |
| 403 | this.zidongS = false | 390 | this.zidongS = false |
lvdao-miniapp/pages/workbench/workbench.scss
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | left: 0; | 3 | left: 0; |
| 4 | top: 0; | 4 | top: 0; |
| 5 | width: 100%; | 5 | width: 100%; |
| 6 | - height: 100%; | 6 | + min-height: 100vh; |
| 7 | } | 7 | } |
| 8 | .my-top{ | 8 | .my-top{ |
| 9 | position: absolute; | 9 | position: absolute; |
| @@ -74,13 +74,14 @@ | @@ -74,13 +74,14 @@ | ||
| 74 | .main { | 74 | .main { |
| 75 | position: relative; | 75 | position: relative; |
| 76 | top: 90rpx; | 76 | top: 90rpx; |
| 77 | - padding-bottom: 20px; | 77 | + |
| 78 | /* #ifdef MP */ | 78 | /* #ifdef MP */ |
| 79 | top: 170rpx; | 79 | top: 170rpx; |
| 80 | - padding-bottom: 20px; | 80 | + |
| 81 | /* #endif */ | 81 | /* #endif */ |
| 82 | margin: 0 20rpx; | 82 | margin: 0 20rpx; |
| 83 | } | 83 | } |
| 84 | + | ||
| 84 | .banner { | 85 | .banner { |
| 85 | height: 330rpx; | 86 | height: 330rpx; |
| 86 | image { | 87 | image { |
lvdao-miniapp/pages/workbench/workbench.vue
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | <view class="setting-mess"></view> | 13 | <view class="setting-mess"></view> |
| 14 | </view> | 14 | </view> |
| 15 | </view> | 15 | </view> |
| 16 | - <view class="main"> | 16 | + <!-- <view class="main"> |
| 17 | <view class="bg-white" v-for="item in pageList1" :key="item.id"> | 17 | <view class="bg-white" v-for="item in pageList1" :key="item.id"> |
| 18 | <view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view> | 18 | <view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view> |
| 19 | <view class="wallet-info"> | 19 | <view class="wallet-info"> |
| @@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
| 27 | </view> | 27 | </view> |
| 28 | </view> | 28 | </view> |
| 29 | </view> | 29 | </view> |
| 30 | - </view> | 30 | + </view> --> |
| 31 | <view class="main"> | 31 | <view class="main"> |
| 32 | <view class="bg-white" v-for="item in pageList2" :key="item.id"> | 32 | <view class="bg-white" v-for="item in pageList2" :key="item.id"> |
| 33 | <view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view> | 33 | <view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view> |
| @@ -58,6 +58,21 @@ | @@ -58,6 +58,21 @@ | ||
| 58 | </view> | 58 | </view> |
| 59 | </view> | 59 | </view> |
| 60 | </view> | 60 | </view> |
| 61 | + <view class="main"> | ||
| 62 | + <view class="bg-white" v-for="item in pageList4" :key="item.id"> | ||
| 63 | + <view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view> | ||
| 64 | + <view class="wallet-info"> | ||
| 65 | + <view class="list" v-for="v in item.children" :key="v.name" @click="toPath(v.path)"> | ||
| 66 | + <view class="icon"> | ||
| 67 | + <image :src="$imgUrl(`${v.img}`)"></image> | ||
| 68 | + </view> | ||
| 69 | + <view class="title"> | ||
| 70 | + <text>{{v.name}}</text> | ||
| 71 | + </view> | ||
| 72 | + </view> | ||
| 73 | + </view> | ||
| 74 | + </view> | ||
| 75 | + </view> | ||
| 61 | <!-- tabbar --> | 76 | <!-- tabbar --> |
| 62 | <tabbar :tabBarShow="1"></tabbar> | 77 | <tabbar :tabBarShow="1"></tabbar> |
| 63 | </view> | 78 | </view> |
| @@ -72,17 +87,14 @@ | @@ -72,17 +87,14 @@ | ||
| 72 | data() { | 87 | data() { |
| 73 | return { | 88 | return { |
| 74 | pageList1: [ | 89 | pageList1: [ |
| 75 | - { | ||
| 76 | - id: 1, | ||
| 77 | - title: '招商服务', | ||
| 78 | - children: [ | ||
| 79 | - { name: '问卷调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' }, | ||
| 80 | - { name: '意向申请', img: '/workbench5.png', path: '/pages/rsaManagement/rsaManagement' }, | ||
| 81 | - // { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' }, | ||
| 82 | - // { name: '活动参与', img: '/workbench3.png', path: '/pages/participation/participation' }, | ||
| 83 | - // { name: '我的活动申请', img: '/workbench4.png', path: '/pages/mycreated/mycreated' }, | ||
| 84 | - ] | ||
| 85 | - }, | 90 | + // { |
| 91 | + // id: 1, | ||
| 92 | + // title: '招商服务', | ||
| 93 | + // children: [ | ||
| 94 | + // { name: '问卷调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' }, | ||
| 95 | + // { name: '意向申请', img: '/workbench5.png', path: '/pages/rsaManagement/rsaManagement' }, | ||
| 96 | + // ] | ||
| 97 | + // }, | ||
| 86 | // { | 98 | // { |
| 87 | // id: 2, | 99 | // id: 2, |
| 88 | // title: '推广策划', | 100 | // title: '推广策划', |
| @@ -117,13 +129,13 @@ | @@ -117,13 +129,13 @@ | ||
| 117 | pageList2: [ | 129 | pageList2: [ |
| 118 | { | 130 | { |
| 119 | id: 1, | 131 | id: 1, |
| 120 | - title: '活动管理', | 132 | + title: '活动与意向申请', |
| 121 | children: [ | 133 | children: [ |
| 122 | // { name: '文件调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' }, | 134 | // { name: '文件调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' }, |
| 123 | // { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' }, | 135 | // { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' }, |
| 124 | { name: '我的活动', img: '/workbench3.png', path: '/pages/participation/participation' }, | 136 | { name: '我的活动', img: '/workbench3.png', path: '/pages/participation/participation' }, |
| 125 | { name: '活动申请', img: '/workbench4.png', path: '/pages/mycreated/mycreated' }, | 137 | { name: '活动申请', img: '/workbench4.png', path: '/pages/mycreated/mycreated' }, |
| 126 | - // { name: '销售上报', img: '/workbench5.png', path: '/pages/salesReporting/salesReporting' }, | 138 | + { name: '意向申请', img: '/workbench5.png', path: '/pages/rsaManagement/rsaManagement' }, |
| 127 | ] | 139 | ] |
| 128 | }, | 140 | }, |
| 129 | ], | 141 | ], |
| @@ -141,6 +153,19 @@ | @@ -141,6 +153,19 @@ | ||
| 141 | ] | 153 | ] |
| 142 | }, | 154 | }, |
| 143 | ], | 155 | ], |
| 156 | + pageList4: [ | ||
| 157 | + { | ||
| 158 | + id: 1, | ||
| 159 | + title: '商铺缴费', | ||
| 160 | + children: [ | ||
| 161 | + // { name: '文件调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' }, | ||
| 162 | + // { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' }, | ||
| 163 | + // { name: '我的活动', img: '/workbench3.png', path: '/pages/participation/participation' }, | ||
| 164 | + // { name: '活动申请', img: '/workbench4.png', path: '/pages/mycreated/mycreated' }, | ||
| 165 | + { name: '租金缴费', img: '/workbench1.png', path: '/pagesA/rentPay/rentPay' }, | ||
| 166 | + ] | ||
| 167 | + }, | ||
| 168 | + ], | ||
| 144 | scrollTop: 0, | 169 | scrollTop: 0, |
| 145 | }; | 170 | }; |
| 146 | }, | 171 | }, |
lvdao-miniapp/pagesA/myZiyuan/addMyshop.vue
| @@ -86,7 +86,7 @@ | @@ -86,7 +86,7 @@ | ||
| 86 | 86 | ||
| 87 | 87 | ||
| 88 | 88 | ||
| 89 | - <view class="item"> | 89 | + <view class="item" style="margin-bottom: 60px;"> |
| 90 | <view class="contents" style="background-color:#fff;padding:10px 20px;"> | 90 | <view class="contents" style="background-color:#fff;padding:10px 20px;"> |
| 91 | <view class="feedback-data"> | 91 | <view class="feedback-data"> |
| 92 | <view> | 92 | <view> |
| @@ -138,7 +138,7 @@ | @@ -138,7 +138,7 @@ | ||
| 138 | // this.ruleForm.shopPhotos = shopPhotos | 138 | // this.ruleForm.shopPhotos = shopPhotos |
| 139 | this.ruleForm.shopPhotos.map((item,index)=>{ | 139 | this.ruleForm.shopPhotos.map((item,index)=>{ |
| 140 | let obj = { | 140 | let obj = { |
| 141 | - url:item | 141 | + url:this.$img+item |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | this.fist.push(obj) | 144 | this.fist.push(obj) |
| @@ -147,7 +147,7 @@ | @@ -147,7 +147,7 @@ | ||
| 147 | // this.fileList = this.ruleForm.shopPhotos | 147 | // this.fileList = this.ruleForm.shopPhotos |
| 148 | this.edit =true | 148 | this.edit =true |
| 149 | } | 149 | } |
| 150 | - console.log(this.ruleForm,this.fist) | 150 | + |
| 151 | if(options.ids){ | 151 | if(options.ids){ |
| 152 | this.ruleForm.contractId = options.ids | 152 | this.ruleForm.contractId = options.ids |
| 153 | } | 153 | } |
| @@ -219,11 +219,11 @@ | @@ -219,11 +219,11 @@ | ||
| 219 | if(show == false){ | 219 | if(show == false){ |
| 220 | return | 220 | return |
| 221 | } | 221 | } |
| 222 | - this.ruleForm.shopPhotos.map(item=>{ | ||
| 223 | - item = item.replace(this.$img,'') | ||
| 224 | - }) | 222 | + this.ruleForm.shopPhotos = this.ruleForm.shopPhotos.map(item=>{ |
| 223 | + return item.replace(this.$img,''); | ||
| 224 | + }) | ||
| 225 | + | ||
| 225 | 226 | ||
| 226 | - // return | ||
| 227 | this.ruleForm.applicationTime = this.currentTime() | 227 | this.ruleForm.applicationTime = this.currentTime() |
| 228 | let info = { | 228 | let info = { |
| 229 | ...this.ruleForm, | 229 | ...this.ruleForm, |
| @@ -282,28 +282,32 @@ | @@ -282,28 +282,32 @@ | ||
| 282 | return strDate; | 282 | return strDate; |
| 283 | }, | 283 | }, |
| 284 | onsuccess1(e, file, fileList, ziduan) { | 284 | onsuccess1(e, file, fileList, ziduan) { |
| 285 | - console.error(e, file, fileList, ziduan) | 285 | + |
| 286 | + let index = 0 | ||
| 287 | + if(this.ruleForm.shopPhotos.length !=0){ | ||
| 288 | + index = this.ruleForm.shopPhotos.length | ||
| 289 | + } | ||
| 290 | + | ||
| 286 | uni.uploadFile({ | 291 | uni.uploadFile({ |
| 287 | url: this.$upload, // 仅为示例,请替换为您的服务器上传接口 | 292 | url: this.$upload, // 仅为示例,请替换为您的服务器上传接口 |
| 288 | - filePath: e[0].url, | 293 | + filePath: e[index].url, |
| 289 | name: 'file', // 后端接收的文件参数名 | 294 | name: 'file', // 后端接收的文件参数名 |
| 290 | formData: { | 295 | formData: { |
| 291 | filePath: 'xcx', // 其他表单数据 | 296 | filePath: 'xcx', // 其他表单数据 |
| 292 | }, | 297 | }, |
| 293 | success: (uploadFileRes) => { | 298 | success: (uploadFileRes) => { |
| 294 | - console.log(this.fist) | 299 | + |
| 300 | + | ||
| 295 | this.ruleForm.shopPhotos.push(this.$img + JSON.parse(uploadFileRes.data).data) | 301 | this.ruleForm.shopPhotos.push(this.$img + JSON.parse(uploadFileRes.data).data) |
| 296 | - // let obj ={ | ||
| 297 | - // url:this.$img + JSON.parse(uploadFileRes.data).data | ||
| 298 | - // } | ||
| 299 | - // this.fist.push(obj) | 302 | + |
| 300 | uni.showToast({ | 303 | uni.showToast({ |
| 301 | title: '上传成功', | 304 | title: '上传成功', |
| 302 | icon: 'success', | 305 | icon: 'success', |
| 303 | }); | 306 | }); |
| 304 | }, | 307 | }, |
| 305 | fail: (err) => { | 308 | fail: (err) => { |
| 306 | - console.error('上传失败', err); | 309 | + console.log('上传失败',this.fist) |
| 310 | + | ||
| 307 | uni.showToast({ | 311 | uni.showToast({ |
| 308 | title: '上传失败', | 312 | title: '上传失败', |
| 309 | icon: 'none', | 313 | icon: 'none', |
| @@ -325,7 +329,6 @@ | @@ -325,7 +329,6 @@ | ||
| 325 | left: 0; | 329 | left: 0; |
| 326 | top: 0; | 330 | top: 0; |
| 327 | width: 100%; | 331 | width: 100%; |
| 328 | - height: 100%; | ||
| 329 | background-color: #f6f6f6; | 332 | background-color: #f6f6f6; |
| 330 | } | 333 | } |
| 331 | 334 |
lvdao-miniapp/pagesA/myZiyuan/myZiDetails.vue
| @@ -112,7 +112,7 @@ | @@ -112,7 +112,7 @@ | ||
| 112 | </u-read-more> | 112 | </u-read-more> |
| 113 | </view> | 113 | </view> |
| 114 | 114 | ||
| 115 | - <view class="msglist" v-if="btnShow == false&&mapType == '商铺'" style="margin-bottom:65px;"> | 115 | + <view class="msglist" v-if="btnShow == false&&mapType == '商铺'" style="margin-bottom:80px;"> |
| 116 | 116 | ||
| 117 | 117 | ||
| 118 | <view class="form-item"> | 118 | <view class="form-item"> |
| @@ -145,24 +145,24 @@ | @@ -145,24 +145,24 @@ | ||
| 145 | <view class="label">店内照片</view> | 145 | <view class="label">店内照片</view> |
| 146 | </view> | 146 | </view> |
| 147 | <view class="image-container"> | 147 | <view class="image-container"> |
| 148 | - <u-image class="image-item" width="48%" mode="heightFix" height="300rpx" :src="item" v-for="(item,index) in myshopMsg.shopPhotos" :key="index"></u-image> | 148 | + <view style="width: 48%;" v-for="(item,index) in myshopMsg.shopPhotos" :key="index"> |
| 149 | + <u-image class="image-item" width="100%" height="180rpx" border-raduis="10" :src="imgurl+item" ></u-image> | ||
| 150 | + </view> | ||
| 151 | + | ||
| 149 | 152 | ||
| 150 | </view> | 153 | </view> |
| 151 | </view> | 154 | </view> |
| 152 | 155 | ||
| 153 | - <view class="msglist" v-if="mapType == '广告位'" style="margin-bottom:65px;"> | 156 | + <view class="msglist" v-if="mapType == '广告位'" style="margin-bottom:80px;"> |
| 154 | <view class="form-item"> | 157 | <view class="form-item"> |
| 155 | <view class="label">投放内容</view> | 158 | <view class="label">投放内容</view> |
| 156 | </view> | 159 | </view> |
| 157 | - <!-- <view class="" style="background-color: #F0F0F0;border-radius: 20rpx;padding:10px;"> | ||
| 158 | - <u-parse :html="content"></u-parse> | ||
| 159 | - | ||
| 160 | - </view> --> | ||
| 161 | - <u-image class="image-item" width="100%" mode="heightFix" height="300rpx" :src="imgurl+record.coverImage" ></u-image> | 160 | + |
| 161 | + <u-image class="image-item" width="100%" border-raduis="10" mode="heightFix" height="300rpx" :src="imgurl+record.coverImage" ></u-image> | ||
| 162 | 162 | ||
| 163 | 163 | ||
| 164 | </view> | 164 | </view> |
| 165 | - <view style="margin-bottom: 65px;" v-if="btnShow && mapType == '商铺'"><u-button @click="xiuMsg(1)" shape="circle" :custom-style="hoverStyle" hover-class="none" :plain="true">添加我的店铺信息</u-button></view> | 165 | + <view style="margin-bottom: 80px;" v-if="btnShow && mapType == '商铺'"><u-button @click="xiuMsg(1)" shape="circle" :custom-style="hoverStyle" hover-class="none" :plain="true">添加我的店铺信息</u-button></view> |
| 166 | <view class="page-footer"> | 166 | <view class="page-footer"> |
| 167 | <u-button style="background-color: #DFE0E4; flex: 1; margin: 0 10px;" @click="getQuit('/pagesA/myZiyuan/myZiyuanQuit')" | 167 | <u-button style="background-color: #DFE0E4; flex: 1; margin: 0 10px;" @click="getQuit('/pagesA/myZiyuan/myZiyuanQuit')" |
| 168 | >申请退租</u-button> | 168 | >申请退租</u-button> |
| @@ -209,7 +209,7 @@ | @@ -209,7 +209,7 @@ | ||
| 209 | onLoad(options) { | 209 | onLoad(options) { |
| 210 | this.imgurl = this.$img | 210 | this.imgurl = this.$img |
| 211 | const item = JSON.parse(decodeURIComponent(options.item)); | 211 | const item = JSON.parse(decodeURIComponent(options.item)); |
| 212 | - console.log('Received item:', item); | 212 | + |
| 213 | this.record = item | 213 | this.record = item |
| 214 | let pageHe={ | 214 | let pageHe={ |
| 215 | pageNumber: 0, | 215 | pageNumber: 0, |
| @@ -243,8 +243,8 @@ | @@ -243,8 +243,8 @@ | ||
| 243 | this.btnShow = false | 243 | this.btnShow = false |
| 244 | this.myshopMsg = res.data.data.content[0] | 244 | this.myshopMsg = res.data.data.content[0] |
| 245 | this.myshopMsg.shopPhotos = this.myshopMsg.shopPhotos.split(',') | 245 | this.myshopMsg.shopPhotos = this.myshopMsg.shopPhotos.split(',') |
| 246 | - | ||
| 247 | - this.myshopMimgurlhopPhotos.map(item=>{ | 246 | + console.log(this.myshopMsg.shopPhotos) |
| 247 | + this.myshopMsg.shopPhotos.map(item=>{ | ||
| 248 | item = this.imgurl + item | 248 | item = this.imgurl + item |
| 249 | }) | 249 | }) |
| 250 | 250 | ||
| @@ -259,7 +259,7 @@ | @@ -259,7 +259,7 @@ | ||
| 259 | }) | 259 | }) |
| 260 | }, | 260 | }, |
| 261 | xufirm(){ | 261 | xufirm(){ |
| 262 | - console.log('11111s') | 262 | + |
| 263 | this.xuForm.createUser = uni.getStorageSync('user').phone | 263 | this.xuForm.createUser = uni.getStorageSync('user').phone |
| 264 | this.xuForm.createTime = this.getCurrentTime() | 264 | this.xuForm.createTime = this.getCurrentTime() |
| 265 | this.xuForm.contractId = Number(this.heData.id) | 265 | this.xuForm.contractId = Number(this.heData.id) |
| @@ -465,11 +465,9 @@ | @@ -465,11 +465,9 @@ | ||
| 465 | display: flex; | 465 | display: flex; |
| 466 | align-items: center; | 466 | align-items: center; |
| 467 | width: 100%; | 467 | width: 100%; |
| 468 | - height: 125rpx; | ||
| 469 | background-color: #FFFFFF; | 468 | background-color: #FFFFFF; |
| 470 | - padding-bottom: constant(safe-area-inset-bottom); | ||
| 471 | - padding-bottom: env(safe-area-inset-bottom); | ||
| 472 | z-index: 20; | 469 | z-index: 20; |
| 470 | + padding: 15px 0; | ||
| 473 | .footer-buy{ | 471 | .footer-buy{ |
| 474 | display: flex; | 472 | display: flex; |
| 475 | align-items: center; | 473 | align-items: center; |
| @@ -491,6 +489,7 @@ | @@ -491,6 +489,7 @@ | ||
| 491 | } | 489 | } |
| 492 | } | 490 | } |
| 493 | .image-container { | 491 | .image-container { |
| 492 | + padding: 10rpx 0; | ||
| 494 | display: flex; | 493 | display: flex; |
| 495 | flex-wrap: wrap; /* 启用换行 */ | 494 | flex-wrap: wrap; /* 启用换行 */ |
| 496 | justify-content: space-between; /* 图片之间均匀分布 */ | 495 | justify-content: space-between; /* 图片之间均匀分布 */ |
lvdao-miniapp/pagesA/myZiyuan/myZiyuan.scss
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | left: 0; | 3 | left: 0; |
| 4 | top: 0; | 4 | top: 0; |
| 5 | width: 100%; | 5 | width: 100%; |
| 6 | - height: 100%; | ||
| 7 | } | 6 | } |
| 8 | .screen-list { | 7 | .screen-list { |
| 9 | display: flex; | 8 | display: flex; |
| @@ -25,7 +24,7 @@ | @@ -25,7 +24,7 @@ | ||
| 25 | justify-content: center; | 24 | justify-content: center; |
| 26 | align-items: center; | 25 | align-items: center; |
| 27 | width: 30%; | 26 | width: 30%; |
| 28 | - height: 100%; | 27 | + height: 32px; |
| 29 | background-color: #fff; | 28 | background-color: #fff; |
| 30 | padding: 0rpx 15px; | 29 | padding: 0rpx 15px; |
| 31 | border-radius: 18rpx; | 30 | border-radius: 18rpx; |
lvdao-miniapp/pagesA/myZiyuan/myZiyuan.vue
| @@ -54,12 +54,12 @@ | @@ -54,12 +54,12 @@ | ||
| 54 | //成功回调 | 54 | //成功回调 |
| 55 | this.recordList = res.data.data.content | 55 | this.recordList = res.data.data.content |
| 56 | this.$http.sendRequest('/cereAdvertiserInfo/queryByPage', 'POST', this.pageindex, 1).then(item => { | 56 | this.$http.sendRequest('/cereAdvertiserInfo/queryByPage', 'POST', this.pageindex, 1).then(item => { |
| 57 | - console.log(item.data.data.content.length) | ||
| 58 | - if(item.data.data.content.length !=0){ | 57 | + |
| 58 | + if(item.data.data.content !=undefined &&item.data.data.content.length !=0){ | ||
| 59 | item.data.data.content.map(val=>{ | 59 | item.data.data.content.map(val=>{ |
| 60 | this.recordList.push(val) | 60 | this.recordList.push(val) |
| 61 | }) | 61 | }) |
| 62 | - } | 62 | + } |
| 63 | 63 | ||
| 64 | 64 | ||
| 65 | }) | 65 | }) |
lvdao-miniapp/pagesA/rentPay/goPay.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <view class="page"> | ||
| 3 | + <view class="timsg"> | ||
| 4 | + <view class="msgtitle">您正在成都锦江绿道有限公司支付金额</view> | ||
| 5 | + <view class="price"> | ||
| 6 | + <u-icon name="rmb" style="font-size: 24rpx;" /> | ||
| 7 | + 800 | ||
| 8 | + </view> | ||
| 9 | + </view> | ||
| 10 | + <view style="height: 120rpx;"></view> | ||
| 11 | + <view class="page-footer"> | ||
| 12 | + <u-button style="width: 100%;border-radius: 15px;" type="success" @click="submit">支付</u-button> | ||
| 13 | + </view> | ||
| 14 | + </view> | ||
| 15 | +</template> | ||
| 16 | + | ||
| 17 | +<script> | ||
| 18 | + export default { | ||
| 19 | + data() { | ||
| 20 | + return { | ||
| 21 | + } | ||
| 22 | + }, | ||
| 23 | + onShow() { | ||
| 24 | + const isLogin = uni.getStorageSync('token'); | ||
| 25 | + if (isLogin == '') { | ||
| 26 | + // 如果未登录,跳转到登录页面 | ||
| 27 | + uni.navigateTo({ | ||
| 28 | + url: '/pages/login/login' | ||
| 29 | + }) | ||
| 30 | + } else { | ||
| 31 | + | ||
| 32 | + this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},1).then(res => { | ||
| 33 | + if(res.data.code == '20004' || res.data.code == '20003'){ | ||
| 34 | + uni.navigateTo({ | ||
| 35 | + url: '/pages/login/login' | ||
| 36 | + }) | ||
| 37 | + } | ||
| 38 | + }) | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + }, | ||
| 42 | + methods: { | ||
| 43 | + submit(){ | ||
| 44 | + | ||
| 45 | + } | ||
| 46 | + } | ||
| 47 | +} | ||
| 48 | + | ||
| 49 | +</script> | ||
| 50 | + | ||
| 51 | +<style scoped lang="scss"> | ||
| 52 | + .page{ | ||
| 53 | + position: absolute; | ||
| 54 | + left: 0; | ||
| 55 | + top: 0; | ||
| 56 | + width: 100%; | ||
| 57 | + height: 100%; | ||
| 58 | + padding: 0 20rpx; | ||
| 59 | + } | ||
| 60 | + .timsg{ | ||
| 61 | + height:20vh; | ||
| 62 | + text-align: center; | ||
| 63 | + padding: 50px 0; | ||
| 64 | + .msgtitle{ | ||
| 65 | + margin-bottom: 20px; | ||
| 66 | + font-size: 30rpx; | ||
| 67 | + color: #A4A4A4; | ||
| 68 | + } | ||
| 69 | + .price { | ||
| 70 | + color: #0FBB59; | ||
| 71 | + font-size: 50rpx; | ||
| 72 | + font-weight: 700; | ||
| 73 | + } | ||
| 74 | + } | ||
| 75 | + .page-footer{ | ||
| 76 | + position: fixed; | ||
| 77 | + left: 0; | ||
| 78 | + bottom: 0; | ||
| 79 | + width: 100%; | ||
| 80 | + | ||
| 81 | + background-color: #FFFFFF; | ||
| 82 | + padding: 20rpx 20rpx; | ||
| 83 | + padding-bottom: constant(safe-area-inset-bottom); | ||
| 84 | + padding-bottom: env(safe-area-inset-bottom); | ||
| 85 | + z-index: 999; | ||
| 86 | + | ||
| 87 | + } | ||
| 88 | +</style> | ||
| 0 | \ No newline at end of file | 89 | \ No newline at end of file |
lvdao-miniapp/pagesA/rentPay/rentPay.scss
0 → 100644
| 1 | +.page{ | ||
| 2 | + position: absolute; | ||
| 3 | + left: 0; | ||
| 4 | + top: 0; | ||
| 5 | + width: 100%; | ||
| 6 | + height: 100%; | ||
| 7 | + padding: 0 20rpx; | ||
| 8 | +} | ||
| 9 | +.search-box { | ||
| 10 | + background-color: #FFFFFF; | ||
| 11 | + border-radius: 20rpx; | ||
| 12 | + padding: 20rpx 30rpx; | ||
| 13 | + margin-top: 26rpx; | ||
| 14 | + | ||
| 15 | +} | ||
| 16 | +.search-total { | ||
| 17 | + background-color: #FFFFFF; | ||
| 18 | + border-radius: 20rpx; | ||
| 19 | + padding: 40rpx; | ||
| 20 | + margin-top: 26rpx; | ||
| 21 | + display: flex; | ||
| 22 | + flex-direction: row; | ||
| 23 | + align-items: flex-end; | ||
| 24 | + justify-content: space-between; | ||
| 25 | + font-size: 24rpx; | ||
| 26 | + | ||
| 27 | + .left { | ||
| 28 | + color: #757575; | ||
| 29 | + .price-total { | ||
| 30 | + color: #0FBB59; | ||
| 31 | + font-size: 50rpx; | ||
| 32 | + font-weight: 700; | ||
| 33 | + margin-bottom: 10rpx; | ||
| 34 | + } | ||
| 35 | + } | ||
| 36 | + .right { | ||
| 37 | + width: 30vw; | ||
| 38 | + text-align: right; | ||
| 39 | + } | ||
| 40 | + } | ||
| 41 | +.price { | ||
| 42 | + color: #0FBB59; | ||
| 43 | + font-size: 32rpx; | ||
| 44 | + font-weight: 700; | ||
| 45 | +} | ||
| 46 | +/* 记录列表 */ | ||
| 47 | +.record-list{ | ||
| 48 | + margin-top: 20rpx; | ||
| 49 | + // margin: 0 20rpx; | ||
| 50 | + .record-list-box { | ||
| 51 | + background-color: #FFFFFF; | ||
| 52 | + border-radius: 20rpx; | ||
| 53 | + padding: 20rpx 30rpx; | ||
| 54 | + margin-bottom: 20rpx; | ||
| 55 | + width: 100%; | ||
| 56 | + .list { | ||
| 57 | + width: 100%; | ||
| 58 | + display: flex; | ||
| 59 | + padding: 20rpx 30rpx; | ||
| 60 | + border-bottom: #f6f6f6 solid 1rpx; | ||
| 61 | + align-items: center; | ||
| 62 | + .list-item { | ||
| 63 | + flex: 1; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + .list-info { | ||
| 67 | + display: flex; | ||
| 68 | + align-items: center; | ||
| 69 | + .img { | ||
| 70 | + width: 72rpx; | ||
| 71 | + height: 72rpx; | ||
| 72 | + border-radius: 50%; | ||
| 73 | + overflow: hidden; | ||
| 74 | + image { | ||
| 75 | + width: 100%; | ||
| 76 | + height: 100%; | ||
| 77 | + } | ||
| 78 | + } | ||
| 79 | + .info-items { | ||
| 80 | + margin-left: 20rpx; | ||
| 81 | + .info-title { | ||
| 82 | + font-size: 30rpx; | ||
| 83 | + line-height: 40rpx; | ||
| 84 | + margin-bottom: 20rpx; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + } | ||
| 91 | + } | ||
| 92 | +} | ||
| 93 | +.page-footer{ | ||
| 94 | + position: fixed; | ||
| 95 | + left: 0; | ||
| 96 | + bottom: 0; | ||
| 97 | + width: 100%; | ||
| 98 | + background-color: #FFFFFF; | ||
| 99 | + padding: 10rpx 20rpx; | ||
| 100 | + padding-bottom: constant(safe-area-inset-bottom); | ||
| 101 | + padding-bottom: env(safe-area-inset-bottom); | ||
| 102 | + z-index: 999; | ||
| 103 | + .footer-buy{ | ||
| 104 | + display: flex; | ||
| 105 | + align-items: center; | ||
| 106 | + justify-content: space-between; | ||
| 107 | + width: 100%; | ||
| 108 | + height: 100%; | ||
| 109 | + .cart-add{ | ||
| 110 | + align-items: center; | ||
| 111 | + display: flex; | ||
| 112 | + min-width: 20%; | ||
| 113 | + height: 70rpx; | ||
| 114 | + } | ||
| 115 | + .buttons{ | ||
| 116 | + font-size: 30rpx; | ||
| 117 | + | ||
| 118 | + margin: 0 10rpx !important; | ||
| 119 | + height: 32px !important; | ||
| 120 | + border-radius: 10rpx !important; | ||
| 121 | + margin-top: 20rpx !important; | ||
| 122 | +} | ||
| 123 | +.u-size-default.data-v-3bf2dba7 { | ||
| 124 | + font-size: 30rpx; | ||
| 125 | + height: 100% !important; | ||
| 126 | + line-height: 200% !important; | ||
| 127 | +} | ||
| 128 | + | ||
| 129 | + } | ||
| 130 | +} |
lvdao-miniapp/pagesA/rentPay/rentPay.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <view class="page"> | ||
| 3 | + <view class="search-box"> | ||
| 4 | + <view> | ||
| 5 | + <u-input v-model="value" type="select" @click="show = true" style="background-color: #fff;" placeholder="-" :border="false"/> | ||
| 6 | + <u-select v-model="show" :list="list1" @confirm="confirm"></u-select> | ||
| 7 | + </view> | ||
| 8 | + | ||
| 9 | + </view> | ||
| 10 | + <view class="search-total"> | ||
| 11 | + <view class="left"> | ||
| 12 | + <view class="price-total"><u-icon name="rmb" style="font-size: 24rpx;" />100.00</view> | ||
| 13 | + <view>(当前租金欠费金额)</view> | ||
| 14 | + </view> | ||
| 15 | + <div class="right" @click='toDetail'> | ||
| 16 | + <view>缴费记录 <u-icon name="arrow-right" size="28" /></view> | ||
| 17 | + </div> | ||
| 18 | + | ||
| 19 | + </view> | ||
| 20 | + <view style="text-align: center;color:#0EBB5A;padding: 30rpx 0;">每月1日为付款日</view> | ||
| 21 | + <!-- 记录列表 --> | ||
| 22 | + <view class="record-list"> | ||
| 23 | + <view class="record-list-box" v-for="(item,index) in recordList" :key="index"> | ||
| 24 | + <u-checkbox-group class="list-group" style="width: 100%;" > | ||
| 25 | + <view class="list"> | ||
| 26 | + <u-checkbox v-model="recordList[index].gouxuan" shape="circle" :label-disabled="false" active-color="#0EBB5A" @change="xuanAll(item,$event)"/> | ||
| 27 | + | ||
| 28 | + <view class="list-item"> | ||
| 29 | + <view class="list-info"> | ||
| 30 | + <view class="info-items"> | ||
| 31 | + <view class="info-title">{{item.name}}:</view> | ||
| 32 | + <view class="price"><u-icon name="rmb" style="font-size: 24rpx;" />{{item.price}}</view> | ||
| 33 | + </view> | ||
| 34 | + </view> | ||
| 35 | + </view> | ||
| 36 | + </view> | ||
| 37 | + | ||
| 38 | + </u-checkbox-group> | ||
| 39 | + </view> | ||
| 40 | + </view> | ||
| 41 | + <view style="height: 120rpx;"></view> | ||
| 42 | + <view class="page-footer"> | ||
| 43 | + <view class="footer-buy"> | ||
| 44 | + <u-checkbox-group > | ||
| 45 | + <u-checkbox | ||
| 46 | + shape="circle" | ||
| 47 | + @change="quanxuan" | ||
| 48 | + v-model="showAll" | ||
| 49 | + active-color="#0EBB5A" | ||
| 50 | + >全选</u-checkbox> | ||
| 51 | + </u-checkbox-group> | ||
| 52 | + <view class="cart-add"> | ||
| 53 | + 合计:<view class="price"><u-icon name="rmb" style="font-size: 24rpx;" />{{payAll}}</view> | ||
| 54 | + </view> | ||
| 55 | + <u-button type="success" class="buttons" @click="joinShow" size="mini">去支付</u-button> | ||
| 56 | + </view> | ||
| 57 | + </view> | ||
| 58 | + <!-- <u-loading :show="true" size="60" style="position: absolute; top:80%;left: ;" color="red"></u-loading> --> | ||
| 59 | + </view> | ||
| 60 | + | ||
| 61 | +</template> | ||
| 62 | + | ||
| 63 | +<script> | ||
| 64 | + export default { | ||
| 65 | + data() { | ||
| 66 | + return { | ||
| 67 | + show: false, | ||
| 68 | + payAll:0, | ||
| 69 | + value: '', | ||
| 70 | + list1: [{ value: '0', label: '全部' },{ value: '1', label: '物业费' }, { value: '2', label: '水费' },{ value: '3', label: '卫生费' }, { value: '4', label: '燃气费' },{ value: '5', label: '电费' } ], | ||
| 71 | + checked: [], | ||
| 72 | + recordList:[ | ||
| 73 | + { | ||
| 74 | + img: '', | ||
| 75 | + name: '物业费', | ||
| 76 | + price: 1500, | ||
| 77 | + rate: '100%', | ||
| 78 | + chilren: [], | ||
| 79 | + showItem: false, | ||
| 80 | + gouxuan:false | ||
| 81 | + }, | ||
| 82 | + { | ||
| 83 | + img: '', | ||
| 84 | + name: '卫生费', | ||
| 85 | + price: 5000, | ||
| 86 | + rate: '100%', | ||
| 87 | + chilren: [], | ||
| 88 | + showItem: false, | ||
| 89 | + gouxuan:false | ||
| 90 | + }, | ||
| 91 | + { | ||
| 92 | + img: '', | ||
| 93 | + name: '水费', | ||
| 94 | + price: 2000, | ||
| 95 | + rate: '100%', | ||
| 96 | + chilren: [], | ||
| 97 | + showItem: false, | ||
| 98 | + gouxuan:false | ||
| 99 | + } | ||
| 100 | + ], | ||
| 101 | + recordList1:[ | ||
| 102 | + { | ||
| 103 | + img: '', | ||
| 104 | + name: '物业费', | ||
| 105 | + price: 15, | ||
| 106 | + rate: '100%', | ||
| 107 | + chilren: [], | ||
| 108 | + showItem: false, | ||
| 109 | + gouxuan:false | ||
| 110 | + }, | ||
| 111 | + { | ||
| 112 | + img: '', | ||
| 113 | + name: '卫生费', | ||
| 114 | + price: 15, | ||
| 115 | + rate: '100%', | ||
| 116 | + chilren: [], | ||
| 117 | + showItem: false, | ||
| 118 | + gouxuan:false | ||
| 119 | + }, | ||
| 120 | + { | ||
| 121 | + img: '', | ||
| 122 | + name: '水费', | ||
| 123 | + price: 15, | ||
| 124 | + rate: '100%', | ||
| 125 | + chilren: [], | ||
| 126 | + showItem: false, | ||
| 127 | + gouxuan:false | ||
| 128 | + }, | ||
| 129 | + { | ||
| 130 | + img: '', | ||
| 131 | + name: '电费', | ||
| 132 | + price: 15, | ||
| 133 | + rate: '100%', | ||
| 134 | + chilren: [], | ||
| 135 | + showItem: false, | ||
| 136 | + gouxuan:false | ||
| 137 | + }, | ||
| 138 | + { | ||
| 139 | + img: '', | ||
| 140 | + name: '燃气费', | ||
| 141 | + price: 15, | ||
| 142 | + rate: '100%', | ||
| 143 | + chilren: [], | ||
| 144 | + showItem: false, | ||
| 145 | + gouxuan:false | ||
| 146 | + }, | ||
| 147 | + ], | ||
| 148 | + | ||
| 149 | + loadShow:false, | ||
| 150 | + showAll:false, | ||
| 151 | + | ||
| 152 | + }; | ||
| 153 | + }, | ||
| 154 | + watch:{ | ||
| 155 | + recordList:{ | ||
| 156 | + deep:true, | ||
| 157 | + handler(newVal){ | ||
| 158 | + const allTrue = this.recordList.every(item => item.gouxuan) | ||
| 159 | + this.showAll = allTrue | ||
| 160 | + } | ||
| 161 | + } | ||
| 162 | + }, | ||
| 163 | + onShow() { | ||
| 164 | + const isLogin = uni.getStorageSync('token'); | ||
| 165 | + if (isLogin == '') { | ||
| 166 | + // 如果未登录,跳转到登录页面 | ||
| 167 | + uni.navigateTo({ | ||
| 168 | + url: '/pages/login/login' | ||
| 169 | + }) | ||
| 170 | + } else { | ||
| 171 | + | ||
| 172 | + this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},1).then(res => { | ||
| 173 | + if(res.data.code == '20004' || res.data.code == '20003'){ | ||
| 174 | + uni.navigateTo({ | ||
| 175 | + url: '/pages/login/login' | ||
| 176 | + }) | ||
| 177 | + } | ||
| 178 | + }) | ||
| 179 | + } | ||
| 180 | + | ||
| 181 | + }, | ||
| 182 | + methods: { | ||
| 183 | + quanxuan(e){ | ||
| 184 | + | ||
| 185 | + const allTrue = this.recordList.every(item => item.gouxuan) | ||
| 186 | + if(allTrue){ | ||
| 187 | + this.payAll= 0 | ||
| 188 | + this.showAll = !this.showAll | ||
| 189 | + this.recordList.forEach(item => { | ||
| 190 | + item.gouxuan = !allTrue; | ||
| 191 | + | ||
| 192 | + }); | ||
| 193 | + }else{ | ||
| 194 | + this.showAll = true | ||
| 195 | + | ||
| 196 | + this.recordList.forEach(item => { | ||
| 197 | + item.gouxuan = !allTrue; | ||
| 198 | + this.payAll += item.price | ||
| 199 | + }); | ||
| 200 | + } | ||
| 201 | + | ||
| 202 | + | ||
| 203 | + }, | ||
| 204 | + xuanAll(item,e){ | ||
| 205 | + | ||
| 206 | + if(e.value){ | ||
| 207 | + this.payAll += item.price | ||
| 208 | + }else{ | ||
| 209 | + this.payAll -= item.price | ||
| 210 | + } | ||
| 211 | + }, | ||
| 212 | + recordXq(item){ | ||
| 213 | + const encodedItem = encodeURIComponent(JSON.stringify(item)); | ||
| 214 | + uni.navigateTo({ | ||
| 215 | + url: `/pages/accepting/accepting?item=${encodedItem}`, | ||
| 216 | + }) | ||
| 217 | + }, | ||
| 218 | + toDetail() { | ||
| 219 | + uni.navigateTo({ | ||
| 220 | + url: '/pagesA/rentPay/rentPayDetails' | ||
| 221 | + }) | ||
| 222 | + }, | ||
| 223 | + joinShow(){ | ||
| 224 | + if(this.payAll == 0){ | ||
| 225 | + uni.showToast({ | ||
| 226 | + icon: 'error', | ||
| 227 | + title: '请选择支付订单' | ||
| 228 | + }) | ||
| 229 | + }else{ | ||
| 230 | + uni.navigateTo({ | ||
| 231 | + url: '/pagesA/rentPay/goPay' | ||
| 232 | + }) | ||
| 233 | + } | ||
| 234 | + }, | ||
| 235 | + confirm(e){ | ||
| 236 | + console.log(e) | ||
| 237 | + let arr =[] | ||
| 238 | + if(e[0].label == '全部'){ | ||
| 239 | + this.recordList = this.recordList1 | ||
| 240 | + }else{ | ||
| 241 | + this.recordList1.map(item =>{ | ||
| 242 | + if(item.name == e[0].label){ | ||
| 243 | + arr.push(item) | ||
| 244 | + } | ||
| 245 | + }) | ||
| 246 | + this.recordList = arr | ||
| 247 | + } | ||
| 248 | + this.value = e[0].label | ||
| 249 | + | ||
| 250 | + }, | ||
| 251 | + } | ||
| 252 | + } | ||
| 253 | +</script> | ||
| 254 | + | ||
| 255 | +<style scoped lang="scss"> | ||
| 256 | + @import 'rentPay.scss'; | ||
| 257 | +</style> |
lvdao-miniapp/pagesA/rentPay/rentPayDetails.scss
0 → 100644
| 1 | +.page{ | ||
| 2 | + position: absolute; | ||
| 3 | + left: 0; | ||
| 4 | + top: 0; | ||
| 5 | + width: 100%; | ||
| 6 | + height: 100%; | ||
| 7 | + padding: 0 30rpx; | ||
| 8 | +} | ||
| 9 | +.title-top { | ||
| 10 | + display: flex; | ||
| 11 | + align-items: center; | ||
| 12 | + justify-content: space-between; | ||
| 13 | + margin: 40rpx 0 16rpx; | ||
| 14 | + .right { | ||
| 15 | + font-size: 32rpx; | ||
| 16 | + font-weight: 700; | ||
| 17 | + } | ||
| 18 | +} | ||
| 19 | +.record-list { | ||
| 20 | + width: 100%; | ||
| 21 | + .record-item { | ||
| 22 | + background-color: #fff; | ||
| 23 | + padding: 34rpx; | ||
| 24 | + border-radius: 14rpx; | ||
| 25 | + margin-bottom: 20rpx; | ||
| 26 | + .info-title { | ||
| 27 | + display: flex; | ||
| 28 | + flex-direction: row; | ||
| 29 | + align-items: center; | ||
| 30 | + justify-content: space-between; | ||
| 31 | + padding-bottom: 20rpx; | ||
| 32 | + border-bottom: #f6f6f6 solid 1rpx; | ||
| 33 | + .title { | ||
| 34 | + font-weight: 700; | ||
| 35 | + } | ||
| 36 | + .price { | ||
| 37 | + font-size: 32rpx; | ||
| 38 | + font-weight: 700; | ||
| 39 | + color: #0FBB59; | ||
| 40 | + } | ||
| 41 | + } | ||
| 42 | + .info-items { | ||
| 43 | + border-bottom: #f6f6f6 solid 1rpx; | ||
| 44 | + margin-top: 16rpx; | ||
| 45 | + padding-bottom: 16rpx; | ||
| 46 | + .info-item { | ||
| 47 | + width: 100%; | ||
| 48 | + display: flex; | ||
| 49 | + flex-direction: row; | ||
| 50 | + align-items: center; | ||
| 51 | + justify-content: space-between; | ||
| 52 | + // line-height: 50rpx; | ||
| 53 | + padding: 8rpx 10rpx; | ||
| 54 | + .title { | ||
| 55 | + font-weight: 700; | ||
| 56 | + } | ||
| 57 | + .price { | ||
| 58 | + font-size: 28rpx; | ||
| 59 | + font-weight: 700; | ||
| 60 | + color: #0FBB59; | ||
| 61 | + } | ||
| 62 | + } | ||
| 63 | + } | ||
| 64 | + :last-child { | ||
| 65 | + border-bottom: unset; | ||
| 66 | + } | ||
| 67 | + } | ||
| 68 | +} | ||
| 0 | \ No newline at end of file | 69 | \ No newline at end of file |
lvdao-miniapp/pagesA/rentPay/rentPayDetails.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <view class="page"> | ||
| 3 | + <view class="title-top"> | ||
| 4 | + <div class="left"> | ||
| 5 | + <view @click="show = true">{{pageIndex.time}}年<u-icon name="arrow-down"></u-icon></view> | ||
| 6 | + <u-picker v-model="show" mode="time" :params="{year: true}" @confirm="confirm"></u-picker> | ||
| 7 | + </div> | ||
| 8 | + <div class="right"><view class="price" style="font-size: 40rpx;"><u-icon name="rmb" style="font-size: 24rpx;" />6451.00</view></div> | ||
| 9 | + </view> | ||
| 10 | + <view class="record-list"> | ||
| 11 | + <view class="record-item" v-for="(item, index) in dataList" :key="index" > | ||
| 12 | + <view class="info-title"> | ||
| 13 | + <view class="title">7月</view> | ||
| 14 | + <view class="right"><view class="price"><u-icon name="rmb" style="font-size: 24rpx;" />6451.00</view></view> | ||
| 15 | + </view> | ||
| 16 | + <view class="info-items" v-for="(v, i) in item.children" :key="i"> | ||
| 17 | + <view class="info-item"> | ||
| 18 | + <view class="left title">支付订单编号</view> | ||
| 19 | + <view class="right"><view class="price"><u-icon name="rmb" style="font-size: 24rpx;" />500.00</view></view> | ||
| 20 | + </view> | ||
| 21 | + <view class="info-item"> | ||
| 22 | + <view class="left" style="color: #0FBB59;">支付成功</view> | ||
| 23 | + <view class="right" style="color: #8A8A8A;">07.11 15:21</view> | ||
| 24 | + </view> | ||
| 25 | + </view> | ||
| 26 | + </view> | ||
| 27 | + </view> | ||
| 28 | + </view> | ||
| 29 | +</template> | ||
| 30 | + | ||
| 31 | +<script> | ||
| 32 | + export default { | ||
| 33 | + data() { | ||
| 34 | + return { | ||
| 35 | + show: false, | ||
| 36 | + dataList: [ | ||
| 37 | + { | ||
| 38 | + children: [{}, {}] | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + ], | ||
| 42 | + pageIndex:{ | ||
| 43 | + time:'' | ||
| 44 | + } | ||
| 45 | + } | ||
| 46 | + }, | ||
| 47 | + onShow() { | ||
| 48 | + this.pageIndex.time = this.getCurrentYear() | ||
| 49 | + }, | ||
| 50 | + methods: { | ||
| 51 | + getCurrentYear() { | ||
| 52 | + const year = new Date().getFullYear(); | ||
| 53 | + return `${year}`; | ||
| 54 | + }, | ||
| 55 | + confirm(e){ | ||
| 56 | + | ||
| 57 | + this.pageIndex.time = e.year | ||
| 58 | + } | ||
| 59 | + } | ||
| 60 | + } | ||
| 61 | +</script> | ||
| 62 | + | ||
| 63 | +<style scoped lang="scss"> | ||
| 64 | + @import 'rentPayDetails.scss'; | ||
| 65 | +</style> | ||
| 0 | \ No newline at end of file | 66 | \ No newline at end of file |