| | |
| | | <view class="tip">请输入站点名称</view> |
| | | <view class="name-input"> |
| | | <input ref="refInputName" :focus="true" placeholder="输入站点名称" :value="stationEdit.name" |
| | | @input="onInputStationName"></input> |
| | | @input="onInputStationName"/> |
| | | <uni-icons class="clear" color="#ccc" type="clear" size="20" v-if="stationEdit.name" |
| | | @click="clickClearStationName"></uni-icons> |
| | | </view> |
| | |
| | | <view class="coordinate"> |
| | | <text class="name">横坐标:</text> |
| | | <input ref="refInputX" class="number-input" type="number" :value="stationEdit.x" |
| | | @input="onInputStationX" :maxlength="4"></input> |
| | | @input="onInputStationX" :maxlength="4"/> |
| | | <uni-icons class="clear" color="#ccc" type="clear" size="20" |
| | | v-if="stationEdit.x && stationEdit.x!='0'" @click="clickClearStationX"></uni-icons> |
| | | </view> |
| | | <view class="coordinate"> |
| | | <text class="name">竖坐标:</text> |
| | | <input ref="refInputX" class="number-input" type="number" :value="stationEdit.y" |
| | | @input="onInputStationY" :maxlength="4"></input> |
| | | @input="onInputStationY" :maxlength="4"/> |
| | | <uni-icons class="clear" color="#ccc" type="clear" size="20" |
| | | v-if="stationEdit.y&& stationEdit.y!='0'" @click="clickClearStationY"></uni-icons> |
| | | </view> |
| | |
| | | <view class="tip">调节朝向</view> |
| | | <view class="angle-group"> |
| | | <image class="img-angle" :src="angleSvg" alt="SVG 图片" /> |
| | | <image class="img-angle-pos" src="/images/Frame 153.svg" alt="SVG 图片" |
| | | <image class="img-angle-pos" src="/images/Frame_153.svg" alt="SVG 图片" |
| | | @touchstart="handleAngleTouchStart" @touchmove="handleAngleTouchMove" /> |
| | | </view> |
| | | </view> |