liukangdong
2024-07-09 91127ea4c1f2d17a278286f446cb64268e4e6f6f
wxmini
已添加87个文件
2060 ■■■■■ 文件已修改
wechat_jiaxuan/.eslintrc.js 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/.gitignore 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.json 70 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.wxss 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.js 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.less 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.wxml 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.wxss 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/navBar/navBar.js 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/navBar/navBar.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/navBar/navBar.wxml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/navBar/navBar.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/package-lock.json 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/package.json 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.js 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.less 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.wxml 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.wxss 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.js 82 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.less 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.wxml 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.wxss 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.js 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.json 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.less 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.wxml 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.wxss 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/design/design.js 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/design/design.json 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/design/design.less 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/design/design.wxml 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/design/design.wxss 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/discover/discover.js 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/discover/discover.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/discover/discover.wxml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.js 82 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.json 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.less 184 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.wxml 123 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.wxss 151 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/mine/mine.js 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/mine/mine.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/mine/mine.wxml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.config.json 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.private.config.json 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/sitemap.json 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/ai_auth.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/arrow_right.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/design_ic_city.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/design_ic_delete.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/design_ic_name.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/design_ic_phone.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/detail_nav_collect.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/detail_nav_collected.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/detail_nav_share.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_ar@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_ic_fuwu@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_ic_kefu.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_ic_zhuangxiu@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_ic_zhutihuodong.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_ic_zixun@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/home_logo@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/ic_float_baoming@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/ic_sheji.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/logo.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/nav_ic_back.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/phone.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/test.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/zixun_ic_liulan.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/images/design_banner.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/images/home_class_a@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/images/home_class_b2@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/images/home_class_b@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/images/home_class_c@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/images/home_img_weixiaoxd@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_faxian.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_faxianAc.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_home.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_homeAc.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_mendian.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_mendianAc.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_wode.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/tabbar/nav_wodeAc.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/.eslintrc.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,31 @@
/*
 * Eslint config file
 * Documentation: https://eslint.org/docs/user-guide/configuring/
 * Install the Eslint extension before using this feature.
 */
module.exports = {
  env: {
    es6: true,
    browser: true,
    node: true,
  },
  ecmaFeatures: {
    modules: true,
  },
  parserOptions: {
    ecmaVersion: 2018,
    sourceType: 'module',
  },
  globals: {
    wx: true,
    App: true,
    Page: true,
    getCurrentPages: true,
    getApp: true,
    Component: true,
    requirePlugin: true,
    requireMiniProgram: true,
  },
  // extends: 'eslint:recommended',
  rules: {},
}
wechat_jiaxuan/.gitignore
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
.DS_Store
coderd.json
node_modules
miniprogram_npm
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
wechat_jiaxuan/app.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
// app.js
App({
  globalData: {
    primary: '#B08771',
    bottomLift: ''
  },
  onLaunch: function () {
    //获取当前设备信息
    const WindowInfo = wx.getWindowInfo()
    console.log('WindowInfo', WindowInfo);
    if (WindowInfo.safeArea.top > 20) {
      this.globalData.bottomLift = WindowInfo.screenHeight - WindowInfo.safeArea.bottom;
      console.log(this.globalData.bottomLift);
    }
  }
})
wechat_jiaxuan/app.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,70 @@
{
  "pages": [
    "pages/index/index",
    "pages/discover/discover",
    "pages/consult/consult",
    "pages/consult/detail",
    "pages/mine/mine",
    "pages/auth/auth",
    "pages/design/design"
  ],
  "window": {
    "navigationBarTitleText": "志邦家选",
    "navigationBarTextStyle": "black",
    "navigationBarBackgroundColor": "#fff"
  },
  "renderer": "skyline",
  "rendererOptions": {
    "skyline": {
      "defaultDisplayBlock": true,
      "disableABTest": true,
      "sdkVersionBegin": "3.0.0",
      "sdkVersionEnd": "15.255.255"
    }
  },
  "tabBar": {
    "color": "#999",
    "selectedColor": "#110000",
    "list": [
      {
        "pagePath": "pages/index/index",
        "iconPath": "static/tabbar/nav_home.png",
        "selectedIconPath": "static/tabbar/nav_homeAc.png",
        "text": "首页"
      },
      {
        "pagePath": "pages/discover/discover",
        "iconPath": "static/tabbar/nav_faxian.png",
        "selectedIconPath": "static/tabbar/nav_faxianAc.png",
        "text": "发现"
      },
      {
        "pagePath": "pages/consult/consult",
        "iconPath": "static/tabbar/nav_mendian.png",
        "selectedIconPath": "static/tabbar/nav_mendianAc.png",
        "text": "咨询"
      },
      {
        "pagePath": "pages/mine/mine",
        "iconPath": "static/tabbar/nav_wode.png",
        "selectedIconPath": "static/tabbar/nav_wodeAc.png",
        "text": "我的"
      }
    ]
  },
  "usingComponents": {
    "van-button": "@vant/weapp/button/index",
    "van-icon": "@vant/weapp/icon/index",
    "van-loading": "@vant/weapp/loading/index",
    "van-empty": "@vant/weapp/empty/index",
    "navBar": "./components/navBar/navBar"
  },
  "permission": {
    "scope.userLocation": {
      "desc": "你的位置信息将用于小程序位置接口的效果展示"
    }
  },
  "componentFramework": "glass-easel",
  "sitemapLocation": "sitemap.json",
  "lazyCodeLoading": "requiredComponents"
}
wechat_jiaxuan/app.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,31 @@
view,text{
  box-sizing: border-box;
}
page{
  background-color: #fff;
  --themeColor:#B08771;
}
image{
  display: flex;
}
.container {
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
  font-size: 28rpx;
}
.primary{
  color: var(--themeColor);
}
.df_sb{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.placeholder9{
  color: #999999;
}
.arrow_right{
  width: 16rpx;
}
wechat_jiaxuan/components/authCard/authCard.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
// components/authCard/authCard.js
Component({
  /**
   * ç»„件的属性列表
   */
  properties: {
    type: { // å±žæ€§å
      type: String,
      value: '0'
    },
  },
  /**
   * ç»„件的初始数据
   */
  data: {
  },
  /**
   * ç»„件的方法列表
   */
  methods: {
  }
})
wechat_jiaxuan/components/authCard/authCard.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,4 @@
{
  "component": true,
  "usingComponents": {}
}
wechat_jiaxuan/components/authCard/authCard.less
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,55 @@
.container{
  width: 750rpx;
  background-color: #fff;
  padding: 10rpx 40rpx;
}
.wrap1{
  display: flex;
  box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.2);
  border-radius: 8rpx;
  padding: 30rpx;
  height: 140rpx;
  .ai{
    width: 80rpx;
    height: 80rpx;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-right: 24rpx;
    background: rgba(176,135,113,0.14);
    image{
      width: 56rpx;
      height: 56rpx;
    }
  }
  .content{
    flex: 1;
    .name{
      font-weight: 600;
      font-size: 32rpx;
      color: #111111;
      margin-bottom: 2rpx;
    }
    .desc{
      font-weight: 300;
      font-size: 24rpx;
      color: #333333;
    }
  }
  .btn{
    font-weight: 300;
    font-size: 26rpx;
    line-height: 32rpx;
    width: 68rpx;
    height: 140rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: -30rpx -30rpx -30rpx 24rpx;
    color: #FFFFFF;
    background: #B08771;
    border-radius: 0rpx 8rpx 8rpx 0rpx;
  }
}
wechat_jiaxuan/components/authCard/authCard.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
<view class="container">
  <!-- æœªæŽˆæƒ -->
  <view wx:if="{{ type == '0' }}" class="wrap1">
    <view class="ai df_ct">
      <image src="../../static/icon/ai_auth.png"></image>
    </view>
    <view class="content">
      <view class="name">AI找设计</view>
      <view class="desc">你身边的全屋设计专家</view>
    </view>
    <view class="btn">
      <view>去</view>
      <view>看</view>
      <view>看</view>
    </view>
  </view>
  <!-- å·²æŽˆæƒ -->
  <view wx:if="{{ type == '1' }}" class="wrap2">
  </view>
  <!-- å·²æŽˆæƒ å·²ç»‘定 -->
