From 030c4a9c69e78604c845f1f6c57290da9af00740 Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Wed, 20 Sep 2023 18:53:56 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=8C=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 10 +- pages.json | 365 ++----------------------------------- pages/flash/index.vue | 2 +- pages/house/house.vue | 26 ++- pages/index/index.vue | 7 + static/logo-chang.png | Bin 0 -> 12973 bytes static/logo.png | Bin 0 -> 13657 bytes sub_pages/house/add.vue | 16 +- sub_pages/house/detail.vue | 2 +- 9 files changed, 64 insertions(+), 364 deletions(-) create mode 100644 static/logo-chang.png create mode 100644 static/logo.png diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index d190751..4bbcf3c 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,15 +2,19 @@ // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 "version": "0.0", "configurations": [{ - "default" : + "app-plus" : { "launchtype" : "local" }, - "h5" : + "default" : { "launchtype" : "local" }, - "mp-weixin" : + "h5" : + { + "launchtype" : "local" + }, + "mp-weixin" : { "launchtype" : "local" }, diff --git a/pages.json b/pages.json index a968801..3bba06a 100755 --- a/pages.json +++ b/pages.json @@ -16,18 +16,6 @@ "selectedIconPath": "static/tabbar/house-active.png", "text": "找房" }, - // { - // "pagePath": "pages/love/love", - // "iconPath": "static/tabbar/love.png", - // "selectedIconPath": "static/tabbar/love-active.png", - // "text": "恋爱圈" - // }, - // { - // "pagePath": "pages/notice/notice", - // "iconPath": "static/tabbar/notice.png", - // "selectedIconPath": "static/tabbar/notice-active.png", - // "text": "消息" - // }, { "pagePath": "pages/user/user", "iconPath": "static/tabbar/user.png", @@ -38,226 +26,24 @@ }, "subPackages": [{ "root": "sub_pages", - "pages": [{ - "path": "user/personal/index", - "style": { - "navigationBarTitleText": "个人资料" - } - }, - { - "path": "user/bind/index", - "style": { - "navigationBarTitleText": "绑定手机" - } - }, { - "path": "user/buy/buy", - "style": { - "navigationBarTitleText": "购买", - "enablePullDownRefresh": false - } - }, { - "path": "user/grade/grade", - "style": { - "navigationBarTitleText": "我的会员", - "enablePullDownRefresh": false - } - }, { - "path": "user/poster/poster", - "style": { - "navigationBarTitleText": "分享海报", - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } + "pages": [ - }, { - "path": "user/poster/poster2", - "style": { - "navigationBarTitleText": "分享海报", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#730070", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } - - }, { - "path": "love/release/release", - "style": { - "navigationBarTitleText": "发布", - "enablePullDownRefresh": false - } - }, - { - "path": "certification/certification", - "style": { - "navigationBarTitleText": "我的认证", - "enablePullDownRefresh": false - } - - }, { - "path": "certification/id-card/id-card", - "style": { - "navigationBarTitleText": "身份认证", - "enablePullDownRefresh": false - } - }, { - "path": "certification/education/education", - "style": { - "navigationBarTitleText": "学历认证", - "enablePullDownRefresh": false - } - }, { - "path": "certification/car/car", - "style": { - "navigationBarTitleText": "车辆认证", - "enablePullDownRefresh": false - } - }, { - "path": "dealer/dealer", - "style": { - "navigationBarTitleText": "婚介中心", - "enablePullDownRefresh": true, - "navigationStyle": "custom" - } - }, { - "path": "dealer/grade/grade", - "style": { - "navigationBarTitleText": "开通线上门店", - "enablePullDownRefresh": false - } - }, { "path": "checkout/checkout", "style": { "navigationBarTitleText": "预约看房", "enablePullDownRefresh": false } - }, { - "path": "dealer/team/team", - "style": { - "navigationBarTitleText": "单身团", - "enablePullDownRefresh": true - } - }, { + }, + + { "path": "contact/contact", "style": { "navigationBarTitleText": "联系客服", "enablePullDownRefresh": false } - }, { - "path": "dealer/qrcode/qrcode", - "style": { - "navigationBarTitleText": "识别二维码", - "enablePullDownRefresh": false - } - }, { - "path": "profit/profit", - "style": { - "navigationBarTitleText": "收益明细", - "enablePullDownRefresh": true - } - }, { - "path": "dealer/offline/offline", - "style": { - "navigationBarTitleText": "单身团", - "enablePullDownRefresh": false - } - - }, { - "path": "goods/list", - "style": { - "navigationBarTitleText": "商品列表", - "enablePullDownRefresh": true - } - }, - { - "path": "wallet/balance/log", - "style": { - "navigationBarTitleText": "我的钱包" - } - }, { - "path": "wallet/gift/gift", - "style": { - "navigationBarTitleText": "我的礼物", - "enablePullDownRefresh": false - } - }, - { - "path": "wallet/recharge/index", - "style": { - "navigationBarTitleText": "充值中心" - } - }, - { - "path": "wallet/recharge/order", - "style": { - "navigationBarTitleText": "充值记录" - } - }, - { - "path": "goods/detail", - "style": { - "navigationBarTitleText": "商品详情页" - } - }, { - "path": "dealer/merchant/merchant", - "style": { - "navigationBarTitleText": "我的门店", - "enablePullDownRefresh": false - } - }, { - "path": "member/member", - "style": { - "navigationBarTitleText": "会员列表", - "enablePullDownRefresh": false - } - }, { - "path": "member/detail/detail", - "style": { - "navigationBarTitleText": "会员详情", - "enablePullDownRefresh": false - } - }, - { - "path": "order/detail", - "style": { - "navigationBarTitleText": "订单详情", - "navigationBarTextStyle": "white" - } - }, { - "path": "order/get-food/get-food", - "style": { - "navigationBarTitleText": "领餐列表", - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, { - "path": "notice/fans", - "style": { - "navigationBarTitleText": "喜欢我" - } - }, { - "path": "notice/like", - "style": { - "navigationBarTitleText": "我喜欢" - } - }, { - "path": "notice/comment", - "style": { - "navigationBarTitleText": "评论" - } - }, { - "path": "notice/look", - "style": { - "navigationBarTitleText": "看过我" - } - }, { - "path": "love/comment/comment", - "style": { - "navigationBarTitleText": "评论详情", - "enablePullDownRefresh": false - } - - }, + }, + { "path": "feedback/feedback", "style": { @@ -265,38 +51,9 @@ "enablePullDownRefresh": false } - }, { - "path": "wallet/profit/profit", - "style": { - "navigationBarTitleText": "收益明细", - "enablePullDownRefresh": false - } - - }, { - "path": "withdraw/withdraw", - "style": { - "navigationBarTitleText": "申请提现", - "enablePullDownRefresh": false - } - - }, { - "path": "withdraw/log/log", - "style": { - "navigationBarTitleText": "打款进度", - "enablePullDownRefresh": false - } - - }, { - "path": "dealer/poster/poster", - "style": { - "navigationBarTitleText": "分享海报", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#730070", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } - - }, { + }, + + { "path": "house/house", "style": { "navigationBarTitleText": "房源管理", @@ -332,7 +89,8 @@ "path": "pages/index/index", "style": { "navigationBarTitleText": "爱尚家", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "navigationStyle": "custom" } }, { @@ -368,115 +126,22 @@ "navigationBarTitleText": "租赁服务协议与隐私协议" } }, + { - "path": "pages/comment/index", - "style": { - "navigationBarTitleText": "商品评价页" - } - }, - { - "path": "pages/checkout/checkout", - "style": { - "navigationBarTitleText": "订单确认" - } - }, - { - "path": "pages/checkout/cashier/index", - "style": { - "navigationBarTitleText": "支付订单" - } - }, - { - "path": "pages/order/index", - "style": { - "navigationBarTitleText": "订单列表", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/shop/extract", - "style": { - "navigationBarTitleText": "选择自提门店" - } - }, - { - "path": "pages/shop/detail", - "style": { - "navigationBarTitleText": "门店详情" - } - }, - { - "path": "uni_modules/uni-pay/pages/success/success", - "style": { - "backgroundColor": "#F8F8F8", - "navigationBarTitleText": "支付成功" - } - }, { "path": "uni_modules/uni-pay/pages/ad-interactive-webview/ad-interactive-webview", "style": { "backgroundColor": "#F8F8F8", "navigationBarTitleText": "ad" } - }, { + }, + { "path": "pages/user/password/password", "style": { "navigationBarTitleText": "修改密码", "enablePullDownRefresh": false } - }, { - "path": "pages/zone/zone", - "style": { - "navigationBarTitleText": "专区" - } - }, { - "path": "pages/zone/member/member", - "style": { - "navigationBarTitleText": "专区列表", - "enablePullDownRefresh": true - } - }, { - "path": "pages/love/love", - "style": { - "navigationBarTitleText": "恋爱圈", - "navigationStyle": "custom", - "enablePullDownRefresh": true - } - }, { - "path": "pages/love/category", - "style": { - "navigationBarTitleText": "话题", - "enablePullDownRefresh": true - } - }, { - "path": "pages/pair/pair", - "style": { - "navigationBarTitleText": "配对", - "enablePullDownRefresh": false - } - - }, { - "path": "pages/chat/chat", - "style": { - "navigationBarTitleText": "聊天", - "enablePullDownRefresh": false - } - - }, { - "path": "pages/article/article", - "style": { - "navigationBarTitleText": "情感课堂", - "enablePullDownRefresh": false - } - - }, { - "path": "pages/article/detail/detail", - "style": { - "navigationBarTitleText": "文章详情", - "enablePullDownRefresh": false - } - - }, + }, { "path": "pages/house/house", "style": { diff --git a/pages/flash/index.vue b/pages/flash/index.vue index 8b8beeb..42a2278 100644 --- a/pages/flash/index.vue +++ b/pages/flash/index.vue @@ -2,7 +2,7 @@ - + + { + console.log('d: ', d); + return { + value: d, + text: d + } + }) uni.request({ url: 'https://file.wsdns.cn/json/city.js', @@ -394,4 +405,9 @@ } } } + .where-input{ + height: 100%; + width: 100%; + text-align: center; + } \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index dd1fbc2..cdd7ed5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,5 +1,12 @@ - + @@ -32,7 +32,7 @@ - + @@ -144,7 +144,8 @@ scrollTop: 0, old: { scrollTop: 0 - } + }, + stickyTop: 60 }; }, @@ -155,6 +156,12 @@ uni.$u.mpShare = { title: '爱尚家找房' } + + uni.getSystemInfo({ + success: (res) => { + this.stickyTop = res.statusBarHeight + 44 + 20 + } + }) }, onShow() {}, onBackPress() {}, diff --git a/sub_pages/house/add.vue b/sub_pages/house/add.vue index 1535d53..a8f6eab 100644 --- a/sub_pages/house/add.vue +++ b/sub_pages/house/add.vue @@ -1,7 +1,7 @@