32 changed files with 1302 additions and 26 deletions
@ -0,0 +1,8 @@ |
|||
<template> |
|||
</template> |
|||
|
|||
<script> |
|||
</script> |
|||
|
|||
<style> |
|||
</style> |
@ -0,0 +1,153 @@ |
|||
<template> |
|||
<view class="bg"> |
|||
<image :src="showImg(topImg)" mode="aspectFill" class="topImg"></image> |
|||
|
|||
<view class="type-box flex-around"> |
|||
<view v-for="(item,index) in typeList" :key="index" :class="index == typeIndex ? 'type-active' : ''" @click="changeType(index)"> |
|||
{{item.title}} |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="box flex-between"> |
|||
<view v-for="(item,index) in list" :key="index" class="item"> |
|||
<image :src="showImgs(item.headimg)" mode="aspectFill"></image> |
|||
<view class="content flex-column"> |
|||
<view class="title text-overflowRows">{{item.title}}</view> |
|||
<view class="price">{{item.price / 100}}</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
topImg: 'https://static.ticket.sz-trip.com/changshu/images/rim/topImg.png', |
|||
typeList: [ |
|||
{title: '景点', id: '616'}, |
|||
{title: '线路', id: '617'}, |
|||
{title: '特产', id: '618'}, |
|||
], |
|||
typeIndex: 0, |
|||
list: [], |
|||
limit: 10 |
|||
} |
|||
}, |
|||
onReady() { |
|||
this.getList() |
|||
}, |
|||
onReachBottom() { |
|||
setTimeout(() => { |
|||
if (!this.isLoading) this.getList(); |
|||
}, 500); |
|||
}, |
|||
methods: { |
|||
changeType(index) { |
|||
this.typeIndex = index |
|||
this.list = [] |
|||
this.getList() |
|||
}, |
|||
getList() { |
|||
this.Post({ |
|||
apiType: 'jdsz', |
|||
tag_id: this.typeList[this.typeIndex].id, |
|||
offset: this.list.length, |
|||
limit: this.limit, |
|||
}, '/api/product/get_product_by_tag').then(res => { |
|||
if(res) { |
|||
if(res.data.list.length < this.limit) this.isLoading = true |
|||
this.list = this.list.concat(res.data.list) |
|||
} |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.bg { |
|||
width: 750rpx; |
|||
min-height: 100vh; |
|||
background: #F7F7F7; |
|||
padding-bottom: 100rpx; |
|||
} |
|||
|
|||
.topImg { |
|||
width: 100%; |
|||
height: 309.33rpx; |
|||
} |
|||
|
|||
.type-box { |
|||
width: 750rpx; |
|||
height: 93rpx; |
|||
background: #FFFFFF; |
|||
font-weight: 500; |
|||
font-size: 35rpx; |
|||
color: #333333; |
|||
|
|||
.type-active { |
|||
font-weight: bold; |
|||
font-size: 35rpx; |
|||
color: #00AEA0; |
|||
position: relative; |
|||
} |
|||
.type-active::after { |
|||
content: ""; |
|||
position: absolute; |
|||
left: 0; |
|||
right: 0; |
|||
bottom: -15rpx; |
|||
margin: auto; |
|||
width: 33rpx; |
|||
height: 4rpx; |
|||
background: #00AEA0; |
|||
border-radius: 2rpx; |
|||
} |
|||
} |
|||
|
|||
.box { |
|||
margin: 26rpx auto 0; |
|||
padding: 0 26.67rpx; |
|||
flex-wrap: wrap; |
|||
|
|||
.item { |
|||
width: 340rpx; |
|||
height: 433rpx; |
|||
background: #FFFFFF; |
|||
border-radius: 13rpx; |
|||
overflow: hidden; |
|||
margin-bottom: 14rpx; |
|||
padding: 6.67rpx; |
|||
|
|||
image { |
|||
width: 327rpx; |
|||
height: 267rpx; |
|||
border-radius: 13rpx; |
|||
} |
|||
|
|||
.content { |
|||
height: 160rpx; |
|||
padding: 5rpx 10rpx 25rpx; |
|||
justify-content: space-between; |
|||
|
|||
.title { |
|||
font-weight: bold; |
|||
font-size: 31rpx; |
|||
color: #333333; |
|||
} |
|||
|
|||
.price { |
|||
font-weight: bold; |
|||
font-size: 34rpx; |
|||
color: #ED1C18; |
|||
} |
|||
.price::before { |
|||
content: '¥'; |
|||
font-size: 24rpx; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/work/changshu_WeChat/subPackages/peripheralActivity/peripheralActivity.vue?ac27","webpack:///D:/work/changshu_WeChat/subPackages/peripheralActivity/peripheralActivity.vue?f373","webpack:///D:/work/changshu_WeChat/subPackages/peripheralActivity/peripheralActivity.vue?c13f","webpack:///D:/work/changshu_WeChat/subPackages/peripheralActivity/peripheralActivity.vue?0f19"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","render","_vm","this","_h","$createElement","_self","_c","recyclableRender","staticRenderFns","_withStripped"],"mappings":"2KAAA,MAGA,aACA,WAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,+ECLX,2HACIC,EADJ,QAQIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,KACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,wDACZ,aAAAF,E,yCCtBf,sQ,gCCAA,IAAIG,EAAJ,0LACA,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAEjBC,GAAmB,EACnBC,EAAkB,GACtBR,EAAOS,eAAgB,G,gCCRvB,wHAA+nB,eAAG,G","file":"subPackages/peripheralActivity/peripheralActivity.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './subPackages/peripheralActivity/peripheralActivity.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./peripheralActivity.vue?vue&type=template&id=8c5cfda2&\"\nvar renderjs\nimport script from \"./peripheralActivity.vue?vue&type=script&lang=js&\"\nexport * from \"./peripheralActivity.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"subPackages/peripheralActivity/peripheralActivity.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./peripheralActivity.vue?vue&type=template&id=8c5cfda2&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./peripheralActivity.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./peripheralActivity.vue?vue&type=script&lang=js&\""],"sourceRoot":""} |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
{"version":3,"sources":["uni-app:///main.js"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"6JAAA,MAGA,aACA,2IAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a","file":"subPackages/subPackages/rim/rimList.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './subPackages/subPackages/rim/rimList.vue'\ncreatePage(Page)"],"sourceRoot":""} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@ |
|||
{ |
|||
"navigationBarTitleText": "uni-app", |
|||
"navigationBarTitleText": "智游常熟", |
|||
"usingComponents": {} |
|||
} |
File diff suppressed because one or more lines are too long
@ -1,8 +1,300 @@ |
|||
|
|||
.content { |
|||
width: 100vw; |
|||
min-height: 100vh; |
|||
overflow-x: hidden; |
|||
background: #F2FFFE; |
|||
} |
|||
|
|||
@charset "UTF-8"; |
|||
/** |
|||
* 这里是uni-app内置的常用样式变量 |
|||
* |
|||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 |
|||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App |
|||
* |
|||
*/ |
|||
/** |
|||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 |
|||
* |
|||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 |
|||
*/ |
|||
/* 颜色变量 */ |
|||
/* 行为相关颜色 */ |
|||
/* 文字基本颜色 */ |
|||
/* 背景颜色 */ |
|||
/* 边框颜色 */ |
|||
/* 尺寸变量 */ |
|||
/* 文字尺寸 */ |
|||
/* 图片尺寸 */ |
|||
/* Border Radius */ |
|||
/* 水平间距 */ |
|||
/* 垂直间距 */ |
|||
/* 透明度 */ |
|||
/* 文章场景相关 */ |
|||
.content.data-v-57280228 { |
|||
min-height: 100vh; |
|||
overflow-x: hidden; |
|||
background: #F2FFFE; |
|||
padding: 0 26.67rpx 66rpx; |
|||
} |
|||
.top-box.data-v-57280228 { |
|||
margin-top: 26.67rpx; |
|||
} |
|||
.top-box .top-banner.data-v-57280228 { |
|||
width: 100%; |
|||
height: 367rpx; |
|||
border-radius: 13rpx; |
|||
} |
|||
.menu-box.data-v-57280228 { |
|||
margin: 40rpx 0 40rpx; |
|||
flex-wrap: wrap; |
|||
font-weight: 500; |
|||
font-size: 24rpx; |
|||
color: #111111; |
|||
} |
|||
.menu-box > view.data-v-57280228 { |
|||
width: 20%; |
|||
text-align: center; |
|||
} |
|||
.menu-box > view image.data-v-57280228 { |
|||
width: 93.33rpx; |
|||
height: 93.33rpx; |
|||
margin-bottom: 17rpx; |
|||
} |
|||
.menu-box > view.data-v-57280228:nth-child(n+6) { |
|||
margin-top: 24rpx; |
|||
} |
|||
.small-banner.data-v-57280228 { |
|||
width: 697rpx; |
|||
height: 153rpx; |
|||
border-radius: 13rpx; |
|||
} |
|||
.title-img.data-v-57280228 { |
|||
height: 66.67rpx; |
|||
margin: 52rpx 0 24rpx; |
|||
} |
|||
.winnow-box.data-v-57280228 { |
|||
width: calc(100vw - 26.67rpx); |
|||
display: flex; |
|||
overflow-x: auto; |
|||
} |
|||
.winnow-box > view.data-v-57280228 { |
|||
width: 533rpx; |
|||
height: 625rpx; |
|||
background: linear-gradient(135deg, rgba(170, 204, 250, 0.5), rgba(111, 163, 252, 0.5)); |
|||
border-radius: 13rpx; |
|||
padding: 0 20rpx; |
|||
margin-right: 26rpx; |
|||
flex-shrink: 0; |
|||
} |
|||
.winnow-box > view .winnow-title.data-v-57280228 { |
|||
height: 92rpx; |
|||
font-weight: normal; |
|||
font-size: 40rpx; |
|||
color: #0F74D4; |
|||
justify-content: baseline; |
|||
} |
|||
.winnow-box > view .winnow-title ._span.data-v-57280228 { |
|||
font-size: 27rpx; |
|||
} |
|||
.winnow-box > view .winnow-item.data-v-57280228 { |
|||
width: 493rpx; |
|||
height: 153rpx; |
|||
background: #FFFFFF; |
|||
border-radius: 13rpx; |
|||
display: flex; |
|||
margin-bottom: 20rpx; |
|||
} |
|||
.winnow-box > view .winnow-item .winnow-img.data-v-57280228 { |
|||
width: 157rpx; |
|||
height: 153rpx; |
|||
border-radius: 13rpx 0rpx 0rpx 13rpx; |
|||
} |
|||
.winnow-box > view .winnow-item .winnow-content.data-v-57280228 { |
|||
margin-left: 13rpx; |
|||
width: 310rpx; |
|||
height: 153rpx; |
|||
padding: 12rpx 0; |
|||
justify-content: space-between; |
|||
} |
|||
.winnow-box > view .winnow-item .winnow-content .title.data-v-57280228 { |
|||
font-weight: 500; |
|||
font-size: 27rpx; |
|||
color: #333333; |
|||
} |
|||
.winnow-box > view .winnow-item .winnow-content .price-box .price.data-v-57280228 { |
|||
font-weight: bold; |
|||
font-size: 30rpx; |
|||
color: #ED1C19; |
|||
} |
|||
.winnow-box > view .winnow-item .winnow-content .price-box .price.data-v-57280228::before { |
|||
content: "¥"; |
|||
font-size: 24rpx; |
|||
} |
|||
.winnow-box > view .winnow-item .winnow-content .price-box .btn.data-v-57280228 { |
|||
width: 93rpx; |
|||
height: 37rpx; |
|||
background: #ED1C19; |
|||
border-radius: 19rpx; |
|||
text-align: center; |
|||
line-height: 37rpx; |
|||
font-weight: 500; |
|||
font-size: 27rpx; |
|||
color: #FFFFFF; |
|||
} |
|||
.winnow-box > view.data-v-57280228:nth-child(2) { |
|||
background: linear-gradient(135deg, rgba(253, 171, 112, 0.5), rgba(254, 127, 25, 0.5)); |
|||
} |
|||
.winnow-box > view:nth-child(2) .winnow-title.data-v-57280228 { |
|||
color: #EE710C; |
|||
} |
|||
.winnow-box.data-v-57280228::-webkit-scrollbar { |
|||
display: none; |
|||
} |
|||
.calendar-item.data-v-57280228 { |
|||
width: 697rpx; |
|||
height: 417rpx; |
|||
background: rgba(255, 255, 255, 0.6); |
|||
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(89, 166, 160, 0.32); |
|||
border-radius: 13rpx; |
|||
overflow: hidden; |
|||
} |
|||
.calendar-item .calendar-img.data-v-57280228 { |
|||
width: 100%; |
|||
height: 300rpx; |
|||
display: block; |
|||
} |
|||
.calendar-item .calendar-content.data-v-57280228 { |
|||
height: 117rpx; |
|||
padding: 0 20rpx; |
|||
justify-content: space-around; |
|||
} |
|||
.calendar-item .calendar-content .title.data-v-57280228 { |
|||
font-weight: bold; |
|||
font-size: 31rpx; |
|||
color: #111111; |
|||
} |
|||
.calendar-item .calendar-content .subtitle.data-v-57280228 { |
|||
font-weight: 500; |
|||
font-size: 24rpx; |
|||
color: #111111; |
|||
} |
|||
.calendar-more.data-v-57280228 { |
|||
width: 240rpx; |
|||
height: 53rpx; |
|||
border-radius: 27rpx; |
|||
border: 1rpx solid #CCCCCC; |
|||
text-align: center; |
|||
line-height: 53rpx; |
|||
margin: 40rpx auto 0; |
|||
font-weight: 500; |
|||
font-size: 28rpx; |
|||
color: #111111; |
|||
} |
|||
.travel-img.data-v-57280228 { |
|||
width: 220rpx; |
|||
height: 173.33rpx; |
|||
} |
|||
.public-box.data-v-57280228 { |
|||
display: flex; |
|||
flex-wrap: wrap; |
|||
font-weight: 500; |
|||
font-size: 25rpx; |
|||
color: #111111; |
|||
} |
|||
.public-box > view.data-v-57280228 { |
|||
width: 25%; |
|||
text-align: center; |
|||
} |
|||
.public-box > view image.data-v-57280228 { |
|||
width: 57.33rpx; |
|||
height: 57.33rpx; |
|||
margin-bottom: 15rpx; |
|||
} |
|||
.public-box > view.data-v-57280228:nth-child(n+5) { |
|||
margin-top: 40rpx; |
|||
} |
|||
.hot-type.data-v-57280228 { |
|||
font-weight: 500; |
|||
font-size: 31rpx; |
|||
color: #666666; |
|||
} |
|||
.hot-type .type-active.data-v-57280228 { |
|||
font-weight: bold; |
|||
font-size: 31rpx; |
|||
color: #111111; |
|||
position: relative; |
|||
} |
|||
.hot-type .type-active.data-v-57280228::after { |
|||
content: ""; |
|||
position: absolute; |
|||
left: 0; |
|||
right: 0; |
|||
bottom: -10rpx; |
|||
margin: auto; |
|||
width: 35rpx; |
|||
height: 2px; |
|||
background-color: #00C1B1; |
|||
} |
|||
.hot-box.data-v-57280228 { |
|||
margin-top: 30rpx; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
} |
|||
.hot-box .hot-column.data-v-57280228 { |
|||
width: 340rpx; |
|||
display: flex; |
|||
flex-direction: column; |
|||
} |
|||
.hot-box .hot-item.data-v-57280228 { |
|||
width: 340rpx; |
|||
background: rgba(255, 255, 255, 0.6); |
|||
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(89, 166, 160, 0.32); |
|||
border-radius: 13rpx; |
|||
overflow: hidden; |
|||
margin-bottom: 20rpx; |
|||
} |
|||
.hot-box .hot-item .image-container.data-v-57280228 { |
|||
position: relative; |
|||
} |
|||
.hot-box .hot-item .image-container .hot-img.data-v-57280228 { |
|||
height: 267rpx; |
|||
} |
|||
.hot-box .hot-item .image-container .play-img.data-v-57280228 { |
|||
width: 66.67rpx; |
|||
height: 66.67rpx; |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
-webkit-transform: translate(-50%, -50%); |
|||
transform: translate(-50%, -50%); |
|||
} |
|||
.hot-box .hot-item .hot-content.data-v-57280228 { |
|||
padding: 10rpx 15rpx 20rpx; |
|||
} |
|||
.hot-box .hot-item .hot-content .title.data-v-57280228 { |
|||
font-weight: bold; |
|||
font-size: 31rpx; |
|||
color: #111111; |
|||
} |
|||
.hot-box .hot-item .hot-content > view.data-v-57280228:nth-child(2) { |
|||
margin-top: 15rpx; |
|||
} |
|||
.hot-box .hot-item .hot-content .tags.data-v-57280228 { |
|||
display: flex; |
|||
} |
|||
.hot-box .hot-item .hot-content .tags .tag.data-v-57280228 { |
|||
height: 37rpx; |
|||
border: 1rpx solid #82DFD8; |
|||
padding: 0 10rpx; |
|||
font-weight: 500; |
|||
font-size: 24rpx; |
|||
color: #00AEA0; |
|||
overflow-y: hidden; |
|||
} |
|||
.hot-box .hot-item .hot-content .tags .tag.data-v-57280228:nth-child(2) { |
|||
margin-left: 10rpx; |
|||
} |
|||
.hot-box .hot-item .hot-content .subtitle.data-v-57280228 { |
|||
font-weight: 500; |
|||
font-size: 24rpx; |
|||
color: #666666; |
|||
} |
|||
.hot-box .hot-item .hot-content .price.data-v-57280228 { |
|||
font-weight: bold; |
|||
font-size: 31rpx; |
|||
color: #ED1C18; |
|||
} |
|||
|
@ -1,6 +1,6 @@ |
|||
{ |
|||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", |
|||
"projectname": "taihumeisu", |
|||
"projectname": "changshu", |
|||
"setting": { |
|||
"compileHotReLoad": true |
|||
} |
|||
|
@ -0,0 +1,2 @@ |
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPackages/peripheralActivity/peripheralActivity"],{69:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var c=r(t(70));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t(1)["default"],t(2)["createPage"])},70:function(n,e,t){"use strict";t.r(e);var r=t(71),c=t(73);for(var i in c)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(i);var u,a=t(32),o=Object(a["default"])(c["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);o.options.__file="subPackages/peripheralActivity/peripheralActivity.vue",e["default"]=o.exports},71:function(n,e,t){"use strict";t.r(e);var r=t(72);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},72:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return c})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return r}));var c=function(){var n=this,e=n.$createElement;n._self._c},i=!1,u=[];c._withStripped=!0},73:function(n,e,t){"use strict";t.r(e);var r=t(74),c=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=c.a},74:function(n,e){}},[[69,"common/runtime","common/vendor"]]]); |
|||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/subPackages/peripheralActivity/peripheralActivity.js.map
|
@ -0,0 +1,4 @@ |
|||
{ |
|||
"navigationBarTitleText": "周边特惠活动", |
|||
"usingComponents": {} |
|||
} |
@ -0,0 +1 @@ |
|||
<view class="_div"></view> |
@ -0,0 +1,2 @@ |
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPackages/rim/rimList"],{60:function(t,n,e){"use strict";(function(t,n){var i=e(4);e(26);i(e(25));var r=i(e(61));t.__webpack_require_UNI_MP_PLUGIN__=e,n(r.default)}).call(this,e(1)["default"],e(2)["createPage"])},61:function(t,n,e){"use strict";e.r(n);var i=e(62),r=e(64);for(var s in r)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(s);e(66);var o,u=e(32),a=Object(u["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,"8d5dd90a",null,!1,i["components"],o);a.options.__file="subPackages/rim/rimList.vue",n["default"]=a.exports},62:function(t,n,e){"use strict";e.r(n);var i=e(63);e.d(n,"render",(function(){return i["render"]})),e.d(n,"staticRenderFns",(function(){return i["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return i["recyclableRender"]})),e.d(n,"components",(function(){return i["components"]}))},63:function(t,n,e){"use strict";var i;e.r(n),e.d(n,"render",(function(){return r})),e.d(n,"staticRenderFns",(function(){return o})),e.d(n,"recyclableRender",(function(){return s})),e.d(n,"components",(function(){return i}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.showImg(t.topImg)),i=t.__map(t.list,(function(n,e){var i=t.__get_orig(n),r=t.showImgs(n.headimg);return{$orig:i,m1:r}}));t.$mp.data=Object.assign({},{$root:{m0:e,l0:i}})},s=!1,o=[];r._withStripped=!0},64:function(t,n,e){"use strict";e.r(n);var i=e(65),r=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=r.a},65:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{topImg:"https://static.ticket.sz-trip.com/changshu/images/rim/topImg.png",typeList:[{title:"景点",id:"616"},{title:"线路",id:"617"},{title:"特产",id:"618"}],typeIndex:0,list:[],limit:10}},onReady:function(){this.getList()},onReachBottom:function(){var t=this;setTimeout((function(){t.isLoading||t.getList()}),500)},methods:{changeType:function(t){this.typeIndex=t,this.list=[],this.getList()},getList:function(){var t=this;this.Post({apiType:"jdsz",tag_id:this.typeList[this.typeIndex].id,offset:this.list.length,limit:this.limit},"/api/product/get_product_by_tag").then((function(n){n&&(n.data.list.length<t.limit&&(t.isLoading=!0),t.list=t.list.concat(n.data.list))}))}}};n.default=i},66:function(t,n,e){"use strict";e.r(n);var i=e(67),r=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=r.a},67:function(t,n,e){}},[[60,"common/runtime","common/vendor"]]]); |
|||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/subPackages/rim/rimList.js.map
|
@ -0,0 +1,4 @@ |
|||
{ |
|||
"navigationBarTitleText": "常熟周边", |
|||
"usingComponents": {} |
|||
} |
@ -0,0 +1 @@ |
|||
<view class="bg data-v-8d5dd90a"><image class="topImg data-v-8d5dd90a" src="{{$root.m0}}" mode="aspectFill"></image><view class="type-box flex-around data-v-8d5dd90a"><block wx:for="{{typeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeType',[index]]]]]}}" class="{{['data-v-8d5dd90a',index==typeIndex?'type-active':'']}}" bindtap="__e">{{''+item.title+''}}</view></block></view><view class="box flex-between data-v-8d5dd90a"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-8d5dd90a"><image src="{{item.m1}}" mode="aspectFill" class="data-v-8d5dd90a"></image><view class="content flex-column data-v-8d5dd90a"><view class="title text-overflowRows data-v-8d5dd90a">{{item.$orig.title}}</view><view class="price data-v-8d5dd90a">{{item.$orig.price/100}}</view></view></view></block></view></view> |
@ -0,0 +1,100 @@ |
|||
@charset "UTF-8"; |
|||
/** |
|||
* 这里是uni-app内置的常用样式变量 |
|||
* |
|||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 |
|||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App |
|||
* |
|||
*/ |
|||
/** |
|||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 |
|||
* |
|||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 |
|||
*/ |
|||
/* 颜色变量 */ |
|||
/* 行为相关颜色 */ |
|||
/* 文字基本颜色 */ |
|||
/* 背景颜色 */ |
|||
/* 边框颜色 */ |
|||
/* 尺寸变量 */ |
|||
/* 文字尺寸 */ |
|||
/* 图片尺寸 */ |
|||
/* Border Radius */ |
|||
/* 水平间距 */ |
|||
/* 垂直间距 */ |
|||
/* 透明度 */ |
|||
/* 文章场景相关 */ |
|||
.bg.data-v-8d5dd90a { |
|||
width: 750rpx; |
|||
min-height: 100vh; |
|||
background: #F7F7F7; |
|||
padding-bottom: 100rpx; |
|||
} |
|||
.topImg.data-v-8d5dd90a { |
|||
width: 100%; |
|||
height: 309.33rpx; |
|||
} |
|||
.type-box.data-v-8d5dd90a { |
|||
width: 750rpx; |
|||
height: 93rpx; |
|||
background: #FFFFFF; |
|||
font-weight: 500; |
|||
font-size: 35rpx; |
|||
color: #333333; |
|||
} |
|||
.type-box .type-active.data-v-8d5dd90a { |
|||
font-weight: bold; |
|||
font-size: 35rpx; |
|||
color: #00AEA0; |
|||
position: relative; |
|||
} |
|||
.type-box .type-active.data-v-8d5dd90a::after { |
|||
content: ""; |
|||
position: absolute; |
|||
left: 0; |
|||
right: 0; |
|||
bottom: -15rpx; |
|||
margin: auto; |
|||
width: 33rpx; |
|||
height: 4rpx; |
|||
background: #00AEA0; |
|||
border-radius: 2rpx; |
|||
} |
|||
.box.data-v-8d5dd90a { |
|||
margin: 26rpx auto 0; |
|||
padding: 0 26.67rpx; |
|||
flex-wrap: wrap; |
|||
} |
|||
.box .item.data-v-8d5dd90a { |
|||
width: 340rpx; |
|||
height: 433rpx; |
|||
background: #FFFFFF; |
|||
border-radius: 13rpx; |
|||
overflow: hidden; |
|||
margin-bottom: 14rpx; |
|||
padding: 6.67rpx; |
|||
} |
|||
.box .item image.data-v-8d5dd90a { |
|||
width: 327rpx; |
|||
height: 267rpx; |
|||
border-radius: 13rpx; |
|||
} |
|||
.box .item .content.data-v-8d5dd90a { |
|||
height: 160rpx; |
|||
padding: 5rpx 10rpx 25rpx; |
|||
justify-content: space-between; |
|||
} |
|||
.box .item .content .title.data-v-8d5dd90a { |
|||
font-weight: bold; |
|||
font-size: 31rpx; |
|||
color: #333333; |
|||
} |
|||
.box .item .content .price.data-v-8d5dd90a { |
|||
font-weight: bold; |
|||
font-size: 34rpx; |
|||
color: #ED1C18; |
|||
} |
|||
.box .item .content .price.data-v-8d5dd90a::before { |
|||
content: "¥"; |
|||
font-size: 24rpx; |
|||
} |
@ -0,0 +1 @@ |
|||
Component({}) |
@ -0,0 +1,4 @@ |
|||
{ |
|||
"navigationBarTitleText": "常熟周边", |
|||
"usingComponents": {} |
|||
} |
Loading…
Reference in new issue