|
|
@@ -1,9 +1,7 @@
|
|
|
<template>
|
|
|
<view class="app-content">
|
|
|
<view class="book_banner">
|
|
|
- <!-- #ifndef APP-PLUS -->
|
|
|
- <image class="slide" :src="`${constant.imgUrl}/book/banner1.png`" mode="aspectFit"></image>
|
|
|
- <!-- #endif -->
|
|
|
+ <image v-if="showBanner" class="slide" :src="`${constant.imgUrl}/book/banner1.png`" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
<view class="book_content">
|
|
|
<view v-for="(item, index) in book" :key="index" class="item">
|
|
|
@@ -24,12 +22,20 @@ export default {
|
|
|
mixins: [],
|
|
|
data() {
|
|
|
return {
|
|
|
- book:[]
|
|
|
+ book:[],
|
|
|
+ showBanner:true
|
|
|
};
|
|
|
},
|
|
|
onShow() {
|
|
|
|
|
|
},
|
|
|
+ onload(){
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+ if(plus.device.vendor == 'SUNMI'){
|
|
|
+ this.showBanner = false
|
|
|
+ }
|
|
|
+ // #endif
|
|
|
+ },
|
|
|
onShareAppMessage(res) {
|
|
|
return {
|
|
|
title: '销花宝使用手册',
|