From a36ae49aa9b90b0c726fbeff442f06119b1adaac Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 05 十二月 2022 10:11:35 +0800 Subject: [PATCH] # --- pages.json | 9 +++++++++ pages/basics/callEmpty.vue | 43 +++++++++++++++++++++++++++++++++++++++++++ pages/index/index.vue | 7 +++++++ 3 files changed, 59 insertions(+), 0 deletions(-) diff --git a/pages.json b/pages.json index 6dfd493..f939dc6 100644 --- a/pages.json +++ b/pages.json @@ -165,6 +165,15 @@ "enablePullDownRefresh": false } + }, + { + "path" : "pages/basics/callEmpty", + "style" : + { + "navigationBarTitleText": "鍛煎彨绌烘澘", + "enablePullDownRefresh": false + + } } diff --git a/pages/basics/callEmpty.vue b/pages/basics/callEmpty.vue new file mode 100644 index 0000000..c9c31f9 --- /dev/null +++ b/pages/basics/callEmpty.vue @@ -0,0 +1,43 @@ +<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> \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 0b6a0d6..1f21c94 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -51,6 +51,13 @@ cuIcon: 'safe', show: true }, + { + title: '鍛煎彨绌烘澘', + name: 'callEmpty', + color: 'blue', + cuIcon: 'safe', + show: true + }, // { // title: '涓婃灦绠$悊', // name: 'putOnSale', -- Gitblit v1.9.1