#
whycq
2022-12-05 a36ae49aa9b90b0c726fbeff442f06119b1adaac
#
2个文件已修改
1个文件已添加
59 ■■■■■ 已修改文件
pages.json 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/callEmpty.vue 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -165,6 +165,15 @@
                "enablePullDownRefresh": false
                
            }
        },
        {
            "path" : "pages/basics/callEmpty",
            "style" :
            {
                "navigationBarTitleText": "呼叫空板",
                "enablePullDownRefresh": false
            }
        }
        
        
pages/basics/callEmpty.vue
New file
@@ -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>
pages/index/index.vue
@@ -51,6 +51,13 @@
                        cuIcon: 'safe',
                        show: true
                    },
                    {
                        title: '呼叫空板',
                        name: 'callEmpty',
                        color: 'blue',
                        cuIcon: 'safe',
                        show: true
                    },
                    // {
                    //     title: '上架管理',
                    //     name: 'putOnSale',