shish 6 yıl önce
ebeveyn
işleme
dd334020e6

+ 1 - 0
saas/src/saas/shop/list.vue

@@ -65,6 +65,7 @@
 			<template #slot-activation="{scope}">
 			<template #slot-activation="{scope}">
 				<el-button type="primary" size="mini" @click="bindJump(`/wx-open/begin-auth?authType=1`)">公众号激活</el-button>
 				<el-button type="primary" size="mini" @click="bindJump(`/wx-open/begin-auth?authType=1`)">公众号激活</el-button>
 				<el-button type="primary" size="mini" @click="bindJump(`/wx-open/begin-auth?authType=2`)">小程序激活</el-button>
 				<el-button type="primary" size="mini" @click="bindJump(`/wx-open/begin-auth?authType=2`)">小程序激活</el-button>
+				<el-button type="primary" size="mini" @click="bindJump(`/wx-open/bind-open?isOpen=1&id=6`)">小程序体验码</el-button>
 			</template>
 			</template>
 
 
 			<template #slot-op-btn="{scope}">
 			<template #slot-op-btn="{scope}">

+ 11 - 8
store/src/admin/home/console.vue

@@ -1,5 +1,8 @@
 <template>
 <template>
-  <view>加载中...</view>
+  <view>
+    <view style="font-size:16px;margin-left:30px;" @click="goTo">去官网</view>
+    <view style="font-size:16px;margin-left:30px;margin-top:30px;" @click="goToConsole">去后台</view>
+  </view>
 </template>
 </template>
 <script>
 <script>
 import { getMerchantDetail } from "@/api/merchant";
 import { getMerchantDetail } from "@/api/merchant";
@@ -8,19 +11,19 @@ export default {
   data() {
   data() {
     return {};
     return {};
   },
   },
-  onLoad() {
-    getMerchantDetail({ id: this.option.id }).then(res => {
-      console.log(res.data)
-    });
-
-    
-  },
+  onLoad() {},
   methods: {
   methods: {
     goTo() {
     goTo() {
       this.$util.pageTo({
       this.$util.pageTo({
         url: "/admin/official/index",
         url: "/admin/official/index",
         type: 2
         type: 2
       });
       });
+    },
+    goToConsole() {
+      this.$util.pageTo({
+        url: "/admin/home/workbench",
+        type: 3
+      });
     }
     }
   }
   }
 };
 };