DESKTOP-SVI9JE1\muzen vor 1 Jahr
Ursprung
Commit
d5d1f0767e
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      src/pages/content/index.vue

+ 3 - 1
src/pages/content/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <view class='app-container' :style="{ background: `url(${form.backgroundImage}) no-repeat 100% / cover` }">
+  <view class='app-container' :style="{ backgroundImage: `url(${form.backgroundImage})` }">
     <view class="content" :style="{ 'padding-bottom': form.buttonFixType === 0 ? '94px' : 0 }">
       <!-- 打开app -->
       <open-app v-if="!inside" @open="getOpenApp" />
@@ -154,6 +154,8 @@ export default {
   padding: 0;
   font-weight: 100;
   min-height: 100%;
+  background-size: 100% 100%;
+  background-repeat: no-repeat;
 
   .content {
     flex: 1;