|
|
@@ -10,8 +10,11 @@
|
|
|
</div>
|
|
|
<Range :isGradient='current.gradient' :min="current.min" :max="current.max" v-model="current.value" />
|
|
|
<div class="minmax">
|
|
|
- <span class="title">{{current.min}}{{current.unit}}<span class="ui-remark" v-if="current.tip"> (不显示)</span></span>
|
|
|
- <span class="title">{{current.max}}{{current.unit}}</span>
|
|
|
+ <span>
|
|
|
+ {{current.min}}{{current.unit}}
|
|
|
+ <span v-if="current.tip"> (不显示)</span>
|
|
|
+ </span>
|
|
|
+ <span>{{current.max}}{{current.unit}}</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</div>
|
|
|
@@ -52,45 +55,43 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-.item {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- padding-bottom: 4px;
|
|
|
-
|
|
|
- >span {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
-
|
|
|
- >span:last-child {
|
|
|
- font-size: 10px;
|
|
|
+.item-layer {
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ font-size: 14px;
|
|
|
+ .item {
|
|
|
display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-bottom: 24px;
|
|
|
+
|
|
|
+ >span:last-child {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
|
|
|
- >input {
|
|
|
- width: 40px;
|
|
|
- height: 24px;
|
|
|
- padding: 4px 0;
|
|
|
- text-align: center;
|
|
|
- color: #fff;
|
|
|
- letter-spacing: 0;
|
|
|
- outline: none;
|
|
|
- border: 1px solid #737373;
|
|
|
- background-color: #000;
|
|
|
- border-radius: 2px;
|
|
|
- margin-right: 4px;
|
|
|
+ >input {
|
|
|
+ width: 40px;
|
|
|
+ height: 24px;
|
|
|
+ padding: 4px 0;
|
|
|
+ text-align: center;
|
|
|
+ color: #fff;
|
|
|
+ letter-spacing: 0;
|
|
|
+ outline: none;
|
|
|
+ border: 1px solid #737373;
|
|
|
+ background-color: #000;
|
|
|
+ border-radius: 2px;
|
|
|
+ margin-right: 4px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
-.minmax{
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- padding-bottom: 4px;
|
|
|
- .title{
|
|
|
- font-size: 12px;
|
|
|
- .ui-remark{
|
|
|
- display: inline-block;
|
|
|
+ .minmax{
|
|
|
+ margin-top: 24px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ .title{
|
|
|
+ .ui-remark{
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|