更新
This commit is contained in:
@@ -60,7 +60,8 @@
|
||||
<view class="padding-tb-xs text-left">
|
||||
油品油枪
|
||||
<text class="fr nowrap">
|
||||
{{order.oilsCode?order.oilsCode+' ':'' }}{{ order.gunName?order.gunName+'号枪': order.oilsBar?order.oilsBar+'号枪':'未选择油枪'}} </text>
|
||||
{{order.oilsCode?order.oilsCode+' ':'' }}{{ order.gunName?order.gunName+'号枪': order.oilsBar?order.oilsBar+'号枪':'未选择油枪'}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="padding-tb-xs text-left">
|
||||
{{order.oilProductType=='GAS'?'加气重量:':'加油升数:'}}
|
||||
@@ -74,7 +75,8 @@
|
||||
</view>
|
||||
<view class="padding-tb-xs text-left">
|
||||
优惠价格
|
||||
<text class="fr">约{{moneyIntercept(order.realPrice) }}¥/{{order.oilProductType=='GAS'?'L':'L'}}</text>
|
||||
<text
|
||||
class="fr">约{{moneyIntercept(order.realPrice) }}¥/{{order.oilProductType=='GAS'?'L':'L'}}</text>
|
||||
</view>
|
||||
<view class="padding-tb-xs text-left">
|
||||
加油员
|
||||
@@ -144,12 +146,16 @@
|
||||
<button class="cu-btn block flex-sub lg bg-main-oil " @tap="makePay">立即支付</button>
|
||||
<button class="cu-btn block flex-sub lg margin-left" @tap="cancelOrder">取消订单</button>
|
||||
</view>
|
||||
<view class="cu-btn bg-white oil-main-color block flex-sub lg" @click="makeCall">
|
||||
<!-- <view class="cu-btn bg-white oil-main-color block flex-sub lg" @click="makeCall">
|
||||
<text class="cuIcon-service padding-right-sm">联系客服</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- <button class=" cu-btn bg-white oil-main-color block flex-sub lg " open-type="contact"><text class="cuIcon-service padding-right-sm"></text> 在线客服</button> -->
|
||||
<!-- <button class="cu-btn block lg margin-top " @tap="delOrder">删除订单</button> -->
|
||||
</view>
|
||||
<view class="customer-service" @click="arousePhone">
|
||||
<image src="../../static/img/customer-service.png"></image>
|
||||
联系客服
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -194,12 +200,12 @@
|
||||
tkiQrcode
|
||||
},
|
||||
methods: {
|
||||
// 拨打电话
|
||||
makeCall() {
|
||||
arousePhone() {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: '4008-56-5355' //仅为示例
|
||||
phoneNumber: '4008-56-5355'
|
||||
})
|
||||
},
|
||||
|
||||
newQrString() {
|
||||
this.getOrderQrCode()
|
||||
},
|
||||
@@ -395,7 +401,31 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.customer-service {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 60%;
|
||||
padding-left: 15rpx;
|
||||
width: 180rpx;
|
||||
height: 57rpx;
|
||||
line-height: 57rpx;
|
||||
background: #FFE9CC;
|
||||
font-size: 26rpx;
|
||||
color: #FF6700;
|
||||
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(255, 232.1327966451645, 216.63716733455658, 1);
|
||||
border-radius: 30rpx 0rpx 0rpx 30rpx;
|
||||
|
||||
image {
|
||||
position: relative;
|
||||
top: 11rpx;
|
||||
// vertical-align: middle;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 7rpx;
|
||||
}
|
||||
}
|
||||
.move-tops {
|
||||
transform: translateY(-17px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user