28 lines
710 B
Vue
28 lines
710 B
Vue
<script setup>
|
|
import { ref } from 'vue'
|
|
import { $tp } from '../../../platform-i18n'
|
|
import PlatformLayout from '../../../PlatformLayout.vue'
|
|
|
|
const props = defineProps([
|
|
'platform',
|
|
'config',
|
|
])
|
|
const config = ref(props.config)
|
|
</script>
|
|
|
|
<template>
|
|
<!--max_bitrate-->
|
|
<div class="mb-3">
|
|
<label for="max_bitrate" class="form-label">{{ $t("config.max_bitrate") }}</label>
|
|
<input type="number" class="form-control" id="max_bitrate" placeholder="0" v-model="config.max_bitrate" />
|
|
<div class="form-text">{{ $t("config.max_bitrate_desc") }}</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.ms-item {
|
|
background-color: var(--bs-dark-bg-subtle);
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|