Explorar el Código

app 教程问题

shish hace 4 años
padre
commit
a3a4019661
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      ghsApp/src/admin/book/index.vue

+ 4 - 0
ghsApp/src/admin/book/index.vue

@@ -1,7 +1,9 @@
 <template>
 <template>
 	<view class="app-content">
 	<view class="app-content">
         <view class="book_banner">
         <view class="book_banner">
+            <!-- #ifndef APP-PLUS -->
             <image class="slide" :src="`${constant.imgUrl}/book/banner1.png`" mode="aspectFit"></image>
             <image class="slide" :src="`${constant.imgUrl}/book/banner1.png`" mode="aspectFit"></image>
+            <!-- #endif -->
         </view>
         </view>
         <view class="book_content">
         <view class="book_content">
             <view v-for="(item, index) in book" :key="index" class="item">
             <view v-for="(item, index) in book" :key="index" class="item">
@@ -52,6 +54,8 @@ export default {
 <style lang="scss" scoped>
 <style lang="scss" scoped>
 .app-content{
 .app-content{
     .book_banner{
     .book_banner{
+        width:750upx;
+        height:524upx;
         .slide{
         .slide{
             width:750upx;
             width:750upx;
             height:524upx;
             height:524upx;