客户端 app

APP.jsApp({globalData: {// 用户信息userInfo: null,host:‘http://116.62.201.243:8080/wxxcx/’,flag:false,//判断购物车是否为空goodsList:null,//商品列表}})app.json{“pages”: [“pages/login/login”,“pages/shopping/shopping”,“pages/order/order”,“pages/account/account
摘要由CSDN通过智能技术生成

APP.js

App({
  globalData: {
    // 用户信息
    userInfo: null,
    host:'http://116.62.201.243:8080/wxxcx/',
    flag:false,//判断购物车是否为空
    goodsList:null,//商品列表
  }
})

app.json

{
  "pages": [
    "pages/login/login",
    "pages/shopping/shopping",
    "pages/order/order",
    "pages/account/account",
    "pages/account_consume/account_consume",
    "pages/account_recharge/account_recharge",
    "pages/detail/detail",
    "pages/pageorder/pageorder",
    "pages/addresslist_address/addresslist_address",
    "pages/account_address/account_address",
    "pages/accountConsume/accountConsume",
    "pages/addresslistEditor/addresslistEditor",
    "pages/appointment/appointment",
    "pages/accountRecharge/accountRecharge"
  ],
  "window": {
    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#fff",
    "navigationBarTitleText": "O2O客户端",
    "navigationBarTextStyle": "black"
  },
  "tabBar": {
    "color": "#000000",
    "selectedColor": "#7B68EE",
    "backgroundColor": "#fff",
    "list": [
      {
        "pagePath": "pages/shopping/shopping",
        "text": "商店",
        "iconPath": "/images/shangcheng.png",
        "selectedIconPath": "/images/shangcheng1.png"
      },
      {
        "pagePath": "pages/appointment/appointment",
        "text": "预约",
        "iconPath": "images/yuyue.png",
        "selectedIconPath": "images/yuyue1.png"
      },
      {
        "pagePath": "pages/order/order",
        "text": "订单",
        "iconPath": "images/weibiaoti--.png",
        "selectedIconPath": "images/weibiaoti--1.png"
      },
      {
        "pagePath": "pages/account/account",
        "text": "账户",
        "iconPath": "images/zhanghu.png",
        "selectedIconPath": "images/zhanghu1.png"
      }
    ]
  },
  "style": "v2",
  "sitemapLocation": "sitemap.json"
}

app.wxss

.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 200rpx 0;
  box-sizing: border-box;
} 
.mybutton{
  width: 120rpx;
  height: 60rpx;
  background-color: #7E7FEE;
  color: white;
  font-size: 28rpx;
  border-radius: 16rpx;
  text-align: center;
  line-height: 60rpx;
}
.hover{
  background-color: #5380EE;
}
.bottombox .hover1{
  background-color: 	#DCDCDC;
}
.bottombox .hover2{
  background-color: 	#DC143C;
}

project.config.json

{
  "description": "项目配置文件",
  "packOptions": {
    "ignore": []
  },
  "setting": {
    "urlCheck": false,
    "es6": true,
    "enhance": false,
    "postcss": true,
    "preloadBackgroundData": false,
    "minified": true,
    "newFeature": false,
    "coverView": true,
    "nodeModules": false,
    "autoAudits": false,
    "showShadowRootInWxmlPanel": true,
    "scopeDataCheck": false,
    "uglifyFileName": false,
    "checkInvalidKey": true,
    "checkSiteMap": true,
    "uploadWithSourceMap": true,
    "compileHotReLoad": false,
    "useMultiFrameRuntime": false,
    "useApiHook": true,
    "babelSetting": {
      "ignore": [],
      "disablePlugins": [],
      "outputPath": ""
    },
    "useIsolateContext": true,
    "useCompilerModule": true,
    "userConfirmedUseCompilerModuleSwitch": false,
    "packNpmManually": false,
    "packNpmRelationList": []
  },
  "compileType": "miniprogram",
  "libVersion": "2.13.0",
  "appid": "wxc47bd49b58be3198",
  "projectname": "O2OClient",
  "cloudfunctionTemplateRoot": "",
  "watchOptions": {
    "ignore": []
  },
  "debugOptions": {
    "hidedInDevtools": []
  },
  "scripts": {},
  "simulatorType": "wechat",
  "simulatorPluginLibVersion": {},
  "condition": {
    "search": {
      "current": -1,
      "list": []
    },
    "conversation": {
      "current": -1,
      "list": []
    },
    "plugin": {
      "current": -1,
      "list": []
    },
    "game": {
      "current": -1,
      "list": []
    },
    "gamePlugin": {
      "current": -1,
      "list": []
    },
    "miniprogram": {
      "current": -1,
      "list": [
        {
          "id": -1,
          "name": "pages/appointment/appointment",
          "pathName": "pages/appointment/appointment",
          "scene": null
        }
      ]
    }
  }
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值