jiazhipeng 1 year ago
parent
commit
ae45f9f675
  1. 2
      compoents/contactAdd.vue
  2. 2
      manifest.json
  3. 14
      pages.json
  4. 452
      pages/index/index.vue
  5. 169
      pages/user/user.vue
  6. BIN
      static/images/index.png
  7. BIN
      static/images/index_HL.png
  8. BIN
      static/images/mall.png
  9. BIN
      static/images/mall_HL.png
  10. BIN
      static/images/map.png
  11. BIN
      static/images/map_HL.png
  12. BIN
      static/images/user.png
  13. BIN
      static/images/user_HL.png
  14. 4
      static/js/CommonFunction.js
  15. 2
      static/js/request.js
  16. 39
      subPackages/eventCalendar/eventCalendar.vue
  17. 2
      subPackages/order/detail.vue
  18. 1165
      subPackages/order/trades.vue
  19. 2
      subPackages/user/bindTel.vue
  20. 2
      subPackages/user/changeNickname.vue
  21. 6
      subPackages/user/coupon.vue
  22. 2
      subPackages/user/myAddressAdd.vue
  23. 2
      subPackages/user/myContactsAdd.vue
  24. 4
      subPackages/user/profile.vue
  25. 8
      subPackages/user/travelerList.vue

2
compoents/contactAdd.vue

