Commit 2feeb765e2d169a4317373141a108c562486555e
1 parent
63d2069f
1
Showing
13 changed files
with
549 additions
and
8 deletions
apis/modules/ly.js
| 1 | 1 | import request from '../../service/request.js' |
| 2 | 2 | import utils from '../../service/utils.js' |
| 3 | 3 | export default { |
| 4 | + // 活动列表查询 | |
| 5 | + getactivityInfoSheet(pages){ | |
| 6 | + return request.get('/boundary/activityInfoSheet/list',pages); | |
| 7 | + }, | |
| 8 | + // 详情活动列表查询 | |
| 9 | + getactivityInfoSheetdetail(pages){ | |
| 10 | + return request.get('/boundary/activityInfoSheet/'+pages); | |
| 11 | + }, | |
| 4 | 12 | // 获取详情界桩 |
| 5 | 13 | getariesInfo(data){ |
| 6 | 14 | return request.get('/areBoundary/ariesInfo/'+data) | ... | ... |
pages.json
| ... | ... | @@ -462,6 +462,29 @@ |
| 462 | 462 | "enablePullDownRefresh": false, |
| 463 | 463 | "navigationStyle": "custom" |
| 464 | 464 | } |
| 465 | + }, | |
| 466 | + { | |
| 467 | + "path" : "pages/activity/activity", | |
| 468 | + "style" : | |
| 469 | + { | |
| 470 | + "navigationBarTitleText" : "活动详情", | |
| 471 | + "enablePullDownRefresh" : false | |
| 472 | + } | |
| 473 | + }, | |
| 474 | + { | |
| 475 | + "path" : "pages/activitylist/activitylist", | |
| 476 | + "style" : | |
| 477 | + { | |
| 478 | + "navigationBarTitleText" : "活动列表", | |
| 479 | + "enablePullDownRefresh" : false | |
| 480 | + } | |
| 481 | + }, | |
| 482 | + { | |
| 483 | + "path" : "pages/webviewyl/webviewyl", | |
| 484 | + "style" : | |
| 485 | + { | |
| 486 | + "navigationStyle": "custom" | |
| 487 | + } | |
| 465 | 488 | } |
| 466 | 489 | ], |
| 467 | 490 | "globalStyle": { | ... | ... |
pages/activity/activity.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <view class="page"> | |
| 3 | + <!-- <pyh-nv ref="nv" :config="nvConfig"></pyh-nv> --> | |
| 4 | + <view class="listBox" > | |
| 5 | + <view class="content" | |
| 6 | + style="padding: 20rpx 40rpx;display: flex;flex-direction: column;align-items: center;background-color: #fff;"> | |
| 7 | + <view class="" style="margin-bottom: 30rpx;margin-top: 20rpx;font-weight: 600;font-size: 38rpx;"> | |
| 8 | + {{info.activityName}} | |
| 9 | + </view> | |
| 10 | + <view class="" | |
| 11 | + style="font-size: 20rpx;text-align: left;width: 100%;"> | |
| 12 | + <view style="margin-bottom: 10rpx;">活动人数:{{info.activityNumber}}</view> | |
| 13 | + <view style="margin-bottom: 10rpx;">活动开始日期:{{info.eventStartDate}}</view> | |
| 14 | + <view style="margin-bottom: 10rpx;">活动结束日期:{{info.eventEndDate}}</view> | |
| 15 | + </view> | |
| 16 | + <swiper v-if="info.activeImage" style="height: 500rpx;width: 100%;" circular :indicator-dots="true" :autoplay="true"> | |
| 17 | + <swiper-item v-for="(item,index) in info.activeImage"> | |
| 18 | + <view style="display: block;"> | |
| 19 | + <image :src="BASE_URL+item" ></image> | |
| 20 | + </view> | |
| 21 | + </swiper-item> | |
| 22 | + | |
| 23 | + </swiper> | |
| 24 | + <!-- <image v-if="info.coverImage" :src="BASE_URL+info.coverImage" style="width: 100%;" mode="widthFix"></image> --> | |
| 25 | + <view class="" style="margin-top: 20rpx;margin-bottom: 20rpx;width: 100%;"> | |
| 26 | + <view style="width: 100%;word-break:break-all;word-wrap:break-word;" v-html="info.eventContent"> | |
| 27 | + </view> | |
| 28 | + <!-- <u-parse :content="info.content"></u-parse> --> | |
| 29 | + </view> | |
| 30 | + | |
| 31 | + | |
| 32 | + </view> | |
| 33 | + </view> | |
| 34 | + | |
| 35 | + </view> | |
| 36 | +</template> | |
| 37 | + | |
| 38 | +<script> | |
| 39 | + import BASE_URL from "@/common/config.js" | |
| 40 | + export default { | |
| 41 | + data() { | |
| 42 | + return { | |
| 43 | + BASE_URL, | |
| 44 | + OrderType: 0, | |
| 45 | + info: {}, | |
| 46 | + nvConfig: { | |
| 47 | + title: "详情", | |
| 48 | + bgColor: "#ffffff", | |
| 49 | + color: "#000000", | |
| 50 | + fixedAssist: { | |
| 51 | + hide: true, | |
| 52 | + }, | |
| 53 | + }, | |
| 54 | + }; | |
| 55 | + }, | |
| 56 | + onPageScroll(e) { | |
| 57 | + this.$refs.nv.pageScroll(e) | |
| 58 | + }, | |
| 59 | + computed: { | |
| 60 | + pageTop() { | |
| 61 | + return parseInt(88 * uni.getSystemInfoSync().windowWidth / 750) + uni.getSystemInfoSync().statusBarHeight | |
| 62 | + } | |
| 63 | + }, | |
| 64 | + onLoad(params) { | |
| 65 | + console.log(params.id) | |
| 66 | + this.gain(params.id) | |
| 67 | + // this.info = JSON.parse(params.cent) | |
| 68 | + // this.nvConfig.title = this.info.title | |
| 69 | + // console.log(this.info) | |
| 70 | + // this.OrderType = params.type; | |
| 71 | + }, | |
| 72 | + methods: { | |
| 73 | + gain(e) { | |
| 74 | + this.API.getactivityInfoSheetdetail(e).then(res => { | |
| 75 | + console.log(res); | |
| 76 | + this.info = res.data | |
| 77 | + if(this.info.activeImage) { | |
| 78 | + this.info.activeImage = this.info.activeImage.split(',') | |
| 79 | + } | |
| 80 | + | |
| 81 | + // this.nvConfig.title = this.info.title | |
| 82 | + }) | |
| 83 | + }, | |
| 84 | + downfile(e) { | |
| 85 | + | |
| 86 | + let that = this | |
| 87 | + console.log(that.BASE_URL + e) | |
| 88 | + let c1 = e.split('.') | |
| 89 | + console.log(c1) | |
| 90 | + uni.downloadFile({ | |
| 91 | + url: that.BASE_URL + e, | |
| 92 | + header: { | |
| 93 | + 'content-type': "application/json", | |
| 94 | + }, | |
| 95 | + // filePath: wx.env.USER_DATA_PATH + e, | |
| 96 | + success: (res) => { | |
| 97 | + console.log(res) | |
| 98 | + if (res.statusCode === 200) { | |
| 99 | + const savedFilePath = res.tempFilePath | |
| 100 | + uni.openDocument({ | |
| 101 | + filePath: savedFilePath, | |
| 102 | + fileType: c1[1], //注意:文件为pdf,类型为pdf | |
| 103 | + showMenu: true, | |
| 104 | + success: (response) => { | |
| 105 | + console.log(response) | |
| 106 | + }, | |
| 107 | + fail: (err) => { | |
| 108 | + console.log(err) | |
| 109 | + wx.hideLoading() | |
| 110 | + } | |
| 111 | + }) | |
| 112 | + } else { | |
| 113 | + wx.hideLoading() | |
| 114 | + } | |
| 115 | + }, | |
| 116 | + fail: (err) => { | |
| 117 | + console.log(err) | |
| 118 | + wx.hideLoading() | |
| 119 | + | |
| 120 | + }, | |
| 121 | + complete: () => { | |
| 122 | + wx.hideLoading() | |
| 123 | + } | |
| 124 | + }) | |
| 125 | + } | |
| 126 | + } | |
| 127 | + } | |
| 128 | +</script> | |
| 129 | + | |
| 130 | +<style scoped lang="scss"> | |
| 131 | + .skip-btn { | |
| 132 | + display: flex; | |
| 133 | + align-items: center; | |
| 134 | + justify-content: center; | |
| 135 | + width: 100%; | |
| 136 | + height: 100rpx; | |
| 137 | + margin-top: 70rpx; | |
| 138 | + position: fixed; | |
| 139 | + bottom: 30rpx; | |
| 140 | + | |
| 141 | + .cart-add { | |
| 142 | + display: flex; | |
| 143 | + align-items: center; | |
| 144 | + justify-content: center; | |
| 145 | + width: 38%; | |
| 146 | + | |
| 147 | + image { | |
| 148 | + width: 253rpx; | |
| 149 | + height: 80rpx; | |
| 150 | + box-shadow: 5rpx 10rpx 20rpx 0 #efefef; | |
| 151 | + border-radius: 100rpx; | |
| 152 | + } | |
| 153 | + | |
| 154 | + text { | |
| 155 | + font-size: 30rpx; | |
| 156 | + font-weight: bold; | |
| 157 | + color: #262626; | |
| 158 | + position: absolute; | |
| 159 | + z-index: 1; | |
| 160 | + } | |
| 161 | + } | |
| 162 | + | |
| 163 | + .buy-at { | |
| 164 | + display: flex; | |
| 165 | + align-items: center; | |
| 166 | + justify-content: center; | |
| 167 | + width: 58%; | |
| 168 | + | |
| 169 | + image { | |
| 170 | + width: 415rpx; | |
| 171 | + height: 80rpx; | |
| 172 | + box-shadow: 5rpx 10rpx 20rpx 0 #b7c8ff; | |
| 173 | + border-radius: 100rpx; | |
| 174 | + } | |
| 175 | + | |
| 176 | + text { | |
| 177 | + font-size: 30rpx; | |
| 178 | + font-weight: bold; | |
| 179 | + color: #FFFFFF; | |
| 180 | + position: absolute; | |
| 181 | + z-index: 1; | |
| 182 | + } | |
| 183 | + } | |
| 184 | + } | |
| 185 | + | |
| 186 | + .listBox { | |
| 187 | + position: relative; | |
| 188 | + z-index: 1; | |
| 189 | + } | |
| 190 | + | |
| 191 | + .content { | |
| 192 | + width: 100%; | |
| 193 | + } | |
| 194 | + | |
| 195 | + /* 订单列表 */ | |
| 196 | + .order-list { | |
| 197 | + width: 100%; | |
| 198 | + padding-bottom: 10rpx; | |
| 199 | + | |
| 200 | + .list { | |
| 201 | + padding: 30rpx; | |
| 202 | + background-color: #FFFFFF; | |
| 203 | + border-radius: 20rpx; | |
| 204 | + margin: 25rpx; | |
| 205 | + | |
| 206 | + .title-status { | |
| 207 | + display: flex; | |
| 208 | + align-items: center; | |
| 209 | + justify-content: space-between; | |
| 210 | + width: 100%; | |
| 211 | + height: 100rpx; | |
| 212 | + | |
| 213 | + .title { | |
| 214 | + display: flex; | |
| 215 | + align-items: center; | |
| 216 | + | |
| 217 | + text { | |
| 218 | + font-size: 26rpx; | |
| 219 | + color: #A7A7A7; | |
| 220 | + } | |
| 221 | + | |
| 222 | + image { | |
| 223 | + width: 18rpx; | |
| 224 | + height: 18rpx; | |
| 225 | + margin-left: 10rpx; | |
| 226 | + } | |
| 227 | + } | |
| 228 | + | |
| 229 | + .status { | |
| 230 | + display: flex; | |
| 231 | + align-items: center; | |
| 232 | + | |
| 233 | + text { | |
| 234 | + font-size: 26rpx; | |
| 235 | + color: #EE8952; | |
| 236 | + } | |
| 237 | + } | |
| 238 | + } | |
| 239 | + | |
| 240 | + .goods-list { | |
| 241 | + width: 100%; | |
| 242 | + | |
| 243 | + .goods { | |
| 244 | + display: flex; | |
| 245 | + justify-content: space-between; | |
| 246 | + width: 100%; | |
| 247 | + position: relative; | |
| 248 | + | |
| 249 | + .goods-name { | |
| 250 | + width: 65%; | |
| 251 | + font-size: 26rpx; | |
| 252 | + color: #A7A7A7; | |
| 253 | + | |
| 254 | + .goods-name-title { | |
| 255 | + font-size: 30rpx; | |
| 256 | + color: #3d3d3d; | |
| 257 | + font-weight: bold; | |
| 258 | + margin-bottom: 20rpx; | |
| 259 | + } | |
| 260 | + } | |
| 261 | + | |
| 262 | + .btn { | |
| 263 | + width: 200rpx; | |
| 264 | + height: 58rpx; | |
| 265 | + position: absolute; | |
| 266 | + bottom: 0; | |
| 267 | + right: 0; | |
| 268 | + | |
| 269 | + text { | |
| 270 | + font-size: 28rpx; | |
| 271 | + color: #fff; | |
| 272 | + position: absolute; | |
| 273 | + width: 200rpx; | |
| 274 | + line-height: 58rpx; | |
| 275 | + text-align: center; | |
| 276 | + z-index: 1; | |
| 277 | + } | |
| 278 | + | |
| 279 | + image { | |
| 280 | + width: 200rpx; | |
| 281 | + height: 58rpx; | |
| 282 | + position: absolute; | |
| 283 | + z-index: 0; | |
| 284 | + box-shadow: 5rpx 10rpx 20rpx 0 #b7c8ff; | |
| 285 | + border-radius: 100rpx; | |
| 286 | + } | |
| 287 | + } | |
| 288 | + } | |
| 289 | + } | |
| 290 | + } | |
| 291 | + } | |
| 292 | +</style> | |
| 0 | 293 | \ No newline at end of file | ... | ... |
pages/activitylist/activitylist.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <view> | |
| 3 | + <view v-if="list.length>0"> | |
| 4 | + <view class="content" @click="xwtz('/pages/activity/activity?id='+item.id)" v-for="(item,index) in list" :key="index"> | |
| 5 | + <view class="box_item"> | |
| 6 | + <view class="box_left"> | |
| 7 | + <span class="f1">{{item.activityName}}</span> | |
| 8 | + <span class="f2">{{item.eventStartDate?item.eventStartDate:'-'}}{{item.eventEndDate?'至'+item.eventEndDate:'-'}}</span> | |
| 9 | + </view> | |
| 10 | + <view class="box_right" v-if="item.activeImage"> | |
| 11 | + <view class="images"> | |
| 12 | + <image :src="BASE_URL + item.activeImage[0]" style="width: 100%;height: 100%;border-radius: 20rpx;" mode="aspectFill"></image> | |
| 13 | + </view> | |
| 14 | + </view> | |
| 15 | + </view> | |
| 16 | + </view> | |
| 17 | + </view> | |
| 18 | + <view v-else style="width: 100%;text-align: center;margin-top: 100rpx;font-size: 30rpx;"> | |
| 19 | + 暂无数据 | |
| 20 | + </view> | |
| 21 | + </view> | |
| 22 | +</template> | |
| 23 | + | |
| 24 | +<script> | |
| 25 | + import BASE_URL from "@/common/config.js" | |
| 26 | + export default { | |
| 27 | + data() { | |
| 28 | + return { | |
| 29 | + BASE_URL, | |
| 30 | + list: [], | |
| 31 | + from:{ | |
| 32 | + activeStatus:'展示', | |
| 33 | + activeType:'' | |
| 34 | + } | |
| 35 | + } | |
| 36 | + }, | |
| 37 | + onLoad(e) { | |
| 38 | + if(e.activeType){ | |
| 39 | + this.from.activeType = e.activeType | |
| 40 | + } | |
| 41 | + this.getlist() | |
| 42 | + }, | |
| 43 | + methods: { | |
| 44 | + getlist() { | |
| 45 | + this.API.getactivityInfoSheet(this.from).then(res => { | |
| 46 | + console.log(res); | |
| 47 | + for (let i = 0; i < res.rows.length; i++) { | |
| 48 | + if(res.rows[i].activeImage) { | |
| 49 | + res.rows[i].activeImage = res.rows[i].activeImage.split(',') | |
| 50 | + } | |
| 51 | + | |
| 52 | + } | |
| 53 | + this.list = res.rows | |
| 54 | + | |
| 55 | + }) | |
| 56 | + }, | |
| 57 | + xwtz(e) { | |
| 58 | + uni.navigateTo({ | |
| 59 | + url: e | |
| 60 | + }) | |
| 61 | + } | |
| 62 | + } | |
| 63 | + } | |
| 64 | +</script> | |
| 65 | + | |
| 66 | +<style lang="scss"> | |
| 67 | + .content { | |
| 68 | + padding: 20rpx; | |
| 69 | + | |
| 70 | + .box_item { | |
| 71 | + background-color: #fff; | |
| 72 | + display: flex; | |
| 73 | + padding: 20rpx; | |
| 74 | + border-radius: 20rpx; | |
| 75 | + height: 200rpx; | |
| 76 | + | |
| 77 | + .box_left { | |
| 78 | + display: flex; | |
| 79 | + flex-direction: column; | |
| 80 | + justify-content: space-between; | |
| 81 | + width: 100%; | |
| 82 | + // margin-right: 2%; | |
| 83 | + | |
| 84 | + .f1 { | |
| 85 | + font-size: 35rpx; | |
| 86 | + font-weight: 600; | |
| 87 | + display: block; | |
| 88 | + margin-bottom: 20rpx; | |
| 89 | + } | |
| 90 | + | |
| 91 | + .f2 { | |
| 92 | + color: #ababab; | |
| 93 | + } | |
| 94 | + } | |
| 95 | + | |
| 96 | + .box_right { | |
| 97 | + width: 40%; | |
| 98 | + | |
| 99 | + .images { | |
| 100 | + // background-color: #ababab; | |
| 101 | + height: 160rpx; | |
| 102 | + width: 100%; | |
| 103 | + // background-image: url("http://antis14.sherkxuan.cn/assets/images/a1.png"); | |
| 104 | + // background-size: 100% 100%; | |
| 105 | + } | |
| 106 | + } | |
| 107 | + } | |
| 108 | + } | |
| 109 | +</style> | |
| 0 | 110 | \ No newline at end of file | ... | ... |
pages/declaration/list.vue
| ... | ... | @@ -70,7 +70,7 @@ |
| 70 | 70 | 政策文件 |
| 71 | 71 | </view> |
| 72 | 72 | </view> |
| 73 | - <view @click="gopath('/pages/policy/policy')" style="width: 49%;padding: 50rpx 30rpx;background: rgba(255,255,255,0.63);border-radius: 30rpx;margin-top:20rpx;"> | |
| 73 | + <view @click="gopath('/pages/activitylist/activitylist?activeType=区划')" style="width: 49%;padding: 50rpx 30rpx;background: rgba(255,255,255,0.63);border-radius: 30rpx;margin-top:20rpx;"> | |
| 74 | 74 | <view style="width: 50%;margin: 0 auto;"> |
| 75 | 75 | <image style="height: 120rpx;width: 100%;" src="/static/new/image 4.png" mode="aspectFit"></image> |
| 76 | 76 | </view> | ... | ... |
pages/home/home.vue
| ... | ... | @@ -64,6 +64,49 @@ |
| 64 | 64 | <view class="title"> |
| 65 | 65 | <view class="box1"> |
| 66 | 66 | <image src="../../static/new/矩形 331.png" mode=""></image> |
| 67 | + <span>养老服务</span> | |
| 68 | + </view> | |
| 69 | + </view> | |
| 70 | + <view class="content" style="padding-bottom: 0;"> | |
| 71 | + <view class="box_item" @click="goyl('http://icare.rsxmzj.91xxt.com:81/admin/resources/wsShop/html/index/oIndex_index.html')"> | |
| 72 | + <view style="margin-bottom: 20rpx;"> | |
| 73 | + <image src="../../static/yl/image-2.png" style="height: 100rpx;" mode="heightFix"></image> | |
| 74 | + </view> | |
| 75 | + <view class="text">服务预约</view> | |
| 76 | + </view> | |
| 77 | + <view class="box_item" @click="goyl('http://icare.rsxmzj.91xxt.com:81/admin/resources/H5_YLZS/html/login.html')"> | |
| 78 | + <view style="margin-bottom: 20rpx;"> | |
| 79 | + <image src="../../static/yl/image.png" style="height: 100rpx;" mode="heightFix"></image> | |
| 80 | + </view> | |
| 81 | + <view class="text">高龄津贴认证</view> | |
| 82 | + </view> | |
| 83 | + <view class="box_item" @click="goyl('http://show.rsxmzj.91xxt.com:81/2020/orgMap/html/map/list.html')"> | |
| 84 | + <view style="margin-bottom: 20rpx;"> | |
| 85 | + <image src="../../static/yl/image-4.png" style="height: 100rpx;" mode="heightFix"></image> | |
| 86 | + </view> | |
| 87 | + <view class="text">关爱地图</view> | |
| 88 | + </view> | |
| 89 | + | |
| 90 | + <view class="box_item" @click="goyl('http://icare.rsxmzj.91xxt.com:81/admin/mobile/meal_aid_copy/html/login.html')"> | |
| 91 | + <view style="margin-bottom: 20rpx;"> | |
| 92 | + <image src="../../static/yl/image-5.png" style="height: 100rpx;" mode="heightFix"></image> | |
| 93 | + </view> | |
| 94 | + <view class="text">养老助餐</view> | |
| 95 | + </view> | |
| 96 | + </view> | |
| 97 | + <view class="content" style="padding-top: 0;"> | |
| 98 | + <view class="box_item" @click="goyl('http://cwservice.rsxmzj.91xxt.com:81/icare-admin/resources/cwbt/html/login.html')"> | |
| 99 | + <view style="margin-bottom: 20rpx;"> | |
| 100 | + <image src="../../static/yl/image-3.png" style="height: 100rpx;" mode="heightFix"></image> | |
| 101 | + </view> | |
| 102 | + <view class="text">床位补贴机构资质申请</view> | |
| 103 | + </view> | |
| 104 | + </view> | |
| 105 | + </view> | |
| 106 | + <view class="xw" style=""> | |
| 107 | + <view class="title"> | |
| 108 | + <view class="box1"> | |
| 109 | + <image src="../../static/new/矩形 331.png" mode=""></image> | |
| 67 | 110 | <span>未成年服务</span> |
| 68 | 111 | </view> |
| 69 | 112 | </view> |
| ... | ... | @@ -80,6 +123,12 @@ |
| 80 | 123 | </view> |
| 81 | 124 | <view class="text">悄悄话</view> |
| 82 | 125 | </view> |
| 126 | + <!-- <view class="box_item" @click="gopath('/pages/activitylist/activitylist?activeType=未成年')"> | |
| 127 | + <view style="margin-bottom: 20rpx;"> | |
| 128 | + <image src="/static/new/image 4.png" style="height: 100rpx;" mode="heightFix"></image> | |
| 129 | + </view> | |
| 130 | + <view class="text">未成年活动</view> | |
| 131 | + </view> --> | |
| 83 | 132 | </view> |
| 84 | 133 | </view> |
| 85 | 134 | |
| ... | ... | @@ -138,12 +187,7 @@ |
| 138 | 187 | </view> |
| 139 | 188 | <view class="text">政策文件</view> |
| 140 | 189 | </view> |
| 141 | - <view class="box_item" @click="gopath('/pages/policy/policy')"> | |
| 142 | - <view style="margin-bottom: 20rpx;"> | |
| 143 | - <image src="/static/new/image 4.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 144 | - </view> | |
| 145 | - <view class="text">区划活动</view> | |
| 146 | - </view> | |
| 190 | + | |
| 147 | 191 | </view> |
| 148 | 192 | </view> |
| 149 | 193 | |
| ... | ... | @@ -183,7 +227,22 @@ |
| 183 | 227 | </view> |
| 184 | 228 | </view> |
| 185 | 229 | </view> |
| 186 | - | |
| 230 | + <view class="xw" style="padding-top: 20rpx;padding-left: 20rpx;"> | |
| 231 | + <view class="title"> | |
| 232 | + <view class="box1"> | |
| 233 | + <image src="../../static/new/矩形 331.png" mode=""></image> | |
| 234 | + <span>活动服务</span> | |
| 235 | + </view> | |
| 236 | + </view> | |
| 237 | + <view class="content" > | |
| 238 | + <view class="box_item" @click="gopath('/pages/activitylist/activitylist')"> | |
| 239 | + <view style="margin-bottom: 20rpx;"> | |
| 240 | + <image src="/static/new/image 4.png" style="width: 60%;height: 90rpx;" mode=""></image> | |
| 241 | + </view> | |
| 242 | + <view class="text">活动</view> | |
| 243 | + </view> | |
| 244 | + </view> | |
| 245 | + </view> | |
| 187 | 246 | |
| 188 | 247 | </view> |
| 189 | 248 | </view> |
| ... | ... | @@ -234,6 +293,12 @@ |
| 234 | 293 | uni.hideTabBar(); |
| 235 | 294 | }, |
| 236 | 295 | methods: { |
| 296 | + goyl(e) { | |
| 297 | + console.log(e) | |
| 298 | + uni.navigateTo({ | |
| 299 | + url: '/pages/webviewyl/webviewyl?url='+e | |
| 300 | + }) | |
| 301 | + }, | |
| 237 | 302 | // |
| 238 | 303 | funeralculture() { |
| 239 | 304 | uni.setStorageSync('dh', 1) | ... | ... |
pages/receiptRegistration/receiptRegistration.vue
| ... | ... | @@ -18,6 +18,14 @@ |
| 18 | 18 | 乡镇上报 |
| 19 | 19 | </view> |
| 20 | 20 | </view> |
| 21 | + <view @click="gopath('/pages/activitylist/activitylist?activeType=未成年')" style="width: 49%;padding: 50rpx 30rpx;background: rgba(255,255,255,0.63);border-radius: 30rpx;margin-top: 30rpx;"> | |
| 22 | + <view style="width: 50%;margin: 0 auto;"> | |
| 23 | + <image style="height: 120rpx;width: 100%;" mode="aspectFit" src="../../static/new/image 4.png"></image> | |
| 24 | + </view> | |
| 25 | + <view style="width: 100%;color: #3D3D3D;text-align: center;font-size: 25rpx;margin-top: 10rpx;"> | |
| 26 | + 未成年活动 | |
| 27 | + </view> | |
| 28 | + </view> | |
| 21 | 29 | </view> |
| 22 | 30 | </view> |
| 23 | 31 | </template> | ... | ... |
pages/webviewyl/webviewyl.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <view> | |
| 3 | + <!-- <web-view :webview-styles="webviewStyles" src="https://show.91xxt.com/2023/renshou/index.html"></web-view> --> | |
| 4 | + <web-view :webview-styles="webviewStyles" :src="url"></web-view> | |
| 5 | + </view> | |
| 6 | +</template> | |
| 7 | + | |
| 8 | +<script> | |
| 9 | + import md5 from "../../common/md5.js"; | |
| 10 | + export default { | |
| 11 | + data() { | |
| 12 | + return { | |
| 13 | + url:"", | |
| 14 | + t:0, | |
| 15 | + time:0, | |
| 16 | + url:null | |
| 17 | + } | |
| 18 | + }, | |
| 19 | + onLoad(e) { | |
| 20 | + console.log(e) | |
| 21 | + this.url = e.url | |
| 22 | + // console.log(uni.getStorageSync("USERS_KEY")); | |
| 23 | + // this.t = uni.getStorageSync("USERS_KEY").phonenumber | |
| 24 | + // this.time = new Date().getTime(); | |
| 25 | + // // Let encryptedstr CryptoJs.MD5(t + time).tostring(); | |
| 26 | + // var encryptedstr = md5.hex_md5(this.t + this.time + "rszhmz@2023"); | |
| 27 | + // console.log("1",this.t,this.time); | |
| 28 | + // console.log("2",encryptedstr); | |
| 29 | + // this.url = encryptedstr | |
| 30 | + } | |
| 31 | + } | |
| 32 | +</script> | |
| 33 | + | |
| 34 | +<style> | |
| 35 | + | |
| 36 | +</style> | ... | ... |
static/yl/image-2.png
0 → 100644
13.8 KB
static/yl/image-3.png
0 → 100644
15.2 KB
static/yl/image-4.png
0 → 100644
20.2 KB
static/yl/image-5.png
0 → 100644
20.5 KB
static/yl/image.png
0 → 100644
22.8 KB