|  |  |  | 
|---|
|  |  |  | "enablePullDownRefresh": false | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | "path" : "pages/basics/callEmpty", | 
|---|
|  |  |  | "style" : | 
|---|
|  |  |  | { | 
|---|
|  |  |  | "navigationBarTitleText": "呼叫空板", | 
|---|
|  |  |  | "enablePullDownRefresh": false | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
| New file | 
|  |  |  | 
|---|
|  |  |  | <template> | 
|---|
|  |  |  | <view style="width: 100%;height: 100vh;"> | 
|---|
|  |  |  | <view style="width: 100%;height: 100%;display: flex;flex-direction: column;align-items: center;justify-content: center;"> | 
|---|
|  |  |  | <button size="default" class="cu-btn bg-blue lg  ">呼叫空板</button> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <script> | 
|---|
|  |  |  | export default { | 
|---|
|  |  |  | data() { | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | commonUrl: '', | 
|---|
|  |  |  | baseIP: '', | 
|---|
|  |  |  | basePORT: '', | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | mounted(){ | 
|---|
|  |  |  | const UIP = uni.getStorageSync('UIP'); | 
|---|
|  |  |  | this.baseIP = UIP; | 
|---|
|  |  |  | const UPORT = uni.getStorageSync('UPORT'); | 
|---|
|  |  |  | this.basePORT = UPORT | 
|---|
|  |  |  | const PROJ = uni.getStorageSync('UPROJ'); | 
|---|
|  |  |  | this.baseUrl = PROJ | 
|---|
|  |  |  | this.getUrl() | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | getUrl() { | 
|---|
|  |  |  | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" + 'stwcs' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | callEmpty() { | 
|---|
|  |  |  | let that = this | 
|---|
|  |  |  | uni.request({ | 
|---|
|  |  |  | url: | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <style> | 
|---|
|  |  |  | </style> | 
|---|
|  |  |  | 
|---|
|  |  |  | cuIcon: 'safe', | 
|---|
|  |  |  | show: true | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | title: '呼叫空板', | 
|---|
|  |  |  | name: 'callEmpty', | 
|---|
|  |  |  | color: 'blue', | 
|---|
|  |  |  | cuIcon: 'safe', | 
|---|
|  |  |  | show: true | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // { | 
|---|
|  |  |  | //     title: '上架管理', | 
|---|
|  |  |  | //     name: 'putOnSale', | 
|---|