Commit 2210df3056c193d3b661724c80575de4fe395f4b
1 parent
8b1196f9
1
Showing
50 changed files
with
395 additions
and
313 deletions
admin-web-master/src/components/add/addmb.vue
| ... | ... | @@ -205,7 +205,7 @@ import { Input } from "element-ui"; |
| 205 | 205 | value: '', |
| 206 | 206 | }, |
| 207 | 207 | { |
| 208 | - name: '押金', | |
| 208 | + name: '押金(元)', | |
| 209 | 209 | key: 'earnestMoney', |
| 210 | 210 | type: '单行数字文本', |
| 211 | 211 | isrequired: '是', |
| ... | ... | @@ -258,7 +258,7 @@ import { Input } from "element-ui"; |
| 258 | 258 | ] |
| 259 | 259 | }, |
| 260 | 260 | { |
| 261 | - name: '租金', | |
| 261 | + name: '租金(元)', | |
| 262 | 262 | key: 'contractAmount', |
| 263 | 263 | type: '单行数字文本', |
| 264 | 264 | isrequired: '是', | ... | ... |
admin-web-master/src/components/chakan/fa.vue
| ... | ... | @@ -24,8 +24,8 @@ |
| 24 | 24 | <div class="duiqi" v-if="editbgid.summary" v-html="editbgid.summary"></div> |
| 25 | 25 | <div class="duiqi" v-else>无</div> |
| 26 | 26 | </el-form-item> |
| 27 | - <el-form-item label="附件信息" prop="mainPurpose" > | |
| 28 | - <div class="duiqi" :class="editbgid.mainPurpose?'greens':''" @click ="editbgid.mainPurpose?openfile($baseURL+editbgid.mainPurpose):''">{{editbgid.mainPurpose?'查看详情':'无'}}</div> | |
| 27 | + <el-form-item label="附件信息" prop="attachmentInfo" > | |
| 28 | + <div class="duiqi" :class="editbgid.attachmentInfo?'greens':''" @click ="editbgid.attachmentInfo?openfile($baseURL+editbgid.attachmentInfo):''">{{editbgid.attachmentInfo?'查看详情':'无'}}</div> | |
| 29 | 29 | </el-form-item> |
| 30 | 30 | </el-form> |
| 31 | 31 | </div> |
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | </el-table-column> --> |
| 62 | 62 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 63 | 63 | <template slot-scope="scope"> |
| 64 | - {{scope.row.info.publishStatus=='0'?'空置中':scope.row.info.publishStatus=='1'?'待审核':scope.row.info.publishStatus=='2'?'已发布':scope.row.info.publishStatus=='3'?'不通过':'-'}} | |
| 64 | + {{scope.row.info.publishStatus=='0'?'待发布':scope.row.info.publishStatus=='1'?'待审核':scope.row.info.publishStatus=='2'?'已发布':scope.row.info.publishStatus=='3'?'不通过':'-'}} | |
| 65 | 65 | </template> |
| 66 | 66 | </el-table-column> |
| 67 | 67 | <el-table-column label="操作" fixed="right" prop="sh"> | ... | ... |
admin-web-master/src/components/chakan/sam.vue
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 | </el-col> --> |
| 33 | 33 | <el-col :span="8"> |
| 34 | 34 | <el-form-item label="租金" prop="rentalPrice"> |
| 35 | - <div class="duiqi">{{editbgid.rentalPrice?editbgid.rentalPrice+' 元':'无'}} <span v-if="editbgid.applicableResources == '商铺'">/M²</span></div> | |
| 35 | + <div class="duiqi">{{editbgid.rentalPrice?editbgid.rentalPrice+' 元':'无'}} <span v-if="editbgid.applicableResources == '商铺'">/m²</span></div> | |
| 36 | 36 | </el-form-item> |
| 37 | 37 | </el-col> |
| 38 | 38 | <el-col :span="8"> | ... | ... |
admin-web-master/src/components/change/cl.vue
| ... | ... | @@ -25,11 +25,12 @@ |
| 25 | 25 | </el-table-column> |
| 26 | 26 | <el-table-column label="策略名称" prop="policyName" show-overflow-tooltip></el-table-column> |
| 27 | 27 | <el-table-column label="适用资源" prop="applicableResources" show-overflow-tooltip></el-table-column> |
| 28 | - <el-table-column label="租金价格(/M²)" prop="rentalPrice" show-overflow-tooltip> | |
| 29 | - <template slot-scope="scope"> | |
| 30 | - {{scope.row.rentalPrice}}/M² | |
| 31 | - </template> | |
| 32 | - </el-table-column> | |
| 28 | + <el-table-column label="租金价格(元/m²)" prop="rentalPrice" show-overflow-tooltip> | |
| 29 | + <template slot-scope="scope" > | |
| 30 | + <span v-if="scope.row.rentalPrice!=''">{{scope.row.rentalPrice}}元/m²</span> | |
| 31 | + <span v-else>无</span> | |
| 32 | + </template> | |
| 33 | + </el-table-column> | |
| 33 | 34 | <el-table-column label="付款周期" prop="leaseTerm" show-overflow-tooltip></el-table-column> |
| 34 | 35 | <!-- <el-table-column label="付款日" prop="payDay" show-overflow-tooltip></el-table-column> --> |
| 35 | 36 | </el-table> | ... | ... |
admin-web-master/src/components/newmap/index.vue
| ... | ... | @@ -96,6 +96,12 @@ |
| 96 | 96 | }); |
| 97 | 97 | }, |
| 98 | 98 | initMap() { |
| 99 | + if (this.isx) { | |
| 100 | + | |
| 101 | + } else { | |
| 102 | + this.lat = this.message.split(',')[0] | |
| 103 | + this.lng = this.message.split(',')[1] | |
| 104 | + } | |
| 99 | 105 | // 将经纬度转换为腾讯地图的LatLng对象 |
| 100 | 106 | const centerLatLng = new qq.maps.LatLng(this.lat, this.lng); |
| 101 | 107 | ... | ... |
admin-web-master/src/components/newmap/indexall.vue
admin-web-master/src/components/newmap/map.vue
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | <div style="padding:10px 0;border-radius: 18px;"> |
| 96 | 96 | <p style="padding-top:10px;">资源名称:${item.name}</p> |
| 97 | 97 | <p style="padding-top:10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;max-width: 200px;">位置:${item.detailedLocation}</p> |
| 98 | - <p style="padding-top:10px;">租赁情况:<text style="${item.publishStatus=='4'?"color: #3f9b6a;":"color: #f59a23;"}">${item.publishStatus=='0'?'空置中':item.publishStatus=='1'?'待审核':item.publishStatus=='2'?'已发布':item.publishStatus=='3'?'不通过':item.publishStatus=='4'?'已租赁':'-'}</text></p> | |
| 98 | + <p style="padding-top:10px;">租赁情况:<text style="${item.publishStatus=='4'?"color: #3f9b6a;":"color: #f59a23;"}">${item.publishStatus=='0'?'待发布':item.publishStatus=='1'?'待审核':item.publishStatus=='2'?'已发布':item.publishStatus=='3'?'不通过':item.publishStatus=='4'?'已租赁':'-'}</text></p> | |
| 99 | 99 | </div> |
| 100 | 100 | `; |
| 101 | 101 | // <div style="background: #fff;padding:5px 15px;border-radius: 18px;"> | ... | ... |
admin-web-master/src/components/newmap/map2.vue
| ... | ... | @@ -188,7 +188,7 @@ export default { |
| 188 | 188 | <div style="padding:10px 0;border-radius: 18px;"> |
| 189 | 189 | <p style="padding-top:10px;">资源名称:${item.name}</p> |
| 190 | 190 | <p style="padding-top:10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;max-width: 200px;">位置:${item.detailedLocation}</p> |
| 191 | - <p style="padding-top:10px;">租赁情况:<text style="${item.publishStatus=='4'?"color: #3f9b6a;":"color: #f59a23;"}">${item.publishStatus=='0'?'空置中':item.publishStatus=='1'?'待审核':item.publishStatus=='2'?'已发布':item.publishStatus=='3'?'不通过':item.publishStatus=='4'?'已租赁':'-'}</text></p> | |
| 191 | + <p style="padding-top:10px;">租赁情况:<text style="${item.publishStatus=='4'?"color: #3f9b6a;":"color: #f59a23;"}">${item.publishStatus=='0'?'待发布':item.publishStatus=='1'?'待审核':item.publishStatus=='2'?'已发布':item.publishStatus=='3'?'不通过':item.publishStatus=='4'?'已租赁':'-'}</text></p> | |
| 192 | 192 | </div> |
| 193 | 193 | `; |
| 194 | 194 | // <div style="background: #fff;padding:5px 15px;border-radius: 18px;"> | ... | ... |
admin-web-master/src/components/resourceCommodity/index.vue
| ... | ... | @@ -169,9 +169,9 @@ |
| 169 | 169 | <!-- <el-table-column label="经营类型" prop="businessType" min-width="100"> |
| 170 | 170 | |
| 171 | 171 | </el-table-column> --> |
| 172 | - <el-table-column label="租金价格(/M²)" prop="rentalPrice"> | |
| 172 | + <el-table-column label="租金价格(元/m²)" prop="rentalPrice"> | |
| 173 | 173 | <template slot-scope="scope"> |
| 174 | - {{scope.row.rentalPrice}}/M² | |
| 174 | + {{scope.row.rentalPrice}}元/m² | |
| 175 | 175 | </template> |
| 176 | 176 | </el-table-column> |
| 177 | 177 | <el-table-column label="付款周期" prop="leaseTerm"> | ... | ... |
admin-web-master/src/layout/index.vue
| ... | ... | @@ -197,17 +197,17 @@ |
| 197 | 197 | } |
| 198 | 198 | } |
| 199 | 199 | return { |
| 200 | - msg: [], | |
| 201 | - list: [], | |
| 202 | - // msg: ['招商服务系统'], | |
| 203 | - // msg: ['招商服务系统', '推广策划系统', '在线商城系统', '支付服务模块', '票务'], | |
| 204 | - // list: [ | |
| 205 | - // ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], | |
| 206 | - // ['品牌策划', '活动策划', '氛围策划', '媒体推广'], | |
| 207 | - // ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], | |
| 208 | - // ['联机交易', '对账处理', '日志管理', '商户服务'], | |
| 209 | - // ['渠道售票统计分析', '销售额统计分析'], | |
| 210 | - // ], | |
| 200 | + // msg: [], | |
| 201 | + // list: [], | |
| 202 | + msg: ['招商服务系统'], | |
| 203 | + msg: ['招商服务系统', '推广策划系统', '在线商城系统', '支付服务模块', '票务'], | |
| 204 | + list: [ | |
| 205 | + ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], | |
| 206 | + ['品牌策划', '活动策划', '氛围策划', '媒体推广'], | |
| 207 | + ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], | |
| 208 | + ['联机交易', '对账处理', '日志管理', '商户服务'], | |
| 209 | + ['渠道售票统计分析', '销售额统计分析'], | |
| 210 | + ], | |
| 211 | 211 | listMune: [], |
| 212 | 212 | mumeList: [], |
| 213 | 213 | mumeChildren1: [], |
| ... | ... | @@ -296,10 +296,10 @@ |
| 296 | 296 | this.userAvatar = getUserAvatar() |
| 297 | 297 | }, |
| 298 | 298 | mounted() { |
| 299 | - this.getMemu() | |
| 300 | - this.address() | |
| 301 | - this.waibu() | |
| 302 | - // this.neibu() | |
| 299 | + // this.getMemu() | |
| 300 | + // this.address() | |
| 301 | + // this.waibu() | |
| 302 | + this.neibu() | |
| 303 | 303 | }, |
| 304 | 304 | |
| 305 | 305 | methods: { |
| ... | ... | @@ -780,12 +780,12 @@ |
| 780 | 780 | ['联机交易', '对账处理', '日志管理', '商户服务'], |
| 781 | 781 | ['渠道售票统计分析', '销售额统计分析'], |
| 782 | 782 | ] |
| 783 | - // this.neibu() | |
| 783 | + this.neibu() | |
| 784 | 784 | |
| 785 | 785 | |
| 786 | - this.getMemu() | |
| 787 | - this.waibu() | |
| 788 | - this.list = this.mumeList | |
| 786 | + // this.getMemu() | |
| 787 | + // this.waibu() | |
| 788 | + // this.list = this.mumeList | |
| 789 | 789 | |
| 790 | 790 | |
| 791 | 791 | }, | ... | ... |
admin-web-master/src/utils/request.js
| ... | ... | @@ -17,12 +17,12 @@ let baseURL = '' |
| 17 | 17 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { |
| 18 | 18 | |
| 19 | 19 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; |
| 20 | - // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; | |
| 20 | + baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; | |
| 21 | 21 | |
| 22 | 22 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 23 | 23 | |
| 24 | 24 | |
| 25 | - baseURL = 'http://128.10.249.8:9003'; | |
| 25 | + // baseURL = 'http://128.10.249.8:9003'; | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | } else { | ... | ... |
admin-web-master/src/views/detect/admap.vue
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | <el-table-column label="提交时间" prop="createDate"> </el-table-column> |
| 75 | 75 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 76 | 76 | <template slot-scope="scope"> |
| 77 | - {{scope.row.publishStatus=='0'?'空置中':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':'-'}} | |
| 77 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':'-'}} | |
| 78 | 78 | </template> |
| 79 | 79 | </el-table-column> |
| 80 | 80 | <el-table-column label="操作" min-width="100" fixed="right"> |
| ... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 | <el-table-column label="提交时间" prop="createDate"> </el-table-column> |
| 108 | 108 | <!-- <el-table-column prop="publishStatus" label="发布状态" > |
| 109 | 109 | <template slot-scope="scope"> |
| 110 | - {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'空置中':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}} | |
| 110 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}} | |
| 111 | 111 | </template> |
| 112 | 112 | </el-table-column> |
| 113 | 113 | <el-table-column prop="leaseExpirationDate" label="租赁到期时间" > |
| ... | ... | @@ -126,7 +126,7 @@ |
| 126 | 126 | </el-table-column> --> |
| 127 | 127 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 128 | 128 | <template slot-scope="scope"> |
| 129 | - {{scope.row.publishStatus=='0'?'空置中':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':'-'}} | |
| 129 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':'-'}} | |
| 130 | 130 | </template> |
| 131 | 131 | </el-table-column> |
| 132 | 132 | <el-table-column label="操作" min-width="100" fixed="right"> |
| ... | ... | @@ -155,9 +155,9 @@ |
| 155 | 155 | </el-table-column> |
| 156 | 156 | <el-table-column label="场地类型" prop="venueType" show-overflow-tooltip> |
| 157 | 157 | </el-table-column> |
| 158 | - <el-table-column label="实际使用面积(/M²)" prop="actualArea" show-overflow-tooltip> | |
| 158 | + <el-table-column label="实际使用面积(元/m²)" prop="actualArea" show-overflow-tooltip> | |
| 159 | 159 | <template slot-scope="scope"> |
| 160 | - {{scope.row.actualArea}}/M² | |
| 160 | + {{scope.row.actualArea}}元/m² | |
| 161 | 161 | </template> |
| 162 | 162 | </el-table-column> |
| 163 | 163 | <el-table-column label="所属区域" prop="district" show-overflow-tooltip> |
| ... | ... | @@ -166,7 +166,7 @@ |
| 166 | 166 | </el-table-column> --> |
| 167 | 167 | <!-- <el-table-column prop="publishStatus" label="发布状态"> |
| 168 | 168 | <template slot-scope="scope"> |
| 169 | - {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'空置中':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}} | |
| 169 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}} | |
| 170 | 170 | </template> |
| 171 | 171 | </el-table-column> |
| 172 | 172 | <el-table-column label="操作" fixed="right"> |
| ... | ... | @@ -182,7 +182,7 @@ |
| 182 | 182 | </el-table-column> --> |
| 183 | 183 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 184 | 184 | <template slot-scope="scope"> |
| 185 | - {{scope.row.publishStatus=='0'?'空置中':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':'-'}} | |
| 185 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':'-'}} | |
| 186 | 186 | </template> |
| 187 | 187 | </el-table-column> |
| 188 | 188 | <el-table-column label="操作" min-width="100" fixed="right"> | ... | ... |
admin-web-master/src/views/detect/examine/index.vue
| ... | ... | @@ -68,7 +68,7 @@ |
| 68 | 68 | </el-table-column> |
| 69 | 69 | <el-table-column label="租金/周期" prop="rentalPrice" show-overflow-tooltip> |
| 70 | 70 | <template slot-scope="scope"> |
| 71 | - <span v-if="scope.row.shopinfo.rentalPrice!=''">{{scope.row.shopinfo.rentalPrice}} /{{ scope.row.shopinfo.leaseTerm }}</span> | |
| 71 | + <span v-if="scope.row.shopinfo.rentalPrice!=''">{{scope.row.shopinfo.rentalPrice}} 元/{{ scope.row.shopinfo.leaseTerm }}</span> | |
| 72 | 72 | <span v-else>无</span> |
| 73 | 73 | </template> |
| 74 | 74 | </el-table-column> |
| ... | ... | @@ -79,7 +79,7 @@ |
| 79 | 79 | </el-table-column> --> |
| 80 | 80 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 81 | 81 | <template slot-scope="scope"> |
| 82 | - {{scope.row.cereBasicInformationShop.publishStatus=='0'?'空置中':scope.row.cereBasicInformationShop.publishStatus=='1'?'待审核':scope.row.cereBasicInformationShop.publishStatus=='2'?'已发布':scope.row.cereBasicInformationShop.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 82 | + {{scope.row.cereBasicInformationShop.publishStatus=='0'?'待发布':scope.row.cereBasicInformationShop.publishStatus=='1'?'待审核':scope.row.cereBasicInformationShop.publishStatus=='2'?'已发布':scope.row.cereBasicInformationShop.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 83 | 83 | </template> |
| 84 | 84 | </el-table-column> |
| 85 | 85 | <el-table-column label="操作" fixed="right" prop="sh"> |
| ... | ... | @@ -114,7 +114,7 @@ |
| 114 | 114 | </el-table-column> |
| 115 | 115 | <el-table-column label="租金/周期" prop="rentalPrice" show-overflow-tooltip> |
| 116 | 116 | <template slot-scope="scope"> |
| 117 | - <span v-if="scope.row.shopinfo.rentalPrice!=''">{{scope.row.shopinfo.rentalPrice}} /{{ scope.row.shopinfo.leaseTerm }}</span> | |
| 117 | + <span v-if="scope.row.shopinfo.rentalPrice!=''">{{scope.row.shopinfo.rentalPrice}} 元/{{ scope.row.shopinfo.leaseTerm }}</span> | |
| 118 | 118 | <span v-else>无</span> |
| 119 | 119 | </template> |
| 120 | 120 | </el-table-column> |
| ... | ... | @@ -125,7 +125,7 @@ |
| 125 | 125 | </el-table-column> --> |
| 126 | 126 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 127 | 127 | <template slot-scope="scope"> |
| 128 | - {{scope.row.cereAdvertisingInformation.publishStatus=='0'?'空置中':scope.row.cereAdvertisingInformation.publishStatus=='1'?'待审核':scope.row.cereAdvertisingInformation.publishStatus=='2'?'已发布':scope.row.cereAdvertisingInformation.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 128 | + {{scope.row.cereAdvertisingInformation.publishStatus=='0'?'待发布':scope.row.cereAdvertisingInformation.publishStatus=='1'?'待审核':scope.row.cereAdvertisingInformation.publishStatus=='2'?'已发布':scope.row.cereAdvertisingInformation.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 129 | 129 | </template> |
| 130 | 130 | </el-table-column> |
| 131 | 131 | <el-table-column label="操作" fixed="right" prop="sh"> |
| ... | ... | @@ -160,7 +160,7 @@ |
| 160 | 160 | </el-table-column> |
| 161 | 161 | <el-table-column label="租金/周期" prop="rentalPrice" show-overflow-tooltip> |
| 162 | 162 | <template slot-scope="scope"> |
| 163 | - <span v-if="scope.row.shopinfo.rentalPrice!=''">{{scope.row.shopinfo.rentalPrice}} /{{ scope.row.shopinfo.leaseTerm }}</span> | |
| 163 | + <span v-if="scope.row.shopinfo.rentalPrice!=''">{{scope.row.shopinfo.rentalPrice}} 元/{{ scope.row.shopinfo.leaseTerm }}</span> | |
| 164 | 164 | <span v-else>无</span> |
| 165 | 165 | </template> |
| 166 | 166 | </el-table-column> |
| ... | ... | @@ -171,7 +171,7 @@ |
| 171 | 171 | </el-table-column> --> |
| 172 | 172 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 173 | 173 | <template slot-scope="scope"> |
| 174 | - {{scope.row.cereBasicInformationVenue.publishStatus=='0'?'空置中':scope.row.cereBasicInformationVenue.publishStatus=='1'?'待审核':scope.row.cereBasicInformationVenue.publishStatus=='2'?'已发布':scope.row.cereBasicInformationVenue.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 174 | + {{scope.row.cereBasicInformationVenue.publishStatus=='0'?'待发布':scope.row.cereBasicInformationVenue.publishStatus=='1'?'待审核':scope.row.cereBasicInformationVenue.publishStatus=='2'?'已发布':scope.row.cereBasicInformationVenue.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 175 | 175 | </template> |
| 176 | 176 | </el-table-column> |
| 177 | 177 | <el-table-column label="操作" fixed="right" prop="sh"> | ... | ... |
admin-web-master/src/views/detect/information/index.vue
| ... | ... | @@ -68,7 +68,7 @@ |
| 68 | 68 | <el-table-column label="提交时间" prop="createDate" > </el-table-column> |
| 69 | 69 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 70 | 70 | <template slot-scope="scope"> |
| 71 | - {{scope.row.publishStatus=='0'?'空置中':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 71 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 72 | 72 | </template> |
| 73 | 73 | </el-table-column> |
| 74 | 74 | <el-table-column label="操作" min-width="100" fixed="right"> | ... | ... |
admin-web-master/src/views/detect/map/index.vue
| ... | ... | @@ -70,7 +70,7 @@ |
| 70 | 70 | |
| 71 | 71 | <!-- <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 72 | 72 | <template slot-scope="scope"> |
| 73 | - {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'空置中':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}} | |
| 73 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'已发布':scope.row.publishStatus=='2'?'待发布':scope.row.publishStatus=='3'?'待审核':scope.row.publishStatus=='4'?'驳回':'-'}} | |
| 74 | 74 | </template> |
| 75 | 75 | </el-table-column> |
| 76 | 76 | <el-table-column prop="leaseExpirationDate" label="租赁到期时间" show-overflow-tooltip> |
| ... | ... | @@ -90,7 +90,7 @@ |
| 90 | 90 | <el-table-column label="提交时间" prop="createDate" > </el-table-column> |
| 91 | 91 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 92 | 92 | <template slot-scope="scope"> |
| 93 | - {{scope.row.publishStatus=='0'?'空置中':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 93 | + {{scope.row.publishStatus=='0'?'待发布':scope.row.publishStatus=='1'?'待审核':scope.row.publishStatus=='2'?'已发布':scope.row.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | |
| 94 | 94 | </template> |
| 95 | 95 | </el-table-column> |
| 96 | 96 | <el-table-column label="操作" min-width="100" fixed="right"> | ... | ... |
admin-web-master/src/views/scheme/sam.vue
| ... | ... | @@ -61,9 +61,10 @@ |
| 61 | 61 | <el-table-column label="经营类型" prop="businessType" min-width="100"> |
| 62 | 62 | |
| 63 | 63 | </el-table-column> |
| 64 | - <el-table-column label="租金价格(/M²)" prop="rentalPrice" min-width="150"> | |
| 64 | + <el-table-column label="租金价格(元/m²)" prop="rentalPrice" min-width="150"> | |
| 65 | 65 | <template slot-scope="scope"> |
| 66 | - {{scope.row.rentalPrice}}/M² | |
| 66 | + <span v-if="scope.row.rentalPrice!=''">{{scope.row.rentalPrice}}元/m²</span> | |
| 67 | + <span v-else>无</span> | |
| 67 | 68 | </template> |
| 68 | 69 | </el-table-column> |
| 69 | 70 | <el-table-column label="租期" prop="leaseTerm" min-width="100"> | ... | ... |
lvdao-miniapp/pages.json
| ... | ... | @@ -448,6 +448,13 @@ |
| 448 | 448 | } |
| 449 | 449 | }, |
| 450 | 450 | { |
| 451 | + "path": "weball/web", | |
| 452 | + "style": { | |
| 453 | + "navigationBarBackgroundColor": "#FFFFFF", | |
| 454 | + "navigationBarTitleText": "" | |
| 455 | + } | |
| 456 | + }, | |
| 457 | + { | |
| 451 | 458 | "path": "tishi/tishi", |
| 452 | 459 | "style": { |
| 453 | 460 | "navigationBarBackgroundColor": "#FFFFFF", | ... | ... |
lvdao-miniapp/pages/activityAdd/activityAdd.vue
| ... | ... | @@ -2,36 +2,36 @@ |
| 2 | 2 | <view class="page"> |
| 3 | 3 | <u-form :model="form" ref="uForm" label-position="left" :label-width="180"> |
| 4 | 4 | <view class="add-list" style="padding-bottom: 0;"> |
| 5 | - <u-form-item label="*封面图片" borderBottom labelPosition="top"> | |
| 5 | + <u-form-item :required="true" label="封面图片" borderBottom labelPosition="top"> | |
| 6 | 6 | <!-- <u-upload :action="$upload" :auto-upload="true" ref="uUpload" :max-count="1" ></u-upload> --> |
| 7 | 7 | <u-upload :action="$upload" :auto-upload="false" ref="coverImage" :max-count="1" :file-list="fist" |
| 8 | 8 | @on-choose-complete="(response, file, fileList) => onsuccess1(response, file, fileList, 'coverImage')"></u-upload> |
| 9 | 9 | </u-form-item> |
| 10 | 10 | </view> |
| 11 | 11 | <view class="add-list" style="padding-bottom: 0;"> |
| 12 | - <u-form-item label="*活动名称" borderBottom> | |
| 12 | + <u-form-item :required="true" label="活动名称" borderBottom> | |
| 13 | 13 | <u-input v-model="form.activityName" /> |
| 14 | 14 | </u-form-item> |
| 15 | - <u-form-item label="*开始时间" borderBottom> | |
| 15 | + <u-form-item :required="true" label="开始时间" borderBottom> | |
| 16 | 16 | <u-input v-model="form.startTime" type="select" @click="startShow = true" placeholder="请选择"/> |
| 17 | 17 | <u-picker mode="time" v-model="startShow" :params="params" @confirm="startTimeChange"></u-picker> |
| 18 | 18 | </u-form-item> |
| 19 | - <u-form-item label="*结束时间" borderBottom> | |
| 19 | + <u-form-item :required="true" label="结束时间" borderBottom> | |
| 20 | 20 | <u-input v-model="form.endTime" type="select" @click="endShow = true" placeholder="请选择"/> |
| 21 | 21 | <u-picker mode="time" v-model="endShow" :params="params" @confirm="endTimeChange"></u-picker> |
| 22 | 22 | </u-form-item> |
| 23 | - <u-form-item label="*活动类型" borderBottom> | |
| 23 | + <u-form-item :required="true" label="活动类型" borderBottom> | |
| 24 | 24 | <u-input v-model="form.activityType" type="select" @click="typeShow = true" placeholder="请选择"/> |
| 25 | 25 | <u-select v-model="typeShow" :list="typeList" @confirm="typeChange"></u-select> |
| 26 | 26 | </u-form-item> |
| 27 | - <u-form-item label="*可参与人数" borderBottom> | |
| 27 | + <u-form-item :required="true" label="可参与人数" borderBottom> | |
| 28 | 28 | <u-number-box v-model="form.maxParticipants" :input-width="'100%'" :min="0"></u-number-box> |
| 29 | 29 | </u-form-item> |
| 30 | - <u-form-item label="*举办区域" borderBottom> | |
| 30 | + <u-form-item :required="true" label="举办区域" borderBottom> | |
| 31 | 31 | <u-input v-model="form.region" /> |
| 32 | 32 | </u-form-item> |
| 33 | - <u-form-item label="*活动内容" type = 'textarea' borderBottom auto-height="100"> | |
| 34 | - <u-input v-model="form.content" /> | |
| 33 | + <u-form-item :required="true" label="活动内容" borderBottom label-position="top"> | |
| 34 | + <u-input border type="textarea" height="150" v-model="form.content" /> | |
| 35 | 35 | </u-form-item> |
| 36 | 36 | </view> |
| 37 | 37 | ... | ... |
lvdao-miniapp/pages/advertisement/advertisement.vue
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | <view> |
| 43 | 43 | <view class="goods-list-text"> |
| 44 | 44 | <view class="goods-list-txt">广告位类型:{{item.advertisingType}}</view> |
| 45 | - <view class="goods-list-txt">广告尺寸:{{item.dimensions}}</view> | |
| 45 | + <view class="goods-list-txt">广告尺寸:{{item.dimensions || '--'}}</view> | |
| 46 | 46 | </view> |
| 47 | 47 | <view class="goods-list-text" v-if="item.advertisingType == '线上广告位'"> |
| 48 | 48 | <view class="goods-list-txt">轮播顺序:<text>{{item.rotationOrder}}</text></view> |
| ... | ... | @@ -139,7 +139,7 @@ |
| 139 | 139 | let items = JSON.stringify(item) |
| 140 | 140 | console.log(items) |
| 141 | 141 | uni.navigateTo({ |
| 142 | - url: `/pages/advertisementDetail/advertisementDetail?item=${items}` | |
| 142 | + url: `/pages/advertisementDetail/advertisementDetail?item=${encodeURIComponent(items)}` | |
| 143 | 143 | }) |
| 144 | 144 | }, |
| 145 | 145 | ... | ... |
lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue
| ... | ... | @@ -57,7 +57,7 @@ |
| 57 | 57 | <text>{{tableData.playDuration || '--'}}</text> |
| 58 | 58 | </view> |
| 59 | 59 | </u-col> |
| 60 | - <u-col span="5" > | |
| 60 | + <u-col span="12" > | |
| 61 | 61 | <view class="form-item"> |
| 62 | 62 | <view class="label">推送地址:</view> |
| 63 | 63 | <text>{{tableData.pushAddress || '--'}}</text> |
| ... | ... | @@ -66,10 +66,11 @@ |
| 66 | 66 | <u-col span="12"> |
| 67 | 67 | <view class="form-item"> |
| 68 | 68 | <view class="label">介绍:</view> |
| 69 | - <view style='flex: 1;'> | |
| 70 | - <rich-text v-if="tableData.memo" :nodes="tableData.memo"></rich-text> | |
| 71 | - <text v-else>无</text> | |
| 72 | - </view> | |
| 69 | + <text v-if="!tableData.memo">无</text> | |
| 70 | + </view> | |
| 71 | + <view style='flex: 1;'> | |
| 72 | + <rich-text v-if="tableData.memo" :nodes="tableData.memo"></rich-text> | |
| 73 | + | |
| 73 | 74 | </view> |
| 74 | 75 | </u-col> |
| 75 | 76 | </view> |
| ... | ... | @@ -196,7 +197,7 @@ |
| 196 | 197 | }, |
| 197 | 198 | onLoad(option) { |
| 198 | 199 | this.imgurl = this.$img |
| 199 | - let data = JSON.parse(option.item) | |
| 200 | + let data = JSON.parse(decodeURIComponent(option.item)) | |
| 200 | 201 | console.log(data) |
| 201 | 202 | this.tableData = data |
| 202 | 203 | this.resourcesId = `gg${data.id}` | ... | ... |
lvdao-miniapp/pages/field/field.vue
lvdao-miniapp/pages/home/home.scss
lvdao-miniapp/pages/home/home.vue
| ... | ... | @@ -65,14 +65,22 @@ |
| 65 | 65 | <text>租广告</text> |
| 66 | 66 | </view> |
| 67 | 67 | </view> |
| 68 | - <view class="list" @click="wuye"> | |
| 68 | + <!-- <view class="list" @click="wuye"> | |
| 69 | + <view class="icon"> | |
| 70 | + <image :src="$imgUrl('/gouwulan.png')"></image> | |
| 71 | + </view> | |
| 72 | + <view class="title"> | |
| 73 | + <text>商城</text> | |
| 74 | + </view> | |
| 75 | + </view> --> | |
| 76 | + <!-- <view class="list" @click="wuye"> | |
| 69 | 77 | <view class="icon"> |
| 70 | 78 | <image :src="$imgUrl('/home4.png')"></image> |
| 71 | 79 | </view> |
| 72 | 80 | <view class="title"> |
| 73 | 81 | <text>物业缴费</text> |
| 74 | 82 | </view> |
| 75 | - </view> | |
| 83 | + </view> --> | |
| 76 | 84 | <!-- <view class="list" @click="gopath('/pagesA/hxlist/hxlist')"> |
| 77 | 85 | <view class="icon"> |
| 78 | 86 | <image :src="$imgUrl('/home4.png')"></image> |
| ... | ... | @@ -635,7 +643,7 @@ |
| 635 | 643 | }) |
| 636 | 644 | } else { |
| 637 | 645 | uni.navigateTo({ |
| 638 | - url: `/pages/advertisementDetail/advertisementDetail?item=${items}` | |
| 646 | + url: `/pages/advertisementDetail/advertisementDetail?item=${encodeURIComponent(items)}` | |
| 639 | 647 | }) |
| 640 | 648 | } |
| 641 | 649 | |
| ... | ... | @@ -685,15 +693,18 @@ |
| 685 | 693 | |
| 686 | 694 | }, |
| 687 | 695 | wuye() { |
| 688 | - if(uni.getStorageSync('user').phone&& uni.getStorageSync('user').phone!=''){ | |
| 689 | - uni.navigateTo({ | |
| 690 | - url: `/pages/propertyPay/propertyPayList/propertyPayList` | |
| 691 | - }) | |
| 692 | - }else{ | |
| 693 | - uni.navigateTo({ | |
| 694 | - url: `/pages/login/login` | |
| 695 | - }) | |
| 696 | - } | |
| 696 | + uni.navigateTo({ | |
| 697 | + url: `/pagesA/weball/web?url=https://zhgw-uat.028wlkj.com/cdwlMall/meh5/` | |
| 698 | + }) | |
| 699 | + // if(uni.getStorageSync('user').phone&& uni.getStorageSync('user').phone!=''){ | |
| 700 | + // uni.navigateTo({ | |
| 701 | + // url: `/pages/propertyPay/propertyPayList/propertyPayList` | |
| 702 | + // }) | |
| 703 | + // }else{ | |
| 704 | + // uni.navigateTo({ | |
| 705 | + // url: `/pages/login/login` | |
| 706 | + // }) | |
| 707 | + // } | |
| 697 | 708 | |
| 698 | 709 | |
| 699 | 710 | }, | ... | ... |
lvdao-miniapp/pages/marketing/marketingList/marketingList.vue
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | <u-image :src="imgurl+item.coverImage" border-radius="10" height="110px" width="100%" style="margin-top:8px;margin-right:8px;" ></u-image> |
| 24 | 24 | <!-- <u-image :src="$img+item.coverImage" border-radius="10" mode="heightFix" style="margin-right:8px;height:110px" ></u-image> --> |
| 25 | 25 | <view class="info"> |
| 26 | - <view class="title">{{item.title}}</view> | |
| 26 | + <view class="title one-omit">{{item.title}}</view> | |
| 27 | 27 | <view class="name">活动时间:{{item.startTime}}至{{item.endTime}}</view> |
| 28 | 28 | <view style="margin-top: 5px;height:23px;"> |
| 29 | 29 | <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1"/> | ... | ... |
lvdao-miniapp/pages/my/my.vue
| ... | ... | @@ -50,12 +50,12 @@ |
| 50 | 50 | <text>我的问卷</text> |
| 51 | 51 | </view> |
| 52 | 52 | </view> --> |
| 53 | - <view class="service-list-list"> | |
| 53 | + <view class="service-list-list" @click="myativity"> | |
| 54 | 54 | <view class="thumb"> |
| 55 | 55 | <text v-if="Islogin">0</text> |
| 56 | 56 | <text v-else>{{activityNum}}</text> |
| 57 | 57 | </view> |
| 58 | - <view class="name" @click="myativity"> | |
| 58 | + <view class="name" > | |
| 59 | 59 | <text>我的活动</text> |
| 60 | 60 | </view> |
| 61 | 61 | </view> | ... | ... |
lvdao-miniapp/pages/participation/participation.scss
| ... | ... | @@ -170,10 +170,6 @@ |
| 170 | 170 | } |
| 171 | 171 | } |
| 172 | 172 | .huo-card-item{ |
| 173 | - font-size: 20rpx; | |
| 174 | - line-height: 1.5; | |
| 175 | - white-space: nowrap; /* 防止文本换行 */ | |
| 176 | - text-overflow: ellipsis; /* 显示省略号 */ | |
| 177 | - /* 如果需要设置宽度,可以添加 width 属性 */ | |
| 178 | - overflow:hidden; | |
| 179 | - } | |
| 180 | 173 | \ No newline at end of file |
| 174 | + font-size: 20rpx; | |
| 175 | +} | |
| 176 | + | |
| 181 | 177 | \ No newline at end of file | ... | ... |
lvdao-miniapp/pages/participation/participation.vue
| ... | ... | @@ -2,48 +2,54 @@ |
| 2 | 2 | <!-- 活动参与 --> |
| 3 | 3 | <view class="page"> |
| 4 | 4 | <view class="more page-box" @click="toMyAdd"> |
| 5 | - <u-section :bold="false" title="我的活动申请" sub-title='' :show-line="false" color="#0FBB59" > | |
| 5 | + <u-section :bold="false" title="我的活动申请" sub-title='' :show-line="false" color="#0FBB59"> | |
| 6 | 6 | <view slot="right"> |
| 7 | 7 | <u-icon name="arrow-rightward" color="#0FBB59" size="28"></u-icon> |
| 8 | 8 | </view> |
| 9 | 9 | </u-section> |
| 10 | 10 | </view> |
| 11 | 11 | <!-- 搜索 --> |
| 12 | - <!-- <view class="head-search"> | |
| 12 | + <!-- <view class="head-search"> | |
| 13 | 13 | <u-search bg-color="#fff" placeholder="请输入关键词" v-model="pageIndex.activityName" :show-action="false" @search="search"></u-search> |
| 14 | 14 | <u-button type="success" @click="search">搜索</u-button> |
| 15 | 15 | </view> --> |
| 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="pageIndex.activityName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | |
| 16 | + <view | |
| 17 | + style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;"> | |
| 18 | + <u-search | |
| 19 | + :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" | |
| 20 | + bg-color="#fff" placeholder="请输入关键词" v-model="pageIndex.activityName" action-text="搜索" @clear="search" | |
| 21 | + @search="search" @custom="search"></u-search> | |
| 18 | 22 | </view> |
| 19 | 23 | <view class="screen-list"> |
| 20 | 24 | <u-dropdown menu-icon="arrow-down-fill" :title-size="24" :height="40"> |
| 21 | - <u-dropdown-item v-model="pageIndex.orderingRule" title="时间排序" :options="sortTypeOptions" @change="search"></u-dropdown-item> | |
| 22 | - <u-dropdown-item v-model="pageIndex.activeState" title="活动状态" :options="statusOptions" @change="search"></u-dropdown-item> | |
| 25 | + <u-dropdown-item v-model="pageIndex.orderingRule" title="时间排序" :options="sortTypeOptions" | |
| 26 | + @change="search"></u-dropdown-item> | |
| 27 | + <u-dropdown-item v-model="pageIndex.activeState" title="活动状态" :options="statusOptions" | |
| 28 | + @change="search"></u-dropdown-item> | |
| 23 | 29 | </u-dropdown> |
| 24 | 30 | </view> |
| 25 | - <!-- 订单列表 --> | |
| 26 | 31 | <view class="goods-data"> |
| 27 | - <u-row gutter="16" class="goods-list"> | |
| 28 | - <u-col span="6" v-for="(item,index) in datalist" :key="index" @click="toDetail(item.id, '/pages/activityDetail/activityDetail')" > | |
| 29 | - <view class="demo-layout good-item" style="margin-bottom: 30rpx;"> | |
| 30 | - <u-image :src="imgurl+item.coverImage" border-radius="10" mode="heightFix" height="110px" style="margin-top:8px;margin-right:8px;" ></u-image> | |
| 32 | + <view style="width: 100%;display: flex;flex-wrap: wrap;"> | |
| 33 | + <view style="width: 47%;margin-left: 2%;background: #fff;margin-bottom: 30rpx;padding: 20rpx;border-radius: 18rpx;" v-for="(item,index) in datalist" :key="index" @click="toDetail(item.id)"> | |
| 34 | + <view class="demo-layout good-item"> | |
| 35 | + <u-image :src="imgurl+item.coverImage" border-radius="10" height="110px" width="100%" | |
| 36 | + style="margin-top:8px;margin-right:8px;"></u-image> | |
| 37 | + <!-- <u-image :src="$img+item.coverImage" border-radius="10" mode="heightFix" style="margin-right:8px;height:110px" ></u-image> --> | |
| 31 | 38 | <view class="info"> |
| 32 | - <view class="title">{{item.activityName}}</view> | |
| 33 | - <view class="huo-card-item">活动日期:<span>{{item.startTime}}至{{item.endTime}}</span></view> | |
| 39 | + <view class="title one-omit" >{{item.activityName}}</view> | |
| 40 | + <view class="huo-card-item one-omit" style="margin: 14rpx 0;">活动日期:<span>{{item.startTime}}至{{item.endTime}}</span></view> | |
| 34 | 41 | <view class="huo-card-item">参与人数:<span>{{item.maxParticipants}}</span></view> |
| 35 | - <view style="margin-top: 5px;height:23px"> | |
| 36 | - <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1"/> | |
| 37 | - <u-tag text="未开始" type="info" mode="dark" v-if="item.activeState==0"/> | |
| 38 | - <u-tag text="已结束" type="warning" mode="dark" v-if="item.activeState==2"/> | |
| 39 | - </view> | |
| 42 | + <view style="margin-top: 5px;height:23px"> | |
| 43 | + <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1" /> | |
| 44 | + <u-tag text="未开始" type="info" mode="dark" v-if="item.activeState==0" /> | |
| 45 | + <u-tag text="已结束" type="warning" mode="dark" v-if="item.activeState==2" /> | |
| 46 | + </view> | |
| 40 | 47 | </view> |
| 41 | 48 | </view> |
| 42 | - </u-col> | |
| 43 | - | |
| 44 | - </u-row> | |
| 45 | - <!-- <u-loadmore :status="status" @loadmore='loading'/> --> | |
| 49 | + </view> | |
| 50 | + </view> | |
| 46 | 51 | </view> |
| 52 | + | |
| 47 | 53 | <view style="height: 120rpx;"></view> |
| 48 | 54 | <view class="page-footer"> |
| 49 | 55 | <u-button type="success" @click="toAdd">活动申请</u-button> |
| ... | ... | @@ -59,24 +65,37 @@ |
| 59 | 65 | datalist: [], |
| 60 | 66 | total: 1, |
| 61 | 67 | |
| 62 | - sortTypeOptions: [ | |
| 63 | - { label: '正序', value: 1 }, | |
| 64 | - { label: '倒序', value: 2 }, | |
| 68 | + sortTypeOptions: [{ | |
| 69 | + label: '正序', | |
| 70 | + value: 1 | |
| 71 | + }, | |
| 72 | + { | |
| 73 | + label: '倒序', | |
| 74 | + value: 2 | |
| 75 | + }, | |
| 65 | 76 | ], |
| 66 | - statusOptions: [ | |
| 67 | - { label: '进行中', value: 1 }, | |
| 68 | - { label: '已结束', value: 2 }, | |
| 69 | - { label: '未开始', value: 0 }, | |
| 77 | + statusOptions: [{ | |
| 78 | + label: '进行中', | |
| 79 | + value: 1 | |
| 80 | + }, | |
| 81 | + { | |
| 82 | + label: '已结束', | |
| 83 | + value: 2 | |
| 84 | + }, | |
| 85 | + { | |
| 86 | + label: '未开始', | |
| 87 | + value: 0 | |
| 88 | + }, | |
| 70 | 89 | ], |
| 71 | - pageIndex :{ | |
| 90 | + pageIndex: { | |
| 72 | 91 | activityName: '', // 搜索项 |
| 73 | 92 | orderingRule: 1, // 排序方式 |
| 74 | - activeState:null, // 活动状态 | |
| 93 | + activeState: null, // 活动状态 | |
| 75 | 94 | pageNumber: 1, |
| 76 | 95 | pageSize: 10, |
| 77 | - auditStatus:'3', | |
| 96 | + auditStatus: '3', | |
| 78 | 97 | }, |
| 79 | - imgurl:'' | |
| 98 | + imgurl: '' | |
| 80 | 99 | } |
| 81 | 100 | }, |
| 82 | 101 | onLoad() { |
| ... | ... | @@ -100,9 +119,9 @@ |
| 100 | 119 | this.getAll() |
| 101 | 120 | }, |
| 102 | 121 | methods: { |
| 103 | - getAll(val){ | |
| 104 | - this.$http.sendRequest('/cereActivityApplication/queryByPage', 'POST',this.pageIndex,1).then(res => { | |
| 105 | - this.datalist = res.data.data.content | |
| 122 | + getAll(val) { | |
| 123 | + this.$http.sendRequest('/cereActivityApplication/queryByPage', 'POST', this.pageIndex, 1).then(res => { | |
| 124 | + this.datalist = res.data.data.content | |
| 106 | 125 | }).catch(err => { |
| 107 | 126 | console.log(err) |
| 108 | 127 | //请求失败 |
| ... | ... | @@ -115,13 +134,13 @@ |
| 115 | 134 | }) |
| 116 | 135 | }, |
| 117 | 136 | search() { |
| 118 | - | |
| 119 | - this.getAll() | |
| 137 | + | |
| 138 | + this.getAll() | |
| 120 | 139 | }, |
| 121 | - | |
| 140 | + | |
| 122 | 141 | loading() { |
| 123 | 142 | let that = this |
| 124 | - if(that.status == 'nomore') return; | |
| 143 | + if (that.status == 'nomore') return; | |
| 125 | 144 | that.status = 'loading'; |
| 126 | 145 | that.page = ++that.page; |
| 127 | 146 | setTimeout(() => { |
| ... | ... | @@ -129,22 +148,22 @@ |
| 129 | 148 | that.status = that.list >= that.total ? 'nomore' : 'loadmore'; |
| 130 | 149 | }, 300) |
| 131 | 150 | }, |
| 132 | - join(){ | |
| 151 | + join() { | |
| 133 | 152 | uni.navigateTo({ |
| 134 | 153 | url: '/pages/mycreated/mycreated?id=1' |
| 135 | 154 | }) |
| 136 | 155 | }, |
| 137 | 156 | toAdd() { |
| 138 | - uni.navigateTo({ | |
| 157 | + uni.navigateTo({ | |
| 139 | 158 | url: '/pages/activityAdd/activityAdd' |
| 140 | 159 | }) |
| 141 | 160 | }, |
| 142 | 161 | toDetail(item, path) { |
| 143 | - | |
| 162 | + | |
| 144 | 163 | uni.navigateTo({ |
| 145 | 164 | url: `${path}?item=${item}` |
| 146 | 165 | }) |
| 147 | - | |
| 166 | + | |
| 148 | 167 | }, |
| 149 | 168 | } |
| 150 | 169 | } |
| ... | ... | @@ -152,4 +171,4 @@ |
| 152 | 171 | |
| 153 | 172 | <style scoped lang="scss"> |
| 154 | 173 | @import 'participation.scss'; |
| 155 | 174 | -</style> |
| 175 | +</style> | |
| 156 | 176 | \ No newline at end of file | ... | ... |
lvdao-miniapp/pages/propertyPay/payDetail/payDetail.vue
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | <view class="info-items"> |
| 14 | 14 | <view class="info-item"> |
| 15 | 15 | <view class="title">{{item.itemName}}</view> |
| 16 | - <view class="right"><text class="price"><u-icon name="rmb" style="font-size: 24rpx;" />{{item.payPrice}}</text></view> | |
| 16 | + <view class="right"><text class="price"><u-icon name="rmb" style="font-size: 24rpx;" />{{ item.detailsVOList | jsitem}}</text></view> | |
| 17 | 17 | </view> |
| 18 | 18 | <view class="info-item" style="color: #808080;"> |
| 19 | 19 | <view class="left">单价:¥{{item.itemStandard}}</view> |
| 20 | 20 | <view class="right">费率:{{item.cheapRate}}%</view> |
| 21 | 21 | </view> |
| 22 | 22 | <view v-if="item.itemDetailsVOList&& item.itemDetailsVOList.length>0"> |
| 23 | - <view class="list" v-for="(item1,index1) in item.itemDetailsVOList"> | |
| 23 | + <view v-if="item1.isshowxz" class="list" v-for="(item1,index1) in item.itemDetailsVOList"> | |
| 24 | 24 | <view class="info-item">周期:{{item1.startDate}} - {{item1.endDate}}</view> |
| 25 | 25 | <view class="info-item" style="margin-top: 6rpx;"> |
| 26 | 26 | <text style="margin-right: 20rpx;">数量:{{item1.number}}{{item1.itemUnit}}</text> |
| ... | ... | @@ -103,6 +103,20 @@ |
| 103 | 103 | cent:{} |
| 104 | 104 | } |
| 105 | 105 | }, |
| 106 | + filters: { | |
| 107 | + | |
| 108 | + jsitem(e) { | |
| 109 | + // console.error(e) | |
| 110 | + let num = 0 | |
| 111 | + for (let n = 0; n < e.length; n++) { | |
| 112 | + // num = num + Number(e[n].payPrice) | |
| 113 | + if(e[n].isshowxz){ | |
| 114 | + num = num + Number(e[n].payPrice) | |
| 115 | + } | |
| 116 | + } | |
| 117 | + return num.toFixed(2) | |
| 118 | + } | |
| 119 | + }, | |
| 106 | 120 | onLoad(e) { |
| 107 | 121 | this.cent = JSON.parse(e.cent) |
| 108 | 122 | console.error(this.cent) | ... | ... |
lvdao-miniapp/pages/propertyPay/propertyPayList/propertyPayList.vue
| ... | ... | @@ -123,6 +123,7 @@ |
| 123 | 123 | </template> |
| 124 | 124 | |
| 125 | 125 | <script> |
| 126 | + import { toMiniPay } from "@/utils/tool.js" | |
| 126 | 127 | export default { |
| 127 | 128 | data() { |
| 128 | 129 | return { |
| ... | ... | @@ -313,7 +314,7 @@ |
| 313 | 314 | |
| 314 | 315 | // }) |
| 315 | 316 | }, |
| 316 | - submit() { | |
| 317 | + async submit() { | |
| 317 | 318 | |
| 318 | 319 | // console.log(this.recordList) |
| 319 | 320 | let c1 = [] |
| ... | ... | @@ -350,80 +351,21 @@ |
| 350 | 351 | "paymentContent": JSON.stringify(c1) |
| 351 | 352 | } |
| 352 | 353 | console.log(info) |
| 353 | - this.$http.sendRequest('/cerePaymentInfo/payWy', 'POST',info, 1).then(res => { | |
| 354 | + const payId = await this.$http.sendRequest('/cerePaymentInfo/payWy', 'POST',info, 1).then(res => { | |
| 354 | 355 | console.error(res.data) |
| 356 | + let c1 = res.data.data.split('=')[1] | |
| 357 | + console.error(c1) | |
| 355 | 358 | if(res.data.code =='200') { |
| 356 | - uni.navigateTo({ | |
| 357 | - url:'/pagesA/payweb/payweb?url='+escape(res.data.data) | |
| 358 | - }) | |
| 359 | + return c1 | |
| 360 | + | |
| 361 | + // uni.navigateTo({ | |
| 362 | + // url:'/pagesA/payweb/payweb?url='+escape(res.data.data) | |
| 363 | + // }) | |
| 359 | 364 | } |
| 360 | 365 | }) |
| 361 | - return | |
| 362 | - // this.loadShow = true | |
| 363 | - // setTimeout(()=>{ | |
| 364 | - // this.loadShow = false | |
| 365 | - // },2000) | |
| 366 | - if (this.fangshi == '付款码扫码支付') { | |
| 367 | - this.joinShow = false | |
| 368 | - | |
| 369 | - } else { | |
| 370 | - let payList = { | |
| 371 | - additional: "附加交易授权", | |
| 372 | - backUrl: "", | |
| 373 | - channelId: "", | |
| 374 | - expireTime: 1800, | |
| 375 | - finishUrl: "", | |
| 376 | - latitude: "1", | |
| 377 | - longitude: "1", | |
| 378 | - orderNo: "", | |
| 379 | - payId: "", | |
| 380 | - payMerData: [{ | |
| 381 | - amount: 1, | |
| 382 | - body: "物业缴费", | |
| 383 | - }], | |
| 384 | - payType: "Online", | |
| 385 | - returnUrl: "", | |
| 386 | - showBtn: "1", | |
| 387 | - siteId: "", | |
| 388 | - toApp: "0", | |
| 389 | - totalAmount: 1, | |
| 390 | - uid: "1693617316237021185", | |
| 391 | - universalLink: "" | |
| 392 | - } | |
| 393 | - const randomNumber = Math.floor(Math.random() * 10000); // 生成一个0到9999之间的随机数 | |
| 394 | - const timestamp = new Date().getTime(); // 获取当前时间的时间戳 | |
| 395 | - payList.orderNo = `${randomNumber}${timestamp}` | |
| 396 | - | |
| 397 | - payList.uid = uni.getStorageSync('shopId') | |
| 398 | - this.$http.sendRequest('/aggregationPayment/createOrder', 'POST', payList, 1).then(res => { | |
| 399 | - console.log(JSON.parse(res.data.data).data.codeUrl) | |
| 400 | - let url = JSON.parse(res.data.data).data.codeUrl | |
| 401 | - | |
| 402 | - // window.location.href = url | |
| 403 | - // plus.runtime.openURL(url , function(e) {console.log(e)}) | |
| 404 | - uni.showModal({ | |
| 405 | - title: res.data.message, | |
| 406 | - showCancel: false, | |
| 407 | - success: ress => { | |
| 408 | - uni.switchTab({ | |
| 409 | - url: '/pages/home/home' | |
| 410 | - }) | |
| 411 | - } | |
| 412 | - }) | |
| 413 | - }) | |
| 414 | - | |
| 415 | - this.joinShow = false | |
| 416 | - // uni.showModal({ | |
| 417 | - // title: '支付成功 ', | |
| 418 | - // showCancel:false, | |
| 419 | - // success:ress => { | |
| 420 | - // uni.switchTab({ | |
| 421 | - // url: '/pages/home/home' | |
| 422 | - // }) | |
| 423 | - // } | |
| 424 | - // }) | |
| 425 | - } | |
| 426 | - | |
| 366 | + const payIdbackPath= '/pages/home/home' | |
| 367 | + await toMiniPay(payId,payIdbackPath) | |
| 368 | + | |
| 427 | 369 | }, |
| 428 | 370 | confirm(e) { |
| 429 | 371 | console.log(e) | ... | ... |
lvdao-miniapp/pages/shops/shops.vue
lvdao-miniapp/pages/workbench/workbench.vue
| ... | ... | @@ -190,7 +190,7 @@ |
| 190 | 190 | path: '/pages/activityAdd/activityAdd' |
| 191 | 191 | }, |
| 192 | 192 | { |
| 193 | - name: '意向申请', | |
| 193 | + name: '寻租申请', | |
| 194 | 194 | img: '/yxsq.png', |
| 195 | 195 | path: '/pages/rsaManagement/rsaManagement' |
| 196 | 196 | }, |
| ... | ... | @@ -252,9 +252,14 @@ |
| 252 | 252 | img: '/zjjf.png', |
| 253 | 253 | path: '/pagesA/rentPay/rentPay' |
| 254 | 254 | }, |
| 255 | + { | |
| 256 | + name: '物业缴费', | |
| 257 | + img: '/shuidichou.png', | |
| 258 | + path: '/pages/propertyPay/propertyPayList/propertyPayList' | |
| 259 | + }, | |
| 255 | 260 | ] |
| 256 | 261 | }, ], |
| 257 | -pageList6: [{ | |
| 262 | + pageList6: [{ | |
| 258 | 263 | id: 5, |
| 259 | 264 | title: '推广管理', |
| 260 | 265 | children: [{ |
| ... | ... | @@ -305,8 +310,13 @@ pageList6: [{ |
| 305 | 310 | async toPath1(path) { |
| 306 | 311 | let c1 = uni.getStorageSync('user').phone |
| 307 | 312 | // let c1 = '18188305496' |
| 308 | - await this.$http.sendRequest('/check/getAll','POST',{"shopPhone":c1,"checkState":"1","page":1,"pageSize":1}, 1).then(res => { | |
| 309 | - if(res.data.data.list.length>0) { | |
| 313 | + await this.$http.sendRequest('/check/getAll', 'POST', { | |
| 314 | + "shopPhone": c1, | |
| 315 | + "checkState": "1", | |
| 316 | + "page": 1, | |
| 317 | + "pageSize": 1 | |
| 318 | + }, 1).then(res => { | |
| 319 | + if (res.data.data.list.length > 0) { | |
| 310 | 320 | uni.setStorageSync('shopId', res.data.data.list[0].shopId); |
| 311 | 321 | } else { |
| 312 | 322 | // uni.show | ... | ... |
lvdao-miniapp/pagesA/addsb/addsb.vue
| ... | ... | @@ -2,23 +2,23 @@ |
| 2 | 2 | <view class="appbox"> |
| 3 | 3 | |
| 4 | 4 | <view style="display: flex;" v-if="type == '1'"> |
| 5 | - <view @click="changeonindex('意见反馈')" :class="onindex == '意见反馈'?'onclasst1':'classt1'"> | |
| 6 | - 意见反馈 | |
| 5 | + <view @click="changeonindex('事件上报')" :class="onindex == '事件上报'?'onclasst1':'classt1'"> | |
| 6 | + 事件上报 | |
| 7 | 7 | <view class="onindex"></view> |
| 8 | 8 | </view> |
| 9 | - <view @click="changeonindex('我的反馈')" :class="onindex == '我的反馈'?'onclasst1':'classt1'"> | |
| 10 | - 我的反馈 | |
| 9 | + <view @click="changeonindex('我的上报')" :class="onindex == '我的上报'?'onclasst1':'classt1'"> | |
| 10 | + 我的上报 | |
| 11 | 11 | <view class="onindex"></view> |
| 12 | 12 | </view> |
| 13 | 13 | </view> |
| 14 | 14 | <view style="display: flex;" v-if="type == '2'"> |
| 15 | - <view :class="onindex == '意见反馈编辑'?'onclasst1':'classt1'"> | |
| 16 | - 意见反馈编辑 | |
| 15 | + <view :class="onindex == '事件上报编辑'?'onclasst1':'classt1'"> | |
| 16 | + 事件上报编辑 | |
| 17 | 17 | <view class="onindex"></view> |
| 18 | 18 | </view> |
| 19 | 19 | </view> |
| 20 | 20 | <view style="flex: 1;overflow-y: scroll;"> |
| 21 | - <view v-if="onindex == '意见反馈'" style="overflow-y: scroll;height: 100%;"> | |
| 21 | + <view v-if="onindex == '事件上报'" style="overflow-y: scroll;height: 100%;"> | |
| 22 | 22 | <view class="fromitem"> |
| 23 | 23 | <view class="t1 tit1"> |
| 24 | 24 | 上报位置 |
| ... | ... | @@ -54,7 +54,7 @@ |
| 54 | 54 | <u-button style="width: 100%;" type="success" @click="submit">提交</u-button> |
| 55 | 55 | </view> |
| 56 | 56 | </view> |
| 57 | - <scroll-view style="height: 100%;" scroll-y v-if="onindex == '我的反馈'" @scrolltolower="scrolltolower"> | |
| 57 | + <scroll-view style="height: 100%;" scroll-y v-if="onindex == '我的上报'" @scrolltolower="scrolltolower"> | |
| 58 | 58 | <view v-if="mylist.length == 0" style="text-align: center;margin-top: 50rpx;" class="tit1">暂无数据</view> |
| 59 | 59 | <view style="background: #fff;border-radius: 18rpx;padding: 30rpx;margin-top: 30rpx;" |
| 60 | 60 | v-for="(item,index) in mylist"> |
| ... | ... | @@ -86,7 +86,7 @@ |
| 86 | 86 | </view> |
| 87 | 87 | </view> |
| 88 | 88 | </scroll-view> |
| 89 | - <view v-if="onindex == '意见反馈编辑'"> | |
| 89 | + <view v-if="onindex == '事件上报编辑'"> | |
| 90 | 90 | <view class="fromitem"> |
| 91 | 91 | <view class="t1 tit1"> |
| 92 | 92 | 上报位置 |
| ... | ... | @@ -142,7 +142,7 @@ |
| 142 | 142 | typeShow: false, |
| 143 | 143 | typeList: [], |
| 144 | 144 | ontype: null, |
| 145 | - onindex: '意见反馈', | |
| 145 | + onindex: '事件上报', | |
| 146 | 146 | form: { |
| 147 | 147 | problemDescribe: '', |
| 148 | 148 | reportLocation: '', |
| ... | ... | @@ -190,7 +190,7 @@ |
| 190 | 190 | }, |
| 191 | 191 | qux() { |
| 192 | 192 | this.type = '1' |
| 193 | - this.changeonindex('我的反馈') | |
| 193 | + this.changeonindex('我的上报') | |
| 194 | 194 | }, |
| 195 | 195 | remove(e) { |
| 196 | 196 | this.removeinfo = e |
| ... | ... | @@ -202,7 +202,7 @@ |
| 202 | 202 | }) |
| 203 | 203 | this.ontype = this.removeinfo.eventTypeName; |
| 204 | 204 | console.error(this.fist) |
| 205 | - this.onindex = '意见反馈编辑' | |
| 205 | + this.onindex = '事件上报编辑' | |
| 206 | 206 | this.type = '2' |
| 207 | 207 | }, |
| 208 | 208 | removeonfo() { |
| ... | ... | @@ -219,7 +219,7 @@ |
| 219 | 219 | }) |
| 220 | 220 | setTimeout(() => { |
| 221 | 221 | this.type = '1' |
| 222 | - this.changeonindex('我的反馈') | |
| 222 | + this.changeonindex('我的上报') | |
| 223 | 223 | }, 1000); |
| 224 | 224 | } else{ |
| 225 | 225 | uni.showToast({ |
| ... | ... | @@ -253,9 +253,9 @@ |
| 253 | 253 | this.mylist = [] |
| 254 | 254 | this.ontype = null |
| 255 | 255 | this.page = 0 |
| 256 | - if (this.onindex == '意见反馈') { | |
| 256 | + if (this.onindex == '事件上报') { | |
| 257 | 257 | |
| 258 | - } else if (this.onindex == '我的反馈') { | |
| 258 | + } else if (this.onindex == '我的上报') { | |
| 259 | 259 | this.gain() |
| 260 | 260 | } |
| 261 | 261 | }, |
| ... | ... | @@ -291,7 +291,7 @@ |
| 291 | 291 | userPhone: uni.getStorageSync('user').phone, |
| 292 | 292 | } |
| 293 | 293 | setTimeout(() => { |
| 294 | - this.changeonindex('我的反馈') | |
| 294 | + this.changeonindex('我的上报') | |
| 295 | 295 | }, 1000); |
| 296 | 296 | } else{ |
| 297 | 297 | uni.showToast({ | ... | ... |
lvdao-miniapp/pagesA/myZiyuan/myZiDetailsnew.vue
| ... | ... | @@ -49,12 +49,12 @@ |
| 49 | 49 | |
| 50 | 50 | <view class="form-item"> |
| 51 | 51 | <view class="label">实际使用面积</view> |
| 52 | - <text v-if='record.cereBasicInformationShop.actualUsableArea'>{{record.cereBasicInformationShop.actualUsableArea}}/M²</text> | |
| 52 | + <text v-if='record.cereBasicInformationShop.actualUsableArea'>{{record.cereBasicInformationShop.actualUsableArea}}m²</text> | |
| 53 | 53 | <text v-else>无</text> |
| 54 | 54 | </view> |
| 55 | 55 | <view class="form-item"> |
| 56 | 56 | <view class="label">产权面积</view> |
| 57 | - <text v-if='record.cereBasicInformationShop.propertyArea'>{{record.cereBasicInformationShop.propertyArea}}/M²</text> | |
| 57 | + <text v-if='record.cereBasicInformationShop.propertyArea'>{{record.cereBasicInformationShop.propertyArea}}m²</text> | |
| 58 | 58 | <text v-else>无</text> |
| 59 | 59 | </view> |
| 60 | 60 | <view class="form-item"> | ... | ... |
lvdao-miniapp/pagesA/rentPay/goPay.vue
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | </view> |
| 10 | 10 | <view style="height: 120rpx;"></view> |
| 11 | 11 | <view class="page-footer"> |
| 12 | - <u-button style="width: 100%;border-radius: 15px;" type="success" @click="submit">支付</u-button> | |
| 12 | + <u-button style="width: 100%;border-radius: 15px;" type="success" @click="submit">支付</u-button> | |
| 13 | 13 | </view> |
| 14 | 14 | </view> |
| 15 | 15 | </template> |
| ... | ... | @@ -18,68 +18,71 @@ |
| 18 | 18 | export default { |
| 19 | 19 | data() { |
| 20 | 20 | return { |
| 21 | - receivedMsg:[], | |
| 22 | - allPay:0 | |
| 23 | - } | |
| 21 | + receivedMsg: [], | |
| 22 | + allPay: 0 | |
| 23 | + } | |
| 24 | 24 | }, |
| 25 | 25 | onLoad(options) { |
| 26 | - if(options.msg){ | |
| 27 | - let receivedMsg = JSON.parse(options.msg) | |
| 28 | - this.receivedMsg = receivedMsg | |
| 29 | - receivedMsg.map(item=>{ | |
| 30 | - this.allPay += item.paymentAmount | |
| 31 | - }) | |
| 32 | - } | |
| 26 | + if (options.msg) { | |
| 27 | + let receivedMsg = JSON.parse(options.msg) | |
| 28 | + this.receivedMsg = receivedMsg | |
| 29 | + receivedMsg.map(item => { | |
| 30 | + this.allPay += item.paymentAmount | |
| 31 | + }) | |
| 32 | + } | |
| 33 | 33 | }, |
| 34 | 34 | onShow() { |
| 35 | - const isLogin = uni.getStorageSync('token'); | |
| 36 | - if (isLogin == '') { | |
| 37 | - // 如果未登录,跳转到登录页面 | |
| 38 | - uni.navigateTo({ | |
| 39 | - url: '/pages/login/login' | |
| 40 | - }) | |
| 41 | - } else { | |
| 42 | - | |
| 43 | - this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone}).then(res => { | |
| 44 | - if(res.data.code == '20004' || res.data.code == '20003'){ | |
| 45 | - uni.navigateTo({ | |
| 46 | - url: '/pages/login/login' | |
| 47 | - }) | |
| 48 | - } | |
| 49 | - }) | |
| 50 | - } | |
| 51 | - | |
| 52 | - }, | |
| 53 | - methods: { | |
| 54 | - submit(){ | |
| 55 | - | |
| 56 | - let arr = [] | |
| 57 | - this.receivedMsg.map(item=>{ | |
| 58 | - let obj = { | |
| 59 | - orderId:item.tenementOrder, | |
| 60 | - money:item.paymentAmount, | |
| 61 | - } | |
| 62 | - arr.push(obj) | |
| 35 | + const isLogin = uni.getStorageSync('token'); | |
| 36 | + if (isLogin == '') { | |
| 37 | + // 如果未登录,跳转到登录页面 | |
| 38 | + uni.navigateTo({ | |
| 39 | + url: '/pages/login/login' | |
| 40 | + }) | |
| 41 | + } else { | |
| 42 | + | |
| 43 | + this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST', { | |
| 44 | + "pageSize": 10, | |
| 45 | + pageNumber: 0, | |
| 46 | + phone: uni.getStorageSync('user').phone | |
| 47 | + }).then(res => { | |
| 48 | + if (res.data.code == '20004' || res.data.code == '20003') { | |
| 49 | + uni.navigateTo({ | |
| 50 | + url: '/pages/login/login' | |
| 63 | 51 | }) |
| 64 | - | |
| 65 | - // return | |
| 66 | - this.$http.sendRequest('/order/rentAggregatePayment','POST',arr,3).then(res => { | |
| 67 | - console.log(JSON.parse(res.data.data).data.codeUrl) | |
| 68 | - if(res.data.data){ | |
| 69 | - uni.redirectTo({ | |
| 70 | - url: `/pagesA/rentPay/webView?urls=${JSON.parse(res.data.data).data.codeUrl}` | |
| 71 | - }) | |
| 72 | - } | |
| 52 | + } | |
| 53 | + }) | |
| 54 | + } | |
| 55 | + | |
| 56 | + }, | |
| 57 | + methods: { | |
| 58 | + submit() { | |
| 59 | + | |
| 60 | + let arr = [] | |
| 61 | + this.receivedMsg.map(item => { | |
| 62 | + let obj = { | |
| 63 | + orderId: item.tenementOrder, | |
| 64 | + money: item.paymentAmount, | |
| 65 | + } | |
| 66 | + arr.push(obj) | |
| 67 | + }) | |
| 68 | + | |
| 69 | + // return | |
| 70 | + this.$http.sendRequest('/order/rentAggregatePayment', 'POST', arr, 3).then(res => { | |
| 71 | + console.log(JSON.parse(res.data.data).data.codeUrl) | |
| 72 | + if (res.data.data) { | |
| 73 | + uni.redirectTo({ | |
| 74 | + url: `/pagesA/rentPay/webView?urls=${JSON.parse(res.data.data).data.codeUrl}` | |
| 73 | 75 | }) |
| 74 | - | |
| 75 | 76 | } |
| 76 | - } | |
| 77 | -} | |
| 78 | - | |
| 77 | + }) | |
| 78 | + | |
| 79 | + } | |
| 80 | + } | |
| 81 | + } | |
| 79 | 82 | </script> |
| 80 | 83 | |
| 81 | 84 | <style scoped lang="scss"> |
| 82 | - .page{ | |
| 85 | + .page { | |
| 83 | 86 | position: absolute; |
| 84 | 87 | left: 0; |
| 85 | 88 | top: 0; |
| ... | ... | @@ -87,32 +90,36 @@ |
| 87 | 90 | height: 100%; |
| 88 | 91 | padding: 0 20rpx; |
| 89 | 92 | } |
| 90 | - .timsg{ | |
| 91 | - height:20vh; | |
| 93 | + | |
| 94 | + .timsg { | |
| 95 | + height: 20vh; | |
| 92 | 96 | text-align: center; |
| 93 | 97 | padding: 50px 0; |
| 94 | - .msgtitle{ | |
| 98 | + | |
| 99 | + .msgtitle { | |
| 95 | 100 | margin-bottom: 20px; |
| 96 | 101 | font-size: 30rpx; |
| 97 | 102 | color: #A4A4A4; |
| 98 | 103 | } |
| 104 | + | |
| 99 | 105 | .price { |
| 100 | 106 | color: #0FBB59; |
| 101 | 107 | font-size: 50rpx; |
| 102 | 108 | font-weight: 700; |
| 103 | 109 | } |
| 104 | 110 | } |
| 105 | - .page-footer{ | |
| 111 | + | |
| 112 | + .page-footer { | |
| 106 | 113 | position: fixed; |
| 107 | 114 | left: 0; |
| 108 | 115 | bottom: 0; |
| 109 | 116 | width: 100%; |
| 110 | - | |
| 117 | + | |
| 111 | 118 | background-color: #FFFFFF; |
| 112 | 119 | padding: 20rpx 20rpx; |
| 113 | 120 | padding-bottom: constant(safe-area-inset-bottom); |
| 114 | 121 | padding-bottom: env(safe-area-inset-bottom); |
| 115 | 122 | z-index: 999; |
| 116 | - | |
| 117 | - } | |
| 123 | + | |
| 124 | + } | |
| 118 | 125 | </style> |
| 119 | 126 | \ No newline at end of file | ... | ... |
lvdao-miniapp/pagesA/rentPay/rentPay.scss
| ... | ... | @@ -96,10 +96,9 @@ |
| 96 | 96 | bottom: 0; |
| 97 | 97 | width: 100%; |
| 98 | 98 | background-color: #FFFFFF; |
| 99 | - padding: 10rpx 20rpx; | |
| 100 | - padding-bottom: constant(safe-area-inset-bottom); | |
| 101 | - padding-bottom: env(safe-area-inset-bottom); | |
| 99 | + padding: 30rpx; | |
| 102 | 100 | z-index: 999; |
| 101 | + box-sizing: border-box; | |
| 103 | 102 | .footer-buy{ |
| 104 | 103 | display: flex; |
| 105 | 104 | align-items: center; |
| ... | ... | @@ -112,14 +111,7 @@ |
| 112 | 111 | min-width: 20%; |
| 113 | 112 | height: 70rpx; |
| 114 | 113 | } |
| 115 | - .buttons{ | |
| 116 | - font-size: 30rpx; | |
| 117 | 114 | |
| 118 | - margin: 0 10rpx !important; | |
| 119 | - height: 32px !important; | |
| 120 | - border-radius: 10rpx !important; | |
| 121 | - margin-top: 20rpx !important; | |
| 122 | -} | |
| 123 | 115 | .u-size-default.data-v-3bf2dba7 { |
| 124 | 116 | font-size: 30rpx; |
| 125 | 117 | height: 100% !important; | ... | ... |
lvdao-miniapp/pagesA/rentPay/rentPay.vue
| ... | ... | @@ -219,10 +219,32 @@ |
| 219 | 219 | payArr.push(item) |
| 220 | 220 | } |
| 221 | 221 | }) |
| 222 | - const msg = JSON.stringify(payArr) | |
| 223 | - uni.navigateTo({ | |
| 224 | - url: `/pagesA/rentPay/goPay?msg=${msg}` | |
| 222 | + | |
| 223 | + let arr = [] | |
| 224 | + payArr.map(item => { | |
| 225 | + let obj = { | |
| 226 | + orderId: item.tenementOrder, | |
| 227 | + money: item.paymentAmount, | |
| 228 | + } | |
| 229 | + arr.push(obj) | |
| 230 | + }) | |
| 231 | + | |
| 232 | + // return | |
| 233 | + this.$http.sendRequest('/order/rentAggregatePayment', 'POST', arr, 3).then(res => { | |
| 234 | + console.log(res.data) | |
| 235 | + if (res.data.data) { | |
| 236 | + // uni.redirectTo({ | |
| 237 | + // url: `/pagesA/rentPay/webView?urls=${JSON.parse(res.data.data).data.codeUrl}` | |
| 238 | + // }) | |
| 239 | + } | |
| 225 | 240 | }) |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + // const msg = JSON.stringify(payArr) | |
| 245 | + // uni.navigateTo({ | |
| 246 | + // url: `/pagesA/rentPay/goPay?msg=${msg}` | |
| 247 | + // }) | |
| 226 | 248 | } |
| 227 | 249 | }, |
| 228 | 250 | confirm(e) { | ... | ... |
lvdao-miniapp/pagesA/weball/web.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <view> | |
| 3 | + <web-view :src="url"></web-view> | |
| 4 | + </view> | |
| 5 | +</template> | |
| 6 | + | |
| 7 | +<script> | |
| 8 | + export default { | |
| 9 | + data() { | |
| 10 | + return { | |
| 11 | + url:'' | |
| 12 | + } | |
| 13 | + }, | |
| 14 | + onLoad(e) { | |
| 15 | + if(e.url) { | |
| 16 | + this.url = e.url | |
| 17 | + } | |
| 18 | + }, | |
| 19 | + methods: { | |
| 20 | + | |
| 21 | + } | |
| 22 | + } | |
| 23 | +</script> | |
| 24 | + | |
| 25 | +<style> | |
| 26 | + | |
| 27 | +</style> | ... | ... |
lvdao-miniapp/static/icon/icon1.png
lvdao-miniapp/static/icon/icon11.png
lvdao-miniapp/static/icon/icon12.png
lvdao-miniapp/static/icon/icon13.png
lvdao-miniapp/static/icon/icon14.png
lvdao-miniapp/static/icon/icon15.png
lvdao-miniapp/static/icon/icon16.png
lvdao-miniapp/static/icon/icon2.png
lvdao-miniapp/static/icon/icon4.png
lvdao-miniapp/static/icon/icon6.png
lvdao-miniapp/static/icon/icon7.png
lvdao-miniapp/utils/request.js
| ... | ... | @@ -21,16 +21,16 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 21 | 21 | // bases = 'https://zhgw.028wlkj.com:20443/cdwlMall/meserver/admin-server' + url; |
| 22 | 22 | // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server' + url; |
| 23 | 23 | |
| 24 | - bases = 'http://128.10.249.8:9003'+ url; | |
| 24 | + // bases = 'http://128.10.249.8:9003'+ url; | |
| 25 | 25 | // bases = 'https://zhld.028wlkj.com:49008/cdwlMall/admin-server' + url; |
| 26 | 26 | |
| 27 | - // bases = c1 + 'cdwlMall/meserver/admin-server' + url; | |
| 27 | + bases = c1 + 'cdwlMall/meserver/admin-server' + url; | |
| 28 | 28 | |
| 29 | 29 | }else if(baseUrl == 3){ |
| 30 | 30 | // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api' + url; |
| 31 | 31 | // bases = 'https://zhgw.028wlkj.com:20443/cdwlMall/meserver/api' + url; |
| 32 | 32 | // bases = 'http://128.10.249.22:9003:9007' + url; |
| 33 | - // bases = 'http://128.10.249.23:9007' + url; | |
| 33 | + // bases = 'http://128.10.249.8:9007' + url; | |
| 34 | 34 | bases = c1 + 'cdwlMall/meserver/api' + url; |
| 35 | 35 | |
| 36 | 36 | }else{ |
| ... | ... | @@ -39,7 +39,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 39 | 39 | // bases = 'http://172.16.61.123/cdwlMall/business-server' + url; |
| 40 | 40 | // bases = 'https://jy.scjysm.asia:18086/cdwlMall/business-server' + url; |
| 41 | 41 | // bases = 'https://zhgw.028wlkj.com:20443/cdwlMall/business-server' + url; |
| 42 | - // bases = 'http://128.10.249.23:9004' + url; | |
| 42 | + // bases = 'http://128.10.249.8:9004' + url; | |
| 43 | 43 | // bases = 'https://zhld.028wlkj.com:49008/cdwlMall/business-server' + url; |
| 44 | 44 | bases = c1 + 'cdwlMall/business-server' + url; |
| 45 | 45 | ... | ... |
lvdao-miniapp/utils/tool.js
0 → 100644
| 1 | +export function toMiniPay(payId, backPath) { | |
| 2 | + return new Promise((resolve, reject) =>{ | |
| 3 | + console.error(payId, backPath) | |
| 4 | + uni.navigateToMiniProgram({ | |
| 5 | + appId: "wxf0f8b911ac324457", //支付小程序的 | |
| 6 | + path:`pages/common/travelMini?payId=${payId}`, // 打开支付小程序的指定页面 | |
| 7 | + extraData: {}, //需要传递给目标小程序的数据 | |
| 8 | + envVersion: "trial", //打开的对应小程序环境:开发 develop、体验 tria1、生产 release | |
| 9 | + success: function() { | |
| 10 | + resolve(); //成功回调 | |
| 11 | + }, | |
| 12 | + fail: function(res) { | |
| 13 | + console.log(res); | |
| 14 | + if (backPath) { | |
| 15 | + uni.reLaunch({ | |
| 16 | + ur1: `${backPath}?paystate=CANCEL PAY` | |
| 17 | + }); | |
| 18 | + } else { | |
| 19 | + console.log("取消支付就停留在当前页"); | |
| 20 | + } | |
| 21 | + reject("跳转失败"); | |
| 22 | + } | |
| 23 | + }) | |
| 24 | + }) | |
| 25 | +} | |
| 0 | 26 | \ No newline at end of file | ... | ... |