@ -250,7 +250,7 @@
.btn {
width: 697rpx;
height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 40rpx;
text-align: center;
line-height: 80rpx;

2
manifest.json

@ -50,7 +50,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wxb8f15afe2765976d",
"appid" : "wxcb555ab174f22ec9",
"setting" : {
"urlCheck" : false,
"es6" : true,

14
pages.json

@ -102,8 +102,8 @@
{
"path": "eventCalendar/eventCalendar",
"style": {
"navigationBarTitleText": "活动日历",
"navigationStyle": "custom"
"navigationBarTitleText": "活动日历"
// "navigationStyle": "custom"
}
},
{
@ -304,7 +304,7 @@
}],
"tabBar": {
"color": "#666666",
"selectedColor": "#71B580",
"selectedColor": "#248BAA",
"borderStyle": "black",
"backgroundColor": "#ffffff",
// #ifdef APP-PLUS
@ -322,13 +322,7 @@
"pagePath": "pages/map/map",
"iconPath": "/static/images/map.png",
"selectedIconPath": "/static/images/map_HL.png",
"text": "地图"
},
{
"pagePath": "pages/mall/mall",
"iconPath": "/static/images/mall.png",
"selectedIconPath": "/static/images/mall_HL.png",
"text": "商城"
"text": "导览"
},
{
"pagePath": "pages/user/user",

452
pages/index/index.vue

@ -2,73 +2,58 @@
<view class="content">
<view class="top-box">
<!-- 搜索 -->
<view class="search-box" @click="gotoPath('/subPackages/search/search')">
<image src="https://static.ticket.sz-trip.com/yandu/images/index/search.png" mode=""></image>
搜一搜您想要的产品
</view>
<image src="https://static.ticket.sz-trip.com/tongli/images/index/search.png" class="search-img" @click="gotoPath('/subPackages/search/search')"></image>
<swiper class="top-banner" :circular="true" :interval="6000"
<swiper class="top-banner" :circular="true" :interval="6000" :current="current" @change="swiperChange"
: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 class="swiper-num">
{{current + 1}}/{{topBanner.length}}
</view>
</view>
<!-- 金刚区 -->
<view class="nav-box">
<view class="nav-top">
<view class="nav-topLeft">
<image src="https://static.ticket.sz-trip.com/yandu/images/index/consultImg.png" class="consultImg" @click="gotoPath('/subPackages/notice/noticeList')"></image>
<view class="text-overflow">{{notice}}</view>
</view>
<!-- 资讯 -->
<view class="notice-box">
<image src="https://static.ticket.sz-trip.com/tongli/images/index/noticeImg.png" class="noticeImg"></image>
同里古镇今日开园
<!-- 天气 -->
<view class="nav-topRight">
<image :src="weatherList.image" mode="" class="weather-img"></image>
<view style="line-height: 40rpx;">
{{weatherList.low}}~{{weatherList.high}} <br> {{weatherList.type}}
</view>
<view class="notice-top flex-between">
<view style="display: flex;align-items: center;">
<image src="https://static.ticket.sz-trip.com/tongli/images/index/horn.png" mode=""></image>
<view class="notice-text text-overflow">{{notice}}</view>
</view>
<view class="notice-more" @click="gotoPath('/subPackages/notice/noticeList')">更多 ></view>
</view>
<view style="position: relative;z-index: 2;">
<view class="nav-item" v-for="(item,index) in navList" :key="index" @click="gotoPath(item.path)">
<image :src="item.img" mode="" class="nav-img"></image>
<view>{{item.text}}</view>
</view>
<view class="notice-bottom flex-between">
<image src="https://static.ticket.sz-trip.com/tongli/images/index/menpiao.png" mode="" @click="gotoPath(navList[0].path)"></image>
<image src="https://static.ticket.sz-trip.com/tongli/images/index/ditu.png" mode=""></image>
</view>
</view>
<!-- 背景icon -->
<image src="https://static.ticket.sz-trip.com/yandu/images/index/iconBg.png" mode="" class="iconBg"></image>
<!-- 景点推荐 -->
<view class="scenic-box" :style="{backgroundImage: 'url('+showImg(homeUi.jdtj)+')',backgroundSize: 'cover'}" v-if="scenic" @click="gotoScenic(scenic)">
<view class="scenic-title">{{scenic.title}}</view>
<view class="scenic-subtitle flex-between">
<view class="text-overflow" style="width: 320rpx;display: flex;align-items: center;">
<image src="https://static.ticket.sz-trip.com/yandu/images/index/location.png" mode="" class="location"></image>
{{scenic.address}}
</view>
<view>>>> 发现好玩的游览宝地</view>
<!-- 金刚区 -->
<view class="nav-box">
<view class="nav-item" v-for="(item,index) in navList" :key="index" @click="gotoPath(item.path)">
<image :src="item.img" mode="" class="nav-img"></image>
<view>{{item.text}}</view>
</view>
</view>
<!-- 活动日历盐都美宿 -->
<view class="flex-between" style="padding: 0 27rpx;margin-top: 20rpx;" v-if="homeUi.hdrl && homeUi.ydms_hotel">
<view @click="gotoPath('/subPackages/eventCalendar/eventCalendar')" class="calendar-box" :style="{backgroundImage: 'url('+showImg(homeUi.hdrl)+')',backgroundSize: 'cover'}">
<view class="calendar-title">今日共有{{eventCalendarNum}}个活动 >>></view>
<view class="calendar-line"></view>
<view class="calendar-subtitle">活动日历</view>
<view class="calendar-date">
<span>{{day}}</span>/{{month}}
</view>
<!-- 景点展览 -->
<view v-if="scenicList && scenicList.length > 0">
<view class="title-box flex-between">
<image :src="showImg(homeUi.ydms)" mode=""></image>
<view @click="gotoPath('/subPackages/ticketBooking/ticketBooking')">更多 ></view>
</view>
<view @click="gotoPath('/subPackages/hotelHomestay/hotelHomestay')" class="calendar-box" :style="{backgroundImage: 'url('+showImg(homeUi.ydms_hotel)+')',backgroundSize: 'cover'}">
<view class="calendar-title">享受家一般的舒适 >>></view>
<view class="calendar-line"></view>
<view class="calendar-subtitle">盐都美宿</view>
<view class="scenic-box">
<view v-for="(item,index) in scenicList" :key="index" class="scenic-item" @click="gotoScenic(item)"
:style="{backgroundImage: 'url('+showImg(item.image)+')',backgroundSize: 'cover'}">
<view class="scenic-title">{{item.title}}</view>
</view>
</view>
</view>
@ -78,7 +63,7 @@
<image :src="showImg(homeUi.xltj)" mode=""></image>
<view @click="gotoLineList">更多 ></view>
</view>
<view class="box">
<view>
<view v-for="(item,index) in lineList" :key="index" class="line-item" @click="goLineDetail(item)">
<view class="hot flex-center" v-if="item.goods.image_tag">{{item.goods.image_tag}}</view>
<image :src="showImg(item.points[0].main_image)" mode="aspectFill" class="line-img"></image>
@ -101,7 +86,7 @@
<image :src="showImg(homeUi.ydms)" mode=""></image>
<view @click="gotoPath('/subPackages/food/foodList')">更多 ></view>
</view>
<view class="food-box box">
<view class="food-box">
<view v-for="(item,index) in foodList" :key="index" class="food-item" :style="{backgroundImage: 'url('+showImg(item.goods.image)+')',backgroundSize: 'cover'}" @click="gotoFood(item.goods)">
<view class="recommend" v-if="item.goods.image_tag">{{item.goods.image_tag}}</view>
<view class="food-content">
@ -113,29 +98,18 @@
</view>
<!-- 游记攻略 -->
<!-- v-if="strategyList && strategyList.length > 0" -->
<view>
<view class="title-box flex-between">
<image :src="showImg(homeUi.yjgl)" mode=""></image>
</view>
<view class="strategy-box box">
<view class="strategy-box">
<view v-for="(num,nums) in 2" :key="nums">
<view v-for="(item,index) in strategyList" :key="index" class="strategy-item" v-if="index % 2 === nums" @click="goCalendarDetail(item)">
<view class="title-tag" v-if="item.image_tag">{{item.image_tag}}</view>
<image class="strategy-image" :src="showImg(item.image)" mode="widthFix"></image>
<view class="strategy-content">
<view class="strategy-title">{{item.title}}</view>
<view class="flex-between">
<view class="text-overflow" style="display: flex;align-items: center;width: 200rpx;">
<image :src="showImg(item.author_img)" mode="" class="author-img"></image>
{{item.author}}
</view>
<view style="display: flex;align-items: center;">
<image src="https://static.ticket.sz-trip.com/yandu/images/index/eye.png" mode="" class="eye-img"></image>
{{item.view}}
</view>
</view>
<view class="strategy-subtitle">同里旅游</view>
</view>
</view>
</view>
@ -151,51 +125,51 @@
data() {
return {
topBanner: [],
weatherList: [],
current: 0,
navList: [
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/jdmp.png',
text: '景区门票',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/lytl.png',
text: '乐游同里',
path: '/subPackages/ticketBooking/ticketBooking'
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/jdms.png',
text: '酒店民宿',
path: '/subPackages/hotelHomestay/hotelHomestay'
img: 'https://static.ticket.sz-trip.com/tongli/images/index/hdrl.png',
text: '活动日历',
path: '/subPackages/eventCalendar/eventCalendar'
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/cyms.png',
text: '餐饮美食',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tsty.png',
text: '特色体验',
path: '/subPackages/food/foodList'
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/wctc.png',
text: '文创特产',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/jdms.png',
text: '酒店民宿',
path: '/subPackages/techan/techanList'
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/xltj.png',
text: '线路推荐',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/zcs.png',
text: '找厕所',
// path: '/subPackages/line/lineList'
path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/lineList'),
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/zhdt.png',
text: '智慧地图',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tcc.png',
text: '停车场',
path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/'),
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/yjgl.png',
text: '游记攻略',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tcwc.png',
text: '特产文创',
path: '/subPackages/travelGuide/travelGuide'
},
{
img: 'https://static.ticket.sz-trip.com/yandu/images/index/hdrl.png',
text: '活动日历',
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tlms.png',
text: '同里美食',
path: '/subPackages/eventCalendar/eventCalendar'
}
],
scenic: {},
scenicList: [],
homeUi: {},
month: 0,
day: 0,
@ -204,7 +178,6 @@
strategyList: [],
showMore: true,
notice: '',
eventCalendarNum: 0
}
},
onReady() {
@ -214,7 +187,6 @@
}
this.getTopBanner()
this.getWeather()
this.getScenicByTag()
this.getHomeUi()
this.getNowDate()
@ -222,9 +194,12 @@
this.getFoodList()
this.getArticleByType()
this.getLatest()
this.getEventCalendarNum()
},
methods: {
//
swiperChange(e) {
this.current = e.detail.current;
},
// 线
gotoLineList() {
uni.navigateTo({
@ -237,12 +212,6 @@
url: '/subPackages/webPage/webPage?url=https://yandumap.sz-trip.com/lineList?id=' + item.id
});
},
//
getEventCalendarNum() {
this.Post({},'/api/activity/getActivityCalendarCount').then(res => {
this.eventCalendarNum = res.data.count
})
},
//
getLatest() {
this.Post({},'/api/anncmnt/getLatest').then(res => {
@ -328,20 +297,14 @@
}
}
},
//
getWeather() {
this.Post({},'/api/index/weather').then(res => {
this.weatherList = res.data
})
},
//
getScenicByTag() {
this.Post({
tag_id: 48,
offset: 0,
limit: 1
limit: 5
},'/api/scenic/getScenicByTagId').then(res => {
this.scenic = res.data[0]
this.scenicList = res.data
})
},
// UI
@ -400,7 +363,7 @@
<style lang="scss" scoped>
.content {
background: #DFEDE0;
background: #FFFDF7;
min-height: 100vh;
overflow-x: hidden;
position: relative;
@ -410,196 +373,164 @@
.top-box {
position: relative;
.search-box {
width: 487rpx;
.search-img {
width: 60rpx;
height: 60rpx;
background: rgba(255, 255, 255, .4);
border-radius: 30rpx;
display: flex;
align-items: center;
padding-left: 26rpx;
font-weight: 400;
font-size: 27rpx;
color: #000000;
position: absolute;
top: 98rpx;
left: 26rpx;
top: 98.67rpx;
left: 28rpx;
z-index: 2;
image {
margin-right: 14rpx;
width: 30.67rpx;
height: 30.67rpx;
}
}
.top-banner {
width: 750rpx;
height: 800rpx;
height: 666.67rpx;
}
.swiper-num {
position: absolute;
bottom: 167rpx;
right: 26.67rpx;
width: 67rpx;
line-height: 45rpx;
background: rgba(22, 22, 22, .4);
border-radius: 23rpx;
text-align: center;
z-index: 2;
font-weight: 500;
font-size: 24rpx;
color: #FFFFFF;
}
}
.nav-box {
width: 696.67rpx;
height: 520rpx;
background-image: url('https://static.ticket.sz-trip.com/yandu/images/index/navBg.png');
background-size: 100% 100%;
.notice-box {
width: 697rpx;
height: 440rpx;
background: linear-gradient(150deg, #FFF9E8, #FFF7E0);
border-radius: 20rpx;
position: relative;
margin: -79rpx auto 0;
margin: -140rpx auto 0;
padding: 22rpx 27rpx 0;
font-family: Source Han Serif CN VF;
font-weight: bold;
font-size: 40rpx;
color: #000000;
.nav-top {
height: 172rpx;
padding: 34rpx 19rpx 0 40rpx;
display: flex;
.noticeImg {
width: 340rpx;
height: 136rpx;
position: absolute;
top: -22rpx;
right: 0;
}
.nav-topLeft {
font-weight: 400;
font-size: 27rpx;
color: #111111;
width: 424rpx;
.notice-top {
font-weight: 500;
font-size: 25rpx;
color: #097291;
margin-top: 25rpx;
position: relative;
.consultImg {
width: 296rpx;
height: 45.33rpx;
}
image {
width: 33.33rpx;
height: 24.67rpx;
margin-right: 10rpx;
}
.text-overflow {
margin-top: 12rpx;
}
.notice-text {
width: 423rpx;
font-weight: 500;
font-size: 25rpx;
color: #097291;
}
.nav-topRight {
display: flex;
align-items: center;
font-weight: 400;
font-size: 24rpx;
color: #000000;
margin: 20rpx 0 0 15rpx;
height: 73rpx;
border-left: 1rpx solid #95BE9E;
padding-left: 15rpx;
.weather-img {
width: 46.67rpx;
height: 46.67rpx;
margin-right: 15rpx;
}
.notice-more {
width: 92rpx;
line-height: 27rpx;
text-align: right;
border-left: 1rpx solid #097291;
}
}
.notice-bottom {
margin-top: 33rpx;
image {
width: 389.33rpx;
height: 258.67rpx;
}
& image:first-child {
width: 240rpx;
}
}
}
.nav-box {
margin-top: 39rpx;
display: flex;
flex-wrap: wrap;
.nav-item {
width: 25%;
text-align: center;
font-weight: 400;
font-size: 25rpx;
color: #111111;
display: inline-block;
.nav-img {
width: 100rpx;
height: 100rpx;
width: 93.33rpx;
height: 93.33rpx;
margin-bottom: 10rpx;
}
}
.nav-item:nth-child(n+5) {
margin-top: 20rpx;
margin-top: 40rpx;
}
}
.iconBg {
width: 750rpx;
height: 364.67rpx;
position: absolute;
top: 974rpx;
left: 0;
}
.scenic-box {
margin: 34rpx auto 0;
width: 696rpx;
margin: 32rpx auto 0;
width: 100%;
height: 280rpx;
border-radius: 20rpx;
padding: 140rpx 39rpx 0 25rpx;
.scenic-title {
text-align: right;
font-weight: 500;
font-size: 40rpx;
color: #FFFFFF;
text-shadow: 0rpx 1rpx 2rpx rgba(0,0,0,0.36);
}
padding-left: 26rpx;
overflow-x: auto;
display: flex;
.scenic-subtitle {
margin-top: 30rpx;
font-size: 24rpx;
color: #FFFFFF;
text-shadow: 0rpx 1rpx 2rpx rgba(0,0,0,0.36);
.scenic-item {
width: 293rpx;
height: 293rpx;
margin-right: 20rpx;
position: relative;
flex-shrink: 0;
.location {
width: 20rpx;
height: 24.67rpx;
margin-right: 13rpx;
.scenic-title {
position: absolute;
padding: 0 26rpx;
bottom: 20rpx;
font-weight: 500;
font-size: 31rpx;
color: #FFFFFF;
}
}
}
.calendar-box {
width: 337rpx;
height: 253rpx;
border-radius: 20rpx;
padding: 20rpx 0 0 26rpx;
.calendar-title {
font-size: 24rpx;
color: #FFFFFF;
}
.calendar-line {
width: 40rpx;
height: 1rpx;
background: #FFFFFF;
margin: 10rpx 0 7rpx;
}
.calendar-subtitle {
font-weight: 500;
font-size: 40rpx;
color: #FFFFFF;
}
.calendar-date {
margin-top: 40rpx;
font-weight: 500;
font-size: 24rpx;
color: #FFFFFF;
span {
font-size: 48rpx;
}
}
.scenic-box::-webkit-scrollbar {
display: none;
}
.title-box {
margin-top: 60rpx;
padding-right: 26rpx;
margin-top: 55rpx;
padding: 0 26rpx 0 42rpx;
font-weight: 400;
font-size: 27rpx;
color: #000000;
image {
width: 464.67rpx;
height: 120rpx;
}
view {
margin-top: -25rpx;
width: 296rpx;
height: 60rpx;
}
}
.box {
margin-top: -14rpx;
}
.line-item {
width: 697rpx;
height: 240rpx;
@ -749,11 +680,8 @@
justify-content: space-between;
.strategy-item {
width: 337rpx;
background: #FFFFFF;
border-radius: 18rpx;
overflow: hidden;
margin-bottom: 28rpx;
width: 335rpx;
margin-bottom: 35rpx;
position: relative;
.title-tag {
@ -776,38 +704,25 @@
}
.strategy-image {
width: 337rpx;
width: 335rpx;
display: block;
border-radius: 13rpx;
}
.strategy-content {
background: #FFFFFF;
padding: 20rpx;
margin-top: 8rpx;
.strategy-title {
font-weight: 500;
font-size: 28rpx;
font-weight: bold;
font-size: 29rpx;
color: #000000;
line-height: 40rpx;
}
.flex-between {
.strategy-subtitle {
font-weight: 500;
font-size: 24rpx;
color: #888888;
margin-top: 10rpx;
.author-img {
width: 37rpx;
height: 37rpx;
margin-right: 6rpx;
}
.eye-img {
width: 26.67rpx;
height: 18.67rpx;
margin-right: 6rpx;
}
color: #248BAA;
margin-top: 8rpx;
}
}
}
@ -815,14 +730,13 @@
.strategy-more {
width: 200rpx;
line-height: 67rpx;
background: #DCEADD;
line-height: 53rpx;
border-radius: 33rpx;
border: 1rpx solid #71B580;
border: 1rpx solid #248BAA;
margin: 44rpx auto 0;
text-align: center;
font-weight: 400;
font-size: 28rpx;
color: #5BA06A;
font-weight: 500;
font-size: 27rpx;
color: #248BAA;
}
</style>

169
pages/user/user.vue

@ -1,22 +1,27 @@
<template>
<view class="bg">
<view class="title">我的</view>
<view class="topBox" @click="gotoProfile">
<view class="avatar-box flex-center">
<image :src="showImg(userInfo.avatar)" mode="aspectFill" class="headImg" v-if="userInfo.avatar"></image>
<image src="https://static.ticket.sz-trip.com/yandu/images/user/grxx.png" mode="aspectFill"
class="headImg" v-else></image>
<view class="topBox flex-between" @click="gotoProfile">
<view class="flex-center">
<view class="avatar-box">
<image :src="showImg(userInfo.avatar)" mode="aspectFill" class="headImg" v-if="userInfo.avatar"></image>
<image src="https://static.ticket.sz-trip.com/yandu/images/user/grxx.png" mode="aspectFill"
class="headImg" v-else></image>
</view>
<view class="username" v-if="userInfo.nickname">{{userInfo.nickname}}</view>
<view class="username" v-else>请登录/注册 ></view>
</view>
<view class="top-right" v-if="userInfo.nickname">
个人信息 <image src="https://static.ticket.sz-trip.com/tongli/images/user/rightIcons.png" mode=""></image>
</view>
<view class="username" v-if="userInfo.nickname">{{userInfo.nickname}}</view>
<view class="username" v-else>请登录/注册 ></view>
</view>
<view class="orderBox">
<navigator :url="'/subPackages/order/trades'" class="moreBox flex-between">
我的订单
<span class="flex-between">全部订单 <img
src="https://static.ticket.sz-trip.com/yandu/images/user/rightIcon.png" alt=""></span>
<span class="flex-between">
全部订单
<image src="https://static.ticket.sz-trip.com/tongli/images/user/rightIcons.png" mode=""></image>
</span>
</navigator>
<view class="flex-around" style="margin-top: 20rpx;">
@ -43,21 +48,23 @@
</view>
<view class="cygj">
<view class="cyItem flex-between" v-for="(item,index) in cyList" :key="index"
<view v-for="(item,index) in cyList" :key="index"
@click="gotoUrl(item.path,index)" v-if="item.isShow">
<view class="flex-center">
<img :src="item.src" class="headIcon">
{{item.title}}
<button id="contact" class="cyItem flex-between" open-type="contact" bindcontact="handleContact" session-from="sessionFrom" v-if="index == 2">
<view class="flex-center">
<img src="https://static.ticket.sz-trip.com/tongli/images/user/lxwm.png" class="headIcon">
联系我们
</view>
<img src="https://static.ticket.sz-trip.com/dongtai/images/user/rightIcon-gray.png" class="rightIcon">
</button>
<view class="cyItem flex-between" v-else>
<view class="flex-center">
<img :src="item.src" class="headIcon">
{{item.title}}
</view>
<img src="https://static.ticket.sz-trip.com/yandu/images/user/rightIcon-gray.png" class="rightIcon">
</view>
<img src="https://static.ticket.sz-trip.com/yandu/images/user/rightIcon-gray.png" class="rightIcon">
</view>
<!-- <button id="contact" class="cyItem flex-between" open-type="contact" bindcontact="handleContact" session-from="sessionFrom">
<view class="flex-center">
<img src="https://static.ticket.sz-trip.com/dongtai/images/user/zxkf.png" class="headIcon">
在线客服
</view>
<img src="https://static.ticket.sz-trip.com/dongtai/images/user/rightIcon-gray.png" class="rightIcon">
</button> -->
</view>
<!-- 旅游咨询弹框 -->
@ -84,63 +91,64 @@
nowDateTime: '', //
userInfo: {},
orderList: [{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/dfk.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/dfk.png',
title: '待付款',
status: 'WAIT_PAYMENT'
},
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/dfh.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/dfh.png',
title: '待发货',
status: 'PAYMENT_SUCCESSFULLY'
},
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/dsh.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/dsh.png',
title: '待收货',
status: 'POST'
},
// {
// src: 'https://static.ticket.sz-trip.com/yandu/images/user/dpj.png',
// src: 'https://static.ticket.sz-trip.com/tongli/images/user/dpj.png',
// title: '',
// status: 'WAIT_COMMENT'
// },
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/tksh.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/tksh.png',
title: '退款/售后',
status: 'WAIT_REFUND,REFUND_SUCCESS,REFUND_REFUSAL,REFUND_ERROR,REFUND_PART'
},
],
cyList: [{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/grsc.png',
title: '个人收藏',
path: '/subPackages/user/collect',
isShow: true
},
cyList: [
// {
// src: 'https://static.ticket.sz-trip.com/yandu/images/user/grsc.png',
// title: '',
// path: '/subPackages/user/collect',
// isShow: true
// },
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/yhq.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/yhq.png',
title: '优惠券',
path: '/subPackages/user/coupon',
isShow: true
},
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/cyxx.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/cyxx.png',
title: '常用信息',
path: '/subPackages/user/travelerList',
isShow: true
},
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/lyzx.png',
title: '旅游咨询',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/lxwm.png',
title: '联系我们',
path: '',
isShow: true
},
// {
// src: 'https://static.ticket.sz-trip.com/yandu/images/user/tsjb.png',
// title: '',
// path: '/subPackages/service/service',
// isShow: true
// },
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/tsjb.png',
title: '投诉举报',
path: '/subPackages/service/service',
isShow: true
},
{
src: 'https://static.ticket.sz-trip.com/yandu/images/user/ysgl.png',
src: 'https://static.ticket.sz-trip.com/tongli/images/user/ysgl.png',
title: '隐私管理',
path: '/subPackages/user/privacy',
isShow: true
@ -266,8 +274,8 @@
// this.$refs.popup.open('center')
// },
gotoUrl(path, index) {
if (index == 3) {
this.$refs.popup.open()
if (index == 2) {
// this.$refs.popup.open()
return;
}
uni.navigateTo({
@ -321,48 +329,50 @@
.bg {
min-height: 100vh;
overflow-x: hidden;
background: url('https://static.ticket.sz-trip.com/yandu/images/user/topBg.png') no-repeat;
background-size: 100%;
background-color: #F7F7F7;
padding-bottom: 100rpx;
}
.title {
font-weight: bold;
font-size: 36rpx;
color: #333333;
position: absolute;
top: 110rpx;
left: 50%;
transform: translate(-50%, 0);
}
.topBox {
width: 750rpx;
height: 373rpx;
padding: 100rpx 0 0 26rpx;
height: 413.33rpx;
box-sizing: border-box;
display: flex;
margin-top: 90rpx;
background-image: url('https://static.ticket.sz-trip.com/tongli/images/user/topBg.png');
background-size: 100% 100%;
padding: 50rpx 40rpx 0 28rpx;
.avatar-box {
width: 120rpx;
height: 120rpx;
background: #FFFFFF;
border-radius: 50%;
overflow: hidden;
background: #FFFFFF;
}
.headImg {
width: 60rpx;
height: 66rpx;
width: 100%;
height: 100%;
}
.username {
margin: 40rpx 0 0 28rpx;
margin-left: 20rpx;
font-weight: 500;
font-size: 40rpx;
color: #000000;
}
.top-right {
font-weight: 500;
font-size: 25rpx;
color: #248BAA;
image {
width: 11.33rpx;
height: 20rpx;
margin-left: 18rpx;
}
}
}
.orderBox {
@ -370,7 +380,7 @@
background: #FFFFFF;
box-shadow: 0rpx 0rpx 23rpx 0rpx rgba(80, 80, 80, 0.12);
border-radius: 20rpx;
margin: -48rpx auto 0;
margin: -85rpx auto 0;
padding-bottom: 30.6rpx;
.moreBox {
@ -380,23 +390,18 @@
font-family: PingFang SC;
font-weight: bold;
color: #000000;
padding-left: 26rpx;
padding: 0 13rpx 0 26rpx;
span {
width: 173rpx;
height: 40rpx;
background: rgba(223, 237, 224, .8);
border-radius: 20rpx 0rpx 0rpx 20rpx;
padding: 0 24rpx;
font-size: 25rpx;
font-family: PingFang SC;
font-weight: 500;
color: #71B580;
font-size: 25rpx;
color: #248BAA;
box-sizing: border-box;
img {
width: 20rpx;
image {
width: 11.33rpx;
height: 20rpx;
margin-left: 18rpx;
}
}
}
@ -405,14 +410,14 @@
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
color: #000000;
width: 20%;
color: #111111;
width: 25%;
text-align: center;
img {
width: 62rpx;
height: 62rpx;
margin-bottom: 10rpx;
margin-bottom: 20rpx;
}
}
}
@ -552,7 +557,7 @@
color: transparent;
cursor: pointer;
overflow: hidden;
padding: 0 27rpx;
padding: 0;
position: relative;
text-align: center;
text-decoration: none;

BIN
static/images/index.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
static/images/index_HL.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
static/images/mall.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

BIN
static/images/mall_HL.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

BIN
static/images/map.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

BIN
static/images/map_HL.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
static/images/user.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
static/images/user_HL.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 13 KiB

4
static/js/CommonFunction.js

@ -91,7 +91,7 @@ Vue.prototype.showImg = img => {
if (img.indexOf('https://') != -1 || img.indexOf('http://') != -1) {
return img;
} else {
return 'https://tongli.sz-trip.com' + img;
return 'https://tlgz.sz-trip.com' + img;
}
}
@ -115,7 +115,7 @@ Vue.prototype.getHeadImg = type => {
{
type,
},
'/api/scene/getKumgangHeadImgList'
'/api/public_service/getKumgangHeadImgList'
).then(res => {
return res.data[0].image
});

2
static/js/request.js

@ -1,7 +1,7 @@
import Vue from 'vue'
import store from '@/store'
let NEWAPIURL = 'https://tongli.sz-trip.com'
let NEWAPIURL = 'https://tlgz.sz-trip.com'
Vue.prototype.Post = (params, apiurl) => {
if (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo')).token) params.token = JSON.parse(uni.getStorageSync('userInfo')).token

39
subPackages/eventCalendar/eventCalendar.vue

@ -1,6 +1,7 @@
<template>
<view class="bg">
<span class="iconfont topLeft" @click="goBack">&#xe660;</span>
<!-- <span class="iconfont topLeft" @click="goBack">&#xe660;</span> -->
<image :src="showImg(headImg)" class="topImg"></image>
<view class="calendar">
<view class="calendar-top flex-between">
@ -8,7 +9,7 @@
<img src="https://static.ticket.sz-trip.com/hsrNewTown/images/calendar/left.png" class="iconfont" />
{{ monthShow ? '上一月' : '上一周' }}
</view>
<view>{{year}}<span>{{month}}</span></view>
<view>{{year}}{{month}}</view>
<view @click="preNextDate(1)">
{{ monthShow ? '下一月' : '下一周' }}
<img src="https://static.ticket.sz-trip.com/hsrNewTown/images/calendar/right.png" class="iconfont" />
@ -103,7 +104,8 @@
id: '16'
}
],
typeIndex: 0
typeIndex: 0,
headImg: ''
}
},
onLoad() {
@ -120,6 +122,7 @@
this.getWeekDates(new Date())
this.getList()
this.getHeadImg('calendar').then(res => {this.headImg = res})
},
methods: {
//
@ -372,9 +375,9 @@
.bg {
min-height: 100vh;
overflow-x: hidden;
background: url('https://static.ticket.sz-trip.com/yandu/images/eventCalendar/topBg.png') no-repeat;
background-size: 100%;
background-color: #F7F7F7;
// background: url('https://static.ticket.sz-trip.com/yandu/images/eventCalendar/topBg.png') no-repeat;
// background-size: 100%;
background-color: #F5F5F5;
padding-bottom: 100rpx;
}
@ -394,9 +397,17 @@
left: 0;
}
.topImg {
width: 750rpx;
height: 309.33rpx;
}
.calendar{
padding: 0 26rpx;
margin-top: 170rpx;
border-radius: 20rpx 20rpx 0 0;
position: relative;
margin-top: -20rpx;
background: #F5F5F5;
.calendar-top{
height: 109rpx;
@ -467,11 +478,11 @@
height: 80rpx;
text-align: center;
line-height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
font-size: 29rpx;
font-family: PingFang SC;
font-weight: 500;
color: #000000;
color: #fff;
border-radius: 50%;
}
}
@ -512,7 +523,7 @@
width: 670rpx;
height: 53rpx;
background: #F7F7F7;
border-radius: 13rpx;
border-radius: 27rpx;
padding: 0 12rpx;
display: flex;
align-items: center;
@ -545,9 +556,9 @@
color: #666666;
}
.type-active {
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
font-weight: bold;
color: #000000;
color: #fff;
border: none;
}
}
@ -582,10 +593,10 @@
max-width: 400rpx;
line-height: 36rpx;
border-radius: 7rpx;
border: 1rpx solid #71B580;
border: 1rpx solid #248BAA;
font-weight: 500;
font-size: 24rpx;
color: #71B580;
color: #248BAA;
}
.subtitle {

2
subPackages/order/detail.vue

@ -724,7 +724,7 @@
.top-box {
width: 750rpx;
height: 414rpx;
background: linear-gradient(180deg, #DDF2E2, #DDF2E2, #DDF2E2, #DDF2E2, #DDF2E2, #F7F7F7);
background: linear-gradient(180deg, #A2E0DB, #A2E0DB, #A2E0DB, #A2E0DB, #A2E0DB, #A2E0DB, #F7F7F7);
padding: 200rpx 0 0 50rpx;
font-weight: bold;
font-size: 43rpx;

1165
subPackages/order/trades.vue

File diff suppressed because it is too large

2
subPackages/user/bindTel.vue

@ -157,7 +157,7 @@
text-align: center;
width: 333rpx;
height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 40rpx;
color: #FFFFFF;
}

2
subPackages/user/changeNickname.vue

@ -80,7 +80,7 @@
text-align: center;
width: 333rpx;
height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 40rpx;
color: #FFFFFF;
}

6
subPackages/user/coupon.vue

@ -59,7 +59,7 @@
</view>
<view v-else class="noCoupon">
<img src="https://static.ticket.sz-trip.com/yandu/images/user/couponNo.png" class="no-couPon">
<img src="https://static.ticket.sz-trip.com/tongli/images/user/couponNo.png" class="no-couPon">
<view>暂无优惠券</view>
</view>
@ -230,8 +230,8 @@
}
.nav-list .nav-item.active {
color: #71B580;
border-bottom: 7rpx solid #71B580;
// color: #71B580;
border-bottom: 7rpx solid #248BAA;
}
.coupon-list{

2
subPackages/user/myAddressAdd.vue

@ -377,7 +377,7 @@
font-size: 36rpx;
width: 697rpx;
height: 73rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 37rpx;
justify-content: center;
align-items: center;

2
subPackages/user/myContactsAdd.vue

@ -232,7 +232,7 @@
.btn {
width: 697rpx;
height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 40rpx;
text-align: center;
line-height: 80rpx;

4
subPackages/user/profile.vue

@ -17,7 +17,7 @@
<!-- <view>{{sexes[info.gender]}}</view> -->
<radio-group @change="changesex">
<label style="margin-right: 15rpx;" v-for="(item,index) in sexes" :key="index">
<radio color="#7FD491" :value="item.value" :checked="index === info.gender-1" />{{item.text}}
<radio color="#248BAA" :value="item.value" :checked="index === info.gender-1" />{{item.text}}
</label>
</radio-group>
</view>
@ -339,7 +339,7 @@
font-size: 30rpx;
width: 697rpx;
height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 40rpx;
line-height: 80rpx;
color: #FFFFFF;

8
subPackages/user/travelerList.vue

@ -197,7 +197,7 @@
.active-bar{
width: 100%;
height: 11rpx;
background: #71B580;
background: #248BAA;
}
}
@ -225,7 +225,7 @@
span {
padding: 3rpx 9rpx;
background: #71B580;
background: #248BAA;
border-radius: 7rpx;
font-weight: bold;
font-size: 24rpx;
@ -315,11 +315,11 @@
.btn {
width: 697rpx;
line-height: 80rpx;
background: linear-gradient(90deg, #9EE4FE, #7FD491);
background: #248BAA;
border-radius: 37rpx;
font-weight: 500;
font-size: 36rpx;
color: #000000;
color: #fff;
text-align: center;
position: fixed;
bottom: 53rpx;

Loading…
Cancel
Save