微信小程序开发(一)

                                                                                              配置基本环境

1、下载微信开发工具,注册成为管理员

2、

配置基本环境

 

 

 

 

 

 

3、app.js

App({
	
})

4、app.josn

{
  "pages": [
    "pages/index/index",
     "pages/wode/wode",
     "pages/pay/pay",
     "pages/pay1/pay",
      "pages/faxian/faxian",
    "pages/payResult/payResult",
      "pages/Propay/Propay"
     ],
  "window": {
    "navigationBarTextStyle": "white",
    "navigationBarTitleText": "江通农业",
    "navigationBarBackgroundColor": "#69c3aa",
    "backgroundColor": "#fbf9fe"
  },
  "tabBar": {
    "color": "#929292",
    "backgroundColor": "#ffffff",
    "selectedColor": "#69C3AA",
    "borderStyle": "white",
    "list": [
      {
        "pagePath": "pages/index/index",
        "text": "首页",
        "iconPath": "image/shouye1.png",
        "selectedIconPath": "image/shouye.png"
      },
      {
        "pagePath": "pages/faxian/faxian",
        "text": "活动",
        "iconPath": "image/huodong1.png",
        "selectedIconPath": "image/huodong.png"
      },
      {
        "pagePath": "pages/wode/wode",
        "text": "我的",
        "iconPath": "image/wode1.png",
        "selectedIconPath": "image/wode.png"
      }
    ]
  },
  "sitemapLocation": "sitemap.json"
}

5、app.wxss

@import "colorui/main.wxss";#引入colorui模板
@import "colorui/icon.wxss";#引入colorui图标
page {
  background-color: #f5f6f7;
  height: 100%;
  letter-spacing: 1px;
}

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值