|
|
@@ -1,11 +1,13 @@
|
|
|
<config>
|
|
|
{
|
|
|
"navigationBarTitleText": "商品详情",
|
|
|
+ "navigationBarTextStyle": "white",
|
|
|
"navigationStyle": "custom",
|
|
|
}
|
|
|
</config>
|
|
|
<template>
|
|
|
<div class="container">
|
|
|
+ <nav-header></nav-header>
|
|
|
<van-sticky>
|
|
|
<swiper class="swiper" @change="swiperChange" :current="current">
|
|
|
<swiper-item v-for="(item, index) in banners" :key="index">
|
|
|
@@ -39,6 +41,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-sticky>
|
|
|
+
|
|
|
<div class="conTent">
|
|
|
<div class="text">详情</div>
|
|
|
<div class="border"></div>
|
|
|
@@ -113,7 +116,9 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { mapState } from 'vuex';
|
|
|
+import NavHeader from '../components/NavHeader.vue';
|
|
|
export default {
|
|
|
+ components: { NavHeader },
|
|
|
data() {
|
|
|
return {
|
|
|
swiperCurrent: 0,
|
|
|
@@ -196,7 +201,6 @@ export default {
|
|
|
height: 20px;
|
|
|
line-height: 20px;
|
|
|
text-align: center;
|
|
|
- font-weight: bold;
|
|
|
color: #ffffff;
|
|
|
background: rgba(0, 0, 0, 0.3);
|
|
|
border-radius: 9px;
|