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" : "嗨森逛", "title" : "嗨森逛",
"router" : { "router" : {
"mode": "hash", "mode" : "",
"base": "/H5/" "base" : ""
}, },
"devServer" : { "devServer" : {
"port" : "", "port" : "",
"https" : true "https" : false
}, },
"domain" : "https://hsgcs.dctpay.com", "domain" : "https://hsgcs.dctpay.com",
"template" : "" "template" : ""

@ -1,5 +1,14 @@
<template> <template>
<view> <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"> <view class="footer">
<button v-if="user == '' " class="width100 fotct btnfot" @click="getuserinfo"> <button v-if="user == '' " class="width100 fotct btnfot" @click="getuserinfo">
@ -143,7 +152,7 @@
this.getCouponById(); this.getCouponById();
// #ifdef MP // #ifdef MP
// //
// this.showBack = false; this.showBack = false;
// #endif // #endif
//optionobject //optionobject
}, },

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

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

Loading…
Cancel
Save