Commit 97b252ba by 陈超

A

parent 7614ce8e
...@@ -1024,3 +1024,10 @@ div::-webkit-scrollbar { ...@@ -1024,3 +1024,10 @@ div::-webkit-scrollbar {
font-weight:400; font-weight:400;
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
} }
.order_inner_tab {
position: fixed !important;
top: 0;
width: 100%;
height: 2.25rem;
}
\ No newline at end of file
...@@ -20,13 +20,11 @@ ...@@ -20,13 +20,11 @@
{{opt.title}} {{opt.title}}
</span> </span>
<div class="layout_v"> <div class="layout_v" style="position: relative;padding-top: 2.25rem;">
<van-sticky :offset="44"> <div v-if="opt.options" class="layout_h order_inner_tab" style="background: white;">
<div v-if="opt.options" class="layout_h zhenti_tab" style="background: white;">
<div v-for="(innerOpt, idx) in opt.options" :key="idx" @click="onInnerTab(idx)" class="layout_center weight_full" :class="innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'">{{innerOpt.title}}</div> <div v-for="(innerOpt, idx) in opt.options" :key="idx" @click="onInnerTab(idx)" class="layout_center weight_full" :class="innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'">{{innerOpt.title}}</div>
</div> </div>
</van-sticky> <div class="order_image_item layout_v">
<div class="order_image_item layout_v" style="margin-top: 2.25rem;">
<div class="layout_h"> <div class="layout_h">
<van-image height="72" width="128" fit="cover" src="https://img.yzcdn.cn/vant/cat.jpeg" ></van-image> <van-image height="72" width="128" fit="cover" src="https://img.yzcdn.cn/vant/cat.jpeg" ></van-image>
<div class="layout_v_b weight_full" style="margin-left: 0.75rem;"> <div class="layout_v_b weight_full" style="margin-left: 0.75rem;">
......
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