1.增加商城返回按钮

yj-dev
杨杰 4 years ago
parent 9f7f96f7c5
commit f8f7114fc9
  1. 6
      manifest.json
  2. 11
      pages/goods/goods.vue
  3. 3
      pages/tabBar/category/category.vue
  4. 3
      pages/tabBar/home/home.vue

@ -82,12 +82,12 @@
},
"title" : "嗨森逛",
"router" : {
"mode": "hash",
"base": "/H5/"
"mode" : "",
"base" : ""
},
"devServer" : {
"port" : "",
"https" : true
"https" : false
},
"domain" : "https://hsgcs.dctpay.com",
"template" : ""

@ -1,5 +1,14 @@
<template>
<view>
<view class="header">
<!-- 头部-默认显示 -->
<view class="before" :style="{ opacity: 1 - afterHeaderOpacity, zIndex: beforeHeaderzIndex }">
<view class="back"><view class="icon xiangqian" @tap="back" v-if="showBack"></view></view>
<view class="middle"></view>
</view>
</view>
<!-- 底部菜单 -->
<view class="footer">
<button v-if="user == '' " class="width100 fotct btnfot" @click="getuserinfo">
@ -143,7 +152,7 @@
this.getCouponById();
// #ifdef MP
//
// this.showBack = false;
this.showBack = false;
// #endif
//optionobject
},

@ -70,6 +70,9 @@
import authorize from '../../../components/Authorize';
let app = getApp();
export default {
components: {
authorize
},
data() {
return {
showCategoryIndex: 0,

@ -121,6 +121,9 @@
import authorize from '../../../components/Authorize';
let app = getApp();
export default {
components: {
authorize
},
data() {
return {
showHeader: true,

Loading…
Cancel
Save