Commit 59185cc0 authored by zhengke's avatar zhengke

修改

parent 11c1cce0
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<view class="good-name" v-if="goodsInfo.showGoodsName">{{ item.name }} </view> <view class="good-name" v-if="goodsInfo.showGoodsName">{{ item.name }} </view>
<view class="sencond-title" v-if="item.subname">{{item.subname}}</view> <view class="sencond-title" v-if="item.subname">{{item.subname}}</view>
<view class="good-price-info"> <view class="good-price-info">
<view> <view style="display:none;">
<u-rate :current="item.courseScore!=null &&item.courseScore>0?item.courseScore:'5'" :active-color="mainColor" <u-rate :current="item.courseScore!=null &&item.courseScore>0?item.courseScore:'5'" :active-color="mainColor"
inactive-color="#DDDDDD" active-icon="star" inactive-icon="star-o" size="34" :disabled="true"></u-rate> inactive-color="#DDDDDD" active-icon="star" inactive-icon="star-o" size="34" :disabled="true"></u-rate>
<text class="good-rb-text">{{item.courseScore!=null &&item.courseScore>0?item.courseScore.toFixed(1):'5.0'}}分</text> <text class="good-rb-text">{{item.courseScore!=null &&item.courseScore>0?item.courseScore.toFixed(1):'5.0'}}分</text>
......
...@@ -297,6 +297,8 @@ ...@@ -297,6 +297,8 @@
<rich-text :nodes="dataList.feature.visaRemark"></rich-text> <rich-text :nodes="dataList.feature.visaRemark"></rich-text>
</view> </view>
</view> </view>
<view class="jz_TripDays" style="width:100%;height:50rpx;background-color: transparent;">
</view>
<view class="jz_orderbox"> <view class="jz_orderbox">
<view class="jz_OrderDiv"> <view class="jz_OrderDiv">
<view style="color:#FF3166;font-weight:bold;"> <view style="color:#FF3166;font-weight:bold;">
......
...@@ -88,7 +88,8 @@ ...@@ -88,7 +88,8 @@
</style> </style>
<template> <template>
<view class="jz_MyOrder"> <view class="jz_MyOrder">
<u-tabs :list="list" :is-scroll="false" :current="current" :active-color="mainColor" @change="change"></u-tabs> <u-tabs :list="list" :is-scroll="false" :current="current" :active-color="mainColor" @change="change" bar-height='4'
height="100"></u-tabs>
<u-empty v-if="dataList.length==0" text="暂无数据" mode="data"></u-empty> <u-empty v-if="dataList.length==0" text="暂无数据" mode="data"></u-empty>
<template v-else> <template v-else>
<view class="jz_MyOrderMain" style="height: calc(100vh - 44px);overflow: hidden;"> <view class="jz_MyOrderMain" style="height: calc(100vh - 44px);overflow: hidden;">
...@@ -134,7 +135,7 @@ ...@@ -134,7 +135,7 @@
}, },
data() { data() {
return { return {
pageTitle: '我的订单', pageTitle: '线路订单',
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 15, pageSize: 15,
...@@ -174,6 +175,19 @@ ...@@ -174,6 +175,19 @@
this.current = option.status || 0; this.current = option.status || 0;
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
let currentPages = getCurrentPages();
let u = "/" + currentPages[currentPages.length - 1].route;
let pages = wx.getStorageSync("basedata") ?
wx.getStorageSync("basedata").bar_title : [];
pages.forEach((x) => {
if (x.value == u) {
this.pageTitle = x.new_name ? x.new_name : x.name;
}
});
uni.setNavigationBarTitle({
title: this.pageTitle,
});
}, },
methods: { methods: {
change(i) { change(i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment