Commit 35c309c6 authored by Mac's avatar Mac

详情样式

parent 262d27d6
...@@ -31,14 +31,14 @@ ...@@ -31,14 +31,14 @@
indicator-dots indicator-dots
:autoplay="false" :autoplay="false"
:interval="1000" :interval="1000"
style="height:200px;" style="height:260px;"
> >
<block v-for="(item, index) in g.pic_url" :key="index"> <block v-for="(item, index) in g.pic_url" :key="index">
<swiper-item> <swiper-item>
<video @click="startPlay(item)" style="width:100%;height:100%" id="myVideo" v-if="item.type==1" :src="item.pic_url" <video @click="startPlay(item)" style="width:100%;height:100%" id="myVideo" v-if="item.type==1" :src="item.pic_url"
:autoplay="false" loop muted show-play-btn :enable-progress-gesture="true" :autoplay="false" loop muted show-play-btn :enable-progress-gesture="true"
:controls="true" :show-progress="true" :show-mute-btn="true" objectFit="cover"></video> :controls="true" :show-progress="true" :show-mute-btn="true" objectFit="cover"></video>
<image @click="previewImage(index)" style="width:100%;height:100%;" v-else :src="item.pic_url" mode="widthFix"></image> <image @click="previewImage(index)" style="width:100%;height:100%;" v-else :src="item.pic_url" mode=""></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
</view> </view>
</view> </view>
</view> </view>
<view :style="{'width':(windowWidth-20)+'px',height:'1px',background:'#f1f1f1','margin-left':'10px'}"></view>
<view class="sku-box" style="justify-content: space-between;" @click="goguide(1)"> <view class="sku-box" style="justify-content: space-between;" @click="goguide(1)">
<view class="row"> <view class="row">
<span class='skub_text'>导游信息</span> <span class='skub_text'>导游信息</span>
...@@ -99,6 +100,7 @@ ...@@ -99,6 +100,7 @@
size="20" size="20"
:disabled="true" :disabled="true"
></u-rate> ></u-rate>
<span style='font-size: 11px;color: #A8A8A8;margin-left: 5px;'>{{g.guide_score}}</span>
</view> </view>
</view> </view>
...@@ -107,7 +109,7 @@ ...@@ -107,7 +109,7 @@
<u-icon name="arrow" :size="32" color="#111"></u-icon> <u-icon name="arrow" :size="32" color="#111"></u-icon>
</view> </view>
<view class="sku-box u-skeleton-rect" style="align-items: flex-start;"> <view class="sku-box u-skeleton-rect" style="align-items: flex-start;margin: 10px 0;">
<view class="label" style="margin-top: 5px;">活动</view> <view class="label" style="margin-top: 5px;">活动</view>
<view class="content" style="display: flex;flex-direction: column"> <view class="content" style="display: flex;flex-direction: column">
<view <view
...@@ -145,7 +147,7 @@ ...@@ -145,7 +147,7 @@
</view> </view>
<view class="sku-box" style="justify-content: space-between;"> <view class="sku-box" style="justify-content: space-between;margin-top: 10px;padding: 10px;">
<view class="row"> <view class="row">
<span class='skub_text'>服务类型</span> <span class='skub_text'>服务类型</span>
<view class="row" style="margin-left: 20px;"> <view class="row" style="margin-left: 20px;">
...@@ -153,6 +155,7 @@ ...@@ -153,6 +155,7 @@
</view> </view>
</view> </view>
</view> </view>
<view :style="{'width':(windowWidth-20)+'px',height:'1px',background:'#f1f1f1','margin-left':'10px'}"></view>
<view class="sku-box" style="justify-content: space-between;"> <view class="sku-box" style="justify-content: space-between;">
<view class="row"> <view class="row">
<span class='skub_text'>是否拼坐</span> <span class='skub_text'>是否拼坐</span>
...@@ -162,13 +165,11 @@ ...@@ -162,13 +165,11 @@
</view> </view>
</view> </view>
</view> <view class="sku-box u-skeleton-rect" style="margin-top: 10px;" v-if="comments.length == 0 && setting.is_comment == 1">
<view style="width: 100%;height: 10px;background: #f5f5f5;"></view>
<view class="sku-box u-skeleton-rect" v-if="comments.length == 0 && setting.is_comment == 1">
<view class="label">暂无评论信息</view> <view class="label">暂无评论信息</view>
</view> </view>
<view v-if="comments.length > 0"> <view class="comment" v-if="comments.length > 0" style="margin-top: 10px;">
<view class="chead" style="padding: 10px;"> <view class="chead" >
<u-section <u-section
:bold="false" :bold="false"
:sub-color="secondary" :sub-color="secondary"
...@@ -245,6 +246,9 @@ ...@@ -245,6 +246,9 @@
</view> </view>
</view> </view>
</view> </view>
</view>
<view class="actionsheet" :style="{ 'height': bian ? '78px' : '50px' }"> <view class="actionsheet" :style="{ 'height': bian ? '78px' : '50px' }">
<view class="actionsheet-item" style="height: 50px;"> <view class="actionsheet-item" style="height: 50px;">
<view style="width: 22px; margin: auto;margin-left: 15px;"><u-icon name="service-o" size="44" color="#4578FF"></u-icon></view> <view style="width: 22px; margin: auto;margin-left: 15px;"><u-icon name="service-o" size="44" color="#4578FF"></u-icon></view>
...@@ -332,6 +336,8 @@ ...@@ -332,6 +336,8 @@
RideNum:1,//出行人数 RideNum:1,//出行人数
contentHeight:0, contentHeight:0,
san:'100px', san:'100px',
windowWidth:0,
} }
}, },
onLoad(option){ onLoad(option){
...@@ -471,6 +477,7 @@ ...@@ -471,6 +477,7 @@
that.san = (res.windowWidth-20)/3+'px' that.san = (res.windowWidth-20)/3+'px'
} }
}) })
this.windowWidth = this.$utils.SystemInfo().windowWidth
}, },
mounted() { mounted() {
...@@ -714,6 +721,7 @@ ...@@ -714,6 +721,7 @@
.guidecarOrderdetails .btnsmall{ .guidecarOrderdetails .btnsmall{
font-size: 16px; font-size: 16px;
margin-left: 8px; margin-left: 8px;
margin-bottom: 2px;
} }
.guidecarOrderdetails .btnnumfont{ .guidecarOrderdetails .btnnumfont{
font-size: 22px; font-size: 22px;
...@@ -746,7 +754,7 @@ ...@@ -746,7 +754,7 @@
margin-bottom: 12rpx; margin-bottom: 12rpx;
} }
.guidecarOrderdetails .sku-box { .guidecarOrderdetails .sku-box {
margin: 10px 0;
background: #fff; background: #fff;
display: flex; display: flex;
padding: 15px 10px; padding: 15px 10px;
...@@ -929,4 +937,9 @@ ...@@ -929,4 +937,9 @@
margin: 0; margin: 0;
pointer-events: none; pointer-events: none;
} }
.guidecarOrderdetails .comment .chead {
padding-bottom: 10px;
border-bottom: 1px solid #f1f1f1;
width: 100%;
}
</style> </style>
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