chenkainan 7 months ago
parent
commit
50861336fd
  1. 2
      manifest.json
  2. 14
      pages.json
  3. 672
      pages/index/index.vue
  4. 4
      static/css/base.css
  5. 9
      static/js/CommonFunction.js
  6. 8
      subPackages/peripheralActivity/peripheralActivity.vue
  7. 153
      subPackages/rim/rimList.vue
  8. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  9. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  10. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/subPackages/peripheralActivity/peripheralActivity.js.map
  11. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/subPackages/rim/rimList.js.map
  12. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/subPackages/subPackages/rim/rimList.js.map
  13. 4
      unpackage/dist/dev/mp-weixin/app.json
  14. 3
      unpackage/dist/dev/mp-weixin/common/main.wxss
  15. 2
      unpackage/dist/dev/mp-weixin/common/vendor.js
  16. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  17. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.json
  18. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  19. 308
      unpackage/dist/dev/mp-weixin/pages/index/index.wxss
  20. 2
      unpackage/dist/dev/mp-weixin/project.config.json
  21. 2
      unpackage/dist/dev/mp-weixin/project.private.config.json
  22. 4
      unpackage/dist/dev/mp-weixin/static/css/base.css
  23. 9
      unpackage/dist/dev/mp-weixin/static/js/CommonFunction.js
  24. 2
      unpackage/dist/dev/mp-weixin/subPackages/peripheralActivity/peripheralActivity.js
  25. 4
      unpackage/dist/dev/mp-weixin/subPackages/peripheralActivity/peripheralActivity.json
  26. 1
      unpackage/dist/dev/mp-weixin/subPackages/peripheralActivity/peripheralActivity.wxml
  27. 2
      unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.js
  28. 4
      unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.json
  29. 1
      unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.wxml
  30. 100
      unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.wxss
  31. 1
      unpackage/dist/dev/mp-weixin/subPackages/subPackages/rim/rimList.js
  32. 4
      unpackage/dist/dev/mp-weixin/subPackages/subPackages/rim/rimList.json

2
manifest.json

@ -1,5 +1,5 @@
{
"name" : "taihumeisu",
"name" : "changshu",
"appid" : "__UNI__9BF1085",
"description" : "",
"versionName" : "1.0.0",

14
pages.json

@ -3,7 +3,7 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
"navigationBarTitleText": "智游常熟"
}
},
{
@ -21,6 +21,18 @@
"style": {
"navigationBarTitleText": "uni-app"
}
},
{
"path": "rim/rimList",
"style": {
"navigationBarTitleText": "常熟周边"
}
},
{
"path": "peripheralActivity/peripheralActivity",
"style": {
"navigationBarTitleText": "周边特惠活动"
}
}
]
}],

672
pages/index/index.vue

