浏览代码

修改背景图样式

DESKTOP-SVI9JE1\muzen 2 年之前
父节点
当前提交
4798d9182d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/activity/index.vue

+ 1 - 1
src/pages/activity/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <view class='app-container'>
+  <view class='app-container' :style="{'height': pic ? '' : '100%'}">
     <img :src="pic" />
     <button class="submit" type="submit" circle @click="getSubmit">立即兑换</button>