From a89fe32c353040bbb95d7519cf7bafc4b5934f10 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期三, 06 九月 2023 09:54:14 +0800
Subject: [PATCH] 小程序
---
minipro_standard/pages/workbench/workbench.vue | 62 +++----------------------------
1 files changed, 6 insertions(+), 56 deletions(-)
diff --git a/minipro_standard/pages/workbench/workbench.vue b/minipro_standard/pages/workbench/workbench.vue
index 089312b..22d9e44 100644
--- a/minipro_standard/pages/workbench/workbench.vue
+++ b/minipro_standard/pages/workbench/workbench.vue
@@ -1,7 +1,7 @@
<template>
<view class="index">
<view class="menu">
- <!-- <view class="menu_list" v-for="(row, i) in Menu" :key="i">
+ <view class="menu_list" v-for="(row, i) in Menu" :key="i">
<view class="menu_list_head">
<span>{{row.label}}</span>
</view>
@@ -14,7 +14,7 @@
<view class="menu_list_zw"></view>
<view class="menu_list_zw"></view>
</div>
- </view> -->
+ </view>
</view>
<myTabbar :index="1" />
</view>
@@ -31,68 +31,18 @@
computed: mapState([
'Menu'
]),
- onReady() {
- console.log(this.Menu)
- },
data() {
return {
- list: [
- {
- icon: require('@/static/logo@2x.png'),
- label: '娴嬭瘯'
- },
- {
- icon: require('@/static/logo@2x.png'),
- label: '娴嬭瘯'
- },
- {
- icon: require('@/static/logo@2x.png'),
- label: '娴嬭瘯'
- },
- {
- icon: require('@/static/logo@2x.png'),
- label: '娴嬭瘯'
- },
- {
- icon: require('@/static/logo@2x.png'),
- label: '娴嬭瘯'
- },
- {
- icon: require('@/static/logo@2x.png'),
- label: '娴嬭瘯'
- }
- ]
+
};
},
onLoad() {
uni.hideTabBar()
- // uni.login({
- // success: data => {
- // this.wxLogin(data.code)
- // },
- // fail: err => {
- // uni.$u.toast(err)
- // }
- // })
},
methods: {
-
- // wxLogin(code) {
- // wxEmpower({code})
- // .then(res => {
- // this.openId = res.openid
- // if (res.userInfo) {
- // this.$store.commit('SETTOKEN', res.userInfo.token)
- // this.$store.commit('SETUSERINFO', res.userInfo)
- // uni.navigateTo({
- // url:'/pages/projectList/projectList'
- // })
- // }
- // })
- // .catch(err => {
- // uni.$u.toast(err)
- // })
- // }
+ jump(row) {
+ console.log(row)
+ }
}
}
</script>
--
Gitblit v1.9.3