| | |
| | | <view class="index"> |
| | | <!-- 接单方 --> |
| | | <view class="index-j" v-if="userInfo && userInfo.useIdentity === 1"> |
| | | <view class="kefubtn" @click="contactPhone()"> |
| | | <image style="width: 36rpx;height: 36rpx" src="/static/icon/ic_kefu.png" mode="widthFix"></image> |
| | | <text>客服</text> |
| | | </view> |
| | | <view class="index-j-head"> |
| | | <view :style="{ width: '100%', height: statusbarHeight + 'px' }"></view> |
| | | <view class="index-c-title" :style="{ height: navHeight + 'px' }"> |
| | |
| | | <view class="phone"> |
| | | <view class="phone-head"> |
| | | <view></view> |
| | | <text>客服电话</text> |
| | | <text>联系客服</text> |
| | | </view> |
| | | <view class="phone-item"> |
| | | <view> |
| | | <image style="width: 36rpx;height: 36rpx" src="/static/icon/ic_kefu.png" mode="widthFix"></image> |
| | | <button open-type="contact" plain="true" bindcontact="handleContact">在线客服</button> |
| | | </view> |
| | | <view class="line" v-if="serverPhone && serverPhone.length"></view> |
| | | </view> |
| | | <view class="phone-item" v-if="serverPhone" v-for="(item,index) in serverPhone" :key="item" @click="contactPhoneDo(item)"> |
| | | <view> |
| | |
| | | carRemark: '', |
| | | |
| | | orderFood: [], |
| | | viewStatus: false, |
| | | viewStatus: true, |
| | | |
| | | form: { |
| | | startDate: '', |
| | |
| | | this.isLogin = false |
| | | console.log('未登陆') |
| | | } |
| | | this.payOrderId=null |
| | | // this.payOrderId=null |
| | | }, |
| | | watch: { |
| | | typeId: { |
| | |
| | | methods: { |
| | | goOrderDetail(id){ |
| | | uni.navigateTo({ |
| | | url: `/pages/order-details/order-details?id=`+id |
| | | url: '/pages/order-details/order-details?id='+id |
| | | }) |
| | | this.orderId=null |
| | | this.payOrderId=null |
| | | this.show2=false |
| | | var that =this |
| | | setTimeout(function(){ |
| | | that.orderId=null |
| | | that.payOrderId=null |
| | | that.show2=false |
| | | },1000) |
| | | |
| | | }, |
| | | clearFormParam(){ |
| | | this.form.startDate = '' |
| | |
| | | fail(err) { |
| | | that.payOrderId = res.data.id |
| | | that.show2=true |
| | | console.log(err) |
| | | console.log("=====================", res.data.id,that.payOrderId,err) |
| | | } |
| | | }) |
| | | } |
| | |
| | | border-radius: 44rpx; |
| | | } |
| | | .index-j { |
| | | .kefubtn{ |
| | | background-color: white; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | position: fixed; |
| | | bottom: 100rpx; |
| | | flex-direction: column; |
| | | right:30rpx; |
| | | height: 88rpx; |
| | | width: 88rpx; |
| | | border: 1rpx solid #f2f2f2; |
| | | border-radius: 50%; |
| | | image{ |
| | | width: 36rpx; |
| | | width: 36rpx; |
| | | } |
| | | text{ |
| | | width: 44rpx; |
| | | height: 32rpx; |
| | | font-weight: 400; |
| | | font-size: 22rpx; |
| | | color: #222222; |
| | | line-height: 32rpx; |
| | | text-align: center; |
| | | } |
| | | } |
| | | width: 100%; |
| | | .index-j-head { |
| | | width: 100%; |
| | |
| | | color: #222222; |
| | | } |
| | | } |
| | | |
| | | .phone > .phone-item:last-of-type { |
| | | /* 样式 */ |
| | | border-bottom:none !important; |
| | | } |
| | | |
| | | .phone-item { |
| | | width: 100%; |
| | | text-align: center; |
| | | justify-content: space-between; |
| | | display: flex; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | // border-bottom: 1rpx solid #eeeeee; |
| | | line-height: 78rpx; |
| | | button{ |
| | | border: 1rpx white solid; |
| | | display: inline; |
| | | width: 300rpx; |
| | | font-weight: 500; |
| | | font-size: 32rpx; |
| | | line-height: 32rpx; |
| | | color: #222222; |
| | | } |
| | | image{ |
| | | width: 28rpx; |
| | | height: 28rpx; |