1.增加商城返回按钮

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

@ -1,33 +1,33 @@
{
"name": "嗨森逛",
"appid": "__UNI__E807B53",
"description": "",
"versionName": "1.2.0",
"versionCode": "100",
"transformPx": false,
"app-plus": {
"usingComponents": true, //``true`` `template`
"softinput": {
"navBar": "none" //
"name" : "嗨森逛",
"appid" : "__UNI__E807B53",
"description" : "",
"versionName" : "1.2.0",
"versionCode" : "100",
"transformPx" : false,
"app-plus" : {
"usingComponents" : true, //``true`` `template`
"softinput" : {
"navBar" : "none" //
},
/* 5+App */
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"modules": {
"Share": {},
"OAuth": {}
"modules" : {
"Share" : {},
"OAuth" : {}
},
/* */
"distribute": {
"orientation": ["portrait-primary"],
"distribute" : {
"orientation" : [ "portrait-primary" ],
/* */
"android": {
"android" : {
/* android */
"permissions": [
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
@ -52,44 +52,44 @@
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"ios": {},
"ios" : {},
/* ios */
"sdkConfigs": {}
"sdkConfigs" : {}
}
},
/* SDK */
"quickapp": {},
"quickapp" : {},
/* */
"mp-weixin": {
"mp-weixin" : {
/* */
"appid": "wx8d49e2f83025229d",
"setting": {
"urlCheck": true
"appid" : "wx8d49e2f83025229d",
"setting" : {
"urlCheck" : true
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序定位"
"permission" : {
"scope.userLocation" : {
"desc" : "你的位置信息将用于小程序定位"
}
}
},
"h5": {
"sdkConfigs": {
"maps": {
"qqmap": {
"key": "7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB"
"h5" : {
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : "7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB"
}
}
},
"title": "嗨森逛",
"router": {
"mode": "hash",
"base": "/H5/"
"title" : "嗨森逛",
"router" : {
"mode" : "",
"base" : ""
},
"devServer" : {
"port" : "",
"https" : true
"https" : false
},
"domain": "https://hsgcs.dctpay.com",
"template": ""
"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