</view>
wechat_jiaxuan/components/authCard/authCard.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,55 @@
.container {
  width: 750rpx;
  background-color: #fff;
  padding: 10rpx 40rpx;
}
.wrap1 {
  display: flex;
  box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.2);
  border-radius: 8rpx;
  padding: 30rpx;
  height: 140rpx;
}
.wrap1 .ai {
  width: 80rpx;
  height: 80rpx;
  display: flex;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-right: 24rpx;
  background: rgba(176, 135, 113, 0.14);
}
.wrap1 .ai image {
  width: 56rpx;
  height: 56rpx;
}
.wrap1 .content {
  flex: 1;
}
.wrap1 .content .name {
  font-weight: 600;
  font-size: 32rpx;
  color: #111111;
  margin-bottom: 2rpx;
}
.wrap1 .content .desc {
  font-weight: 300;
  font-size: 24rpx;
  color: #333333;
}
.wrap1 .btn {
  font-weight: 300;
  font-size: 26rpx;
  line-height: 32rpx;
  width: 68rpx;
  height: 140rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -30rpx -30rpx -30rpx 24rpx;
  color: #FFFFFF;
  background: #B08771;
  border-radius: 0rpx 8rpx 8rpx 0rpx;
}
wechat_jiaxuan/components/navBar/navBar.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
// components/navBar/navBar.js
Component({
  /**
   * ç»„件的属性列表
   */
  properties: {
    title: '',
    showBack: {
      type: Boolean,
      value: true
    }
  },
  /**
   * ç»„件的初始数据
   */
  data: {
  },
  /**
   * ç»„件的方法列表
   */
  methods: {
  }
})
wechat_jiaxuan/components/navBar/navBar.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
{
  "component": true,
  "usingComponents": {
    "van-nav-bar": "@vant/weapp/nav-bar/index"
  }
}
wechat_jiaxuan/components/navBar/navBar.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,5 @@
<van-nav-bar title="{{ title }}" border="{{ false }}">
    <view slot="left">
      <van-icon wx:if="{{ showBack }}" name="arrow-left" size="22px" color="#000000" />
    </view>
  </van-nav-bar>
