Commit 884b4bcee765fe8bdc988972e41fc9e6c1e728e1
1 parent
20f3f580
1
Showing
5 changed files
with
266 additions
and
3 deletions
lvdao-miniapp/pages.json
| @@ -384,19 +384,26 @@ | @@ -384,19 +384,26 @@ | ||
| 384 | } | 384 | } |
| 385 | } | 385 | } |
| 386 | 386 | ||
| 387 | - | ||
| 388 | ], | 387 | ], |
| 389 | "subpackages": [{ | 388 | "subpackages": [{ |
| 390 | "root": "pagesA", | 389 | "root": "pagesA", |
| 391 | "name": "pagesA", | 390 | "name": "pagesA", |
| 392 | "pages": [ | 391 | "pages": [ |
| 393 | { | 392 | { |
| 393 | + "path": "hxlist/hxlist", | ||
| 394 | + "style": { | ||
| 395 | + "navigationBarBackgroundColor": "#FFFFFF", | ||
| 396 | + "navigationBarTitleText": "核销列表" | ||
| 397 | + } | ||
| 398 | + }, | ||
| 399 | + { | ||
| 394 | "path": "leaseAdd/leaseAdd", | 400 | "path": "leaseAdd/leaseAdd", |
| 395 | "style": { | 401 | "style": { |
| 396 | "navigationBarBackgroundColor": "#FFFFFF", | 402 | "navigationBarBackgroundColor": "#FFFFFF", |
| 397 | "navigationBarTitleText": "商家入驻" | 403 | "navigationBarTitleText": "商家入驻" |
| 398 | } | 404 | } |
| 399 | }, | 405 | }, |
| 406 | + | ||
| 400 | { | 407 | { |
| 401 | "path": "moreZu/moreZu", | 408 | "path": "moreZu/moreZu", |
| 402 | "style": { | 409 | "style": { |
lvdao-miniapp/pages/home/home.vue
| @@ -72,6 +72,14 @@ | @@ -72,6 +72,14 @@ | ||
| 72 | <text>物业缴费</text> | 72 | <text>物业缴费</text> |
| 73 | </view> | 73 | </view> |
| 74 | </view> | 74 | </view> |
| 75 | +<!-- <view class="list" @click="gopath('/pagesA/hxlist/hxlist')"> | ||
| 76 | + <view class="icon"> | ||
| 77 | + <image :src="$imgUrl('/home4.png')"></image> | ||
| 78 | + </view> | ||
| 79 | + <view class="title"> | ||
| 80 | + <text>预约核销</text> | ||
| 81 | + </view> | ||
| 82 | + </view> --> | ||
| 75 | <!-- <view class="list" @click="piaowu"> | 83 | <!-- <view class="list" @click="piaowu"> |
| 76 | <view class="icon"> | 84 | <view class="icon"> |
| 77 | <image :src="$imgUrl('/home5.png')"></image> | 85 | <image :src="$imgUrl('/home5.png')"></image> |
| @@ -564,6 +572,12 @@ | @@ -564,6 +572,12 @@ | ||
| 564 | console.log(itme) | 572 | console.log(itme) |
| 565 | this.onCouponTab(itme) | 573 | this.onCouponTab(itme) |
| 566 | }, | 574 | }, |
| 575 | + gopath(e){ | ||
| 576 | + uni.navigateTo({ | ||
| 577 | + url: e | ||
| 578 | + }) | ||
| 579 | + | ||
| 580 | + }, | ||
| 567 | wuye(){ | 581 | wuye(){ |
| 568 | uni.navigateTo({ | 582 | uni.navigateTo({ |
| 569 | url: `/pages/propertyPay/propertyPayList/propertyPayList` | 583 | url: `/pages/propertyPay/propertyPayList/propertyPayList` |
lvdao-miniapp/pages/message/message.scss
| @@ -123,7 +123,7 @@ | @@ -123,7 +123,7 @@ | ||
| 123 | .describe{ | 123 | .describe{ |
| 124 | width: 100%; | 124 | width: 100%; |
| 125 | margin-top: 10rpx; | 125 | margin-top: 10rpx; |
| 126 | - text{ | 126 | + view{ |
| 127 | font-size: 24rpx; | 127 | font-size: 24rpx; |
| 128 | color: #afafaf; | 128 | color: #afafaf; |
| 129 | display: -webkit-box; | 129 | display: -webkit-box; |
lvdao-miniapp/pages/message/message.vue
| @@ -26,7 +26,11 @@ | @@ -26,7 +26,11 @@ | ||
| 26 | </view> | 26 | </view> |
| 27 | 27 | ||
| 28 | <view class="describe"> | 28 | <view class="describe"> |
| 29 | - <text>{{tableList[0]?tableList[0].content:''}}</text> | 29 | + <view v-if="tableList.length>0" > |
| 30 | + <view v-html="tableList[0].content"></view> | ||
| 31 | + </view> | ||
| 32 | + <view v-else >暂无</view> | ||
| 33 | + <!-- <text>{{?tableList[0].content:''}}</text> --> | ||
| 30 | </view> | 34 | </view> |
| 31 | </view> | 35 | </view> |
| 32 | </view> | 36 | </view> |
lvdao-miniapp/pagesA/hxlist/hxlist.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <!-- 商务合作 --> | ||
| 3 | + <view class="page"> | ||
| 4 | + <!-- 搜索 --> | ||
| 5 | + <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | ||
| 6 | + <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> | ||
| 7 | + </view> | ||
| 8 | + <view class="goods-data"> | ||
| 9 | + <view class="goods-list"> | ||
| 10 | + <view class="good-item" v-for="(v, i) in list" :key="i" @click="toDetail(v)"> | ||
| 11 | + <view class="body"> | ||
| 12 | + <view class="info"> | ||
| 13 | + <view class="title">{{v.title}}</view> | ||
| 14 | + <view class="info-item">{{v.createTime}}</view> | ||
| 15 | + </view> | ||
| 16 | + <image :src="imgurl+v.coverImage" ></image> | ||
| 17 | + </view> | ||
| 18 | + </view> | ||
| 19 | + <!-- <u-loadmore :status="statuslist" @loadmore='loading' style="width: 100%; text-align: center;"/> --> | ||
| 20 | + </view> | ||
| 21 | + </view> | ||
| 22 | + <view style="position: fixed;bottom: 0;left: 0;width: 100%;padding-bottom: 40rpx;padding-top: 20rpx;background: #ffff;"> | ||
| 23 | + <view style="color:#fff;height:32px,;line-height:32px;border-radius:18rpx;background: #19be6b;"> | ||
| 24 | + 核销 | ||
| 25 | + </view> | ||
| 26 | + </view> | ||
| 27 | + </view> | ||
| 28 | +</template> | ||
| 29 | + | ||
| 30 | +<script> | ||
| 31 | + export default { | ||
| 32 | + data() { | ||
| 33 | + return { | ||
| 34 | + tabList:[ | ||
| 35 | + { name: '全部' }, | ||
| 36 | + { name: '待提交' }, | ||
| 37 | + { name: '待审核' }, | ||
| 38 | + { name: '通过' }, | ||
| 39 | + { name: '驳回' }, | ||
| 40 | + { name: '进行中' }, | ||
| 41 | + { name: '已结束' }, | ||
| 42 | + ], | ||
| 43 | + current: 0, | ||
| 44 | + datalist: [], | ||
| 45 | + total: 2, | ||
| 46 | + statuslist: 'loadmore', | ||
| 47 | + pagesize: { | ||
| 48 | + title: '', | ||
| 49 | + pageNumber: 1, | ||
| 50 | + pageSize: 10, | ||
| 51 | + status:'1', | ||
| 52 | + }, | ||
| 53 | + listIn:0, | ||
| 54 | + num:0, | ||
| 55 | + list:[], | ||
| 56 | + imgurl:'' | ||
| 57 | + | ||
| 58 | + }; | ||
| 59 | + }, | ||
| 60 | + onLoad(option) { | ||
| 61 | + this.imgurl = this.$img | ||
| 62 | + // console.log(option.id); | ||
| 63 | + // this.num = option.id; | ||
| 64 | + this.statuslist = 'nomore'; | ||
| 65 | + }, | ||
| 66 | + mounted() { | ||
| 67 | + this.getAll() | ||
| 68 | + }, | ||
| 69 | + onPullDownRefresh(e) { | ||
| 70 | + let that = this | ||
| 71 | + that.statuslist = 'loading'; | ||
| 72 | + this.page = 0; | ||
| 73 | + setTimeout(() => { | ||
| 74 | + that.datalist = [{}]; | ||
| 75 | + that.statuslist = that.datalist.length >= that.total ? 'nomore' : 'loadmore'; | ||
| 76 | + uni.stopPullDownRefresh(); | ||
| 77 | + }, 1000); | ||
| 78 | + }, | ||
| 79 | + onReachBottom(e) { | ||
| 80 | + // this.loading(); | ||
| 81 | + }, | ||
| 82 | + methods: { | ||
| 83 | + tabsChange(val) { | ||
| 84 | + this.current = val; | ||
| 85 | + }, | ||
| 86 | + search() { | ||
| 87 | + console.error('=========') | ||
| 88 | + this.getAll() | ||
| 89 | + }, | ||
| 90 | + getAll(){ | ||
| 91 | + this.$http.sendRequest('/cereBusinessCooperation/queryByPage', 'POST', this.pagesize,1).then(res => { | ||
| 92 | + this.list =res.data.data.content | ||
| 93 | + }) | ||
| 94 | + }, | ||
| 95 | + loading() { | ||
| 96 | + let that = this | ||
| 97 | + if(that.statuslist == 'nomore') return; | ||
| 98 | + that.statuslist = 'loading'; | ||
| 99 | + that.pagesize.pageNum = ++that.pagesize.pageNum; | ||
| 100 | + setTimeout(() => { | ||
| 101 | + let data = [{}, {}]; | ||
| 102 | + that.datalist = [...that.datalist, ...data]; | ||
| 103 | + console.log(that.datalist); | ||
| 104 | + that.statuslist = that.datalist.length >= that.total ? 'nomore' : 'loadmore'; | ||
| 105 | + }, 300) | ||
| 106 | + }, | ||
| 107 | + sel(val){ | ||
| 108 | + this.listIn = val | ||
| 109 | + }, | ||
| 110 | + toDetail(items) { | ||
| 111 | + let msg = JSON.stringify(items) | ||
| 112 | + uni.navigateTo({ | ||
| 113 | + url: `/pages/business/businessDetail/businessDetail?item=${msg}` | ||
| 114 | + }) | ||
| 115 | + | ||
| 116 | + }, | ||
| 117 | + reconciliationdetail() { | ||
| 118 | + | ||
| 119 | + }, | ||
| 120 | + toAdd() { | ||
| 121 | + uni.navigateTo({ | ||
| 122 | + url: '/pages/activityAdd/activityAdd' | ||
| 123 | + }) | ||
| 124 | + } | ||
| 125 | + } | ||
| 126 | + } | ||
| 127 | +</script> | ||
| 128 | + | ||
| 129 | +<style scoped lang="scss"> | ||
| 130 | + .page{ | ||
| 131 | + position: absolute; | ||
| 132 | + left: 0; | ||
| 133 | + top: 0; | ||
| 134 | + width: 100%; | ||
| 135 | + height: 100%; | ||
| 136 | + // padding: 0 40rpx; | ||
| 137 | + // background-color: #fff; | ||
| 138 | + } | ||
| 139 | + .head-search{ | ||
| 140 | + // display: flex; | ||
| 141 | + // align-items: center; | ||
| 142 | + // justify-content: space-between; | ||
| 143 | + // position: relative; | ||
| 144 | + margin: 20rpx 0; | ||
| 145 | + background-color: #FFFFFF; | ||
| 146 | + border-radius: 18rpx; | ||
| 147 | + // padding: 0 10rpx; | ||
| 148 | + border: 2rpx solid #E8E8E8; | ||
| 149 | + margin: 22rpx 24rpx; | ||
| 150 | + overflow: hidden; | ||
| 151 | + .u-search { | ||
| 152 | + position: relative; | ||
| 153 | + } | ||
| 154 | + .u-btn { | ||
| 155 | + border: unset; | ||
| 156 | + border: 0px transparent; | ||
| 157 | + height: 46rpx; | ||
| 158 | + width: 88rpx; | ||
| 159 | + font-size: 24rpx; | ||
| 160 | + border-radius: 35rpx; | ||
| 161 | + } | ||
| 162 | + } | ||
| 163 | + | ||
| 164 | + .goods-data{ | ||
| 165 | + width: 100%; | ||
| 166 | + .goods-list{ | ||
| 167 | + width: 100%; | ||
| 168 | + .good-item { | ||
| 169 | + width: 100%; | ||
| 170 | + background-color: #FFFFFF; | ||
| 171 | + border-bottom: #eee solid 1rpx; | ||
| 172 | + padding: 18rpx 10rpx; | ||
| 173 | + .body { | ||
| 174 | + display: flex; | ||
| 175 | + width: 100%; | ||
| 176 | + height: calc(100% - 70rpx); | ||
| 177 | + padding: 15rpx 18rpx; | ||
| 178 | + justify-content: space-around; | ||
| 179 | + image { | ||
| 180 | + width: 194rpx; | ||
| 181 | + height: 144rpx; | ||
| 182 | + border-radius: 8rpx; | ||
| 183 | + } | ||
| 184 | + .info { | ||
| 185 | + // flex: 1; | ||
| 186 | + width: calc(100% - 236rpx); | ||
| 187 | + .title { | ||
| 188 | + width: 100%; | ||
| 189 | + font-size: 28rpx; | ||
| 190 | + line-height: 44rpx; | ||
| 191 | + font-weight: 700; | ||
| 192 | + // white-space: nowrap; | ||
| 193 | + // overflow : hidden; | ||
| 194 | + // text-overflow: ellipsis; | ||
| 195 | + margin-bottom: 70rpx; | ||
| 196 | + } | ||
| 197 | + .info-item { | ||
| 198 | + line-height: 30rpx; | ||
| 199 | + font-size: 26rpx; | ||
| 200 | + color: #9FABB5; | ||
| 201 | + } | ||
| 202 | + } | ||
| 203 | + } | ||
| 204 | + } | ||
| 205 | + } | ||
| 206 | + } | ||
| 207 | + .page-footer{ | ||
| 208 | + position: fixed; | ||
| 209 | + left: 0; | ||
| 210 | + bottom: 0; | ||
| 211 | + width: 100%; | ||
| 212 | + height: 120rpx; | ||
| 213 | + background-color: #FFFFFF; | ||
| 214 | + padding: 20rpx 20rpx; | ||
| 215 | + padding-bottom: constant(safe-area-inset-bottom); | ||
| 216 | + padding-bottom: env(safe-area-inset-bottom); | ||
| 217 | + z-index: 999; | ||
| 218 | + .footer-buy{ | ||
| 219 | + display: flex; | ||
| 220 | + align-items: center; | ||
| 221 | + justify-content: space-between; | ||
| 222 | + width: 100%; | ||
| 223 | + height: 100%; | ||
| 224 | + .cart-add{ | ||
| 225 | + display: flex; | ||
| 226 | + align-items: center; | ||
| 227 | + justify-content: center; | ||
| 228 | + width: 100%; | ||
| 229 | + height: 70rpx; | ||
| 230 | + background-color: #3f9b6a; | ||
| 231 | + text{ | ||
| 232 | + font-size: 28rpx; | ||
| 233 | + color: #FFFFFF; | ||
| 234 | + } | ||
| 235 | + } | ||
| 236 | + } | ||
| 237 | + } | ||
| 238 | +</style> |