|
|
@@ -1,5 +1,8 @@
|
|
|
<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>
|
|
|
<script>
|
|
|
import { getMerchantDetail } from "@/api/merchant";
|
|
|
@@ -8,19 +11,19 @@ export default {
|
|
|
data() {
|
|
|
return {};
|
|
|
},
|
|
|
- onLoad() {
|
|
|
- getMerchantDetail({ id: this.option.id }).then(res => {
|
|
|
- console.log(res.data)
|
|
|
- });
|
|
|
-
|
|
|
-
|
|
|
- },
|
|
|
+ onLoad() {},
|
|
|
methods: {
|
|
|
goTo() {
|
|
|
this.$util.pageTo({
|
|
|
url: "/admin/official/index",
|
|
|
type: 2
|
|
|
});
|
|
|
+ },
|
|
|
+ goToConsole() {
|
|
|
+ this.$util.pageTo({
|
|
|
+ url: "/admin/home/workbench",
|
|
|
+ type: 3
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
};
|