lifanagju_citu 6 ヶ月 前
コミット
d9a2e398af

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

@@ -1,8 +1,8 @@
 <template>
   <div class="prizeDrawBox">
     <city @inputChange="null"></city>
-    <gridPage v-if="type === '1'" :disabled="!Number(luckyDrawsNum)" :lotteryId="props.lotteryId" @end="endCallback"></gridPage>
-    <slotMachinePage v-if="type === '2'" :disabled="!Number(luckyDrawsNum)" :lotteryId="props.lotteryId" @end="endCallback"></slotMachinePage>
+    <gridPage v-if="props.type === '1'" :disabled="!Number(luckyDrawsNum)" :lotteryId="props.lotteryId" @end="endCallback"></gridPage>
+    <slotMachinePage v-if="props.type === '2'" :disabled="!Number(luckyDrawsNum)" :lotteryId="props.lotteryId" @end="endCallback"></slotMachinePage>
     <div class="numberBox mt-5">您还剩余<span class="colorBase">{{ luckyDrawsNum }}</span>次抽奖机会</div>
 
     <CtDialog :visible="showDialog" titleClass="text-h6" :footer="false" :widthType="3" title="抽奖详情" @close="showDialog = false">

+ 0 - 1
src/views/mall/components/prizeDraw/slotMachine.vue

@@ -16,7 +16,6 @@
       @start="startCallback"
       @end="endCallback"
     />
-    <!-- <div style="position: absolute; top: 50%; right: 0; transform: translateY(50%);"></div> -->
     <v-img
       src="https://img1.baidu.com/it/u=3949019928,2138080900&fm=253&fmt=auto&app=138&f=PNG?w=300&h=300"
       :width="100"