Commit a2da5e81 authored by 周俊涛(东信)'s avatar 周俊涛(东信)

修改topbar

parent e7e35599
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
"style": { "style": {
"navigationBarTitleText": "购物车", "navigationBarTitleText": "购物车",
"navigationBarBackgroundColor": "#ffffff", "navigationBarBackgroundColor": "#ffffff",
"navigationStyle": "" "navigationStyle": "custom"
} }
}, },
{ {
......
<template> <template>
<div class="route-details"> <div class="route-details">
<Search></Search>
<scroll-view class="container" scroll-y> <scroll-view class="container" scroll-y>
<img class="back-img" src="/static/assistingAgriculture/assets/left.png" @tap="back" /> <!-- <img class="back-img" src="/static/assistingAgriculture/assets/left.png" @tap="back" /> -->
<!-- 轮播 --> <!-- 轮播 -->
<div class="banner"> <div class="banner">
<!-- --> <!-- -->
...@@ -541,6 +542,13 @@ uni-page-body { ...@@ -541,6 +542,13 @@ uni-page-body {
background-color: #eaf9f1; background-color: #eaf9f1;
} }
.route-details { .route-details {
.searchComponent {
z-index: 55;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
<template> <template>
<Search title="购物车" showTitle backgroundBox="#fff"></Search>
<div class="cart-wrap"> <div class="cart-wrap">
<div class="shop" v-for="(shop, i) in cartList" :key="i"> <div class="shop" v-for="(shop, i) in cartList" :key="i">
<div class="flex-align-center shop-info"> <div class="flex-align-center shop-info">
......
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