Commit 41c04d09 authored by Mac's avatar Mac

样式上的修改

parent ce08d7f5
<template> <template>
<view class="guidecarOrderdetails" :style="{'height':contentHeight}" > <view class="guidecarOrderdetails" :style="{'height':contentHeight}" >
<view class="u-skeleton" v-if="isExsitGoods"> <view class="u-skeleton" v-if="isExsitGoods">
<view class="g_top"> <view style="width: 100%;background: #FFFFFF;padding-bottom:5px ;">
<view class="row"> <view class="g_top">
<u-icon name="location" :size="32" color="#EE4454"></u-icon> <view class="row">
<span>{{Pickcar}}</span> <u-icon name="location" :size="32" color="#EE4454"></u-icon>
<view style="width: 2px;color: #E7E7E7;height: 20px;margin:0 10px;"></view> <span>{{Pickcar}}</span>
</view> <view style="width: 2px;color: #E7E7E7;height: 20px;margin:0 10px;"></view>
<view class='row' style="justify-content: space-between;width: 220px;">
<view class="topB" @click="">
<span class='ztext'>{{STime.month}}{{STime.day}}</span>
<span class='titext'>{{STime.week+' '+STime.hour+':'+STime.minute}}</span>
</view> </view>
<view class="topB" style="height: 20px;align-items: center;"> <view class='row' style="justify-content: space-between;width: 220px;">
<span style='font-size: 11px;color: #1C1E1F;'>{{intervalDay}}</span> <view class="topB" @click="">
<image src="../../static/images/sanjiao.png" mode="aspectFill" style="width: 55px;height: 4px;"></image> <span class='ztext'>{{STime.month}}{{STime.day}}</span>
<span class='titext'>{{STime.week+' '+STime.hour+':'+STime.minute}}</span>
</view>
<view class="topB" style="height: 20px;align-items: center;">
<span style='font-size: 11px;color: #1C1E1F;'>{{intervalDay}}</span>
<image src="../../static/images/sanjiao.png" mode="aspectFill" style="width: 55px;height: 4px;"></image>
</view>
<view class="topB" @click="">
<span class='ztext'>{{ETime.month}}{{ETime.day}}</span>
<span class='titext'>{{ETime.week+' '+ETime.hour+':'+ETime.minute}}</span>
</view>
</view> </view>
<view class="topB" @click="">
<span class='ztext'>{{ETime.month}}{{ETime.day}}</span>
<span class='titext'>{{ETime.week+' '+ETime.hour+':'+ETime.minute}}</span>
</view>
</view> </view>
</view> </view>
<view class="u-skeleton-rect"> <view class="u-skeleton-rect">
<swiper <swiper
...@@ -63,7 +66,7 @@ ...@@ -63,7 +66,7 @@
<text <text
class="numfont" class="numfont"
>{{ g.price}}/</text> >{{ g.price}}/</text>
<text class="small"></text> <text class="small"></text>
</view> </view>
<view class="sell u-skeleton-rect"> <view class="sell u-skeleton-rect">
<text class="oprice" v-if="setting.is_underline_price == 1">{{ g.original_price }}</text> <text class="oprice" v-if="setting.is_underline_price == 1">{{ g.original_price }}</text>
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</view> </view>
</view> </view>
<view style="display: flex;flex-direction: column;align-items: flex-end;"> <view style="display: flex;flex-direction: column;align-items: flex-end;">
<view class="price" :style="{ color: mainColor }">¥{{x.price}}/</view> <view class="price" :style="{ color: mainColor }">¥{{x.price}}/</view>
<view style=" color: #999999;font-size: 11px; ">总价¥{{x.price*msg.RideNum}}</view> <view style=" color: #999999;font-size: 11px; ">总价¥{{x.price*msg.RideNum}}</view>
</view> </view>
</view> </view>
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<view class="popup_top"> <view class="popup_top">
<view></view> <view></view>
<Text>出行类型</Text> <Text>出行类型</Text>
<u-icon name="cross" color='#9F9F9F' @click='show=false' size="40"></u-icon> <u-icon name="cross" color='#9F9F9F' @click='show2=false' size="40"></u-icon>
</view> </view>
<scroll-view <scroll-view
:scroll-y="true" :scroll-y="true"
...@@ -262,15 +262,21 @@ ...@@ -262,15 +262,21 @@
this.getRegeo() this.getRegeo()
}, },
methods:{ methods:{
getRegeo() { getRegeo() { //进入页面获取当前地址位置
uni.showLoading({ uni.showLoading({
title: '获取信息中' title: '获取信息中'
}); });
this.amapPlugin.getRegeo({ this.amapPlugin.getRegeo({
success: (data) => { success: (data) => {
console.log(data)
this.address =data[0].name
this.Pickcar = data[0].regeocodeData.addressComponent.city; this.Pickcar = data[0].regeocodeData.addressComponent.city;
this.latitude = data[0].latitude; this.latitude = data[0].latitude;
this.longitude = data[0].longitude; this.longitude = data[0].longitude;
let parseResult = AddressParse(this.address, 0)
let nameList = [parseResult.province, parseResult.city, parseResult.area];
this.getDestination(nameList);
uni.hideLoading(); uni.hideLoading();
} }
}); });
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
.place_order .order_GName { .place_order .order_GName {
width: 100%; width: 100%;
height: 50px; height: 50px;
border-top: 1px solid #e2e2e2; border-top: 1px solid rgba(0, 0, 0, 0.05);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -207,16 +207,16 @@ ...@@ -207,16 +207,16 @@
<view class="order_GName" style="border-top:0;"> <view class="order_GName" style="border-top:0;">
<view class="order_big order_comLeft">联系人</view> <view class="order_big order_comLeft">联系人</view>
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<input class="uni-input" v-model="orderMsg.Consignee" style="border:1px solid #e2e2e2;padding-left:5px;" /> <input class="uni-input" v-model="orderMsg.Consignee" style="border:none;padding-left:5px;text-align: right;" />
</view> </view>
</view> </view>
<view class="order_GName" style="border-top:0;"> <view class="order_GName" style="border-top:0;border-top: 1px solid rgba(0, 0, 0, 0.05);">
<view class="order_big order_comLeft">联系电话</view> <view class="order_big order_comLeft">联系电话</view>
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<input class="uni-input" v-model="orderMsg.Mobile" style="border:1px solid #e2e2e2;padding-left:5px;" /> <input class="uni-input" v-model="orderMsg.Mobile" style="border:none;padding-left:5px;text-align: right;" />
</view> </view>
</view> </view>
<view class="order_GName" style="border-top:0;"> <view class="order_GName" style="border-top:0;border-top: 1px solid rgba(0, 0, 0, 0.05);">
<view class="order_big order_comLeft">取车城市</view> <view class="order_big order_comLeft">取车城市</view>
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
四川 成都市 四川 成都市
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
</view> </view>
</view> </view>
<view class="order_GName"> <view class="order_GName">
<u-field padding="0px" label-width="80" v-model="orderMsg.BuyerMessage" label="留言" placeholder="建议留言前先与客服沟通确认"></u-field> <u-field padding="0px" style='width: 100%;' label-width="80" v-model="orderMsg.BuyerMessage" label="留言" placeholder="建议留言前先与客服沟通确认"></u-field>
</view> </view>
<view class="order_GName"> <view class="order_GName">
<view style="text-align: right;width:100%;"> <view style="text-align: right;width:100%;">
......
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