wechat_jiaxuan/components/navBar/navBar.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1 @@
/* components/navBar/navBar.wxss */
wechat_jiaxuan/package-lock.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,13 @@
{
  "name": "party",
  "version": "1.0.0",
  "lockfileVersion": 1,
  "requires": true,
  "dependencies": {
    "@vant/weapp": {
      "version": "1.11.6",
      "resolved": "https://registry.npmjs.org/@vant/weapp/-/weapp-1.11.6.tgz",
      "integrity": "sha512-a3heReWYT2gNdsyj6x1hBwsM8V8NrjcPAmle86NH2CD2V/i/h0le75piW6KntSfOPCwekVWMBKhysNrBpJeKdw=="
    }
  }
}
wechat_jiaxuan/package.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
{
  "name": "party",
  "version": "1.0.0",
  "main": "app.js",
  "dependencies": {
    "@vant/area-data": "^1.1.3",
    "@vant/weapp": "^1.11.6",
    "vant-weapp": "^0.5.28"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "repository": {
    "type": "git",
    "url": "git@gitee.com:ttttimor/party.git"
  },
  "description": ""
}
wechat_jiaxuan/pages/auth/auth.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,72 @@
// pages/auth/auth.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
    agreementFalg: false,
    primary: ''
  },
  agreementChange(e) {
    this.setData({
      agreementFalg: e.detail,
    })
  },
  onLoad(options) {
    var app = getApp().globalData
    this.setData({
      primary: app.primary
    })
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/auth/auth.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
{
  "usingComponents": {
    "van-nav-bar": "@vant/weapp/nav-bar/index",
    "van-checkbox": "@vant/weapp/checkbox/index"
  }
}
wechat_jiaxuan/pages/auth/auth.less
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,50 @@
.logo_wrap{
  width: 140rpx;
  height: 140rpx;
  margin-bottom: 48rpx;
  image{
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
}
.main_footer{
  position: fixed;
  bottom: 220rpx;
  left: 40rpx;
  width: 630rpx;
  .line{
    display: flex;
    flex-wrap: wrap;
    color: #555555;
    font-size: 24rpx;
    margin-bottom: 40rpx;
    .content{
      flex: 1;
    }
  }
  .btn{
    width: 630rpx;
    height: 88rpx;
    background: var(--themeColor);
    border-radius: 8rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 500;
    font-size: 30rpx;
  }
}
.title{
  font-weight: 600;
  font-size: 44rpx;
  color: #111111;
  line-height: 60rpx;
  margin-bottom: 28rpx;
}
.container{
  min-height: 100vh;
  padding: 120rpx 60rpx;
  background-color: #fff;
}
wechat_jiaxuan/pages/auth/auth.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
<view>
  <van-nav-bar title="授权登录">
    <view slot="left">
      <van-icon name="arrow-left" size="22px" color="#000000" />
    </view>
  </van-nav-bar>
  <view class="container">
    <view class="logo_wrap">
      <image src="../../static/icon/logo.png"></image>
    </view>
    <view class="title">欢迎来到志邦家居选志邦,实现您对家的美好想象</view>
    <view class="placeholder9">您喜欢的样子,我都有~</view>
    <view class="main_footer">
      <view class="line">
        <van-checkbox value="{{ agreementFalg }}" checked-color="{{primary}}" shape="round" bind:change="agreementChange"></van-checkbox>
        <view class="content">
          <text>我已阅读并同意</text>
          <text class="primary">《ZBOM用户服务协议》</text>
          <text>及</text>
          <text class="primary">《ZBOM用户隐私政策》</text>
        </view>
      </view>
      <view class="btn">手机号快捷登录</view>
    </view>
  </view>
</view>
wechat_jiaxuan/pages/auth/auth.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,50 @@
.logo_wrap {
  width: 140rpx;
  height: 140rpx;
  margin-bottom: 48rpx;
}
.logo_wrap image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.main_footer {
  position: fixed;
  bottom: 220rpx;
  left: 40rpx;
  width: 630rpx;
}
.main_footer .line {
  display: flex;
  flex-wrap: wrap;
  color: #555555;
  font-size: 24rpx;
  margin-bottom: 40rpx;
}
.main_footer .line .content {
  flex: 1;
}
.main_footer .btn {
  width: 630rpx;
  height: 88rpx;
  background: var(--themeColor);
  border-radius: 8rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 500;
  font-size: 30rpx;
}
.title {
  font-weight: 600;
  font-size: 44rpx;
  color: #111111;
  line-height: 60rpx;
  margin-bottom: 28rpx;
}
.container {
  min-height: 100vh;
  padding: 120rpx 60rpx;
  background-color: #fff;
}
wechat_jiaxuan/pages/consult/consult.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,82 @@
// pages/consult/consult.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
    category: ['新品上市', '专利证书', '大牌授权','新品上市', '专利证书', '大牌授权'],
    secondCategory: ['级分类','级分类','级分类','级分类','级分类','级分类'],
    activeCate: '',
    seActiveCate: '',
    dataList: []
  },
  itemClick(e) {
    const { id } = e.target.dataset
    console.log(e.target.dataset);
    wx.navigateTo({
      url: '/pages/consult/detail',
    })
  },
  cateClick(e) {
    const { index } = e.target.dataset
    console.log(index);
  },
  seCateClick(e) {
    const { index } = e.target.dataset
    console.log(index);
  },
  onLoad(options) {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/consult/consult.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,4 @@
{
  "navigationStyle": "custom",
  "navigationBarTextStyle": "white"
}
wechat_jiaxuan/pages/consult/consult.less
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,62 @@
.container {
  background-color: #fff;
}
.scroll_cate {
  display: flex;
  align-items: center;
  margin-left: 40rpx;
  height: 60rpx;
  .item {
    margin-right: 54rpx;
    color: #666666;
    flex-shrink: 0;
  }
  .active {
    color: #222222;
    font-weight: 500;
    font-size: 30rpx;
  }
}
.second_list {
  .item {
    padding: 0 40rpx;
    display: flex;
    align-items: center;
    font-size: 24rpx;
    color: #333333;
    height: 60rpx;
    background: #F7F7F7;
    border-radius: 8rpx;
    margin-right: 24rpx;
  }
  .active{
    background-color: var(--themeColor);
    color: #fff;
    font-size: 24rpx;
    font-weight: 400;
  }
}
.content{
  padding: 0 40rpx 40rpx;
  .item{
    .img{
      width: 100%;
    }
    .title{
      font-size: 30rpx;
      color: #111111;
      margin: 24rpx 0 12rpx;
    }
    .static{
      font-size: 24rpx;
      color: #999999;
      .liulan{
        width: 26rpx;
        margin-right: 10rpx;
      }
    }
  }
}
wechat_jiaxuan/pages/consult/consult.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,30 @@
<view class="container">
  <navBar showBack="{{ false }}" title="咨询"></navBar>
  <!-- åˆ†ç±» -->
  <view>
    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
      <view class="scroll_cate">
        <view bindtap="cateClick" data-index="{{index}}" wx:for="{{ category }}" class="item {{ index == 0 ? 'active': '' }}">{{ item }}</view>
      </view>
    </scroll-view>
    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
      <view class="scroll_cate second_list">
        <view bindtap="seCateClick" data-index="{{index}}" wx:for="{{ secondCategory }}" class="item {{ index == 0 ? 'active': '' }}">{{ index }}{{ item }}</view>
      </view>
    </scroll-view>
  </view>
  <!-- content -->
  <view class="content">
    <view class="item" bindtap="itemClick" data-abg="qwe">
      <image class="img" src="../../static/icon/test.png" mode="widthFix"></image>
      <view class="title">吊灯实用特辑 | ä¸€æ­¥å­¦ä¼šç†æƒ³å…‰å½±å¸ƒå±€</view>
      <view class="df_sb static">
        <view>{{ '2021-08-21 12:00:00' }}</view>
        <view class="df_sb">
          <image class="liulan" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
          <text>1000</text>
        </view>
      </view>
    </view>
  </view>
</view>
wechat_jiaxuan/pages/consult/consult.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,55 @@
.container {
  background-color: #fff;
}
.scroll_cate {
  display: flex;
  align-items: center;
  margin-left: 40rpx;
  height: 60rpx;
}
.scroll_cate .item {
  margin-right: 54rpx;
  color: #666666;
  flex-shrink: 0;
}
.scroll_cate .active {
  color: #222222;
  font-weight: 500;
  font-size: 30rpx;
}
.second_list .item {
  padding: 0 40rpx;
  display: flex;
  align-items: center;
  font-size: 24rpx;
  color: #333333;
  height: 60rpx;
  background: #F7F7F7;
  border-radius: 8rpx;
  margin-right: 24rpx;
}
.second_list .active {
  background-color: var(--themeColor);
  color: #fff;
  font-size: 24rpx;
  font-weight: 400;
}
.content {
  padding: 0 40rpx 40rpx;
}
.content .item .img {
  width: 100%;
}
.content .item .title {
  font-size: 30rpx;
  color: #111111;
  margin: 24rpx 0 12rpx;
}
.content .item .static {
  font-size: 24rpx;
  color: #999999;
}
.content .item .static .liulan {
  width: 26rpx;
  margin-right: 10rpx;
}
wechat_jiaxuan/pages/consult/detail.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,66 @@
// pages/consult/detail.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
    navTitle: '详情'
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面加载
   */
  onLoad(options) {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/consult/detail.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,3 @@
{
  "usingComponents": {}
}
wechat_jiaxuan/pages/consult/detail.less
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,56 @@
.main_content {
  padding: 40rpx 40rpx 100rpx;
  .main_title {
    font-weight: 500;
    font-size: 44rpx;
    color: #222222;
    margin-bottom: 12rpx;
  }
  .datetime {
    margin-bottom: 32rpx;
    font-size: 26rpx;
    color: #999999;
  }
}
.footer {
  display: flex;
  align-items: center;
  height: 100rpx;
  position: fixed;
  bottom: 0;
  left: 40rpx;
  width: 670rpx;
  .sub_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 72rpx;
    flex: 1;
    background-color: var(--themeColor);
    font-weight: 500;
    color: #FFFFFF;
    font-style: 28rpx;
    box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.33);
    border-radius: 8rpx;
    .sheji{
      width: 28rpx;
      margin-right: 8rpx;
    }
  }
  .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20rpx;
    color: #666666;
    margin-right: 48rpx;
    .icon {
      width: 44rpx;
    }
  }
}
wechat_jiaxuan/pages/consult/detail.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
<view>
  <navBar title="{{ navTitle }}"></navBar>
  <view class="main_content">
    <view class="main_title">三种美好玄关,进屋瞬间卸载疲惫</view>
    <view class="datetime">发布时间:2021-08-21 10:0</view>
    <view class="content">
      å®¢åŽ…ã€é¤åŽ…ã€å§å®¤ã€åŽ¨æˆ¿ã€é˜³å°â€¦â€¦å®¶ä¸­ç©ºé—´çš„ç§°è°“ï¼Œå¤§å¤šæœ´å®žæ— åŽï¼Œå”¯ç‹¬â€œçŽ„å…³â€ä¸€è¯æ ¼å¤–åŽä¸½æŠ½è±¡ã€‚
      è¿™ä¸ªä¸å¤ªèµ·çœ¼çš„小空间,取词来自道教:“玄关”指修炼内丹过程中,体内的气绕巡全身时,最先通过的地方,也有“夫玄关者,至玄至妙之机关也”的说法。
    </view>
  </view>
  <!-- footer -->
  <view class="footer">
    <view class="item">
      <image class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
      <view class="name">收藏</view>
    </view>
    <view class="item">
      <image class="icon" src="../../static/icon/detail_nav_share.png" mode="widthFix"></image>
      <view class="name">分享</view>
    </view>
    <view class="sub_btn">
      <image class="sheji" src="../../static/icon/ic_sheji.png" mode="widthFix"></image>
      <view>免费预约专属设计</view>
    </view>
  </view>
