13404089107
2025-05-08 51cca32d236262be90f2d39b8889fa343f1adfa1
迭代
27个文件已修改
388 ■■■■ 已修改文件
app.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/changeCity/changeCity.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/changeCity/changeCity.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/coupon/coupon.js 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/coupon/coupon.wxml 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/coupon/coupon.wxss 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/getLocation/getLocation.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.js 66 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.wxml 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.wxss 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/webh5/webh5.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.wxml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/invite/invite.js 补丁 | 查看 | 原始文档 | blame | 历史
pages/invite/invite.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/invite/invite.wxml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/myTrip/okTrip/okTrip.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/myTrip/wait-pj/wait-pj.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/setLocation/setLocation.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/waiting/useCoun/useCoun.js 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/waiting/useCoun/useCoun.wxml 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/waiting/useCoun/useCoun.wxss 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/waiting/waiting.js 33 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/waiting/waiting.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
project.private.config.json 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
utils/bmap-wx.min.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
utils/util.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
app.js
@@ -4,7 +4,7 @@
// const apiHost = 'https://okyueche.com:443/user'
// const apiHost = 'http://120.220.4.138:9591/user'
const apiHost = 'https://xn95128.cn/user'
// const apiHost = 'http://192.168.110.64:7777/user'
// const apiHost = 'http://192.168.110.85:7777/user'
// const apiHost = 'http://221.182.45.100:7777/user'
@@ -33,7 +33,7 @@
     initSocket() {
      let that = this;
      that.globalData.localSocket = wx.connectSocket({
        // url: "ws://192.168.110.34:9978",
        // url: "ws://192.168.110.85:9978",
        // url: "ws://221.182.45.100:9978", 
        // url: "ws://221.182.45.100:900",
@@ -470,7 +470,7 @@
    cityName:wx.getStorageSync('cityName')||'',
    userLatitude:wx.getStorageSync('latitude')||'',
    userLongitude:wx.getStorageSync('longitude')||'',
    // Url:'http://192.168.110.64:7777/user',
    // Url:'http://192.168.110.85:7777/user',
    // Url:'http://221.182.45.100:7777/user',
    // Url:'http://39.108.148.228:80/user',
    // Url:'https://okyueche.com:443/user',
pages/changeCity/changeCity.js
@@ -51,7 +51,7 @@
        ak: 'fi3HGJjW153NCNsaTb9FekxeX1Lj3auo' // 必填,您的key
      })
      console.log('shuju', bmap);
      console.log('shuju//////////', e);
      bmap.geocoding({
        address: self,
@@ -62,13 +62,12 @@
            location: `${res.result.location.lat},${res.result.location.lng}`, //获取到的位置信息
            success: (resp) => {
              var data = resp.originalData.result
              console.log('wdawda',resp);
              var latitude = data.location.lat;
              var longitude = data.location.lng; //根据地址解析在地图上标记解析地址位置
              wx.setStorageSync('latitude', latitude)
              wx.setStorageSync('longitude', longitude)
              wx.setStorageSync('cityName', data.addressComponent.city)
              wx.setStorageSync('adcode', parseInt(data.addressComponent.adcode/100) * 100)
              prevPage.setData({
                cityName: data.addressComponent.city,
                latitude: latitude,
pages/changeCity/changeCity.wxml
@@ -17,7 +17,7 @@
                <!-- <van-index-anchor index="{{item.key}}" >{{item.key}}</van-index-anchor> -->
                <view index="{{item.key}}" class="{{modeSelectId == 2 ? 'font40' : ''}}" style="padding:var(--index-anchor-padding,0 16px);">{{item.key}}</view>
                <view wx:for="{{item.list}}" wx:for-item="it">
                    <van-cell title="{{it.keyName}}" bindtap="selectCity" data-self="{{it.keyName}}" title-class="{{modeSelectId == 2 ? 'font40' : ''}}" />
                    <van-cell title="{{it.keyName}}" bindtap="selectCity" data-item="{{it}}" data-self="{{it.keyName}}" title-class="{{modeSelectId == 2 ? 'font40' : ''}}" />
                </view>
            </view>
pages/coupon/coupon.js
@@ -9,7 +9,24 @@
  data: {
    couponList:[],
    state:1,
    pageNum:1
    pageNum: 1,
    showModel: false,
    itemInfo: {},
  },
  onClose() {
    this.setData({
      showModel: false
    })
  },
  showModeCity(e) {
    if (e.currentTarget.dataset.item.city) {
      this.setData({
        itemInfo: e.currentTarget.dataset.item,
        showModel: true
      })
    }
  },
  /**
@@ -38,6 +55,9 @@
      state :this.data.state
    })
    .then((res)=>{
        res.data.data.map(item=>{
          item.city = JSON.parse(item.city).join(',')
        })
      console.log(res)
      if(res.data.code==200&&res.data.data.length>0){
        this.data.pageNum = this.data.pageNum + 1;
@@ -69,8 +89,7 @@
    let that = this;
    //设置容器高度
    that.setData({
      containersHeight:
        wx.getSystemInfoSync().windowHeight - this.data.sendHeight
      containersHeight: wx.getSystemInfoSync().windowHeight - this.data.sendHeight
    });
  },
  //删除优惠券
pages/coupon/coupon.wxml
@@ -1,5 +1,5 @@
<!-- pages/personal/couponlist/couponlist.wxml -->
<navBar title-text="{{'我的优惠卷'}}" other-title="{{'赠送'}}" bind:myevent="onMyEvent" step="{{3}}"></navBar>
<navBar title-text="{{'我的优惠券'}}" other-title="{{'赠送'}}" bind:myevent="onMyEvent" step="{{3}}"></navBar>
<view class="containers" style="padding-top:{{sendHeight}}px;height:{{containersHeight}}px;">
    <!-- <van-popup custom-class="custom-class" show="{{ titleShow }}" position="top" overlay="{{ true }}" bind:close="onClose">
        <view class="title-list" style="margin-top:{{sendHeight}}px;">
@@ -40,6 +40,10 @@
                                <image src="../../img/jg.png" class="timeImg" mode="widthFix"></image>
                                {{item.userType==0?'专车、出租车、跨城出行都可使用':item.userType==1?'仅限专车使用':item.userType==2?'仅限出租车使用':item.userType==3?'仅限城际使用':''}}
                            </view>
              <view data-item="{{item}}"  bindtap="showModeCity" style="font-size:24rpx;font-weight:500; color:rgba(0,0,0,.4);">
                <image src="../../img/jg.png" class="timeImg" mode="widthFix"></image>
                适用城市:{{item.city}}
              </view>
                        </view>
                    </view>
                    <view catchtap="deltaCoupon" data-id="{{item.id}}" data-index="{{index}}" slot="right" class="delete-btn">
@@ -79,6 +83,10 @@
                                <image src="../../img/jg.png" class="timeImg" mode="widthFix"></image>
                                {{item.userType==0?'专车、出租车、跨城出行都可使用':item.userType==1?'仅限专车':item.userType==2?'仅限出租车':item.userType==3?'仅限城际':''}}
                            </view>
              <view data-item="{{item}}"  bindtap="showModeCity" style="font-size:24rpx;font-weight:500; color:rgba(0,0,0,.4);text-overflow: ellipsis;white-space: nowrap;overflow: hidden;">
                <image  src="../../img/jg.png" class="timeImg" mode="widthFix"></image>
                适用城市:{{item.city}}
              </view>
                            <image src="../../img/used@3x.png" class="used-img" mode="widthFix"></image>
                        </view>
                    </view>
@@ -89,4 +97,16 @@
            </view>
        </van-tab>
    </van-tabs>
  <van-popup position="center" overlay="{{ true }}" show="{{showModel}}" bind:close="onClose">
    <view class="van_top">
      <view class="van_title" style="font-weight: 600;">适用城市</view>
      <!-- <image src="../../img/icon_close.png" catchtap="onClose"></image> -->
    </view>
    <view class="van-content" style="display: flex;justify-content: center; align-items: center;margin-top: 30rpx;">
     {{itemInfo.city || ''}}
    </view>
    <button catchtap="onClose" class="sure-btn">关闭</button>
  </van-popup>
</view>
pages/coupon/coupon.wxss
@@ -156,3 +156,48 @@
.van-tab--active {
  color: #4D8BFF !important;
}
.van_title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 31rpx;
  color: rgba(0, 0, 0, .8);
  text-align: center;
  margin-top: 34.62rpx;
}
.check-icon-item {
  width: 34.62rpx;
  height: 34.62rpx;
  margin-right: 19.23rpx;
}
.van-item {
  margin-left: 26.92rpx;
  margin-right: 26.92rpx;
  display: flex;
  align-items: center;
  height: 90.38rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 23rpx;
  border-bottom: 1rpx solid rgba(151, 151, 151, .15);
}
.sure-btn {
  width: 200rpx !important;
  height: 77rpx;
  background: #4D8BFF;
  border-radius: 8rpx;
  margin-top: 65.38rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 29rpx;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.van-content{
  width: 80vw;
}
pages/getLocation/getLocation.js
@@ -114,7 +114,7 @@
    })
    bmap.suggestion({
      query: inputValue,
      region: this.data.adcode,
      region:wx.getStorageSync('cityName'),
      coordtype: 'bd09ll',
      citylimit: true,
      success: (res) => {
pages/home/home.js
@@ -172,6 +172,8 @@
    // 协议痰喘显示隐藏
    agreementShow: wx.getStorageSync('token') ? false : !wx.getStorageSync('isAgreement') && true,
    showModel: false,
    jumpUrl: '',
    priceObj:{},
  },
@@ -187,6 +189,10 @@
    this.setData({
      showModel: false
    })
  },
  bindTap(e) {
    console.log('shuju', e);
  },
@@ -1078,14 +1084,33 @@
  getNotice() {
    unit.post(app.globalData.Url + '/base/notice/allert').then(res => {
      if (res.data.data[0]?.id) {
        // let regex = /<a[^>]*\shref="([^"]+)"[^>]*>([^<]+)<\/a>/gi;
        // let url = regex.exec(res.data.data[0].content)[1]
        // console.log('shuju45645648488464',url);
        this.setData({
          noticeInfo: res.data.data[0],
          showNotice: true
          showNotice: true,
          // jumpUrl: url
        })
        unit.post(app.globalData.Url + '/api/confitm', {
          id: res.data.data.id
        unit.post(app.globalData.Url + '/api/systemNotice/delSystemNotice', {
          id: res.data.data[0].id
        })
      }
    })
  },
  //跳转广告配置的h5
  goWebView() {
    // if(this.data.jumpUrl){
    //   let idStr = this.data.jumpUrl.split('?')[1].split('=')[1]
    //   // let urlStr = `/pages/home/webh5/webh5?act=1&url=${this.data.jumpUrl}&${idStr}`
    //   console.log('//////////',idStr);
    //   wx.navigateTo({
    //     url: `/pages/home/webh5/webh5?act=1&id=${idStr}&url=` + this.data.jumpUrl,
    //   })
    // }
    wx.navigateTo({
      url: '/pages/setting/userHelp/userHelp?type=5',
    })
  },
  getSetting() {
@@ -1592,8 +1617,8 @@
        success: (res) => {
          btnCarData.startLon = res.data.result[0].x
          btnCarData.startLat = res.data.result[0].y
          btnCarData.endLon = res.data.result[1]?.x
          btnCarData.endLat = res.data.result[1]?.y
          // btnCarData.endLon = res.data.result[1]?.x
          // btnCarData.endLat = res.data.result[1]?.y
          if (Object.keys(btnCarData).length == 17) {
            btnCarData.oldPeople = Number(!mode)
            if (Number(!mode)) {
@@ -1693,8 +1718,8 @@
        success: (res) => {
          btnCarData.startLon = res.data.result[0].x
          btnCarData.startLat = res.data.result[0].y
          btnCarData.endLon = res.data.result[1]?.x
          btnCarData.endLat = res.data.result[1]?.y
          // btnCarData.endLon = res.data.result[1]?.x
          // btnCarData.endLat = res.data.result[1]?.y
          if (Object.keys(btnCarData).length == 17) {
            btnCarData.oldPeople = Number(!mode)
            if (Number(!mode)) {
@@ -2262,9 +2287,6 @@
  //选择目的地后开始对地图绘制信息
  pointAddress() {
    // qqmapsdk = new QQMapWX({
    //   key: 'SVIBZ-4RN6J-LPRF2-XZOZF-EAZKF-USFTD' //这里自己的key秘钥进行填充
    // });
    var that = this;
    // 标注起点终点
    if (that.data.nextBoolean) {
@@ -2278,10 +2300,6 @@
        },
      ]
      let startLat = that.data.startLat || that.data.latitude
      let startLon = that.data.startLon || that.data.longitude
      wx.request({
@@ -2400,6 +2418,26 @@
              nextLongitude: that.data.nextLongitude,
            })
            .then((res) => {
              unit.post(app.globalData.Url + '/api/taxi/getAllForecastPrice', {
                payManner: that.data.changeModel == '线上计费' ? 1 : 2,
                startLat:resp.data.result[0].y,
                startLon:resp.data.result[0].x,
                endLat: that.data.nextLatitude,
                endLon: that.data.nextLongitude
              })
              .then((res) => {
                console.log(res)
                if (res.data.code == 200) {
                  res.data.data.online = res.data.data.online.toFixed(2)
                  res.data.data.offline = res.data.data.offline.toFixed(2)
                  this.setData({
                    priceObj:res.data.data
                  })
                }
              })
              var coors = res.data.data
              var polyline = [];
              coors.forEach(function (step, index) {
pages/home/home.wxml
@@ -45,9 +45,17 @@
        </view>
      </view>
      <!--滑动选择框-->
      <!-- <scroll-view scroll-x="true" style=" white-space: nowrap;height:40px">
            <view class="bus_style {{busId==item.id?'active_style':''}}" wx:key='index' catchtap="changCarID" wx:for="{{busStyle}}" data-id="{{item.id}}">{{item.name}}</view>
        </scroll-view> -->
      <view style="display: flex;width: 100%;" wx:if="{{!chartered}}">
      <view style="flex: 1;overflow: auto;">
        <scroll-view scroll-x="true" style="white-space: nowrap; height:24px;margin-bottom: 20rpx;background-color: #fff;padding-bottom: 20rpx;">
          <view class="bus_styles {{busId==item.id?'active_style':''}}" wx:key='index' catchtap="changCarID" wx:for="{{busStyle}}" data-id="{{item.id}}">{{item.name}}</view>
        </scroll-view>
      </view>
      <view class="more-serve" bindtap="showgengduos" wx:if="{{visibleMoreServe}}">
        <image src="https://cy-kuanzhai.oss-cn-shenzhen.aliyuncs.com/applet/static/img/gengduo.png"></image>
      </view>
    </view>
      <!-- 普通与老人模式切换 -->
      <view style="display: flex;justify-content: center; align-items: center;">
@@ -187,7 +195,7 @@
          <view class="car_style" wx:if="{{busId==2}}">
            <view class="car_name">出租车</view>
            <image src="../../img/taxi.png" class="taxi_img"></image>
            <view class="car_driveText">打表计费</view>
            <view class="car_driveText">预估{{changeModel=='线上计费'?priceObj.online:priceObj.offline}}元</view>
            <!-- <view class="sosPeople" catchtap="setSosPeople">紧急联系人<image src="../../img/icon_nav_open.png" class="jiantou"></image>
                        </view> -->
          </view>
@@ -476,9 +484,11 @@
</view>
<view wx:if="{{showNotice}}" class="overlay">
  <view class="notice">
    <view bindtap="goWebView">
    <image src="{{noticeInfo.imgUrl}}" mode="aspectFill"></image>
    <view class="subTitle">
      <rich-text nodes="{{ noticeInfo.content }}"></rich-text>
      </view>
    </view>
    <image bindtap="closeNotice" class="close" src="/img/icon_close1.png"></image>
  </view>
@@ -505,12 +515,19 @@
    <view class="van-item" bindtap="changeTab1">
      <image src="../../img/xuanzhong@2x.png" wx:if="{{changeModel=='线上计费'}}" class="check-icon-item" />
      <image src="../../img/icon_raidobutton.png" wx:if="{{changeModel=='打表计费'}}" class="check-icon-item" />
      <text style="font-weight: 600;"> 线上计费</text> (平台计费在线付款给平台)
      <view style="width: 100%;">
        <view style="font-weight: 600; display: flex; justify-content: space-between;width: 100%;"> <view>线上计费</view> <view>预估{{priceObj.online}}元</view></view>
        <view>平台计费在线付款给平台</view>
      </view>
    </view>
    <view class="van-item" bindtap="changeTab2">
      <image src="../../img/icon_raidobutton.png" wx:if="{{changeModel=='线上计费'}}" class="check-icon-item" />
      <image src="../../img/xuanzhong@2x.png" wx:if="{{changeModel=='打表计费'}}" class="check-icon-item" />
     <text style="font-weight: 600;">打表计费</text> (司机打表计费)
      <view style="width: 100%;">
        <view style="font-weight: 600; display: flex; justify-content: space-between;width: 100%;"> <view>打表计费</view> <view>预估{{priceObj.offline}}元</view></view>
        <view>司机打表计费</view>
      </view>
    </view>
  </view>
pages/home/home.wxss
@@ -203,7 +203,7 @@
}
.active_style {
  color: #4D8BFF;
  color: #4D8BFF !important;
}
.can_use_car {
@@ -1406,6 +1406,7 @@
  padding: 23rpx 35rpx 27rpx 31rpx;
  max-height: 200rpx;
  overflow-x: hidden;
  margin-top: -10rpx;
}
.notice .close {
@@ -1488,6 +1489,16 @@
  margin-right: 19.23rpx;
}
.bus_styles {
    display: inline-block;
    font-size: 30rpx;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: rgba(140, 144, 151, 1);
    line-height: 60rpx;
    padding: 0 35rpx;
  }
.van-item {
  margin-left: 26.92rpx;
  margin-right: 26.92rpx;
pages/home/webh5/webh5.js
@@ -12,12 +12,21 @@
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    if (options.act == 1) {
      let url = options.url + '?id=' + options.id
      this.setData({
        url: url,
        userId: wx.getStorageSync('userId'),
      })
    } else {
       this.setData({
        userId:wx.getStorageSync('userId'),
        // url:'http://120.220.4.138:9591/user/share/shareIndex.html?uid='+wx.getStorageSync('userId')+'&type='+1,
        url:'https://xn95128.cn/user/share/shareIndex.html?uid='+wx.getStorageSync('userId')+'&type='+1,
        // url1:'http://39.108.148.228:8080/orderShare/index.html?orderId=1622'
       })
    }
  },
  /**
pages/index/index.js
@@ -184,7 +184,7 @@
      app.showToastSuccess('请确认阅读协议', null, 'none', 1500)
      return
    }
    console.log(e)
    console.log('///////////wwwwwwwwwwwww', e)
    let uid = wx.getStorageSync('uid')?wx.getStorageSync('uid'):''
    let userType = wx.getStorageSync('userType')?wx.getStorageSync('userType'):''
    wx.login({
@@ -193,6 +193,7 @@
        if (res.code) {
          wx.getUserInfo({
            complete: (res1) => {
              console.log('sadasdadwee12',this.data.getPhoneNumber,this.data.getCode);
              unit.post(app.globalData.Url + '/base/user/wxLogin', {
                  jscode: res.code,
                  registAreaCode: wx.getStorageSync('adcode') || '370500',
@@ -200,8 +201,10 @@
                  loginType: "Applets",
                  uid:uid,
                  userType:userType,
                  phone: this.data.getPhoneNumber && this.data.getCodeNum ? this.data.getPhoneNumber : ''
                })
                .then((res) => {
                  if (res.data.code == 200) {
                    wx.setStorageSync('token', res.data.data.token)
                    wx.setStorageSync('userId', res.data.data.id)
pages/index/index.wxml
@@ -51,14 +51,14 @@
        </view>
    </view>
    <!--登录按钮-->
    <view class="login_button" catchtap="goLogin">登录</view>
    <view class="login_button" bindtap="goLogin">登录</view>
    <!--密码登录时忘记密码-->
    <view class="forget_password" hidden="{{codeId==1}}" catchtap="forgetPassword">忘记密码?</view>
    <view class="other_login">其他方式登录</view>
    <view class="wx_box">
    <!-- <view class="other_login">其他方式登录</view> -->
    <!-- <view class="wx_box">
        <image src="../../img/login_wx.png" class="wx_login"></image>
        <button class="button_wx_login" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo"></button>
    </view>
    </view> -->
    <view class="Pop" wx:if="{{showPop}}">
        <view class="pop_view">
pages/invite/invite.js
pages/invite/invite.json
@@ -1,4 +1,5 @@
{
  "usingComponents": {},
  "navigationBarTitleText":"邀请好友"
  "navigationBarTitleText":"邀请好友",
  "requiredPrivateInfos": ["getSetting", "saveImageToPhotosAlbum"]
}
pages/invite/invite.wxml
@@ -1,5 +1,5 @@
<!--pages/invite/invite.wxml-->
<view class="invite-page">
<view class="invite-page" id="invite-page">
  <view class="top-img">
    <image src="../../img/tip.png" class="invite-icon" mode="aspectFit" />
  </view>
@@ -20,7 +20,8 @@
  </view>
  <view class="btns-box">
    <view class="btns" bindtap="downLoadCode">下载邀请码</view>
    <!-- bindtap="downLoadCode" -->
    <view class="btns" bindtap="savePageToAlbum" >截图分享</view>
  </view>
  <view class="invite-record">
pages/myTrip/okTrip/okTrip.wxml
@@ -11,7 +11,7 @@
                </view>
                <view class="okTrip_car_style">
                    {{orderMessage.brand}} · {{orderMessage.carColor}}
                    <view class="okTrip_money" catchtap="lookMoneyInfo">
                    <view class="okTrip_money" catchtap="lookMoneyInfo" wx:if="{{orderMessage.payManner==1}}">
                        {{orderMoney}}元
                      <image src="/img/arrows@3x.png"></image>
                    </view>
pages/myTrip/wait-pj/wait-pj.wxml
@@ -11,7 +11,7 @@
                </view>
                <view class="okTrip_car_style">
                    {{orderMessage.brand}} · {{orderMessage.carColor}}
                    <view class="okTrip_money" catchtap="lookMoneyInfo" wx:if="{{OrderInfo.payManner!=3}}">
                    <view class="okTrip_money" catchtap="lookMoneyInfo" wx:if="{{OrderInfo.payManner==1}}">
                        {{orderMoney}}元
                        <image src="/img/arrows@3x.png"></image>
                    </view>
pages/setLocation/setLocation.js
@@ -49,9 +49,11 @@
      ak: 'fi3HGJjW153NCNsaTb9FekxeX1Lj3auo' // 必填,您的key
    })
    console.log('shuju22222222222',this.data.adcode);
    bmap.suggestion({
      query: inputValue,
      region:this.data.adcode,
      region:wx.getStorageSync('cityName'),
      success:(res)=>{
        this.setData({
          addressList : res.result
pages/waiting/useCoun/useCoun.js
@@ -12,7 +12,24 @@
    id:"",
    money:0,
    orderType:"",
    newMoney:""
    newMoney:"",
    itemInfo:{},
    showModel:false,
  },
  showModeCity(e) {
    if (e.currentTarget.dataset.item.city) {
      this.setData({
        itemInfo: e.currentTarget.dataset.item,
        showModel: true
      })
    }
  },
  onClose() {
    this.setData({
      showModel: false
    })
  },
  /**
@@ -44,7 +61,9 @@
      size:20
    })
    .then((res)=>{
      console.log(res)
      res.data.data.map(item=>{
        item.city = JSON.parse(item.city).join(',')
      })
       if(res.data.code==200){
         let data = res.data.data
         if(data.length>0){
pages/waiting/useCoun/useCoun.wxml
@@ -61,10 +61,25 @@
                <image src="../../../img/jg.png" class="timeImg" mode="widthFix"></image>
                {{item.userType==0?'专车、出租车、跨城出行都可使用':item.userType==1?'仅限专车':item.userType==2?'仅限出租车':item.userType==3?'仅限城际':''}}
            </view>
      <view data-item="{{item}}" bindtap="showModeCity" style="font-size:24rpx;font-weight:500; color:rgba(0,0,0,.4);">
        <image src="../../img/jg.png" class="timeImg" mode="widthFix"></image>
        适用城市:{{item.city}}
      </view>
        </view>
    </view>
</view>
<van-popup position="center" overlay="{{ true }}" show="{{showModel}}" bind:close="onClose">
    <view class="van_top">
      <view class="van_title" style="font-weight: 600;">适用城市</view>
      <!-- <image src="../../img/icon_close.png" catchtap="onClose"></image> -->
    </view>
    <view class="van-content" style="display: flex;justify-content: center; align-items: center;margin-top: 30rpx;">
     {{itemInfo.city || ''}}
    </view>
    <button catchtap="onClose" class="sure-btn">关闭</button>
  </van-popup>
<view class="noHb" wx:if="{{couponList.length==0}}">暂无可用优惠券</view>
<view class="goon" catchtap="goon" wx:if="{{couponList.length!=0}}">确定</view>
pages/waiting/useCoun/useCoun.wxss
@@ -24,3 +24,48 @@
  opacity: 1!important;
}
.van_title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 31rpx;
  color: rgba(0, 0, 0, .8);
  text-align: center;
  margin-top: 34.62rpx;
}
.check-icon-item {
  width: 34.62rpx;
  height: 34.62rpx;
  margin-right: 19.23rpx;
}
.van-item {
  margin-left: 26.92rpx;
  margin-right: 26.92rpx;
  display: flex;
  align-items: center;
  height: 90.38rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 23rpx;
  border-bottom: 1rpx solid rgba(151, 151, 151, .15);
}
.sure-btn {
  width: 200rpx !important;
  height: 77rpx;
  background: #4D8BFF;
  border-radius: 8rpx;
  margin-top: 65.38rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 29rpx;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.van-content{
  width: 80vw;
}
pages/waiting/waiting.js
@@ -501,7 +501,7 @@
  //根据经纬度路线规划
  //获取行车路线
  getDriverLine(fromValue, toValue) {
    console.log('shhuji', fromValue, toValue);
    // console.log('shhuji', fromValue, toValue);
    let that = this;
    unit.post(app.globalData.Url + '/base/loadLine', {
        startLat: fromValue.latitude,
@@ -665,7 +665,7 @@
  waitTingApi(type) {
    // console.log('---------------111')
    let resData = JSON.parse(type);
    console.log("订单", resData.data);
    // console.log("订单", resData.data);
    // console.log("订单状态", resData.method);
    if (resData.method == 'ORDER_CANCEL') {
      wx.navigateBack()
@@ -701,6 +701,7 @@
        waitTing: false
      })
      var state = resData.data.state
      console.log('////+++++++1111111', state);
      if (state == 1) {
        this.setData({
          sendTitle: "等待应答"
@@ -826,14 +827,16 @@
        })
        this.getMessage()
        clearInterval(this.data.getDriveIng)
        app.globalData.state == 0
        // app.globalData.state == 0
      } else if (state == 8) {
        console.log('//////////////////////', '走这个位置');
        this.setData({
          showMap: false,
          payEnd: true,
          showPay: true,
          sendTitle: "已完成"
        })
        this.getMessage()
        clearInterval(this.data.getDriveIng)
        app.globalData.state == 0
        if (this.data.orderType == 3) {
@@ -842,7 +845,6 @@
          })
        }
      } else if (state == 9) {
        console.log(11111111111111111111 + '//////////////////////////');
        this.setData({
          sendTitle: "已取消"
        })
@@ -976,6 +978,23 @@
      })
    } else if (resData.method == 'REASSIGN') {
      this.getMessage()
    } else if (resData.method == 'ORDER_STATUS' && resData.data.state == 8) {
      console.log('//////////////////////', '走这个位置');
      this.getMessage()
      this.setData({
        showMap: false,
        payEnd: true,
        showPay: true,
        sendTitle: "已完成"
      })
      clearInterval(this.data.getDriveIng)
      app.globalData.state == 0
      if (this.data.orderType == 3) {
        this.setData({
          showSuccess: true
        })
      }
    }
  },
@@ -1083,7 +1102,6 @@
      }
    })
  },
  getDriveIng() {
    wx.request({
@@ -1357,6 +1375,7 @@
            showPay: true,
            sendTitle: "已完成"
          })
          this.getMessage()
          clearInterval(this.data.getDriveIng)
          app.globalData.state == 0
        } else if (res.data.data.state == 9) {
@@ -1619,7 +1638,7 @@
      },
      method: "POST",
      success: (res) => {
        console.log(res)
        // console.log(res)
        if (res.data.code == 200) {
          this.setData({
            OrderInfo: res.data.data
@@ -1725,7 +1744,7 @@
                orderType: this.data.orderType
              })
              .then((res2) => {
                console.log('////////////////////////////////////')
                // console.log('////////////////////////////////////')
                // var markers = [{
                //   iconPath: "../../img/map_car@3x.png",
                //   id: 1,
pages/waiting/waiting.wxml
@@ -173,7 +173,7 @@
    <!--start-->
    <view class="start" hidden="{{!payEnd}}" style="{{modeSelectId == 2 ? 'padding-top:191rpx' : ''}}">
      <view class="car_monery" wx:if="{{money>0}}">¥{{money||0}}</view>
      <view class="please_pay" style="text-decoration:underline;padding-bottom:15rpx" catchtap="lookMoneyInfo">查看费用明细</view>
      <view class="please_pay" wx:if="{{OrderInfo.payManner==1}}" style="text-decoration:underline;padding-bottom:15rpx" catchtap="lookMoneyInfo">查看费用明细</view>
      <view class="noname {{modeSelectId == 2 ? 'font60' :''}}" wx:if="{{nmpj}}">匿名评价司机</view>
      <view class="noname {{modeSelectId == 2 ? 'font60' :''}}" wx:if="{{pjxq}}">评价详情</view>
      <!--遮罩层-->
project.private.config.json
@@ -63,6 +63,20 @@
          "query": "",
          "launchMode": "default",
          "scene": null
        },
        {
          "name": "",
          "pathName": "pages/invite/invite",
          "query": "",
          "launchMode": "default",
          "scene": null
        },
        {
          "name": "",
          "pathName": "pages/coupon/coupon",
          "query": "",
          "launchMode": "default",
          "scene": null
        }
      ]
    }
utils/bmap-wx.min.js
@@ -110,6 +110,7 @@
    }, {
      key: "suggestion",
      value: function (t) {
        console.log('///////////////',t);
        var a = this;
        t = t || {};
        var e = {
utils/util.js
@@ -212,7 +212,7 @@
        Authorization: "Bearer" + " " + wx.getStorageSync('token'),
      },
      success: function (res) { //服务器返回数据
        console.log(res, '========================');
        // console.log(res, '========================');
        if (res.statusCode == 200) {
          resolve(res);
          wx.hideLoading({})