Commit d6f3ca9e authored by youjie's avatar youjie

签证

parent 01cecd5d
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<view class="row-sbas-n visaDetailNumBox"> <view class="row-sbas-n visaDetailNumBox">
<view class="visaDetailNum active1 col"> <view class="visaDetailNum active1 col">
<view>办理时长</view> <view>办理时长</view>
<view>收齐材料后{{dataList.ManageDuration}}个工作日</view> <view>收齐材料后{{dataList.ManageDuration?dataList.ManageDuration:'-'}}个工作日</view>
</view> </view>
<view class="visaDetailNum active2 col"> <view class="visaDetailNum active2 col">
<view>入境次数</view> <view>入境次数</view>
......
<template> <template>
<scroll-view :scroll-y="true" @scroll="scrollHandler" @scrolltoupper="scrollTopHandler" <scroll-view :scroll-y="true" @scroll="scrollHandler" @scrolltoupper="scrollTopHandler"
@scrolltolower="lower" style="height: 100vh"> style="height: 100vh">
<!-- <view class="headStatus" v-if="scrollTop > 50" :style="[ <!-- <view class="headStatus" v-if="scrollTop > 50" :style="[
headStyle, headStyle,
{ {
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
]"> ]">
<view class="title" v-if="scrollTop > 50">{{ pageTitle }}</view> <view class="title" v-if="scrollTop > 50">{{ pageTitle }}</view>
</view> --> </view> -->
<view class="headStatus column" v-if="scrollTop > 50" style="background: #F3F1EF;"> <view class="headStatus column" v-if="scrollTop > 50&&false" style="background: #F3F1EF;">
<view class="visa_search relative" <view class="visa_search relative"
:style="[ :style="[
headStyle, headStyle,
...@@ -40,18 +40,8 @@ ...@@ -40,18 +40,8 @@
</view> </view>
<view class="visa_Box column"> <view class="visa_Box column">
<view class="visa_search relative"> <view class="visa_search">
<view class="search-box" style="margin-top: 24rpx;"> <view class="search-box" style="margin-top: 24rpx;">
<!-- @click="showAddress=true" -->
<!-- <view class="date" >
<u-icon name="location" color="#B99846" size="28"></u-icon>
<text style="margin-left: 20rpx;color: #B99846;">{{AddressName}}</text>
</view>
<view style="width: 1px;height: 26rpx;margin-right: 10rpx; background: #E5E3E1;flex-shrink: 0;">
<view style="opacity: 0;">
1
</view>
</view> -->
<view style="width: 1px; flex: 1;"> <view style="width: 1px; flex: 1;">
<u-search placeholder="输入目的地" v-model="msg.Name" @search="getList(1)" input-align="left" :value="msg.Name" <u-search placeholder="输入目的地" v-model="msg.Name" @search="getList(1)" input-align="left" :value="msg.Name"
text-color="#111" bg-color="rgba(0,0,0,0)" :show-action="false"></u-search> text-color="#111" bg-color="rgba(0,0,0,0)" :show-action="false"></u-search>
...@@ -82,7 +72,7 @@ ...@@ -82,7 +72,7 @@
</scroll-view> </scroll-view>
</view> </view>
</view> </view>
<view class="col column"> <view class="col column" style="height:1px">
<view style="padding: 0 30rpx 0 30rpx;"> <view style="padding: 0 30rpx 0 30rpx;">
<view class="uDropdownBox"> <view class="uDropdownBox">
<u-dropdown ref="uDropdown" @open="open" @close="close" active-color="#B99846" inactive-color="#444"> <u-dropdown ref="uDropdown" @open="open" @close="close" active-color="#B99846" inactive-color="#444">
...@@ -96,71 +86,58 @@ ...@@ -96,71 +86,58 @@
</u-dropdown> </u-dropdown>
</view> </view>
</view> </view>
<view class="col column" style="padding: 0 30rpx 31rpx 30rpx;height: 1px; flex: 1;width: 100%;"> <view class="col column" style="padding: 0 30rpx 31rpx 30rpx;overflow: hidden;">
<view class="visaListBox col"> <view class="visaListBox col">
<u-empty v-if="dataList.length==0 && !loading" text="暂无数据" mode="data"></u-empty> <u-empty v-if="dataList.length==0 && !loading" text="暂无数据" mode="data"></u-empty>
<template v-else> <scroll-view v-else :scroll-y="true" :enable-back-to-top="true"
<view class="column"> @scrolltolower="lower"
<!--<scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" :style="{ height: '100%' }">
:enable-flex="true" :style="{ height: '100%' }"> </scroll-view>--> <template v-for="(item,index) in dataList">
<template v-for="(item,index) in dataList"> <view class="visaList row" :key="index"
<view class="visaList row" :key="index" @click.stop="goDetail(item)">
@click.stop="goDetail(item)"> <view class="visaListL">
<view class="visaListL"> <image mode="aspectFill" :src="item.newCoverImg"/>
<image mode="aspectFill" :src="item.newCoverImg"/> <text style="position: absolute;left: 0;top: 0;
<text style="position: absolute;left: 0;top: 0; border-radius: 14rpx 0rpx 14rpx 0rpx;
border-radius: 14rpx 0rpx 14rpx 0rpx; background: #B99846;padding: 4rpx 9rpx;font-size: 20rpx;color: #fff;">
background: #B99846;padding: 4rpx 9rpx;font-size: 20rpx;color: #fff;"> {{ item.visaType==1?'个签':item.visaType==2?'团签':'' }}
{{ item.visaType==1?'个签':item.visaType==2?'团签':'' }} </text>
</view>
<view class="visaListR col column">
<view class="visaListTitle">{{ item.name }}</view>
<view class="visaListText row">
<template v-for="x in item.typeTagList">
<text :key="index" v-if="x.tagTame">
{{ x.tagTame }}
</text>
</template>
<text :key="index" v-if="item.sendCityName">
{{ item.sendCityName }}送签
</text>
<text v-if="item.manageDuration" style="background: rgba(23,23,23,0);">
办理时长:{{item.manageDuration}}个工作日
</text> </text>
</view> </view>
<view class="visaListR col column"> <view class="col"></view>
<view class="visaListTitle">{{ item.name }}</view> <view class="visaListNum row">
<view class="visaListText row"> <view class="visaListNumL row items-center">
<template v-for="x in item.typeTagList"> <template v-if="item.bookAdvance">
<text :key="index" v-if="x.tagTame"> <image class="inlineblock" mode="widthFix"
{{ x.tagTame }} style="width: 19rpx;height: 21rpx"
</text> src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638750535244017143.png" />
<text>提前{{item.bookAdvance}}天预订</text>
</template> </template>
<text :key="index" v-if="item.sendCityName">
{{ item.sendCityName }}送签
</text>
<text v-if="item.manageDuration" style="background: rgba(23,23,23,0);">
办理时长:{{item.manageDuration}}个工作日
</text>
</view> </view>
<view class="col"></view> <view class="visaListNumR">
<view class="visaListNum row"> <text style="font-size: 20rpx;">CNY</text>
<view class="visaListNumL row items-center"> <text class="price-Num">{{ $utils.getretailer()?item.visaPrice:item.visaB2CPrice }}</text>
<template v-if="item.bookAdvance"> <text class="price-stuff" style="font-size: 20rpx;color: rgba(164, 164, 164, 1)"></text>
<image class="inlineblock" mode="widthFix"
style="width: 19rpx;height: 21rpx"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638750535244017143.png" />
<text>提前{{item.bookAdvance}}天预订</text>
</template>
</view>
<view class="visaListNumR">
<text style="font-size: 20rpx;">CNY</text>
<text class="price-Num">{{ $utils.getretailer()?item.visaPrice:item.visaB2CPrice }}</text>
<text class="price-stuff" style="font-size: 20rpx;color: rgba(164, 164, 164, 1)"></text>
</view>
</view> </view>
</view> </view>
</view> </view>
</template> </view>
<!--<view style="padding: 0 25rpx;"> </template>
<u-loadmore </scroll-view>
:status="status"
:load-text="loadText"
:font-size="24"
:margin-top="20"
:margin-bottom="20"
bg-color="#fff"
/>
</view>-->
</view>
</template>
</view> </view>
</view> </view>
</view> </view>
...@@ -494,7 +471,7 @@ export default { ...@@ -494,7 +471,7 @@ export default {
} }
.visa_Box{ .visa_Box{
background: #F3F1EF; background: #F3F1EF;
min-height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
} }
.visa_search{ .visa_search{
...@@ -509,10 +486,10 @@ export default { ...@@ -509,10 +486,10 @@ export default {
align-items: center; align-items: center;
padding: 19rpx 30rpx; padding: 19rpx 30rpx;
margin: 0 30rpx; margin: 0 30rpx;
position: absolute; // position: absolute;
bottom: 29rpx; // bottom: 29rpx;
left: 0; // left: 0;
right: 0; // right: 0;
} }
.search-box .date { .search-box .date {
...@@ -585,6 +562,8 @@ export default { ...@@ -585,6 +562,8 @@ export default {
border-top: 1rpx solid #F3F1EF; border-top: 1rpx solid #F3F1EF;
border-radius: 0 0 22rpx 22rpx; border-radius: 0 0 22rpx 22rpx;
padding-top: 37rpx; padding-top: 37rpx;
padding-bottom: 40rpx;
overflow: hidden;
} }
.visaList{ .visaList{
padding: 0 31rpx; padding: 0 31rpx;
......
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