</view>
wechat_jiaxuan/pages/consult/detail.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,52 @@
.main_content {
  padding: 40rpx 40rpx 100rpx;
}
.main_content .main_title {
  font-weight: 500;
  font-size: 44rpx;
  color: #222222;
  margin-bottom: 12rpx;
}
.main_content .datetime {
  margin-bottom: 32rpx;
  font-size: 26rpx;
  color: #999999;
}
.footer {
  display: flex;
  align-items: center;
  height: 100rpx;
  position: fixed;
  bottom: 0;
  left: 40rpx;
  width: 670rpx;
}
.footer .sub_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72rpx;
  flex: 1;
  background-color: var(--themeColor);
  font-weight: 500;
  color: #FFFFFF;
  font-style: 28rpx;
  box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255, 255, 255, 0.33);
  border-radius: 8rpx;
}
.footer .sub_btn .sheji {
  width: 28rpx;
  margin-right: 8rpx;
}
.footer .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20rpx;
  color: #666666;
  margin-right: 48rpx;
}
.footer .item .icon {
  width: 44rpx;
}
wechat_jiaxuan/pages/design/design.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,77 @@
// pages/design/design.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
    name: '',
    phone: '',
    city: ''
  },
  onLoad(options) {
  },
  onSubmit() {
    console.log('dd', this.data.name);
    console.log('dd', this.data.phone);
  },
  selAddress() {
    console.log('点击了');
    wx.chooseLocation({
      type: 'wgs84',
      success: (res)=> {
        this.setData({
          city: res.name
        })
        console.log('res', res);
      }
    })
  },
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/design/design.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
{
  "usingComponents": {
    "van-field": "@vant/weapp/field/index"
  },
  "navigationStyle": "custom",
  "navigationBarTextStyle": "white"
}
wechat_jiaxuan/pages/design/design.less
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,62 @@
.banner {
  width: 100%;
}
.main_content {
  width: 670rpx;
  position: relative;
  top: -100rpx;
  margin: 0 auto;
  background: #FFFFFF;
  box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.14);
  border-radius: 8rpx;
  padding: 40rpx;
  .btn {
    width: 590rpx;
    height: 88rpx;
    background: #B08771;
    border-radius: 8rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 30rpx;
    color: #FFFFFF;
  }
  .line {
    display: flex;
    align-items: center;
    width: 590rpx;
    height: 100rpx;
    background: #F6F6F6;
    border-radius: 8rpx;
    padding: 0 32rpx;
    margin-bottom: 40rpx;
    .icon {
      width: 40rpx;
    }
    .city{
      flex: 1;
      margin-left: 32rpx;
    }
    .input {
      flex: 1;
    }
    .van-field__control {
      background: #F6F6F6 !important;
    }
  }
  .title {
    font-weight: 600;
    font-size: 32rpx;
    color: #222222;
    line-height: 44rpx;
    margin-bottom: 34rpx;
    text-align: center;
  }
}
wechat_jiaxuan/pages/design/design.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
<view class="container">
  <navBar title="0元免费设计"></navBar>
  <image class="banner" src="../../static/images/design_banner.png"></image>
  <view class="main_content">
    <view class="title">0元定制 | æ‚¨çš„æˆ·åž‹è£…修方案</view>
    <view class="line">
      <image class="icon" src="../../static/icon/design_ic_name.png" mode="widthFix"></image>
      <van-field type="text" class="input" custom-style="background-color: #F6F6F6;" model:value="{{ name }}" placeholder="请输入姓名" maxlength="{{ 15 }}" clearable />
    </view>
    <view class="line">
      <image class="icon" src="../../static/icon/design_ic_phone.png" mode="widthFix"></image>
      <van-field type="number" class="input" custom-style="background-color: #F6F6F6;" model:value="{{ phone }}" placeholder="请输入联系电话" clearable maxlength="{{ 11 }}" />
    </view>
    <view class="line" bindtap="selAddress">
      <image class="icon" src="../../static/icon/design_ic_city.png" mode="widthFix"></image>
      <view class="city">{{ city }}</view>
      <image class="arrow_right" src="../../static/icon/arrow_right.png" mode="widthFix"></image>
    </view>
    <view class="btn" bindtap="onSubmit">立即报名</view>
  </view>