@ -1,6 +1,117 @@
<template>
<view class="content">
<!-- 头部banner -->
<view class="top-box">
<swiper class="top-banner" :circular="true" :interval="6000"
:duration="800" :indicator-dots="false" :autoplay="true" v-if="topBanner">
<swiper-item v-for="(item, index) in topBanner" :key="index" @click.stop="gotoUrlNew(item)">
<image class="top-banner" :src="showImg(item.head_img)" mode="aspectFill"></image>
</swiper-item>
</swiper>
</view>
<!-- 金刚区 -->
<view class="menu-box flex-between">
<view v-for="(item,index) in menuList" :key="index" @click="gotoPath(item.path)">
<image :src="item.img" mode="aspectFill"></image>
<view>{{item.title}}</view>
</view>
</view>
<!-- 小banner -->
<swiper class="small-banner" :circular="true" :interval="6000"
:duration="800" :indicator-dots="false" :autoplay="true" v-if="smallBanner">
<swiper-item v-for="(item, index) in smallBanner" :key="index" @click.stop="gotoUrlNew(item)">
<image class="small-banner" :src="showImg(item.head_img)" mode="aspectFill"></image>
</swiper-item>
</swiper>
<!-- 常熟精选 -->
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title1.png" mode="heightFix" class="title-img"></image>
<view class="winnow-box">
<view v-for="(item,index) in winnowList" :key="index">
<view class="winnow-title flex-between">
{{item.title}}
<span :style="{color: item.spanColor}">查看更多产品 ></span>
</view>
<view class="winnow-item" v-for="(pItem, pIndex) in item.list" :key="pIndex">
<image :src="showImgs(pItem.headimg)" mode="aspectFill" class="winnow-img"></image>
<view class="winnow-content flex-column">
<view class="title text-overflowRows">{{pItem.title}}</view>
<view class="price-box flex-between">
<view class="price">{{pItem.price / 100}}</view>
<view class="btn">购买</view>
</view>
</view>
</view>
</view>
</view>
<!-- 周边特惠活动 -->
<view v-if="calendarItem">
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title2.png" mode="heightFix" class="title-img"></image>
<view class="calendar-item">
<image :src="showImgs(calendarItem.post_url)" mode="aspectFill" class="calendar-img"></image>
<view class="calendar-content flex-column">
<view class="title text-overflow">{{calendarItem.name}}</view>
<view class="subtitle text-overflow">活动时间{{ calendarItem.begin_date }}{{ calendarItem.end_date }}</view>
</view>
</view>
<view class="calendar-more">查看更多</view>
</view>
<!-- 旅游助手 -->
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title3.png" mode="heightFix" class="title-img"></image>
<view class="flex-between">
<image :src="item.img" mode="aspectFill" class="travel-img" v-for="(item,index) in travelList" :key="index"></image>
</view>
<!-- 公共服务 -->
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title4.png" mode="heightFix" class="title-img"></image>
<view class="public-box">
<view v-for="(item,index) in publicList" :key="index">
<image :src="item.img" mode="aspectFill"></image>
<view>{{item.title}}</view>
</view>
</view>
<!-- 热门推荐 -->
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title5.png" mode="heightFix" class="title-img"></image>
<view class="hot-type flex-between">
<view v-for="(item,index) in hotType" :key="index" :class="index == typeIndex ? 'type-active' : ''" @click="changeType(index)">
{{item.title}}
</view>
</view>
<view class="hot-box">
<view class="hot-column" v-for="(column, index) in 2" :key="index">
<view v-for="(item,index) in getColumnItems(index)" :key="index" class="hot-item">
<view class="image-container">
<image :src="showImgs(item.headimg || item.head_img || item.post_url)" mode="widthFix" class="hot-img"></image>
<image src="https://static.ticket.sz-trip.com/changshu/images/index/play.png" mode="" class="play-img" v-if="typeIndex == 5"></image>
</view>
<view class="hot-content">
<view class="title text-overflowRows">{{item.title || item.name}}</view>
<view class="tags" v-if="item.display_tags && typeIndex == 0">
<view class="tag text-overflow"
v-for="(tags,tagsIndex) in item.display_tags.split(',').slice(0,2)"
:key="tagsIndex">{{tags}}</view>
</view>
<view class="subtitle text-overflow" v-if="typeIndex == 1">
{{ item.begin_date }}{{ item.end_date }}
</view>
<view class="price" v-if="typeIndex == 2 || typeIndex == 4">
{{ item.price / 100 }}
</view>
<view class="subtitle text-overflow" v-if="typeIndex == 3">
{{ item.subtitle }}
</view>
</view>
</view>
</view>
</view>
</view>
</template>
@ -9,7 +120,136 @@
data() {
return {
topBanner: [],
menuList: [
{
title: '景点门票',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/jdmp.png',
path: ''
},
{
title: '非遗手作',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/fysz.png',
path: ''
},
{
title: '文创特产',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/wctc.png',
path: ''
},
{
title: '酒店住宿',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/jdzs.png',
path: ''
},
{
title: '电影购票',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/dygp.png',
path: ''
},
{
title: '场馆预约',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/cgyy.png',
path: ''
},
{
title: '一卡游玩',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/ykyw.png',
path: ''
},
{
title: '活动日历',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/hdrl.png',
path: ''
},
{
title: '特色线路',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/tsxl.png',
path: ''
},
{
title: '常熟周边',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/cszb.png',
path: '/subPackages/rim/rimList'
}
],
smallBanner: [],
winnowList: [
{
title: '景点',
id: '619',
spanColor: '#529AE7',
list: []
},
{
title: '特产',
id: '620',
spanColor: '#EE710C',
list: []
}
],
calendarItem: {},
travelList: [
{
title: '聆听常熟',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/lingting.png',
path: ''
},
{
title: '云游常熟',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/yunyou.png',
path: ''
},
{
title: '寻味常熟',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/xunwei.png',
path: ''
}
],
publicList: [
{
title: '公共自行车',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/ggzxc.png',
path: ''
},
{
title: '咨询投诉',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/zxts.png',
path: ''
},
{
title: '景区舒适度',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/jqssd.png',
path: ''
},
{
title: '找车位',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/zcw.png',
path: ''
},
{
title: '找厕所',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/zcs.png',
path: ''
},
{
title: '公共交通',
img: 'https://static.ticket.sz-trip.com/changshu/images/index/ggjt.png',
path: ''
}
],
hotType: [
{title: '景点', id: '616'},
{title: '活动', id: '617'},
{title: '文创', id: '618'},
{title: '非遗', id: '619'},
{title: '线路', id: '620'},
{title: '视频', id: '128'}
],
typeIndex: 0,
hotList: [],
pageNo: 1,
limit: 4,
isLoading: false
}
},
onLoad() {
@ -19,28 +259,446 @@
},
onReady() {
this.getTopBanner()
this.getBanner()
this.getWinnowList()
this.getCalendarList()
},
onReachBottom() {
setTimeout(() => {
if (!this.isLoading) this.getHotList();
}, 500);
},
methods: {
// banner
getTopBanner() {
//
getColumnItems(columnIndex) {
const columnItems = [];
this.hotList.forEach((item, index) => {
if (index % 2 === columnIndex) {
columnItems.push(item);
}
});
return columnItems;
},
getBanner() {
// banner
this.Post({
apiType: 'jdsz',
type_id: 5,
position: 0,
}, '/api/adv/getAdv').then(res => {
console.log(res)
if(res) {
this.topBanner = res.data
}
})
// banner
this.Post({
apiType: 'jdsz',
type_id: 5,
position: 1,
}, '/api/adv/getAdv').then(res => {
if(res) {
this.smallBanner = res.data
}
})
},
//
getWinnowList() {
this.winnowList.map(item => {
this.Post({
apiType: 'jdsz',
tag_id: item.id,
offset: 0,
limit: 3,
}, '/api/product/get_product_by_tag').then(res => {
if(res) {
item.list = res.data.list
}
})
})
},
//
getCalendarList() {
this.Post({
apiType: 'jdsz',
page_no: 1,
page_num: 1
}, '/api/pbservice/Actcalendar/getActList').then(res => {
if(res) {
this.calendarItem = res.data.rows[0]
}
})
},
//
changeType(index) {
this.typeIndex = index
this.pageNo = 1
this.isLoading = false
this.hotList = []
this.getHotList()
},
getHotList() {
if(this.typeIndex == 1) {
this.Post({
apiType: 'jdsz',
page_no: this.pageNo,
page_num: this.limit
}, '/api/pbservice/Actcalendar/getActList').then(res => {
if(res) {
if(res.data.rows.length < this.limit) this.isLoading = true
this.hotList = this.hotList.concat(res.data.rows)
this.pageNo++
}
})
}else if(this.typeIndex == 5) {
//
this.Post({
apiType: 'jdsz',
class_id: this.hotType[this.typeIndex].id,
page: this.pageNo,
limit: this.limit,
}, '/api/multimedia/media_list').then(res => {
if(res) {
if(res.data.data.length < this.limit) this.isLoading = true
this.hotList = this.hotList.concat(res.data.data)
this.pageNo++
}
})
}else {
this.Post({
apiType: 'jdsz',
tag_id: this.hotType[this.typeIndex].id,
offset: this.hotList.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.hotList = this.hotList.concat(res.data.list)
}
})
}
}
}
}
</script>
<style>
<style lang="scss" scoped>
.content {
width: 100vw;
min-height: 100vh;
overflow-x: hidden;
background: #F2FFFE;
padding: 0 26.67rpx 66rpx;
}
.top-box {
margin-top: 26.67rpx;
.top-banner {
width: 100%;
height: 367rpx;
border-radius: 13rpx;
}
}
.menu-box {
margin: 40rpx 0 40rpx;
flex-wrap: wrap;
font-weight: 500;
font-size: 24rpx;
color: #111111;
&>view {
width: 20%;
text-align: center;
image {
width: 93.33rpx;
height: 93.33rpx;
margin-bottom: 17rpx;
}
}
&>view:nth-child(n+6) {
margin-top: 24rpx;
}
}
.small-banner {
width: 697rpx;
height: 153rpx;
border-radius: 13rpx;
}
.title-img {
height: 66.67rpx;
margin: 52rpx 0 24rpx;
}
.winnow-box {
width: calc(100vw - 26.67rpx);
display: flex;
overflow-x: auto;
&>view {
width: 533rpx;
height: 625rpx;
background: linear-gradient(135deg, rgba(170, 204, 250, .5), rgba(111, 163, 252, .5));
border-radius: 13rpx;
padding: 0 20rpx;
margin-right: 26rpx;
flex-shrink: 0;
.winnow-title {
height: 92rpx;
font-weight: normal;
font-size: 40rpx;
color: #0F74D4;
justify-content: baseline;
span {
font-size: 27rpx;
}
}
.winnow-item {
width: 493rpx;
height: 153rpx;
background: #FFFFFF;
border-radius: 13rpx;
display: flex;
margin-bottom: 20rpx;
.winnow-img {
width: 157rpx;
height: 153rpx;
border-radius: 13rpx 0rpx 0rpx 13rpx;
}
.winnow-content {
margin-left: 13rpx;
width: 310rpx;
height: 153rpx;
padding: 12rpx 0;
justify-content: space-between;
.title {
font-weight: 500;
font-size: 27rpx;
color: #333333;
}
.price-box {
.price {
font-weight: bold;
font-size: 30rpx;
color: #ED1C19;
}
.price::before {
content: '¥';
font-size: 24rpx;
}
.btn {
width: 93rpx;
height: 37rpx;
background: #ED1C19;
border-radius: 19rpx;
text-align: center;
line-height: 37rpx;
font-weight: 500;
font-size: 27rpx;
color: #FFFFFF;
}
}
}
}
}
&>view:nth-child(2) {
background: linear-gradient(135deg, rgba(253, 171, 112, .5), rgba(254, 127, 25, .5));
.winnow-title {
color: #EE710C;
}
}
}
.winnow-box::-webkit-scrollbar {
display: none;
}
.calendar-item {
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-img {
width: 100%;
height: 300rpx;
display: block;
}
.calendar-content {
height: 117rpx;
padding: 0 20rpx;
justify-content: space-around;
.title {
font-weight: bold;
font-size: 31rpx;
color: #111111;
}
.subtitle {
font-weight: 500;
font-size: 24rpx;
color: #111111;
}
}
}
.calendar-more {
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 {
width: 220rpx;
height: 173.33rpx;
}
.public-box {
display: flex;
flex-wrap: wrap;
font-weight: 500;
font-size: 25rpx;
color: #111111;
&>view {
width: 25%;
text-align: center;
image {
width: 57.33rpx;
height: 57.33rpx;
margin-bottom: 15rpx;
}
}
&>view:nth-child(n+5) {
margin-top: 40rpx;
}
}
.hot-type {
font-weight: 500;
font-size: 31rpx;
color: #666666;
.type-active {
font-weight: bold;
font-size: 31rpx;
color: #111111;
position: relative;
}
.type-active::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -10rpx;
margin: auto;
width: 35rpx;
height: 2px;
background-color: #00C1B1;
}
}
.hot-box {
margin-top: 30rpx;
display: flex;
justify-content: space-between;
.hot-column {
width: 340rpx;
display: flex;
flex-direction: column;
}
.hot-item {
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;
.image-container {
position: relative;
.hot-img {
height: 267rpx;
}
.play-img {
width: 66.67rpx;
height: 66.67rpx;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.hot-content {
padding: 10rpx 15rpx 20rpx;
.title {
font-weight: bold;
font-size: 31rpx;
color: #111111;
}
&>view:nth-child(2) {
margin-top: 15rpx;
}
.tags {
display: flex;
.tag {
height: 37rpx;
border: 1rpx solid #82DFD8;
padding: 0 10rpx;
font-weight: 500;
font-size: 24rpx;
color: #00AEA0;
overflow-y: hidden;
}
.tag:nth-child(2) {
margin-left: 10rpx;
}
}
.subtitle {
font-weight: 500;
font-size: 24rpx;
color: #666666;
}
.price {
font-weight: bold;
font-size: 31rpx;
color: #ED1C18;
}
}
}
}
</style>

4
static/css/base.css

@ -12,6 +12,10 @@ input {
border: none;
}
view {
box-sizing: border-box;
}
.flex-between {
display: flex;
justify-content: space-between;

9
static/js/CommonFunction.js

@ -94,6 +94,15 @@ Vue.prototype.showImg = img => {
}
}
Vue.prototype.showImgs = img => {
if (!img) return;
if (img.indexOf('https://') != -1 || img.indexOf('http://') != -1) {
return img;
} else {
return 'https://api.cloud.sz-trip.com' + img;
}
}
// 获取经纬度
Vue.prototype.getLocation = () => {
uni.startLocationUpdate({

8
subPackages/peripheralActivity/peripheralActivity.vue

@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

153
subPackages/rim/rimList.vue

@ -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>

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map

File diff suppressed because one or more lines are too long

1
unpackage/dist/dev/.sourcemap/mp-weixin/subPackages/peripheralActivity/peripheralActivity.js.map

@ -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":""}

1
unpackage/dist/dev/.sourcemap/mp-weixin/subPackages/rim/rimList.js.map

File diff suppressed because one or more lines are too long

1
unpackage/dist/dev/.sourcemap/mp-weixin/subPackages/subPackages/rim/rimList.js.map

@ -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":""}

4
unpackage/dist/dev/mp-weixin/app.json

@ -7,7 +7,9 @@
{
"root": "subPackages",
"pages": [
"index"
"index",
"rim/rimList",
"peripheralActivity/peripheralActivity"
]
}
],

3
unpackage/dist/dev/mp-weixin/common/main.wxss

@ -33,6 +33,9 @@ input {
outline: none;
border: none;
}
view {
box-sizing: border-box;
}
.flex-between {
display: flex;
justify-content: space-between;

2
unpackage/dist/dev/mp-weixin/common/vendor.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-weixin/pages/index/index.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-weixin/pages/index/index.json

@ -1,4 +1,4 @@
{
"navigationBarTitleText": "uni-app",
"navigationBarTitleText": "智游常熟",
"usingComponents": {}
}

2
unpackage/dist/dev/mp-weixin/pages/index/index.wxml

File diff suppressed because one or more lines are too long

308
unpackage/dist/dev/mp-weixin/pages/index/index.wxss

@ -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;
}

2
unpackage/dist/dev/mp-weixin/project.config.json

@ -20,7 +20,7 @@
"compileType": "miniprogram",
"libVersion": "3.7.10",
"appid": "touristappid",
"projectname": "taihumeisu",
"projectname": "changshu",
"condition": {},
"editorSetting": {
"tabIndent": "auto",

2
unpackage/dist/dev/mp-weixin/project.private.config.json

@ -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
}

4
unpackage/dist/dev/mp-weixin/static/css/base.css

@ -12,6 +12,10 @@ input {
border: none;
}
view {
box-sizing: border-box;
}
.flex-between {
display: flex;
justify-content: space-between;

9
unpackage/dist/dev/mp-weixin/static/js/CommonFunction.js

@ -94,6 +94,15 @@ Vue.prototype.showImg = img => {
}
}
Vue.prototype.showImgs = img => {
if (!img) return;
if (img.indexOf('https://') != -1 || img.indexOf('http://') != -1) {
return img;
} else {
return 'https://api.cloud.sz-trip.com' + img;
}
}
// 获取经纬度
Vue.prototype.getLocation = () => {
uni.startLocationUpdate({

2
unpackage/dist/dev/mp-weixin/subPackages/peripheralActivity/peripheralActivity.js

@ -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

4
unpackage/dist/dev/mp-weixin/subPackages/peripheralActivity/peripheralActivity.json

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "周边特惠活动",
"usingComponents": {}
}

1
unpackage/dist/dev/mp-weixin/subPackages/peripheralActivity/peripheralActivity.wxml

@ -0,0 +1 @@
<view class="_div"></view>

2
unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.js

@ -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

4
unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.json

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "常熟周边",
"usingComponents": {}
}

1
unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.wxml

@ -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>

100
unpackage/dist/dev/mp-weixin/subPackages/rim/rimList.wxss

@ -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;
}

1
unpackage/dist/dev/mp-weixin/subPackages/subPackages/rim/rimList.js

@ -0,0 +1 @@
Component({})

4
unpackage/dist/dev/mp-weixin/subPackages/subPackages/rim/rimList.json

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "常熟周边",
"usingComponents": {}
}
Loading…
Cancel
Save