|
@@ -12,7 +12,7 @@
|
|
|
|
|
|
<div class="remark-highlight">{{ $i18n.t("hotspot.hotspot_title") }}</div>
|
|
|
|
|
|
- <div class="title-input-wrapper">
|
|
|
+ <!-- <div class="title-input-wrapper">
|
|
|
<input
|
|
|
v-model.trim="hotspot.hotspotTitle"
|
|
|
type="text"
|
|
@@ -20,20 +20,20 @@
|
|
|
:placeholder="$i18n.t('hotspot.title_placeholder')"
|
|
|
/>
|
|
|
<span class="count">{{ hotspot.hotspotTitle.length }}/50</span>
|
|
|
- </div>
|
|
|
- <!-- <div class="title-input-wrapper has-textarea">
|
|
|
+ </div> -->
|
|
|
+ <div class="title-input-wrapper has-textarea">
|
|
|
<Input
|
|
|
ref="titleTextarea"
|
|
|
class="titleTextarea"
|
|
|
v-model="hotspot.hotspotTitle"
|
|
|
type="textarea"
|
|
|
maxlength="50"
|
|
|
- :autosize="{ minRows: 3}"
|
|
|
+ :autosize="{ minRows: 1}"
|
|
|
:placeholder="$i18n.t('hotspot.title_placeholder')"
|
|
|
/>
|
|
|
|
|
|
<span class="count">{{ hotspot.hotspotTitle.length }}/50</span>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
|
|
|
<div class="remark">{{ $i18n.t("hotspot.shape_filling_color") }}</div>
|
|
|
<div class="color-picker-wrap">
|
|
@@ -506,57 +506,20 @@ export default {
|
|
|
border: 1px solid #404040;
|
|
|
}
|
|
|
|
|
|
- // > .title-input-wrapper {
|
|
|
- // position: relative;
|
|
|
- // border: 1px solid rgba(151, 151, 151, 0.2);
|
|
|
- // padding: 5px 0;
|
|
|
- // background: #1a1b1d;
|
|
|
- // border-radius: 2px;
|
|
|
- // height: 36px;
|
|
|
- // width: 100%;
|
|
|
- // margin-top: 18px;
|
|
|
- // &:focus-within {
|
|
|
- // border-color: #0076f6;
|
|
|
- // }
|
|
|
- // > input,
|
|
|
- // textarea {
|
|
|
- // border: none;
|
|
|
- // background: transparent;
|
|
|
- // outline: none;
|
|
|
- // height: 100%;
|
|
|
- // width: calc(100% - 50px);
|
|
|
- // padding: 0;
|
|
|
- // color: #fff;
|
|
|
- // letter-spacing: 1px;
|
|
|
- // font-size: 14px;
|
|
|
- // }
|
|
|
- // &.has-textarea {
|
|
|
- // min-height: 72px;
|
|
|
- // height: auto;
|
|
|
- // position: relative;
|
|
|
- // }
|
|
|
- // > .count {
|
|
|
- // position: absolute;
|
|
|
- // bottom: 10px;
|
|
|
- // // transform: translateY(-50%);
|
|
|
- // right: 10px;
|
|
|
- // font-size: 14px;
|
|
|
- // color: rgba(255, 255, 255, 0.2);
|
|
|
- // }
|
|
|
- // }
|
|
|
> .title-input-wrapper {
|
|
|
position: relative;
|
|
|
border: 1px solid rgba(151, 151, 151, 0.2);
|
|
|
- padding: 0 16px;
|
|
|
+ padding: 5px 0;
|
|
|
background: #1a1b1d;
|
|
|
border-radius: 2px;
|
|
|
- height: 36px;
|
|
|
+ min-height: 36px;
|
|
|
width: 100%;
|
|
|
margin-top: 18px;
|
|
|
&:focus-within {
|
|
|
border-color: #0076f6;
|
|
|
}
|
|
|
- > input {
|
|
|
+ > input,
|
|
|
+ textarea {
|
|
|
border: none;
|
|
|
background: transparent;
|
|
|
outline: none;
|
|
@@ -567,15 +530,21 @@ export default {
|
|
|
letter-spacing: 1px;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
+ &.has-textarea {
|
|
|
+ // min-height: 72px;
|
|
|
+ // height: auto;
|
|
|
+ // position: relative;
|
|
|
+ }
|
|
|
> .count {
|
|
|
position: absolute;
|
|
|
- top: 50%;
|
|
|
- transform: translateY(-50%);
|
|
|
- right: 16px;
|
|
|
+ bottom: 10px;
|
|
|
+ // transform: translateY(-50%);
|
|
|
+ right: 10px;
|
|
|
font-size: 14px;
|
|
|
color: rgba(255, 255, 255, 0.2);
|
|
|
}
|
|
|
}
|
|
|
+ //
|
|
|
> .color-picker-wrap {
|
|
|
margin-top: 16px;
|
|
|
height: 36px;
|