소스 검색

去除删除页的返回按钮

wangn 5 년 전
부모
커밋
c73c70587f
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      ghsApp/src/pagesClient/official/index.vue

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

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