| | |
| | | <!-- logo --> |
| | | <view class="logo"> |
| | | <view class="logo-box"> |
| | | <image src="../../static/img/logo.png" mode="aspectFit"></image> |
| | | <image src="../../static/img/zy_logo.png" mode="aspectFit"></image> |
| | | </view> |
| | | </view> |
| | | <view class="content"> |
| | |
| | | <view class="popup-item-left">项目:</view> |
| | | <view class="popup-item-right"><input type="text" v-model="url.project"></view> |
| | | </view> |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">WCSIP:</view> |
| | | <view class="popup-item-right"><input type="text" v-model="url.wcsIp"></view> |
| | | </view> |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">WCS端口:</view> |
| | | <view class="popup-item-right"><input type="text" v-model="url.wcsPort"></view> |
| | | </view> |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">WCS项目:</view> |
| | | <view class="popup-item-right"><input type="text" v-model="url.wcsProject"></view> |
| | | </view> |
| | | <view class="btn"> |
| | | <view class="btn-left" @click="close">取消</view> |
| | | <view class="btn-right" @click="settingConfirm">确认</view> |
| | |
| | | project: '' |
| | | }, |
| | | baseUrl: '', |
| | | wcsBaseUrl: '', |
| | | user: { |
| | | userName: '', |
| | | password: '', |
| | |
| | | // 保存ip |
| | | settingConfirm() { |
| | | this.baseUrl = "http://" + this.url.ip + ':' + this.url.port + '/' + this.url.project |
| | | this.wcsBaseUrl = "http://" + this.url.wcsIp + ':' + this.url.wcsPort + '/' + this.url.wcsProject |
| | | uni.setStorageSync('baseUrl', this.baseUrl); |
| | | uni.setStorageSync('wcsBaseUrl',this.wcsBaseUrl) |
| | | uni.setStorageSync('url', this.url); |
| | | this.$refs.inputDialog.close() |
| | | }, |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .logo-box { |
| | | .logo-box { |
| | | margin: auto 0; |
| | | } |
| | | image { |