|
|
@@ -1009,7 +1009,13 @@
|
|
|
</div>
|
|
|
</main>
|
|
|
<el-dialog title="" :visible.sync="showCard" width="100%" class="wordCard-dialog" top="0">
|
|
|
- <i class="el-icon-arrow-left" :class="[showIndex === 0 ? 'disabled' : '']" @click="changeShowIndex('-')"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-arrow-left"
|
|
|
+ :class="[showIndex === 0 ? 'disabled' : '']"
|
|
|
+ @click="changeShowIndex('-')"
|
|
|
+ v-if="!isMobile"
|
|
|
+ ></i>
|
|
|
+
|
|
|
<writeTableZoom
|
|
|
ref="writeTableZoom"
|
|
|
:edit-cardflag="false"
|
|
|
@@ -1020,14 +1026,41 @@
|
|
|
:filt-cardflag="false"
|
|
|
:attrib="data.unified_attrib"
|
|
|
:url="data.audio_data.url"
|
|
|
+ :isMobile="isMobile"
|
|
|
/>
|
|
|
- <p style="width: 100%; font-size: 20px; color: #fff; text-align: center">
|
|
|
- {{ showIndex + 1 }} / {{ data.new_word_list.length }}
|
|
|
+ <p
|
|
|
+ style="
|
|
|
+ display: flex;
|
|
|
+ gap: 20px;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 100%;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #fff;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <i
|
|
|
+ class="el-icon-arrow-left"
|
|
|
+ :class="[showIndex === 0 ? 'disabled' : '', isMobile ? 'el-icon-arrow-left-phone' : '']"
|
|
|
+ @click="changeShowIndex('-')"
|
|
|
+ v-if="isMobile"
|
|
|
+ ></i>
|
|
|
+ {{ showIndex + 1 }} / {{ data.new_word_list.length
|
|
|
+ }}<i
|
|
|
+ class="el-icon-arrow-right"
|
|
|
+ :class="[
|
|
|
+ showIndex === data.new_word_list.length - 1 ? 'disabled' : '',
|
|
|
+ isMobile ? 'el-icon-arrow-right-phone' : '',
|
|
|
+ ]"
|
|
|
+ @click="changeShowIndex('+')"
|
|
|
+ v-if="isMobile"
|
|
|
+ ></i>
|
|
|
</p>
|
|
|
<i
|
|
|
class="el-icon-arrow-right"
|
|
|
:class="[showIndex === data.new_word_list.length - 1 ? 'disabled' : '']"
|
|
|
@click="changeShowIndex('+')"
|
|
|
+ v-if="!isMobile"
|
|
|
></i>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -2112,6 +2145,13 @@ export default {
|
|
|
left: auto;
|
|
|
}
|
|
|
|
|
|
+ .el-icon-arrow-left-phone,
|
|
|
+ .el-icon-arrow-right-phone {
|
|
|
+ position: initial;
|
|
|
+ margin-top: 0;
|
|
|
+ font-size: 30px;
|
|
|
+ }
|
|
|
+
|
|
|
:deep .el-dialog__headerbtn {
|
|
|
position: fixed;
|
|
|
top: 20px;
|