</view>
wechat_jiaxuan/pages/design/design.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,56 @@
.banner {
  width: 100%;
}
.main_content {
  width: 670rpx;
  position: relative;
  top: -100rpx;
  margin: 0 auto;
  background: #FFFFFF;
  box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.14);
  border-radius: 8rpx;
  padding: 40rpx;
}
.main_content .btn {
  width: 590rpx;
  height: 88rpx;
  background: #B08771;
  border-radius: 8rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 30rpx;
  color: #FFFFFF;
}
.main_content .line {
  display: flex;
  align-items: center;
  width: 590rpx;
  height: 100rpx;
  background: #F6F6F6;
  border-radius: 8rpx;
  padding: 0 32rpx;
  margin-bottom: 40rpx;
}
.main_content .line .icon {
  width: 40rpx;
}
.main_content .line .city {
  flex: 1;
  margin-left: 32rpx;
}
.main_content .line .input {
  flex: 1;
}
.main_content .line .van-field__control {
  background: #F6F6F6 !important;
}
.main_content .title {
  font-weight: 600;
  font-size: 32rpx;
  color: #222222;
  line-height: 44rpx;
  margin-bottom: 34rpx;
  text-align: center;
}
wechat_jiaxuan/pages/discover/discover.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,66 @@
// pages/discover/discover.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面加载
   */
  onLoad(options) {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/discover/discover.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,4 @@
{
  "navigationStyle": "custom",
  "navigationBarTextStyle": "white"
}
wechat_jiaxuan/pages/discover/discover.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,2 @@
<!--pages/discover/discover.wxml-->
<text>pages/discover/discover.wxml</text>
wechat_jiaxuan/pages/index/index.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,82 @@
// pages/index/index.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
    // é¡¶éƒ¨nav
    topHeadStyle: 1,
    showWhiteHead: true,
    topHeadBorder: false,
    bannerList: [
      {imgurl: ''},
      {imgurl: 'adsa.png'},
      {imgurl: 'adsa.png'},
      {imgurl: 'adsa.png'},
    ],
    bannerSwiperOption: {
      indicatorDots: true,
      vertical: false,
      autoplay: true,
      interval: 3000,
      duration: 500
    },
  },
  toSearch() {},
  onLoad(options) {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/index/index.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
{
  "usingComponents": {
    "van-nav-bar": "@vant/weapp/nav-bar/index",
    "authCard": "/components/authCard/authCard",
    "van-popup": "@vant/weapp/popup/index"
  },
  "navigationStyle": "custom",
  "navigationBarTextStyle": "white"
}
wechat_jiaxuan/pages/index/index.less
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,184 @@
.container {
  background-color: #f7f7f7;
  overflow-y: auto;
  height: 100vh;
  .banner_swiper {
    height: 600rpx;
    width: 100%;
    image {
      width: 100%;
      height: 100%;
      display: block;
    }
  }
  .consult_swiper {
    height: 420rpx;
    width: 100%;
    image {
      width: 100%;
      height: 100%;
      display: block;
    }
  }
  .logo_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60rpx 0;
    background-color: #fff;
    .logo {
      width: 246rpx;
    }
  }
  .active_baoming {
    position: fixed;
    right: 28rpx;
    bottom: 60rpx;
    width: 146rpx;
  }
  .function_wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 40rpx;
    .item {
      width: 214rpx;
      height: 232rpx;
      background: #F7F7F7;
      border-radius: 8rpx;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .img {
        width: 72rpx;
        height: 72rpx;
        background: #FFFFFF;
        border: 1px solid;
        border-radius: 50%;
      }
      .name {
        font-weight: 600;
        font-size: 32rpx;
        color: #111111;
        margin: 22rpx 0 10rpx;
      }
      .placeholder9 {
        font-weight: 300;
        color: #666666;
      }
    }
  }
  // äº§å“è§†é¢‘
  .product_video {
    padding: 72rpx 40rpx;
    background-color: #fff;
    video {
      width: 670rpx;
      height: 300rpx;
      border: 1px solid;
    }
  }
  .strategy {
    padding: 80rpx 40rpx;
    background: #F7F7F7;
    image {
      width: 100%;
      height: 100%;
    }
    .line {
      display: flex;
      justify-content: space-between;
      .line_left {
        width: 324rpx;
        height: 304rpx;
      }
      .line_right {
        .item {
          width: 322rpx;
          height: 140rpx;
          &:nth-last-child(1) {
            margin-top: 24rpx;
          }
        }
      }
    }
    .home_id {
      width: 670rpx;
      height: 240rpx;
      margin-top: 24rpx;
    }
  }
  // å’¨è¯¢
  .consult {
    padding: 80rpx 40rpx 60rpx;
    background: #fff;
  }
  .service {
    padding: 0rpx 40rpx 0rpx;
    background: #fff;
  }
  .com_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 670rpx;
    margin-bottom: 42rpx;
    .left {
      font-weight: 600;
      font-size: 36rpx;
      color: #111111;
      line-height: 50rpx;
      flex: 1;
      .name {
        display: flex;
        align-items: center;
        .icon {
          width: 36rpx;
          height: 36rpx;
          margin-right: 8rpx;
        }
      }
      .desc {
        font-weight: 300;
        font-size: 26rpx;
        color: #333333;
      }
    }
    .ar_right {
      width: 44rpx;
      height: 44rpx;
    }
  }
}
wechat_jiaxuan/pages/index/index.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,123 @@
<!-- é¡¶éƒ¨nav -->
<view class="container">
  <van-nav-bar wx:if="{{ showWhiteHead }}" border="{{ topHeadBorder }}" custom-class="top-head" fixed custom-style="opacity: {{ topHeadStyle }}">
    <view slot="left" class="flex-cc search" bindtap="toSearch">
      <text>志邦家选</text>
      <van-icon name="search" size="23px" color="#fff" />
      <!-- <image src="/static/icon/home_ic_search_black.png" mode="widthFix"></image> -->
      <!-- <text>搜索</text> -->
    </view>
  </van-nav-bar>
  <!-- banner轮播 -->
  <swiper class="banner_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" duration="{{ bannerSwiperOption.duration }}">
    <block wx:for="{{ bannerList }}" wx:key="index">
      <swiper-item>
        <image mode="aspectFill" src="../../static/icon/test.png"></image>
      </swiper-item>
    </block>
  </swiper>
  <!--  -->
  <view class="function_wrap">
    <view class="item">
      <image class="img" src="../../static/icon/test.png"></image>
      <view class="name">需求</view>
      <view class="placeholder9">分析小帮手</view>
    </view>
    <view class="item">
      <image class="img" src="../../static/icon/test.png"></image>
      <view class="name">免费量尺</view>
      <view class="placeholder9">分析小帮手</view>
    </view>
    <view class="item">
      <image class="img" src="../../static/icon/test.png"></image>
      <view class="name">预算</view>
      <view class="placeholder9">快速获取报价</view>
    </view>
  </view>
  <!--  -->
  <authCard />
  <!-- äº§å“è§†é¢‘  -->
  <view class="product_video">
    <view class="com_header">
      <view class="left">
        <view class="name">
          <image class="icon" src="../../static/icon/home_ic_zhutihuodong.png"></image>
          <text>产品视频</text>
        </view>
        <view class="desc">优选活动,抢先一步</view>
      </view>
      <image class="ar_right" src="../../static/icon/home_ar@2x.png"></image>
    </view>
    <video controls class="main_video" src="https://vdept3.bdstatic.com/mda-njed6187hpegim0d/cae_h264/1665826435448713448/mda-njed6187hpegim0d.mp4?v_from_s=hkapp-haokan-hbe&auth_key=1720440602-0-0-f249e56273037ad05b8f7066fd0973ca&bcevod_channel=searchbox_feed&pd=1&cr=0&cd=0&pt=3&logid=0601949156&vid=646246476325419292&klogid=0601949156&abtest=101830_1-17451_2"></video>
  </view>
  <!-- æ”»ç•¥ -->
  <view class="strategy">
    <view class="com_header">
      <view class="left">
        <view class="name">
          <image class="icon" src="../../static/icon/home_ic_zhuangxiu@2x.png"></image>
          <view>志说装修</view>
        </view>
        <view class="desc">最全的装修攻略来了,快来get起来</view>
      </view>
    </view>
    <view class="line">
      <view class="line_left">
        <image src="../../static/images/home_class_a@2x.png"></image>
      </view>
      <view class="line_right">
        <view class="item"><image src="../../static/images/home_class_b@2x.png"></image></view>
        <view class="item"><image src="../../static/images/home_class_b2@2x.png"></image></view>
      </view>
    </view>
    <view class="home_id">
      <image src="../../static/images/home_class_c@2x.png"></image>
    </view>
  </view>
  <!-- å’¨è¯¢ -->
  <view class="consult">
    <view class="com_header">
      <view class="left">
        <view class="name">
          <image class="icon" src="../../static/icon/home_ic_zixun@2x.png"></image>
          <text>产品资讯</text>
        </view>
        <view class="desc">更适合你的,装修小贴士</view>
      </view>
      <image class="ar_right" src="../../static/icon/home_ar@2x.png"></image>
    </view>
    <swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" duration="{{ bannerSwiperOption.duration }}">
    <block wx:for="{{ bannerList }}" wx:key="index">
      <swiper-item>
        <image mode="aspectFill" src="../../static/icon/test.png"></image>
      </swiper-item>
    </block>
  </swiper>
  </view>
  <!-- service -->
  <view class="consult">
    <view class="com_header">
      <view class="left">
        <view class="name">
          <image class="icon" src="../../static/icon/home_ic_fuwu@2x.png"></image>
          <view>定制服务</view>
        </view>
        <view class="desc">设身处地为你思虑更多,陪伴你的美好生活</view>
      </view>
    </view>
    <swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" duration="{{ bannerSwiperOption.duration }}">
    <block wx:for="{{ bannerList }}" wx:key="index">
      <swiper-item>
        <image mode="aspectFill" src="../../static/icon/test.png"></image>
      </swiper-item>
    </block>
  </swiper>
  </view>
  <!-- logo -->
  <view class="logo_wrap">
    <image src="../../static/icon/home_logo@2x.png" class="logo" mode="widthFix"></image>
  </view>
  <!-- active -->
  <image class="active_baoming" src="../../static/icon/ic_float_baoming@2x.png" mode="widthFix"></image>
