Explorar o código

去除删除页的返回按钮

wangn %!s(int64=5) %!d(string=hai) anos
pai
achega
c73c70587f
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      ghsApp/src/pagesClient/official/index.vue

+ 12 - 0
ghsApp/src/pagesClient/official/index.vue

@@ -53,6 +53,7 @@ export default {
   components: {
     AppSwiper,
   },
+  mixins: [share],
   data() {
     return {
       constant: this.$constant,
@@ -115,6 +116,17 @@ export default {
   computed: {
 		...mapGetters(["getLoginInfo"])
 	},
+  onLoad() {
+    this.jweixinFn({
+      title: "更懂您的花卉宝",
+      pagePath: "pagesClient/official/index",
+      imageUrl: ""
+    });
+  },
+  onShow() {
+    // 隐藏返回首页按钮。
+    uni.hideHomeButton()
+  },
   methods: {
 			...mapActions(['setUserShopAll']),
 			register(){