|
@@ -0,0 +1,62 @@
|
|
|
+<template>
|
|
|
+ <div class="phone-effect-setting">
|
|
|
+ <div class="phone-input-wrapper">
|
|
|
+ <input
|
|
|
+ v-model.trim="hotspot.phoneInfo.phone"
|
|
|
+ type="text"
|
|
|
+ :placeholder="$i18n.t('hotspot.phone_placeholder')"
|
|
|
+ />
|
|
|
+ <!-- <span class="count">{{ hotspot.hotspotTitle.length }}/15</span> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { mapGetters } from "vuex";
|
|
|
+
|
|
|
+export default {
|
|
|
+ computed: {
|
|
|
+ ...mapGetters({
|
|
|
+ hotspot: 'hotspot',
|
|
|
+ }),
|
|
|
+ },
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+.phone-effect-setting {
|
|
|
+ >.phone-input-wrapper {
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid rgba(151, 151, 151, 0.2);
|
|
|
+ padding: 0 16px;
|
|
|
+ background: #1A1B1D;
|
|
|
+ border-radius: 2px;
|
|
|
+ height: 36px;
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 18px;
|
|
|
+ &:focus-within {
|
|
|
+ border-color: #0076F6;
|
|
|
+ }
|
|
|
+ >input {
|
|
|
+ border: none;
|
|
|
+ background: transparent;
|
|
|
+ outline: none;
|
|
|
+ height: 100%;
|
|
|
+ // width: calc(100% - 50px);
|
|
|
+ width: 100%;
|
|
|
+ padding: 0;
|
|
|
+ color: #fff;
|
|
|
+ letter-spacing: 1px;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ // >.count {
|
|
|
+ // position: absolute;
|
|
|
+ // top: 50%;
|
|
|
+ // transform: translateY(-50%);
|
|
|
+ // right: 16px;
|
|
|
+ // font-size: 14px;
|
|
|
+ // color: rgba(255, 255, 255, 0.2);
|
|
|
+ // }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|