</view>
wechat_jiaxuan/pages/index/index.wxss
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,151 @@
.container {
  background-color: #f7f7f7;
  overflow-y: auto;
  height: 100vh;
}
.container .banner_swiper {
  height: 600rpx;
  width: 100%;
}
.container .banner_swiper image {
  width: 100%;
  height: 100%;
  display: block;
}
.container .consult_swiper {
  height: 420rpx;
  width: 100%;
}
.container .consult_swiper image {
  width: 100%;
  height: 100%;
  display: block;
}
.container .logo_wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60rpx 0;
  background-color: #fff;
}
.container .logo_wrap .logo {
  width: 246rpx;
}
.container .active_baoming {
  position: fixed;
  right: 28rpx;
  bottom: 60rpx;
  width: 146rpx;
}
.container .function_wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 40rpx;
}
.container .function_wrap .item {
  width: 214rpx;
  height: 232rpx;
  background: #F7F7F7;
  border-radius: 8rpx;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container .function_wrap .item .img {
  width: 72rpx;
  height: 72rpx;
  background: #FFFFFF;
  border: 1px solid;
  border-radius: 50%;
}
.container .function_wrap .item .name {
  font-weight: 600;
  font-size: 32rpx;
  color: #111111;
  margin: 22rpx 0 10rpx;
}
.container .function_wrap .item .placeholder9 {
  font-weight: 300;
  color: #666666;
}
.container .product_video {
  padding: 72rpx 40rpx;
  background-color: #fff;
}
.container .product_video video {
  width: 670rpx;
  height: 300rpx;
  border: 1px solid;
}
.container .strategy {
  padding: 80rpx 40rpx;
  background: #F7F7F7;
}
.container .strategy image {
  width: 100%;
  height: 100%;
}
.container .strategy .line {
  display: flex;
  justify-content: space-between;
}
.container .strategy .line .line_left {
  width: 324rpx;
  height: 304rpx;
}
.container .strategy .line .line_right .item {
  width: 322rpx;
  height: 140rpx;
}
.container .strategy .line .line_right .item:nth-last-child(1) {
  margin-top: 24rpx;
}
.container .strategy .home_id {
  width: 670rpx;
  height: 240rpx;
  margin-top: 24rpx;
}
.container .consult {
  padding: 80rpx 40rpx 60rpx;
  background: #fff;
}
.container .service {
  padding: 0rpx 40rpx 0rpx;
  background: #fff;
}
.container .com_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 670rpx;
  margin-bottom: 42rpx;
}
.container .com_header .left {
  font-weight: 600;
  font-size: 36rpx;
  color: #111111;
  line-height: 50rpx;
  flex: 1;
}
.container .com_header .left .name {
  display: flex;
  align-items: center;
}
.container .com_header .left .name .icon {
  width: 36rpx;
  height: 36rpx;
  margin-right: 8rpx;
}
.container .com_header .left .desc {
  font-weight: 300;
  font-size: 26rpx;
  color: #333333;
}
.container .com_header .ar_right {
  width: 44rpx;
  height: 44rpx;
}
wechat_jiaxuan/pages/mine/mine.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,66 @@
// pages/mine/mine.js
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面加载
   */
  onLoad(options) {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * ç”¨æˆ·ç‚¹å‡»å³ä¸Šè§’分享
   */
  onShareAppMessage() {
  }
})
wechat_jiaxuan/pages/mine/mine.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,4 @@
{
  "navigationStyle": "custom",
  "navigationBarTextStyle": "white"
}
wechat_jiaxuan/pages/mine/mine.wxml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,2 @@
<!--pages/mine/mine.wxml-->
<text>pages/mine/mine.wxml</text>
wechat_jiaxuan/project.config.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,48 @@
{
  "appid": "wx9c8b22ccc4642e07",
  "compileType": "miniprogram",
  "libVersion": "3.4.10",
  "packOptions": {
    "ignore": [],
    "include": []
  },
  "setting": {
    "urlCheck": true,
    "coverView": true,
    "es6": true,
    "postcss": true,
    "lazyloadPlaceholderEnable": false,
    "preloadBackgroundData": false,
    "minified": true,
    "autoAudits": false,
    "uglifyFileName": false,
    "uploadWithSourceMap": true,
    "enhance": true,
    "showShadowRootInWxmlPanel": true,
    "packNpmManually": true,
    "packNpmRelationList": [
      {
        "packageJsonPath": "./package.json",
        "miniprogramNpmDistDir": "./"
      }
    ],
    "minifyWXSS": true,
    "useStaticServer": true,
    "showES6CompileOption": false,
    "checkInvalidKey": true,
    "babelSetting": {
      "ignore": [],
      "disablePlugins": [],
      "outputPath": ""
    },
    "disableUseStrict": false,
    "useCompilerPlugins": false,
    "minifyWXML": true
  },
  "condition": {},
  "editorSetting": {
    "tabIndent": "insertSpaces",
    "tabSize": 2
  },
  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
}
wechat_jiaxuan/project.private.config.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
{
  "projectname": "wechat_jiaxuan",
  "setting": {
    "compileHotReLoad": true
  },
  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json ä¸­çš„相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
  "libVersion": "3.4.9",
  "condition": {
    "miniprogram": {
      "list": [
        {
          "name": "",
          "pathName": "pages/auth/auth",
          "query": "",
          "launchMode": "default",
          "scene": null
        },
        {
          "name": "",
          "pathName": "pages/design/design",
          "query": "",
          "launchMode": "default",
          "scene": null
        },
        {
          "name": "",
          "pathName": "pages/consult/consult",
          "query": "",
          "launchMode": "default",
          "scene": null
        },
        {
          "name": "",
          "pathName": "pages/consult/detail",
          "query": "",
          "launchMode": "default",
          "scene": null
        }
      ]
    }
  }
}
wechat_jiaxuan/sitemap.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
{
    "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
    "rules": [{
    "action": "allow",
    "page": "*"
    }]
}
wechat_jiaxuan/static/icon/ai_auth.png
wechat_jiaxuan/static/icon/arrow_right.png
wechat_jiaxuan/static/icon/design_ic_city.png
wechat_jiaxuan/static/icon/design_ic_delete.png
wechat_jiaxuan/static/icon/design_ic_name.png
wechat_jiaxuan/static/icon/design_ic_phone.png
wechat_jiaxuan/static/icon/detail_nav_collect.png
wechat_jiaxuan/static/icon/detail_nav_collected.png
wechat_jiaxuan/static/icon/detail_nav_share.png
wechat_jiaxuan/static/icon/home_ar@2x.png
wechat_jiaxuan/static/icon/home_ic_fuwu@2x.png
wechat_jiaxuan/static/icon/home_ic_kefu.png
wechat_jiaxuan/static/icon/home_ic_zhuangxiu@2x.png
wechat_jiaxuan/static/icon/home_ic_zhutihuodong.png
wechat_jiaxuan/static/icon/home_ic_zixun@2x.png
wechat_jiaxuan/static/icon/home_logo@2x.png
wechat_jiaxuan/static/icon/ic_float_baoming@2x.png
wechat_jiaxuan/static/icon/ic_sheji.png
wechat_jiaxuan/static/icon/logo.png
wechat_jiaxuan/static/icon/nav_ic_back.png
wechat_jiaxuan/static/icon/phone.png
wechat_jiaxuan/static/icon/test.png
wechat_jiaxuan/static/icon/zixun_ic_liulan.png
wechat_jiaxuan/static/images/design_banner.png
wechat_jiaxuan/static/images/home_class_a@2x.png
wechat_jiaxuan/static/images/home_class_b2@2x.png
wechat_jiaxuan/static/images/home_class_b@2x.png
wechat_jiaxuan/static/images/home_class_c@2x.png
wechat_jiaxuan/static/images/home_img_weixiaoxd@2x.png
wechat_jiaxuan/static/tabbar/nav_faxian.png
wechat_jiaxuan/static/tabbar/nav_faxianAc.png
wechat_jiaxuan/static/tabbar/nav_home.png
wechat_jiaxuan/static/tabbar/nav_homeAc.png
wechat_jiaxuan/static/tabbar/nav_mendian.png
wechat_jiaxuan/static/tabbar/nav_mendianAc.png
wechat_jiaxuan/static/tabbar/nav_wode.png
wechat_jiaxuan/static/tabbar/nav_wodeAc.png