Xiao_123 4 meses atrás
pai
commit
d62fa838b9

+ 3 - 2
src/views/mall/components/prizeDraw.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="prizeDrawBox">
     <!-- <city @inputChange="null"></city> -->
+    <div class="numberBox mb-5">恭喜您获得<span class="colorBase">1</span>次抽奖机会</div>
     <gridPage v-if="props.type === '1'" :lotteryId="props.lotteryId" @end="endCallback"></gridPage>
     <slotMachinePage v-if="props.type === '2'" :lotteryId="props.lotteryId" height="120" @end="endCallback"></slotMachinePage>
 
@@ -20,7 +21,7 @@
 
 <script setup>
 defineOptions({ name: 'prizeDraw'})
-import city from './prizeDraw/city.vue'
+// import city from './prizeDraw/city.vue'
 import gridPage from './prizeDraw/grid.vue'
 import slotMachinePage from './prizeDraw/slotMachine.vue'
 import { ref } from 'vue'
@@ -50,7 +51,7 @@ const endCallback  = (value) => {
 
 <style scoped lang="scss">
 .prizeDrawBox {
-  padding: 40px;
+  padding: 20px 40px;
   background-color: var(--default-bgc);
   display: flex;
   flex-direction: column;

+ 1 - 1
src/views/mall/payOver/index.vue

@@ -1,7 +1,7 @@
 <!--  -->
 <template>
   <Navbar class="mb-3" />
-  <v-card class="default-width my-3">
+  <v-card class="default-width my-3" style="height: calc(100vh - 356px)">
     <showText :class="showPrizeDraw ? '' : 'mb-15'"></showText>
 
     <!-- 抽奖 -->