From f10fd138eb7804fd714ac59ca644678646c194dd Mon Sep 17 00:00:00 2001 From: whycq0520 <91384184@qq.com> Date: 星期五, 25 三月 2022 00:20:14 +0800 Subject: [PATCH] # 快速上架子页面 --- pages/basics/publish.vue | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/pages/basics/publish.vue b/pages/basics/publish.vue index 143a8b8..fa5e409 100644 --- a/pages/basics/publish.vue +++ b/pages/basics/publish.vue @@ -24,12 +24,22 @@ <!-- 鏅�氬脊绐� --> <uni-popup ref="popup" background-color="#fff" style="position: fixed; border-radius: 5px;" > <view class="popup-content " :class="{ 'popup-height': type === 'left' || type === 'right' }"> - <view style="height: 800rpx;"> - <uni-table border stripe type="selection" emptyText="娌℃湁鏇村鏁版嵁"> - <uni-tr> - <uni-th>1</uni-th> - </uni-tr> - </uni-table> + <view style="height: 900rpx;width: 700rpx;"> + <view><text>鍏抽棴</text></view> + <view> + <scroll-view scroll-x="true" @scroll="scroll" scroll-left="120"> + <uni-table border stripe type="selection" emptyText="娌℃湁鏇村鏁版嵁"> + <uni-tr> + <uni-th>鍟嗗搧缂栧彿</uni-th> + <uni-th>鍟嗗搧鍚嶇О</uni-th> + <uni-th>瑙勬牸</uni-th> + <uni-th>鍗曚环</uni-th> + <uni-th>淇敼鏃堕棿</uni-th> + </uni-tr> + </uni-table> + </scroll-view> + </view> + </view> </view> </uni-popup> @@ -45,6 +55,12 @@ } }, + mounted(){ + const UIP = uni.getStorageSync('UIP'); + this.baseIP = UIP; + const UPORT = uni.getStorageSync('UPORT'); + this.basePORT = UPORT + }, methods: { // 寮瑰嚭灞� toggle(type) { @@ -53,8 +69,12 @@ this.$refs.popup.open(type) }, getMat() { - this.toggle('top') - } + let that = this + console.log(that.baseHttp,that.baseIP,that.basePORT,that.baseUrl) + uni.navigateTo({ + url: 'stockIn?baseIP=' + that.baseIP + '&basePORT=' + that.basePORT + }); + }, } } </script> -- Gitblit v1.9.1