| @ -0,0 +1 @@ | |||||
| /unpackage | |||||
| @ -1,8 +0,0 @@ | |||||
| { | |||||
| "hash": "0f5f9553", | |||||
| "configHash": "1088401c", | |||||
| "lockfileHash": "e3b0c442", | |||||
| "browserHash": "3730d180", | |||||
| "optimized": {}, | |||||
| "chunks": {} | |||||
| } | |||||
| @ -1,3 +0,0 @@ | |||||
| { | |||||
| "type": "module" | |||||
| } | |||||
| @ -1,44 +0,0 @@ | |||||
| "use strict"; | |||||
| Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); | |||||
| const common_vendor = require("./common/vendor.js"); | |||||
| require("./uni_modules/uv-ui-tools/index.js"); | |||||
| const util_request_index = require("./util/request/index.js"); | |||||
| if (!Math) { | |||||
| "./pages/home/index.js"; | |||||
| "./pages/auth/index.js"; | |||||
| "./pages/login/index.js"; | |||||
| "./pages/discover/index.js"; | |||||
| "./pages/user/index.js"; | |||||
| "./pages/message/index.js"; | |||||
| "./pages/apply/index.js"; | |||||
| "./pages_subpack/category/index.js"; | |||||
| "./pages_subpack/detail/index.js"; | |||||
| "./pages_subpack/release/index.js"; | |||||
| "./pages_subpack/broker/index.js"; | |||||
| "./pages_subpack/homeowner/index.js"; | |||||
| "./pages_subpack/success/index.js"; | |||||
| "./pages_subpack/house/index.js"; | |||||
| "./pages_subpack/realname/index.js"; | |||||
| "./pages_subpack/successful/index.js"; | |||||
| "./pages_subpack/broker-apply/index.js"; | |||||
| } | |||||
| const _sfc_main = { | |||||
| onLaunch: function() { | |||||
| console.log("App Launch"); | |||||
| }, | |||||
| onShow: function() { | |||||
| console.log("App Show"); | |||||
| }, | |||||
| onHide: function() { | |||||
| console.log("App Hide"); | |||||
| } | |||||
| }; | |||||
| function createApp() { | |||||
| const app = common_vendor.createSSRApp(_sfc_main); | |||||
| util_request_index.Request(); | |||||
| return { | |||||
| app | |||||
| }; | |||||
| } | |||||
| createApp().app.mount("#app"); | |||||
| exports.createApp = createApp; | |||||
| @ -1,60 +0,0 @@ | |||||
| { | |||||
| "pages": [ | |||||
| "pages/home/index", | |||||
| "pages/auth/index", | |||||
| "pages/login/index", | |||||
| "pages/discover/index", | |||||
| "pages/user/index", | |||||
| "pages/message/index", | |||||
| "pages/apply/index" | |||||
| ], | |||||
| "subPackages": [ | |||||
| { | |||||
| "root": "pages_subpack", | |||||
| "pages": [ | |||||
| "category/index", | |||||
| "detail/index", | |||||
| "release/index", | |||||
| "broker/index", | |||||
| "homeowner/index", | |||||
| "success/index", | |||||
| "house/index", | |||||
| "realname/index", | |||||
| "successful/index", | |||||
| "broker-apply/index" | |||||
| ] | |||||
| } | |||||
| ], | |||||
| "window": { | |||||
| "navigationBarTextStyle": "white", | |||||
| "navigationBarTitleText": "租房", | |||||
| "navigationBarBackgroundColor": "#1EC77A", | |||||
| "backgroundColor": "#1EC77A" | |||||
| }, | |||||
| "tabBar": { | |||||
| "color": "#666666", | |||||
| "selectedColor": "#1EC77A", | |||||
| "backgroundColor": "#ffffff", | |||||
| "list": [ | |||||
| { | |||||
| "pagePath": "pages/home/index", | |||||
| "iconPath": "static/bar/home.png", | |||||
| "selectedIconPath": "static/bar/home_selected.png", | |||||
| "text": "首页" | |||||
| }, | |||||
| { | |||||
| "pagePath": "pages/discover/index", | |||||
| "iconPath": "static/bar/find.png", | |||||
| "selectedIconPath": "static/bar/find_selected.png", | |||||
| "text": "发现" | |||||
| }, | |||||
| { | |||||
| "pagePath": "pages/user/index", | |||||
| "iconPath": "static/bar/user.png", | |||||
| "selectedIconPath": "static/bar/user_selected.png", | |||||
| "text": "我的" | |||||
| } | |||||
| ] | |||||
| }, | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1,10 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("./vendor.js"); | |||||
| const { http } = common_vendor.index.$uv; | |||||
| console.info(`http`, http); | |||||
| const fetchMenu = (params, config = {}) => http.get("/applet/index/getRecommendDocs", params, config); | |||||
| const appletLogin = (params) => http.get("/houserent-admin/login_common/appletLogin", { params }); | |||||
| const getConfig = (params) => http.get("/houserent-admin/config_common/getConfig", { params }); | |||||
| exports.appletLogin = appletLogin; | |||||
| exports.fetchMenu = fetchMenu; | |||||
| exports.getConfig = getConfig; | |||||
| @ -1,41 +0,0 @@ | |||||
| "use strict"; | |||||
| const _imports_0$7 = "/static/image/banner.png"; | |||||
| const _imports_1$4 = "/static/image/aed60x.png"; | |||||
| const _imports_0$6 = "/static/image/2x.png"; | |||||
| const _imports_0$5 = "/static/image/logo.png"; | |||||
| const _imports_1$3 = "/static/image/wechat.png"; | |||||
| const _imports_1$2 = "/static/image/6588.png"; | |||||
| const _imports_0$4 = "/static/image/header.png"; | |||||
| const _imports_1$1 = "/static/image/discover.png"; | |||||
| const _imports_1 = "/static/image/46892@2x.png"; | |||||
| const _imports_2 = "/static/image/47077@2x.png"; | |||||
| const _imports_3 = "/static/image/47065@2x.png"; | |||||
| const _imports_4 = "/static/image/46896@2x.png"; | |||||
| const _imports_5 = "/static/image/home4734.png"; | |||||
| const _imports_6 = "/static/image/47100.png"; | |||||
| const _imports_7 = "/static/image/user49384.png"; | |||||
| const _imports_8 = "/static/image/47186.png"; | |||||
| const _imports_0$3 = "/static/image/82x.png"; | |||||
| const _imports_0$2 = "/static/image/47052.png"; | |||||
| const _imports_0$1 = "/static/image/47719x.png"; | |||||
| const _imports_0 = "/static/image/4705223.png"; | |||||
| exports._imports_0 = _imports_0$7; | |||||
| exports._imports_0$1 = _imports_0$6; | |||||
| exports._imports_0$2 = _imports_0$5; | |||||
| exports._imports_0$3 = _imports_0$4; | |||||
| exports._imports_0$4 = _imports_0$3; | |||||
| exports._imports_0$5 = _imports_0$2; | |||||
| exports._imports_0$6 = _imports_0$1; | |||||
| exports._imports_0$7 = _imports_0; | |||||
| exports._imports_1 = _imports_1$4; | |||||
| exports._imports_1$1 = _imports_1$3; | |||||
| exports._imports_1$2 = _imports_1$2; | |||||
| exports._imports_1$3 = _imports_1$1; | |||||
| exports._imports_1$4 = _imports_1; | |||||
| exports._imports_2 = _imports_2; | |||||
| exports._imports_3 = _imports_3; | |||||
| exports._imports_4 = _imports_4; | |||||
| exports._imports_5 = _imports_5; | |||||
| exports._imports_6 = _imports_6; | |||||
| exports._imports_7 = _imports_7; | |||||
| exports._imports_8 = _imports_8; | |||||
| @ -1,6 +0,0 @@ | |||||
| "use strict"; | |||||
| const config = { | |||||
| // baseUrl: 'https://api.book118.com', | |||||
| baseUrl: "https://houserent-admin.hhlm1688.com/houserent-admin" | |||||
| }; | |||||
| exports.config = config; | |||||
| @ -1,275 +0,0 @@ | |||||
| "use strict"; | |||||
| const components_cityselect_utils_province = require("./utils/province.js"); | |||||
| const components_cityselect_utils_city = require("./utils/city.js"); | |||||
| const components_cityselect_utils_area = require("./utils/area.js"); | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| props: { | |||||
| // 通过双向绑定控制组件的弹出与收起 | |||||
| value: { | |||||
| type: Boolean, | |||||
| default: true | |||||
| }, | |||||
| // 默认显示的地区,可传类似["河北省", "秦皇岛市", "北戴河区"] | |||||
| defaultRegion: { | |||||
| type: Array, | |||||
| default() { | |||||
| return []; | |||||
| } | |||||
| }, | |||||
| // 默认显示地区的编码,defaultRegion和areaCode同时存在,areaCode优先,可传类似["13", "1303", "130304"] | |||||
| areaCode: { | |||||
| type: Array, | |||||
| default() { | |||||
| return []; | |||||
| } | |||||
| }, | |||||
| // 是否允许通过点击遮罩关闭Picker | |||||
| maskCloseAble: { | |||||
| type: Boolean, | |||||
| default: true | |||||
| }, | |||||
| // 弹出的z-index值 | |||||
| zIndex: { | |||||
| type: [String, Number], | |||||
| default: 0 | |||||
| } | |||||
| }, | |||||
| data() { | |||||
| return { | |||||
| cityValue: "", | |||||
| isChooseP: false, | |||||
| //是否已经选择了省 | |||||
| province: 0, | |||||
| //省级下标 | |||||
| provinces: components_cityselect_utils_province.provinceData, | |||||
| isChooseC: false, | |||||
| //是否已经选择了市 | |||||
| city: 0, | |||||
| //市级下标 | |||||
| citys: components_cityselect_utils_city.cityData[0], | |||||
| isChooseA: false, | |||||
| //是否已经选择了区 | |||||
| area: 0, | |||||
| //区级下标 | |||||
| areas: components_cityselect_utils_area.areaData[0][0], | |||||
| tabsIndex: 0 | |||||
| }; | |||||
| }, | |||||
| mounted() { | |||||
| this.init(); | |||||
| }, | |||||
| computed: { | |||||
| isChange() { | |||||
| return this.tabsIndex > 1; | |||||
| }, | |||||
| genTabsList() { | |||||
| let tabsList = [{ | |||||
| name: "请选择" | |||||
| }]; | |||||
| if (this.isChooseP) { | |||||
| tabsList[0]["name"] = this.provinces[this.province]["label"]; | |||||
| tabsList[1] = { | |||||
| name: "请选择" | |||||
| }; | |||||
| } | |||||
| if (this.isChooseC) { | |||||
| tabsList[1]["name"] = this.citys[this.city]["label"]; | |||||
| tabsList[2] = { | |||||
| name: "请选择" | |||||
| }; | |||||
| } | |||||
| if (this.isChooseA) { | |||||
| tabsList[2]["name"] = this.areas[this.area]["label"]; | |||||
| } | |||||
| return tabsList; | |||||
| }, | |||||
| uZIndex() { | |||||
| return this.zIndex ? this.zIndex : 99; | |||||
| } | |||||
| }, | |||||
| methods: { | |||||
| open() { | |||||
| this.$refs.popup.open(); | |||||
| }, | |||||
| init() { | |||||
| if (this.areaCode.length == 3) { | |||||
| this.setProvince("", this.areaCode[0]); | |||||
| this.setCity("", this.areaCode[1]); | |||||
| this.setArea("", this.areaCode[2]); | |||||
| } else if (this.defaultRegion.length == 3) { | |||||
| this.setProvince(this.defaultRegion[0], ""); | |||||
| this.setCity(this.defaultRegion[1], ""); | |||||
| this.setArea(this.defaultRegion[2], ""); | |||||
| } | |||||
| }, | |||||
| setProvince(label = "", value = "") { | |||||
| this.provinces.map((v, k) => { | |||||
| if (value ? v.value == value : v.label == label) { | |||||
| this.provinceChange(k); | |||||
| } | |||||
| }); | |||||
| }, | |||||
| setCity(label = "", value = "") { | |||||
| this.citys.map((v, k) => { | |||||
| if (value ? v.value == value : v.label == label) { | |||||
| this.cityChange(k); | |||||
| } | |||||
| }); | |||||
| }, | |||||
| setArea(label = "", value = "") { | |||||
| this.areas.map((v, k) => { | |||||
| if (value ? v.value == value : v.label == label) { | |||||
| this.isChooseA = true; | |||||
| this.area = k; | |||||
| } | |||||
| }); | |||||
| }, | |||||
| close() { | |||||
| this.$refs.popup.close(); | |||||
| }, | |||||
| tabsChange(index) { | |||||
| this.tabsIndex = index; | |||||
| }, | |||||
| provinceChange(param) { | |||||
| this.isChooseP = true; | |||||
| this.isChooseC = false; | |||||
| this.isChooseA = false; | |||||
| this.province = param.name; | |||||
| this.citys = components_cityselect_utils_city.cityData[param.name]; | |||||
| this.tabsIndex = 1; | |||||
| }, | |||||
| cityChange(param) { | |||||
| this.isChooseC = true; | |||||
| this.isChooseA = false; | |||||
| this.city = param.name; | |||||
| this.areas = components_cityselect_utils_area.areaData[this.province][param.name]; | |||||
| this.tabsIndex = 2; | |||||
| }, | |||||
| areaChange(param) { | |||||
| this.isChooseA = true; | |||||
| this.area = param.name; | |||||
| let result = {}; | |||||
| result.province = this.provinces[this.province]; | |||||
| result.city = this.citys[this.city]; | |||||
| result.area = this.areas[this.area]; | |||||
| this.$emit("city-change", result); | |||||
| this.close(); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_tabs2 = common_vendor.resolveComponent("uv-tabs"); | |||||
| const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon"); | |||||
| const _easycom_uv_cell2 = common_vendor.resolveComponent("uv-cell"); | |||||
| const _easycom_uv_cell_group2 = common_vendor.resolveComponent("uv-cell-group"); | |||||
| const _easycom_uv_popup2 = common_vendor.resolveComponent("uv-popup"); | |||||
| (_easycom_uv_tabs2 + _easycom_uv_icon2 + _easycom_uv_cell2 + _easycom_uv_cell_group2 + _easycom_uv_popup2)(); | |||||
| } | |||||
| const _easycom_uv_tabs = () => "../../uni_modules/uv-tabs/components/uv-tabs/uv-tabs.js"; | |||||
| const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js"; | |||||
| const _easycom_uv_cell = () => "../../uni_modules/uv-cell/components/uv-cell/uv-cell.js"; | |||||
| const _easycom_uv_cell_group = () => "../../uni_modules/uv-cell/components/uv-cell-group/uv-cell-group.js"; | |||||
| const _easycom_uv_popup = () => "../../uni_modules/uv-popup/components/uv-popup/uv-popup.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_tabs + _easycom_uv_icon + _easycom_uv_cell + _easycom_uv_cell_group + _easycom_uv_popup)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return common_vendor.e({ | |||||
| a: $props.value | |||||
| }, $props.value ? { | |||||
| b: common_vendor.sr("tabs", "6511adfd-1,6511adfd-0"), | |||||
| c: common_vendor.o($options.tabsChange), | |||||
| d: common_vendor.p({ | |||||
| lineColor: "#a0cd63", | |||||
| list: $options.genTabsList, | |||||
| scrollable: true, | |||||
| current: $data.tabsIndex | |||||
| }) | |||||
| } : {}, { | |||||
| e: common_vendor.f($data.provinces, (item, index, i0) => { | |||||
| return common_vendor.e({ | |||||
| a: $data.isChooseP && $data.province === index | |||||
| }, $data.isChooseP && $data.province === index ? { | |||||
| b: "6511adfd-4-" + i0 + "," + ("6511adfd-3-" + i0), | |||||
| c: common_vendor.p({ | |||||
| size: "34", | |||||
| color: "#a0cd63", | |||||
| name: "checkbox-mark" | |||||
| }) | |||||
| } : {}, { | |||||
| d: index, | |||||
| e: common_vendor.o($options.provinceChange, index), | |||||
| f: "6511adfd-3-" + i0 + ",6511adfd-2", | |||||
| g: common_vendor.p({ | |||||
| title: item.label, | |||||
| arrow: false, | |||||
| name: index | |||||
| }) | |||||
| }); | |||||
| }), | |||||
| f: $data.isChooseP | |||||
| }, $data.isChooseP ? { | |||||
| g: common_vendor.f($data.citys, (item, index, i0) => { | |||||
| return common_vendor.e({ | |||||
| a: $data.isChooseC && $data.city === index | |||||
| }, $data.isChooseC && $data.city === index ? { | |||||
| b: "6511adfd-7-" + i0 + "," + ("6511adfd-6-" + i0), | |||||
| c: common_vendor.p({ | |||||
| size: "34", | |||||
| color: "#a0cd63", | |||||
| name: "checkbox-mark" | |||||
| }) | |||||
| } : {}, { | |||||
| d: index, | |||||
| e: common_vendor.o($options.cityChange, index), | |||||
| f: "6511adfd-6-" + i0 + ",6511adfd-5", | |||||
| g: common_vendor.p({ | |||||
| title: item.label, | |||||
| arrow: false, | |||||
| name: index | |||||
| }) | |||||
| }); | |||||
| }) | |||||
| } : {}, { | |||||
| h: $data.isChooseC | |||||
| }, $data.isChooseC ? { | |||||
| i: common_vendor.f($data.areas, (item, index, i0) => { | |||||
| return common_vendor.e({ | |||||
| a: $data.isChooseA && $data.area === index | |||||
| }, $data.isChooseA && $data.area === index ? { | |||||
| b: "6511adfd-10-" + i0 + "," + ("6511adfd-9-" + i0), | |||||
| c: common_vendor.p({ | |||||
| size: "34", | |||||
| color: "#a0cd63", | |||||
| name: "checkbox-mark" | |||||
| }) | |||||
| } : {}, { | |||||
| d: index, | |||||
| e: common_vendor.o($options.areaChange, index), | |||||
| f: "6511adfd-9-" + i0 + ",6511adfd-8", | |||||
| g: common_vendor.p({ | |||||
| title: item.label, | |||||
| arrow: false, | |||||
| name: index | |||||
| }) | |||||
| }); | |||||
| }) | |||||
| } : {}, { | |||||
| j: $options.isChange ? 1 : "", | |||||
| k: common_vendor.sr("popup", "6511adfd-0"), | |||||
| l: common_vendor.o($options.close), | |||||
| m: common_vendor.p({ | |||||
| mode: "bottom", | |||||
| popup: false, | |||||
| mask: true, | |||||
| closeable: true, | |||||
| ["safe-area-inset-bottom"]: true, | |||||
| ["close-icon-color"]: "#ffffff", | |||||
| ["z-index"]: $options.uZIndex, | |||||
| maskCloseAble: $props.maskCloseAble | |||||
| }) | |||||
| }); | |||||
| } | |||||
| const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createComponent(Component); | |||||
| @ -1,10 +0,0 @@ | |||||
| { | |||||
| "component": true, | |||||
| "usingComponents": { | |||||
| "uv-tabs": "../../uni_modules/uv-tabs/components/uv-tabs/uv-tabs", | |||||
| "uv-icon": "../../uni_modules/uv-icon/components/uv-icon/uv-icon", | |||||
| "uv-cell": "../../uni_modules/uv-cell/components/uv-cell/uv-cell", | |||||
| "uv-cell-group": "../../uni_modules/uv-cell/components/uv-cell-group/uv-cell-group", | |||||
| "uv-popup": "../../uni_modules/uv-popup/components/uv-popup/uv-popup" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <uv-popup wx:if="{{m}}" class="r" u-s="{{['d']}}" u-r="popup" bindclose="{{l}}" u-i="6511adfd-0" bind:__l="__l" u-p="{{m}}"><uv-tabs wx:if="{{a}}" class="r" bindchange="{{c}}" u-r="tabs" u-i="6511adfd-1,6511adfd-0" bind:__l="__l" u-p="{{d}}"></uv-tabs><view class="area-box"><view class="{{['u-flex', j && 'change']}}"><view class="area-item"><view class="u-padding-10 u-bg-gray" style="height:100%"><scroll-view scroll-y="{{true}}" style="height:100%"><uv-cell-group u-s="{{['d']}}" u-i="6511adfd-2,6511adfd-0" bind:__l="__l"><uv-cell wx:for="{{e}}" wx:for-item="item" wx:key="d" u-s="{{['right-icon']}}" bindclick="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><view slot="right-icon"><uv-icon wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></uv-icon></view></uv-cell></uv-cell-group></scroll-view></view></view><view class="area-item"><view class="u-padding-10 u-bg-gray" style="height:100%"><scroll-view scroll-y="{{true}}" style="height:100%"><uv-cell-group wx:if="{{f}}" u-s="{{['d']}}" u-i="6511adfd-5,6511adfd-0" bind:__l="__l"><uv-cell wx:for="{{g}}" wx:for-item="item" wx:key="d" u-s="{{['right-icon']}}" bindclick="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><view slot="right-icon"><uv-icon wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></uv-icon></view></uv-cell></uv-cell-group></scroll-view></view></view><view class="area-item"><view class="u-padding-10 u-bg-gray" style="height:100%"><scroll-view scroll-y="{{true}}" style="height:100%"><uv-cell-group wx:if="{{h}}" u-s="{{['d']}}" u-i="6511adfd-8,6511adfd-0" bind:__l="__l"><uv-cell wx:for="{{i}}" wx:for-item="item" wx:key="d" u-s="{{['right-icon']}}" bindclick="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><view slot="right-icon"><uv-icon wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></uv-icon></view></uv-cell></uv-cell-group></scroll-view></view></view></view></view></uv-popup> | |||||
| @ -1,35 +0,0 @@ | |||||
| /** | |||||
| * 下方引入的为uvUI的集成样式文件,为scss预处理器,其中包含了一些"uv-"开头的自定义变量 | |||||
| * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可 | |||||
| * uvUI自定义的css类名和scss变量,均以"uv-"开头,不会造成冲突,请放心使用 | |||||
| * @import '@/uni_modules/uv-ui-tools/theme.scss'; | |||||
| */ | |||||
| .se-grid { | |||||
| width: 100%; | |||||
| display: grid; | |||||
| grid-template-columns: 1fr 1fr 1fr 1fr; | |||||
| gap: 10rpx; | |||||
| } | |||||
| .area-box { | |||||
| width: 100%; | |||||
| overflow: hidden; | |||||
| height: 800rpx; | |||||
| } | |||||
| .area-box .u-flex { | |||||
| display: flex; | |||||
| } | |||||
| .area-box .u-padding-10 { | |||||
| padding: 10rpx; | |||||
| } | |||||
| .area-box > view { | |||||
| width: 150%; | |||||
| transition: transform 0.3s ease-in-out 0s; | |||||
| transform: translateX(0); | |||||
| } | |||||
| .area-box > view.change { | |||||
| transform: translateX(-33.3333333%); | |||||
| } | |||||
| .area-box .area-item { | |||||
| width: 33.3333333%; | |||||
| height: 800rpx; | |||||
| } | |||||
| @ -1,3 +0,0 @@ | |||||
| "use strict"; | |||||
| var provinceData = [{ "label": "北京市", "value": "11" }, { "label": "天津市", "value": "12" }, { "label": "河北省", "value": "13" }, { "label": "山西省", "value": "14" }, { "label": "内蒙古自治区", "value": "15" }, { "label": "辽宁省", "value": "21" }, { "label": "吉林省", "value": "22" }, { "label": "黑龙江省", "value": "23" }, { "label": "上海市", "value": "31" }, { "label": "江苏省", "value": "32" }, { "label": "浙江省", "value": "33" }, { "label": "安徽省", "value": "34" }, { "label": "福建省", "value": "35" }, { "label": "江西省", "value": "36" }, { "label": "山东省", "value": "37" }, { "label": "河南省", "value": "41" }, { "label": "湖北省", "value": "42" }, { "label": "湖南省", "value": "43" }, { "label": "广东省", "value": "44" }, { "label": "广西壮族自治区", "value": "45" }, { "label": "海南省", "value": "46" }, { "label": "重庆市", "value": "50" }, { "label": "四川省", "value": "51" }, { "label": "贵州省", "value": "52" }, { "label": "云南省", "value": "53" }, { "label": "西藏自治区", "value": "54" }, { "label": "陕西省", "value": "61" }, { "label": "甘肃省", "value": "62" }, { "label": "青海省", "value": "63" }, { "label": "宁夏回族自治区", "value": "64" }, { "label": "新疆维吾尔自治区", "value": "65" }, { "label": "台湾", "value": "66" }, { "label": "香港", "value": "67" }, { "label": "澳门", "value": "68" }]; | |||||
| exports.provinceData = provinceData; | |||||
| @ -1,23 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return {}; | |||||
| }, | |||||
| methods: { | |||||
| onNavigator() { | |||||
| common_vendor.index.navigateTo({ | |||||
| url: "/pages_subpack/realname/index" | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_assets._imports_0$4, | |||||
| b: common_vendor.o(($event) => $options.onNavigator()) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "申请", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view><view class="se-flex se-flex-v-c se-pt-40"><image class="se-w-500 se-h-400" src="{{a}}" mode=""></image><text class="se-c-33 se-fs-24">您还不是房东,请先提交申请</text></view><view class="se-px-80 se-py-40 se-mt-50"><view class="se-c-white se-py-20 se-fs-26 se-bgc-orange se-br-40 se-ta-c" bindtap="{{b}}"> 立即申请 </view></view></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,131 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_api = require("../../common/api.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| name: "Auth", | |||||
| data() { | |||||
| return { | |||||
| checked: [], | |||||
| show: false | |||||
| }; | |||||
| }, | |||||
| mounted() { | |||||
| common_api.getConfig({}).then((response) => { | |||||
| console.info(response); | |||||
| }).catch((error) => { | |||||
| }); | |||||
| }, | |||||
| methods: { | |||||
| open() { | |||||
| this.$refs.popup.open(); | |||||
| }, | |||||
| checkboxChange(n) { | |||||
| console.log("change", n); | |||||
| }, | |||||
| onCancel() { | |||||
| this.$refs.popup.close(); | |||||
| this.checked = []; | |||||
| }, | |||||
| onAgree() { | |||||
| this.$refs.popup.close(); | |||||
| this.checked = ["1"]; | |||||
| }, | |||||
| onLogin(event) { | |||||
| console.info(event); | |||||
| let that = this; | |||||
| if (that.checked.length == 0) { | |||||
| return common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "请勾选隐私协议" | |||||
| }); | |||||
| } | |||||
| common_vendor.index.showLoading({ | |||||
| title: "登录中..." | |||||
| }); | |||||
| common_vendor.index.login({ | |||||
| success(res) { | |||||
| console.info(res.code); | |||||
| if (res.errMsg != "login:ok") { | |||||
| return; | |||||
| } | |||||
| let params = { | |||||
| code: res.code, | |||||
| encryptedData: event.detail.encryptedData, | |||||
| headimgurl: event.detail.userInfo.avatarUrl, | |||||
| iv: event.detail.iv, | |||||
| nickName: event.detail.userInfo.nickName, | |||||
| session_key: "", | |||||
| shareId: "", | |||||
| vid: "" | |||||
| }; | |||||
| common_api.appletLogin(params).then((response) => { | |||||
| common_vendor.index.hideLoading(); | |||||
| common_vendor.index.setStorageSync("token", response.result.token); | |||||
| that.commit("setUserInfo", { userInfo: response.result.userInfo, token: response.result.token }); | |||||
| }).catch(() => { | |||||
| }); | |||||
| } | |||||
| }); | |||||
| }, | |||||
| handleOpenPrivacyContract() { | |||||
| common_vendor.wx$1.openPrivacyContract({ | |||||
| success: () => { | |||||
| }, | |||||
| // 打开成功 | |||||
| fail: () => { | |||||
| }, | |||||
| // 打开失败 | |||||
| complete: () => { | |||||
| } | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_checkbox2 = common_vendor.resolveComponent("uv-checkbox"); | |||||
| const _easycom_uv_checkbox_group2 = common_vendor.resolveComponent("uv-checkbox-group"); | |||||
| const _easycom_uv_popup2 = common_vendor.resolveComponent("uv-popup"); | |||||
| (_easycom_uv_checkbox2 + _easycom_uv_checkbox_group2 + _easycom_uv_popup2)(); | |||||
| } | |||||
| const _easycom_uv_checkbox = () => "../../uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.js"; | |||||
| const _easycom_uv_checkbox_group = () => "../../uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.js"; | |||||
| const _easycom_uv_popup = () => "../../uni_modules/uv-popup/components/uv-popup/uv-popup.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_checkbox + _easycom_uv_checkbox_group + _easycom_uv_popup)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_assets._imports_0$2, | |||||
| b: common_assets._imports_1$1, | |||||
| c: common_vendor.o((...args) => $options.onLogin && $options.onLogin(...args)), | |||||
| d: common_vendor.p({ | |||||
| name: "1", | |||||
| activeColor: "#07C160", | |||||
| ["label-size"]: "12", | |||||
| shape: "circle", | |||||
| label: "阅读并同意" | |||||
| }), | |||||
| e: common_vendor.o(($event) => $options.open()), | |||||
| f: common_vendor.o(($event) => $options.open()), | |||||
| g: common_vendor.o($options.checkboxChange), | |||||
| h: common_vendor.o(($event) => $data.checked = $event), | |||||
| i: common_vendor.p({ | |||||
| modelValue: $data.checked | |||||
| }), | |||||
| j: common_assets._imports_1$2, | |||||
| k: common_vendor.o(($event) => $options.handleOpenPrivacyContract()), | |||||
| l: common_vendor.o(($event) => $options.handleOpenPrivacyContract()), | |||||
| m: common_vendor.o((...args) => $options.onCancel && $options.onCancel(...args)), | |||||
| n: common_vendor.o((...args) => $options.onAgree && $options.onAgree(...args)), | |||||
| o: common_vendor.sr("popup", "d2d534e8-2"), | |||||
| p: common_vendor.p({ | |||||
| round: 20, | |||||
| mode: "center", | |||||
| ["bg-color"]: "transparent", | |||||
| ["close-on-click-overlay"]: false | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "微信登录", | |||||
| "navigationStyle": "custom", | |||||
| "usingComponents": { | |||||
| "uv-checkbox": "../../uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox", | |||||
| "uv-checkbox-group": "../../uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group", | |||||
| "uv-popup": "../../uni_modules/uv-popup/components/uv-popup/uv-popup" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-pos se-h-vh-100"><view class="se-flex se-pt-200 se-flex-h-c se-flex-ff-cw"><image class="se-w-150 se-h-150" src="{{a}}" mode=""></image><view class="se-flex se-flex-h-c se-fs-34 se-fw-6 se-c-black se-mt-40"> 租房小程序 </view></view><view class="se-pb-200 se-pos-cb se-w-p-100"><button bindgetuserinfo="{{c}}" open-type="getUserInfo" class="se-mx-80 se-br-40 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-32 se-c-white se-bgc-green"><image class="se-w-45 se-h-35" src="{{b}}" mode=""></image><text class="se-ml-10">微信登录</text></button><view class="se-mx-80 se-br-40 se-mt-40 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-24 se-c-33"><uv-checkbox-group wx:if="{{i}}" u-s="{{['d']}}" bindchange="{{g}}" u-i="d2d534e8-0" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><uv-checkbox wx:if="{{d}}" u-i="d2d534e8-1,d2d534e8-0" bind:__l="__l" u-p="{{d}}"></uv-checkbox><text class="se-c-green" bindtap="{{e}}">《隐私政策》</text><text class="se-c-green" bindtap="{{f}}">《服务条款》</text></uv-checkbox-group></view></view><uv-popup wx:if="{{p}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="d2d534e8-2" bind:__l="__l" u-p="{{p}}"><view class="se-w-600 se-bgc-white se-br-40 se-p-40"><view class="se-flex se-flex-h-c"><image class="se-a-80" src="{{j}}" mode=""></image></view><view class="se-flex se-flex-h-c se-fs-34 se-fw-6 se-c-black se-mt-40"> 服务协议和隐私权政策 </view><view class="se-lh-40 se-mt-40 se-fs-24 se-c-99"><text>请您务必审慎阅读、充分理解用户协议和隐私政策各条款,包括但不限于用户注意事项、用户行为规范以及为了向你提供服务而收集、使用、存储你个人信息的情况等。你可阅读</text><text class="se-c-black se-fw-6" bindtap="{{k}}">《租房小程序用户服务协议》</text><text>和</text><text class="se-c-black se-fw-6" bindtap="{{l}}">《租房小程序平台隐私权政策》</text><text>了解详细信息。如你同意,请点击下方按钮开始接受我们的服务。</text></view><view class="se-flex se-flex-h-sb se-mt-40"><view bindtap="{{m}}" class="se-br-20 se-flex-1 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-32 se-c-66 se-bgc-f5"><text>不同意</text></view><view bindtap="{{n}}" class="se-br-20 se-ml-20 se-flex-1 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-32 se-c-white se-bgc-green"><text class="se-ml-10">同意</text></view></view></view></uv-popup></view> | |||||
| @ -1,30 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return {}; | |||||
| }, | |||||
| methods: { | |||||
| onNavigator() { | |||||
| common_vendor.index.navigateTo({ | |||||
| url: "/pages_subpack/release/index" | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.f(5, (items, indexs, i0) => { | |||||
| return { | |||||
| a: indexs | |||||
| }; | |||||
| }), | |||||
| b: common_assets._imports_1$2, | |||||
| c: common_assets._imports_1$2, | |||||
| d: common_vendor.o(($event) => $options.onNavigator()), | |||||
| e: common_assets._imports_1$3 | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "发现", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-20"><view wx:for="{{a}}" wx:for-item="items" wx:key="a" class="se-p-20 se-bgc-white se-br-20 se-mb-20"><view class="se-flex se-flex-h"><image class="se-a-80" src="{{b}}" mode=""></image><view class="se-flex se-flex-v se-ml-30"><text class="se-fs-28 se-c-black">天越翔园 4室2厅 66.45㎡ </text><view class="se-flex se-flex-ai-c se-pt-10"><text class="se-c-red se-fs-30 se-fw-6">450万</text><text class="se-c-66 se-fs-22 se-ml-20">罗湖 莲塘</text></view></view></view><view class="se-c-black se-fs-26 se-lh-40 se-pt-20"> 三层复试,中空挑高,厅出大阳台,使用率超高,天越翔园 </view><view class="se-br-10 se-py-20"><video class="se-br-10 se-w-p-100 se-h-360" src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4" controls></video></view><view class="se-bgc-f5 se-br-10 se-py-20 se-px-10 se-c-black se-fs-24 se-flex se-flex-ai-c"><image class="se-a-30 se-br-p-50" src="{{c}}" mode=""></image><text class="se-ml-10 se-fw-6">程敏</text></view></view><view class="se-pos-fixed se-pos-rc" style="right:30rpx"><image bindtap="{{d}}" class="se-a-150" src="{{e}}" mode=""></image></view></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,153 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_api = require("../../common/api.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const citySelect = () => "../../components/cityselect/index.js"; | |||||
| const lineBg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAANCAYAAAC3mX7tAAAAAXNSR0IArs4c6QAAAbxJREFUOE+lk0FrE1EUhc+ZDOhMigjZdNcWdCPJqNCdlkZw4TKL2mVwkKLQ/gAFRcEu/AEKuumDrEopNEsXSlNoV+2iTYIbBdNdNwGpmRmFyVx5oQk6mYSpvt1799z7zTnvDQPlBAJcRGxZOLXotn7Gz8ftZePaROCZP+IaEh36a04LxFS8mMmgcKFcb54H9Kvi5LtdNIZ6BMf0lVMDMD88UJ7abuP1eUDeWuEZyVcJPZ/oKeclgRcJxRMrG17l4udOGthZbF8ATMb1IvKcXiU/y66xnziM2LQf1O+nAfnq+hYgpSStCeMmdcFXzi6AWyMGrlvZcGmUs54T31QQLIzo37Pd+u0eKFD5osDYHvPlJyLyNopYnbgUtrSuc2pOG4aUSC4nxTWYFXHOfni02wPp5anCO4KP0sSUViOQ91m38VjrByDZLprBt/ZHkAkvMO3oP3QiO9ZM7i7v1MK/QHoj6sblQLrV/4ZpCDMluoff++iBo/6Bdua32m/+NUYdlz2dW+k7GQnqF84eyOqY1xjPcw8Rn+iLTwp6yFFcpP8zhLxHsgjBFRrI9WKO0AbxVURqMOVDttw8GHeTvwFKoZ4cmcUYJAAAAABJRU5ErkJggg=="; | |||||
| const _sfc_main = { | |||||
| components: { | |||||
| citySelect | |||||
| }, | |||||
| data() { | |||||
| return { | |||||
| city: "长沙市", | |||||
| keyword: "", | |||||
| lineBg, | |||||
| nav: [ | |||||
| { | |||||
| img: "../../static/image/nav1.png", | |||||
| name: "闲置散居农房" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav2.png", | |||||
| name: "集体建设用地" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav3.png", | |||||
| name: "鱼塘" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav4.png", | |||||
| name: "林地" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav5.png", | |||||
| name: "经营性建设用地" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav6.png", | |||||
| name: "耕地" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav7.png", | |||||
| name: "出租房" | |||||
| }, | |||||
| { | |||||
| img: "../../static/image/nav8.png", | |||||
| name: "二手房" | |||||
| } | |||||
| ], | |||||
| list: [ | |||||
| { | |||||
| name: "近期热销" | |||||
| }, | |||||
| { | |||||
| name: "城市" | |||||
| }, | |||||
| { | |||||
| name: "分区" | |||||
| }, | |||||
| { | |||||
| name: "闲置资源分类" | |||||
| } | |||||
| ] | |||||
| }; | |||||
| }, | |||||
| mounted() { | |||||
| this.getHttpData(); | |||||
| }, | |||||
| methods: { | |||||
| getHttpData() { | |||||
| const res = common_api.fetchMenu(); | |||||
| console.log(res); | |||||
| }, | |||||
| handleAreaChange() { | |||||
| this.$refs.citySelectRef.open(); | |||||
| }, | |||||
| handleCityChange(e) { | |||||
| console.info(e); | |||||
| this.city = e.city.label; | |||||
| }, | |||||
| onDetail(event) { | |||||
| common_vendor.index.navigateTo({ | |||||
| url: "/pages_subpack/detail/index" | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon"); | |||||
| const _easycom_uv_search2 = common_vendor.resolveComponent("uv-search"); | |||||
| const _easycom_uv_tabs2 = common_vendor.resolveComponent("uv-tabs"); | |||||
| const _component_citySelect = common_vendor.resolveComponent("citySelect"); | |||||
| (_easycom_uv_icon2 + _easycom_uv_search2 + _easycom_uv_tabs2 + _component_citySelect)(); | |||||
| } | |||||
| const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js"; | |||||
| const _easycom_uv_search = () => "../../uni_modules/uv-search/components/uv-search/uv-search.js"; | |||||
| const _easycom_uv_tabs = () => "../../uni_modules/uv-tabs/components/uv-tabs/uv-tabs.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_icon + _easycom_uv_search + _easycom_uv_tabs)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.t($data.city), | |||||
| b: common_vendor.p({ | |||||
| name: "arrow-down-fill" | |||||
| }), | |||||
| c: common_vendor.o(($event) => $options.handleAreaChange()), | |||||
| d: common_vendor.o(($event) => $data.keyword = $event), | |||||
| e: common_vendor.p({ | |||||
| showAction: false, | |||||
| bgColor: "transparent", | |||||
| placeholder: "请输入租房信息", | |||||
| modelValue: $data.keyword | |||||
| }), | |||||
| f: common_assets._imports_0, | |||||
| g: common_vendor.f($data.nav, (item, index, i0) => { | |||||
| return { | |||||
| a: item.img, | |||||
| b: common_vendor.t(item.name), | |||||
| c: index | |||||
| }; | |||||
| }), | |||||
| h: common_assets._imports_1, | |||||
| i: common_vendor.p({ | |||||
| list: $data.list, | |||||
| activeStyle: { | |||||
| color: "#000000" | |||||
| }, | |||||
| inactiveStyle: { | |||||
| color: "#666666" | |||||
| }, | |||||
| lineColor: `url(${$data.lineBg}) 100% 100%` | |||||
| }), | |||||
| j: common_vendor.f(20, (item, index, i0) => { | |||||
| return { | |||||
| a: "380a2403-3-" + i0, | |||||
| b: common_vendor.o(($event) => $options.onDetail(item), index), | |||||
| c: index | |||||
| }; | |||||
| }), | |||||
| k: common_assets._imports_0$1, | |||||
| l: common_vendor.p({ | |||||
| name: "eye" | |||||
| }), | |||||
| m: common_vendor.sr("citySelectRef", "380a2403-4"), | |||||
| n: common_vendor.o($options.handleCityChange), | |||||
| o: common_vendor.p({ | |||||
| zIndex: 0 | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "租房", | |||||
| "usingComponents": { | |||||
| "city-select": "../../components/cityselect/index", | |||||
| "uv-icon": "../../uni_modules/uv-icon/components/uv-icon/uv-icon", | |||||
| "uv-search": "../../uni_modules/uv-search/components/uv-search/uv-search", | |||||
| "uv-tabs": "../../uni_modules/uv-tabs/components/uv-tabs/uv-tabs" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view><view class="se-px-40 se-py-20"><view class="se-bgc-white se-br-50 se-c-black se-px-20 se-py-5 se-flex se-flex-h-sb se-fs-26"><view class="se-b-r se-pl-10 se-pr-20 se-flex se-flex-h se-h-40 se-lh-40" bindtap="{{c}}"><text class="se-pr-20 nobreak">{{a}}</text><uv-icon wx:if="{{b}}" u-i="380a2403-0" bind:__l="__l" u-p="{{b}}"></uv-icon></view><view class="se-ml-20"><uv-search wx:if="{{e}}" u-i="380a2403-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></uv-search></view></view></view><view class="backdrop se-mb-20"><image class="se-w-vw-100 se-h-400" src="{{f}}" mode=""></image></view><view class="se-grid se-bgc-white se-py-30 se-mt-300"><navigator wx:for="{{g}}" wx:for-item="item" wx:key="c" url="/pages_subpack/category/index" class="se-flex-v-c se-mb-20"><image class="se-a-100 se-br-20" src="{{item.a}}" mode=""></image><text class="se-w-150 se-h-60 se-lh-30 se-c-black se-fs-22 se-ta-c se-mt-10 se-toe-2">{{item.b}}</text></navigator></view><view class="se-mt-20 se-bgc-white se-px-20 se-py-10 se-ta-l se-c-orange se-flex se-flex-ai-c se-fs-24"><image class="se-a-80" src="{{h}}" mode=""></image><text class="se-ml-10">今日有20套租房信息新发布....</text></view><view class="se-bgc-white se-my-20"><uv-tabs wx:if="{{i}}" u-i="380a2403-2" bind:__l="__l" u-p="{{i}}"></uv-tabs></view><view class="se-pb-200"><view wx:for="{{j}}" wx:for-item="item" wx:key="c" bindtap="{{item.b}}" class="se-my-10 se-mx-20 se-px-20 se-py-20 se-br-20 se-bgc-white se-flex"><view class="se-pos se-w-260 se-h-180"><image class="se-a-80 se-pos-lt" src="{{k}}" mode=""></image><image class="se-w-260 se-h-180 se-br-10" src="https://cdn.uviewui.com/uview/swiper/swiper1.png" mode=""></image></view><view class="se-pl-10 se-w-p-100"><view class="se-c-black se-fs-28"> 整租·四季峰景四期 2室2厅1卫 </view><view class="se-flex se-flex-h-sb se-flex-ai-c se-fs-24 se-mt-10 se-c-66"><text>精装修</text><text>1年</text></view><view class="se-flex se-flex-h-sb se-flex-ai-c se-mt-10"><view class="se-display-ib se-c-white se-bgc-orange se-fs-22 se-br-8 se-px-10 se-py-5"> 全新首租 </view><view class="se-c-66 se-flex se-flex-ai-c"><uv-icon wx:if="{{l}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"></uv-icon><text class="se-ml-5 se-fs-18">999+</text></view></view><view class="se-flex se-flex-h-sb se-flex-ai-c se-mt-10"><text class="se-c-red se-fs-28 se-fw-6">¥1500元/月</text><text class="se-c-66 se-fs-22">四季峰景四期</text></view></view></view></view><city-select wx:if="{{o}}" class="r" u-r="citySelectRef" bindcityChange="{{n}}" u-i="380a2403-4" bind:__l="__l" u-p="{{o}}"></city-select></view> | |||||
| @ -1,20 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| .se-grid{ | |||||
| border-top-right-radius: 50rpx; | |||||
| border-top-left-radius: 50rpx; | |||||
| } | |||||
| .backdrop{ | |||||
| width: 750rpx; | |||||
| height: 350rpx; | |||||
| position: absolute; | |||||
| top: 0; | |||||
| left: 0; | |||||
| z-index: -1; | |||||
| /* border-radius: 0 0 14% 14%; */ | |||||
| } | |||||
| .nobreak { | |||||
| white-space: nowrap; | |||||
| } | |||||
| @ -1,18 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| name: "Login", | |||||
| data() { | |||||
| return {}; | |||||
| }, | |||||
| methods: {} | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_assets._imports_0$2, | |||||
| b: common_assets._imports_0$3 | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationStyle": "custom", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view><view class="se-pt-200 se-flex se-flex-h-c se-flex-ff-cw"><image class="se-w-150 se-h-150" src="{{a}}" mode=""></image><view class="se-flex se-flex-h-c se-fs-34 se-fw-6 se-c-black se-mt-40"> 租房小程序 </view><view class="se-mt-20 se-fs-26 se-c-black se-flex se-flex-h-c"> 申请获取您的头像、昵称 </view></view><view class="se-mx-40 se-py-100"><view class="se-b-t se-b-b se-flex se-h-140 se-lh-140 se-flex-h-sb"><text>头像</text><image class="se-w-100 se-h-100" src="{{b}}" mode=""></image></view><view class="se-b-b se-flex se-h-140 se-lh-140 se-flex-h-sb"><text>昵称</text><input class="se-h-80 se-lh-80 se-w-320" placeholder-class="se-fs-24 se-ta-r" placeholder="请输入名称" type="text"/></view></view><view class="se-mx-40"><view class="se-br-40 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-32 se-c-white se-bgc-green"> 确认 </view></view></view> | |||||
| @ -1,27 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| list: [] | |||||
| }; | |||||
| }, | |||||
| methods: { | |||||
| onNavigator() { | |||||
| } | |||||
| } | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.f(8, (items, indexs, i0) => { | |||||
| return { | |||||
| a: indexs, | |||||
| b: common_vendor.o(($event) => $options.onNavigator(), indexs) | |||||
| }; | |||||
| }), | |||||
| b: common_assets._imports_0$2 | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "消息", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view><view wx:for="{{a}}" wx:for-item="items" wx:key="a" class="se-flex se-m-20 se-bgc-white se-br-10 se-p-20" bindtap="{{items.b}}"><image class="se-a-80 se-br-10" src="{{b}}" mode=""></image><view class="se-pl-10 se-w-p-85"><view class="se-flex se-flex-h-sb se-flex-ai-c se-c-black se-fs-28 se-c-black"><text>租房小王子</text><text class="se-c-text-sub se-fs-24">12:56</text></view><view class="se-c-text-sub se-fs-26">[整租·四季峰景四期 2室1厅1卫]</view></view></view></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,63 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return {}; | |||||
| }, | |||||
| methods: { | |||||
| onCustomerService() { | |||||
| common_vendor.index.showModal({ | |||||
| title: "联系客服", | |||||
| content: "确定拨打客服电话?", | |||||
| success: function(res) { | |||||
| if (res.confirm) { | |||||
| console.log("用户点击确定"); | |||||
| } else if (res.cancel) { | |||||
| console.log("用户点击取消"); | |||||
| } | |||||
| } | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon"); | |||||
| _easycom_uv_icon2(); | |||||
| } | |||||
| const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js"; | |||||
| if (!Math) { | |||||
| _easycom_uv_icon(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_assets._imports_0$3, | |||||
| b: common_assets._imports_1$4, | |||||
| c: common_vendor.o(($event) => _ctx.onNavigateTo()), | |||||
| d: common_assets._imports_2, | |||||
| e: common_vendor.o(($event) => _ctx.onNavigateTo()), | |||||
| f: common_assets._imports_3, | |||||
| g: common_vendor.o(($event) => _ctx.onNavigateTo()), | |||||
| h: common_assets._imports_4, | |||||
| i: common_vendor.o(($event) => _ctx.onNavigateTo()), | |||||
| j: common_assets._imports_5, | |||||
| k: common_vendor.p({ | |||||
| name: "arrow-right" | |||||
| }), | |||||
| l: common_assets._imports_6, | |||||
| m: common_vendor.p({ | |||||
| name: "arrow-right" | |||||
| }), | |||||
| n: common_assets._imports_7, | |||||
| o: common_vendor.p({ | |||||
| name: "arrow-right" | |||||
| }), | |||||
| p: common_vendor.o((...args) => $options.onCustomerService && $options.onCustomerService(...args)), | |||||
| q: common_assets._imports_8, | |||||
| r: common_vendor.p({ | |||||
| name: "arrow-right" | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "我的", | |||||
| "navigationStyle": "default", | |||||
| "navigationBarBackgroundColor": "#1EC77A", | |||||
| "navigationBarTextStyle": "white", | |||||
| "usingComponents": { | |||||
| "uv-icon": "../../uni_modules/uv-icon/components/uv-icon/uv-icon" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="u-page"><view class="se-pt-30 se-pb-120 se-px-40 se-bgc-green se-c-white se-pos"><view class="se-flex"><image src="{{a}}" class="se-br-p-50 se-w-120 se-h-120" mode=""></image><view class="se-ml-20 se-flex se-flex-v-sa se-flex-ai-fs"><view class="se-flex"><text class="se-fw-6 se-fs-30">热心小肖</text></view><view class="se-fs-24 se-display-ib"><text>手机号:</text><text class="se-ml-20">13189698114</text></view></view></view><view class="se-pos-cb se-flex se-flex-h-sb se-w-vw-82 se-br-10 se-bgc-white se-py-30 se-px-20" style="bottom:-90rpx"><view class="se-flex se-flex-v-c se-flex-1"><image src="{{b}}" class="se-a-80" mode=""></image><view bindtap="{{c}}" class="se-ta-c se-fw-6 se-br-30 se-mt-10 se-py-5 se-px-22 se-c-black se-fs-22"> 我的钱包 </view></view><view class="se-flex se-flex-v-c se-flex-1"><image src="{{d}}" class="se-a-80" mode=""></image><view bindtap="{{e}}" class="se-ta-c se-fw-6 se-br-30 se-mt-10 se-py-5 se-px-22 se-c-black se-fs-22"> 我的预约 </view></view><view class="se-flex se-flex-v-c se-flex-1"><image src="{{f}}" class="se-a-80" mode=""></image><view bindtap="{{g}}" class="se-ta-c se-fw-6 se-br-30 se-mt-10 se-py-5 se-px-22 se-c-black se-fs-22"> 我的收藏 </view></view><view class="se-flex se-flex-v-c se-flex-1"><image src="{{h}}" class="se-a-80" mode=""></image><view bindtap="{{i}}" class="se-ta-c se-fw-6 se-br-30 se-mt-10 se-py-5 se-px-22 se-c-black se-fs-22"> 需求发布 </view></view></view></view><view class="se-m-30 se-mt-120 se-pl-30 se-pr-20 se-br-20 se-bgc-white"><view class="se-py-30 se-px-20 se-flex se-flex-h-sb se-b-b"><view class="se-flex se-flex-ai-c"><image class="se-a-30" src="{{j}}" mode=""></image><text class="se-ml-20 se-fs-24 se-fw-5">房东中心</text></view><view class="se-flex se-flex-ai-c"><uv-icon wx:if="{{k}}" u-i="872d3822-0" bind:__l="__l" u-p="{{k}}"></uv-icon></view></view><view class="se-py-30 se-px-20 se-flex se-flex-h-sb se-b-b"><view class="se-flex se-flex-ai-c"><image class="se-a-30" src="{{l}}" mode=""></image><text class="se-ml-20 se-fs-24 se-fw-5">经纪人中心</text></view><view class="se-flex se-flex-ai-c"><uv-icon wx:if="{{m}}" u-i="872d3822-1" bind:__l="__l" u-p="{{m}}"></uv-icon></view></view><view class="se-py-30 se-px-20 se-flex se-flex-h-sb se-b-b" bindtap="{{p}}"><view class="se-flex se-flex-ai-c"><image class="se-a-30" src="{{n}}" mode=""></image><text class="se-ml-20 se-fs-24 se-fw-5">在线客服</text></view><view class="se-flex se-flex-ai-c"><uv-icon wx:if="{{o}}" u-i="872d3822-2" bind:__l="__l" u-p="{{o}}"></uv-icon></view></view><view class="se-py-30 se-px-20 se-flex se-flex-h-sb"><view class="se-flex se-flex-ai-c"><image class="se-a-30" src="{{q}}" mode=""></image><text class="se-ml-20 se-fs-24 se-fw-5">关于我们</text></view><view class="se-flex se-flex-ai-c"><uv-icon wx:if="{{r}}" u-i="872d3822-3" bind:__l="__l" u-p="{{r}}"></uv-icon></view></view></view></view> | |||||
| @ -1,10 +0,0 @@ | |||||
| page { | |||||
| background-color: #f5f5f5 !important; | |||||
| } | |||||
| .se-grid { | |||||
| display: grid; | |||||
| grid-template-columns: 1fr 1fr 1fr 1fr; | |||||
| gap: 10rpx; | |||||
| padding-bottom: 4rpx; | |||||
| } | |||||
| @ -1,104 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| form: { | |||||
| name: "", | |||||
| password: "" | |||||
| }, | |||||
| rules: { | |||||
| name: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入账号", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| password: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入密码", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ] | |||||
| } | |||||
| }; | |||||
| }, | |||||
| methods: { | |||||
| submit() { | |||||
| common_vendor.index.navigateTo({ | |||||
| url: "/pages_subpack/success/index?type=broker" | |||||
| }); | |||||
| this.$refs.form.validate().then((res) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验通过" | |||||
| }); | |||||
| }).catch((errors) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验失败" | |||||
| }); | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_input2 = common_vendor.resolveComponent("uv-input"); | |||||
| const _easycom_uv_form_item2 = common_vendor.resolveComponent("uv-form-item"); | |||||
| const _easycom_uv_button2 = common_vendor.resolveComponent("uv-button"); | |||||
| const _easycom_uv_form2 = common_vendor.resolveComponent("uv-form"); | |||||
| (_easycom_uv_input2 + _easycom_uv_form_item2 + _easycom_uv_button2 + _easycom_uv_form2)(); | |||||
| } | |||||
| const _easycom_uv_input = () => "../../uni_modules/uv-input/components/uv-input/uv-input.js"; | |||||
| const _easycom_uv_form_item = () => "../../uni_modules/uv-form/components/uv-form-item/uv-form-item.js"; | |||||
| const _easycom_uv_button = () => "../../uni_modules/uv-button/components/uv-button/uv-button.js"; | |||||
| const _easycom_uv_form = () => "../../uni_modules/uv-form/components/uv-form/uv-form.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_input + _easycom_uv_form_item + _easycom_uv_button + _easycom_uv_form)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.o(($event) => $data.form.name = $event), | |||||
| b: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入账号", | |||||
| customStyle: "border-radius: 30px;margin-top:5px;background-color: #ffffff;padding:5px 20px;", | |||||
| border: "none", | |||||
| modelValue: $data.form.name | |||||
| }), | |||||
| c: common_vendor.p({ | |||||
| label: "账号", | |||||
| prop: "name" | |||||
| }), | |||||
| d: common_vendor.o(($event) => $data.form.password = $event), | |||||
| e: common_vendor.p({ | |||||
| type: "password", | |||||
| placeholder: "请输入密码", | |||||
| customStyle: "border-radius: 30px;margin-top:5px;background-color: #ffffff;padding:5px 20px;", | |||||
| border: "none", | |||||
| modelValue: $data.form.password | |||||
| }), | |||||
| f: common_vendor.p({ | |||||
| label: "密码", | |||||
| prop: "password" | |||||
| }), | |||||
| g: common_vendor.o($options.submit), | |||||
| h: common_vendor.p({ | |||||
| type: "primary", | |||||
| text: "登录", | |||||
| customStyle: "margin-top: 30px;background-color: #1EC7B6;border-radius: 30px;" | |||||
| }), | |||||
| i: common_vendor.sr("form", "8a55433a-0"), | |||||
| j: common_vendor.p({ | |||||
| labelPosition: "top", | |||||
| model: $data.form, | |||||
| rules: $data.rules | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "经纪人", | |||||
| "usingComponents": { | |||||
| "uv-input": "../../uni_modules/uv-input/components/uv-input/uv-input", | |||||
| "uv-form-item": "../../uni_modules/uv-form/components/uv-form-item/uv-form-item", | |||||
| "uv-button": "../../uni_modules/uv-button/components/uv-button/uv-button", | |||||
| "uv-form": "../../uni_modules/uv-form/components/uv-form/uv-form" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-30"><uv-form wx:if="{{j}}" class="r" u-s="{{['d']}}" u-r="form" u-i="8a55433a-0" bind:__l="__l" u-p="{{j}}"><uv-form-item wx:if="{{c}}" u-s="{{['d']}}" u-i="8a55433a-1,8a55433a-0" bind:__l="__l" u-p="{{c}}"><uv-input wx:if="{{b}}" u-i="8a55433a-2,8a55433a-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></uv-input></uv-form-item><uv-form-item wx:if="{{f}}" u-s="{{['d']}}" u-i="8a55433a-3,8a55433a-0" bind:__l="__l" u-p="{{f}}"><uv-input wx:if="{{e}}" u-i="8a55433a-4,8a55433a-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></uv-input></uv-form-item><uv-form-item u-s="{{['d']}}" u-i="8a55433a-5,8a55433a-0" bind:__l="__l"><uv-button wx:if="{{h}}" bindclick="{{g}}" u-i="8a55433a-6,8a55433a-5" bind:__l="__l" u-p="{{h}}"></uv-button></uv-form-item></uv-form></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,266 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| onPageScroll() { | |||||
| this.$refs.dropDown.init(); | |||||
| }, | |||||
| computed: { | |||||
| dropItem(name) { | |||||
| return (name2) => { | |||||
| const result = {}; | |||||
| const find = this.result.find((item) => item.name === name2); | |||||
| if (find) { | |||||
| result.label = find.label; | |||||
| result.value = find.value; | |||||
| } else { | |||||
| result.label = this[name2].label; | |||||
| result.value = this[name2].value; | |||||
| } | |||||
| return result; | |||||
| }; | |||||
| }, | |||||
| // 获取当前下拉筛选项 | |||||
| currentDropItem() { | |||||
| return this[this.activeName]; | |||||
| } | |||||
| }, | |||||
| data() { | |||||
| return { | |||||
| keyword: "", | |||||
| // 表示value等于这些值,就属于默认值 | |||||
| defaultValue: ["all", "all", "all", "all"], | |||||
| // 筛选结果 | |||||
| result: [], | |||||
| region: { | |||||
| label: "区域", | |||||
| value: "all", | |||||
| activeIndex: 0, | |||||
| color: "#333", | |||||
| activeColor: "#20CD7D", | |||||
| child: [{ | |||||
| label: "全部区域", | |||||
| value: "all" | |||||
| }, { | |||||
| label: "湖南", | |||||
| value: "hunan" | |||||
| }, { | |||||
| label: "广州", | |||||
| value: "guangzhou" | |||||
| }] | |||||
| }, | |||||
| rent: { | |||||
| label: "租金", | |||||
| value: "all", | |||||
| activeIndex: 0, | |||||
| color: "#333", | |||||
| activeColor: "#20CD7D", | |||||
| child: [{ | |||||
| label: "全部", | |||||
| value: "all" | |||||
| }, { | |||||
| label: "0-2k", | |||||
| value: "2000" | |||||
| }, { | |||||
| label: "2k-4k", | |||||
| value: "4000" | |||||
| }, { | |||||
| label: "4k-6k", | |||||
| value: "6000" | |||||
| }, { | |||||
| label: "6k+", | |||||
| value: "6000+" | |||||
| }] | |||||
| }, | |||||
| type: { | |||||
| label: "类型", | |||||
| value: "all", | |||||
| activeIndex: 0, | |||||
| color: "#333", | |||||
| activeColor: "#20CD7D", | |||||
| child: [{ | |||||
| label: "全部", | |||||
| value: "all" | |||||
| }, { | |||||
| label: "闲置散居农房", | |||||
| value: "nongfang" | |||||
| }, { | |||||
| label: "鱼塘", | |||||
| value: "yutang" | |||||
| }, { | |||||
| label: "耕地", | |||||
| value: "gengdi" | |||||
| }] | |||||
| }, | |||||
| duration: { | |||||
| label: "年限", | |||||
| value: "all", | |||||
| activeIndex: 0, | |||||
| color: "#333", | |||||
| activeColor: "#20CD7D", | |||||
| child: [{ | |||||
| label: "全部", | |||||
| value: "all" | |||||
| }, { | |||||
| label: "5年内", | |||||
| value: "0-5" | |||||
| }, { | |||||
| label: "5-10年", | |||||
| value: "5-10" | |||||
| }, { | |||||
| label: "10-20年", | |||||
| value: "10-20" | |||||
| }] | |||||
| }, | |||||
| activeName: "region", | |||||
| vip_type: { | |||||
| label: "VIP文档", | |||||
| value: 0, | |||||
| activeIndex: 0 | |||||
| } | |||||
| }; | |||||
| }, | |||||
| methods: { | |||||
| onSearch() { | |||||
| this.$emit("onSearch", this.keyword); | |||||
| }, | |||||
| change(e) { | |||||
| console.log("弹窗打开状态:", e); | |||||
| }, | |||||
| /** | |||||
| * 点击每个筛选项回调 | |||||
| * @param {Object} e { name, active, type } = e | |||||
| */ | |||||
| selectMenu(e) { | |||||
| const { | |||||
| name, | |||||
| active, | |||||
| type | |||||
| } = e; | |||||
| this.activeName = name; | |||||
| if (type == 1) { | |||||
| this.clickItem({ | |||||
| name: "vip_type", | |||||
| label: "VIP文档", | |||||
| value: e.active ? 1 : 0 | |||||
| }); | |||||
| } else { | |||||
| const find = this.result.find((item) => item.name == this.activeName); | |||||
| if (find) { | |||||
| const findIndex = this[this.activeName].child.findIndex((item) => item.label == find.label && item.value == find.value); | |||||
| this[this.activeName].activeIndex = findIndex; | |||||
| } else { | |||||
| this[this.activeName].activeIndex = 0; | |||||
| } | |||||
| } | |||||
| }, | |||||
| /** | |||||
| * 点击菜单回调处理 | |||||
| * @param {Object} item 选中项 { label,value } = e | |||||
| */ | |||||
| clickItem(e) { | |||||
| let { | |||||
| label, | |||||
| value | |||||
| } = e; | |||||
| const findIndex = this.result.findIndex((item) => item.name == this.activeName); | |||||
| if (this.defaultValue.indexOf(value) > -1 && this[this.activeName].label) { | |||||
| label = this[this.activeName].label; | |||||
| } | |||||
| if (findIndex > -1) { | |||||
| this.$set(this.result, findIndex, { | |||||
| name: this.activeName, | |||||
| label, | |||||
| value | |||||
| }); | |||||
| } else { | |||||
| this.result.push({ | |||||
| name: this.activeName, | |||||
| label, | |||||
| value | |||||
| }); | |||||
| } | |||||
| this.result = this.result.filter((item) => this.defaultValue.indexOf(item.value) == -1); | |||||
| console.info(this.result); | |||||
| this.$emit("onParent", this.result); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_search2 = common_vendor.resolveComponent("uv-search"); | |||||
| const _easycom_uv_drop_down_item2 = common_vendor.resolveComponent("uv-drop-down-item"); | |||||
| const _easycom_uv_drop_down2 = common_vendor.resolveComponent("uv-drop-down"); | |||||
| const _easycom_uv_drop_down_popup2 = common_vendor.resolveComponent("uv-drop-down-popup"); | |||||
| (_easycom_uv_search2 + _easycom_uv_drop_down_item2 + _easycom_uv_drop_down2 + _easycom_uv_drop_down_popup2)(); | |||||
| } | |||||
| const _easycom_uv_search = () => "../../../uni_modules/uv-search/components/uv-search/uv-search.js"; | |||||
| const _easycom_uv_drop_down_item = () => "../../../uni_modules/uv-drop-down/components/uv-drop-down-item/uv-drop-down-item.js"; | |||||
| const _easycom_uv_drop_down = () => "../../../uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down.js"; | |||||
| const _easycom_uv_drop_down_popup = () => "../../../uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_search + _easycom_uv_drop_down_item + _easycom_uv_drop_down + _easycom_uv_drop_down_popup)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.o(($event) => $options.onSearch()), | |||||
| b: common_vendor.o(($event) => $data.keyword = $event), | |||||
| c: common_vendor.p({ | |||||
| placeholder: "搜索租房信息", | |||||
| showAction: false, | |||||
| modelValue: $data.keyword | |||||
| }), | |||||
| d: common_vendor.p({ | |||||
| name: "region", | |||||
| type: "2", | |||||
| label: $options.dropItem("region").label, | |||||
| value: $options.dropItem("region").value | |||||
| }), | |||||
| e: common_vendor.p({ | |||||
| name: "rent", | |||||
| type: "2", | |||||
| label: $options.dropItem("rent").label, | |||||
| value: $options.dropItem("rent").value | |||||
| }), | |||||
| f: common_vendor.p({ | |||||
| name: "type", | |||||
| type: "2", | |||||
| label: $options.dropItem("type").label, | |||||
| value: $options.dropItem("type").value | |||||
| }), | |||||
| g: common_vendor.p({ | |||||
| name: "duration", | |||||
| type: "2", | |||||
| label: $options.dropItem("duration").label, | |||||
| value: $options.dropItem("duration").value | |||||
| }), | |||||
| h: common_vendor.sr("dropDown", "1c0082b4-1"), | |||||
| i: common_vendor.o($options.selectMenu), | |||||
| j: common_vendor.p({ | |||||
| sign: "dropDown_1", | |||||
| ["text-active-color"]: "#20CD7D", | |||||
| ["extra-icon"]: { | |||||
| name: "arrow-down-fill", | |||||
| color: "#666", | |||||
| size: "26rpx" | |||||
| }, | |||||
| ["extra-active-icon"]: { | |||||
| name: "arrow-up-fill", | |||||
| color: "#20CD7D", | |||||
| size: "26rpx" | |||||
| }, | |||||
| defaultValue: $data.defaultValue, | |||||
| ["custom-style"]: { | |||||
| padding: "0rpx 0rpx", | |||||
| borderBottom: "1rpx solid transparent" | |||||
| } | |||||
| }), | |||||
| k: common_vendor.o($options.clickItem), | |||||
| l: common_vendor.o($options.change), | |||||
| m: common_vendor.p({ | |||||
| sign: "dropDown_1", | |||||
| ["click-overlay-on-close"]: true, | |||||
| currentDropItem: $options.currentDropItem | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createComponent(Component); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "component": true, | |||||
| "usingComponents": { | |||||
| "uv-search": "../../../uni_modules/uv-search/components/uv-search/uv-search", | |||||
| "uv-drop-down-item": "../../../uni_modules/uv-drop-down/components/uv-drop-down-item/uv-drop-down-item", | |||||
| "uv-drop-down": "../../../uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down", | |||||
| "uv-drop-down-popup": "../../../uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view><view class="se-bgc-white se-pb-20 se-pt-30 se-px-40"><uv-search wx:if="{{c}}" bindsearch="{{a}}" u-i="1c0082b4-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></uv-search></view><view class="se-pb-10 se-px-40 se-bgc-white"><uv-drop-down wx:if="{{j}}" class="r" u-s="{{['d']}}" u-r="dropDown" bindclick="{{i}}" u-i="1c0082b4-1" bind:__l="__l" u-p="{{j}}"><uv-drop-down-item wx:if="{{d}}" u-i="1c0082b4-2,1c0082b4-1" bind:__l="__l" u-p="{{d}}"></uv-drop-down-item><uv-drop-down-item wx:if="{{e}}" u-i="1c0082b4-3,1c0082b4-1" bind:__l="__l" u-p="{{e}}"></uv-drop-down-item><uv-drop-down-item wx:if="{{f}}" u-i="1c0082b4-4,1c0082b4-1" bind:__l="__l" u-p="{{f}}"></uv-drop-down-item><uv-drop-down-item wx:if="{{g}}" u-i="1c0082b4-5,1c0082b4-1" bind:__l="__l" u-p="{{g}}"></uv-drop-down-item></uv-drop-down><uv-drop-down-popup wx:if="{{m}}" bindclickItem="{{k}}" bindpopupChange="{{l}}" u-i="1c0082b4-6" bind:__l="__l" u-p="{{m}}"></uv-drop-down-popup></view></view> | |||||
| @ -1,49 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const searchVue = () => "./component/search.js"; | |||||
| const _sfc_main = { | |||||
| components: { | |||||
| searchVue | |||||
| }, | |||||
| data() { | |||||
| return { | |||||
| keyword: "" | |||||
| }; | |||||
| }, | |||||
| methods: { | |||||
| onSearch(event) { | |||||
| console.info(event); | |||||
| }, | |||||
| onDropDown(event) { | |||||
| console.info(event[0].value); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _component_searchVue = common_vendor.resolveComponent("searchVue"); | |||||
| const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon"); | |||||
| (_component_searchVue + _easycom_uv_icon2)(); | |||||
| } | |||||
| const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js"; | |||||
| if (!Math) { | |||||
| _easycom_uv_icon(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.o(($event) => $options.onSearch($event)), | |||||
| b: common_vendor.o(($event) => $options.onDropDown($event)), | |||||
| c: common_vendor.f(20, (item, index, i0) => { | |||||
| return { | |||||
| a: "04fa4988-1-" + i0, | |||||
| b: index | |||||
| }; | |||||
| }), | |||||
| d: common_assets._imports_0$1, | |||||
| e: common_vendor.p({ | |||||
| name: "eye" | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,7 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "分类", | |||||
| "usingComponents": { | |||||
| "search-vue": "./component/search", | |||||
| "uv-icon": "../../uni_modules/uv-icon/components/uv-icon/uv-icon" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="uv-page"><search-vue bindonSearch="{{a}}" bindonParent="{{b}}" u-i="04fa4988-0" bind:__l="__l"/><view wx:for="{{c}}" wx:for-item="item" wx:key="b" class="se-my-10 se-mx-20 se-px-20 se-py-20 se-br-20 se-bgc-white se-flex"><view class="se-pos se-w-260 se-h-180"><image class="se-a-80 se-pos-lt" src="{{d}}" mode=""></image><image class="se-w-260 se-h-180 se-br-10" src="https://cdn.uviewui.com/uview/swiper/swiper1.png" mode=""></image></view><view class="se-pl-10 se-w-p-100"><view class="se-c-black se-fs-28"> 整租·四季峰景四期 2室2厅1卫 </view><view class="se-flex se-flex-h-sb se-flex-ai-c se-fs-24 se-mt-10 se-c-66"><text>精装修</text><text>1年</text></view><view class="se-flex se-flex-h-sb se-flex-ai-c se-mt-10"><view class="se-display-ib se-c-white se-bgc-orange se-fs-22 se-br-8 se-px-10 se-py-5"> 全新首租 </view><view class="se-c-66 se-flex se-flex-ai-c"><uv-icon wx:if="{{e}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{e}}"></uv-icon><text class="se-ml-5 se-fs-18">999+</text></view></view><view class="se-flex se-flex-h-sb se-flex-ai-c se-mt-10"><text class="se-c-red se-fs-28 se-fw-6">¥1500元/月</text><text class="se-c-66 se-fs-22">四季峰景四期</text></view></view></view></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,67 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| rate: 3, | |||||
| list: [{ | |||||
| url: "https://cdn.uviewui.com/uview/resources/video.mp4", | |||||
| title: "昨夜星辰昨夜风,画楼西畔桂堂东", | |||||
| poster: "https://cdn.uviewui.com/uview/swiper/swiper1.png" | |||||
| }, { | |||||
| url: "https://cdn.uviewui.com/uview/swiper/swiper2.png", | |||||
| title: "身无彩凤双飞翼,心有灵犀一点通" | |||||
| }, { | |||||
| url: "https://cdn.uviewui.com/uview/swiper/swiper3.png", | |||||
| title: "谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳" | |||||
| }] | |||||
| }; | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_swiper2 = common_vendor.resolveComponent("uv-swiper"); | |||||
| const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon"); | |||||
| const _easycom_uv_rate2 = common_vendor.resolveComponent("uv-rate"); | |||||
| (_easycom_uv_swiper2 + _easycom_uv_icon2 + _easycom_uv_rate2)(); | |||||
| } | |||||
| const _easycom_uv_swiper = () => "../../uni_modules/uv-swiper/components/uv-swiper/uv-swiper.js"; | |||||
| const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js"; | |||||
| const _easycom_uv_rate = () => "../../uni_modules/uv-rate/components/uv-rate/uv-rate.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_swiper + _easycom_uv_icon + _easycom_uv_rate)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.p({ | |||||
| radius: 0, | |||||
| list: $data.list, | |||||
| height: 250, | |||||
| keyName: "url", | |||||
| autoplay: false | |||||
| }), | |||||
| b: common_vendor.p({ | |||||
| name: "photo" | |||||
| }), | |||||
| c: common_vendor.p({ | |||||
| name: "photo" | |||||
| }), | |||||
| d: common_assets._imports_0$2, | |||||
| e: common_assets._imports_0$2, | |||||
| f: common_vendor.f(5, (items, indexs, i0) => { | |||||
| return { | |||||
| a: "b1146e4a-3-" + i0, | |||||
| b: common_vendor.o(($event) => $data.rate = $event, indexs), | |||||
| c: indexs | |||||
| }; | |||||
| }), | |||||
| g: common_assets._imports_1$2, | |||||
| h: common_vendor.p({ | |||||
| count: 5, | |||||
| activeColor: "#FCD618", | |||||
| modelValue: $data.rate | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,8 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "详情", | |||||
| "usingComponents": { | |||||
| "uv-swiper": "../../uni_modules/uv-swiper/components/uv-swiper/uv-swiper", | |||||
| "uv-icon": "../../uni_modules/uv-icon/components/uv-icon/uv-icon", | |||||
| "uv-rate": "../../uni_modules/uv-rate/components/uv-rate/uv-rate" | |||||
| } | |||||
| } | |||||
| @ -1,13 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| .line-green { | |||||
| width: 8rpx; | |||||
| height: 32rpx; | |||||
| background: #20CD7D; | |||||
| border-radius: 4rpx; | |||||
| } | |||||
| .bgc-active-lg{ | |||||
| background-color: #F1FFF9; | |||||
| } | |||||
| @ -1,85 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| form: { | |||||
| invite: "", | |||||
| password: "" | |||||
| }, | |||||
| rules: { | |||||
| invite: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入邀请码", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ] | |||||
| } | |||||
| }; | |||||
| }, | |||||
| methods: { | |||||
| submit() { | |||||
| common_vendor.index.navigateTo({ | |||||
| url: "/pages_subpack/success/index?type=homeowner" | |||||
| }); | |||||
| this.$refs.form.validate().then((res) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验通过" | |||||
| }); | |||||
| }).catch((errors) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验失败" | |||||
| }); | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_input2 = common_vendor.resolveComponent("uv-input"); | |||||
| const _easycom_uv_form_item2 = common_vendor.resolveComponent("uv-form-item"); | |||||
| const _easycom_uv_button2 = common_vendor.resolveComponent("uv-button"); | |||||
| const _easycom_uv_form2 = common_vendor.resolveComponent("uv-form"); | |||||
| (_easycom_uv_input2 + _easycom_uv_form_item2 + _easycom_uv_button2 + _easycom_uv_form2)(); | |||||
| } | |||||
| const _easycom_uv_input = () => "../../uni_modules/uv-input/components/uv-input/uv-input.js"; | |||||
| const _easycom_uv_form_item = () => "../../uni_modules/uv-form/components/uv-form-item/uv-form-item.js"; | |||||
| const _easycom_uv_button = () => "../../uni_modules/uv-button/components/uv-button/uv-button.js"; | |||||
| const _easycom_uv_form = () => "../../uni_modules/uv-form/components/uv-form/uv-form.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_input + _easycom_uv_form_item + _easycom_uv_button + _easycom_uv_form)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.o(($event) => $data.form.invite = $event), | |||||
| b: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入邀请码", | |||||
| customStyle: "border-radius: 30px;margin-top:5px;background-color: #ffffff;padding:5px 20px;", | |||||
| border: "none", | |||||
| modelValue: $data.form.invite | |||||
| }), | |||||
| c: common_vendor.p({ | |||||
| label: "经纪人邀请码", | |||||
| prop: "invite", | |||||
| labelWidth: "220" | |||||
| }), | |||||
| d: common_vendor.o($options.submit), | |||||
| e: common_vendor.p({ | |||||
| type: "primary", | |||||
| text: "登录", | |||||
| customStyle: "margin-top: 30px;background-color: #1EC77A;border-radius: 30px;" | |||||
| }), | |||||
| f: common_vendor.sr("form", "2b213a40-0"), | |||||
| g: common_vendor.p({ | |||||
| labelPosition: "top", | |||||
| model: $data.form, | |||||
| rules: $data.rules | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "房东", | |||||
| "usingComponents": { | |||||
| "uv-input": "../../uni_modules/uv-input/components/uv-input/uv-input", | |||||
| "uv-form-item": "../../uni_modules/uv-form/components/uv-form-item/uv-form-item", | |||||
| "uv-button": "../../uni_modules/uv-button/components/uv-button/uv-button", | |||||
| "uv-form": "../../uni_modules/uv-form/components/uv-form/uv-form" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-30"><uv-form wx:if="{{g}}" class="r" u-s="{{['d']}}" u-r="form" u-i="2b213a40-0" bind:__l="__l" u-p="{{g}}"><uv-form-item wx:if="{{c}}" u-s="{{['d']}}" u-i="2b213a40-1,2b213a40-0" bind:__l="__l" u-p="{{c}}"><uv-input wx:if="{{b}}" u-i="2b213a40-2,2b213a40-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></uv-input></uv-form-item><uv-form-item u-s="{{['d']}}" u-i="2b213a40-3,2b213a40-0" bind:__l="__l"><uv-button wx:if="{{e}}" bindclick="{{d}}" u-i="2b213a40-4,2b213a40-3" bind:__l="__l" u-p="{{e}}"></uv-button></uv-form-item></uv-form></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,637 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const citySelect = () => "../../components/cityselect/index.js"; | |||||
| const _sfc_main = { | |||||
| components: { | |||||
| citySelect | |||||
| }, | |||||
| data() { | |||||
| return { | |||||
| form: { | |||||
| title: "", | |||||
| //标题 | |||||
| price: "", | |||||
| //价格 | |||||
| house: "", | |||||
| //户型 | |||||
| proportion: "", | |||||
| //面积 | |||||
| address: "", | |||||
| //所属位置 | |||||
| number: "", | |||||
| //编号 | |||||
| perimeter: "", | |||||
| //房屋周边 | |||||
| housesNumber: 1, | |||||
| //房间数量 | |||||
| revamp: 0, | |||||
| //房屋主体是否改造 | |||||
| resettle: 0, | |||||
| //是否经过安置 | |||||
| yardProportion: "", | |||||
| //院子总面积 | |||||
| noise: "", | |||||
| //噪音 | |||||
| net: "", | |||||
| //水电气网 | |||||
| park: "", | |||||
| //停车 | |||||
| deposit: "", | |||||
| //押金 | |||||
| archival: "", | |||||
| //档案查询 | |||||
| tenancy: "", | |||||
| //租期 | |||||
| evaluate: "", | |||||
| //评价 | |||||
| death: "", | |||||
| //非正常死亡 | |||||
| key: "", | |||||
| //钥匙 | |||||
| commission: "", | |||||
| //佣金 | |||||
| procedures: "", | |||||
| //手续 | |||||
| isOwnershipList: "", | |||||
| ownershipList: [], | |||||
| isHouseList: "", | |||||
| houseList: [], | |||||
| remark: "" | |||||
| }, | |||||
| rules: { | |||||
| title: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入账号", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| price: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入价格", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| house: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入户型", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| proportion: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入面积", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| number: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入编号", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| perimeter: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入房屋周边", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| yardProportion: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入院子总面积", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| noise: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入坟包及电塔工厂噪音", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| net: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入水电气网", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| park: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入停车", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| deposit: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入押金", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| archival: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入天府市民云房屋信息档案查询", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| tenancy: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入租期", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| evaluate: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入邻居对房东的评价", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| death: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入非正常死亡", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| key: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入钥匙", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| commission: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入佣金", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| procedures: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入报建手续", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ] | |||||
| } | |||||
| }; | |||||
| }, | |||||
| watch: { | |||||
| "form.ownershipList"(newValue, oldValue) { | |||||
| if (newValue.length > 0) { | |||||
| this.form.isOwnershipList = "有"; | |||||
| } else { | |||||
| this.form.isOwnershipList = ""; | |||||
| } | |||||
| }, | |||||
| "form.houseList"(newValue, oldValue) { | |||||
| if (newValue.length > 0) { | |||||
| this.form.isHouseList = "有"; | |||||
| } else { | |||||
| this.form.isHouseList = ""; | |||||
| } | |||||
| } | |||||
| }, | |||||
| onReady() { | |||||
| this.$refs.form.setRules(this.rules); | |||||
| }, | |||||
| methods: { | |||||
| deleteHousePic(event) { | |||||
| this.form.houseList.splice(event.index, 1); | |||||
| }, | |||||
| async afterHouseRead(e) { | |||||
| let self = this; | |||||
| e.file.forEach((file) => { | |||||
| self.$Oss.ossUpload(file.url).then((url) => { | |||||
| self.form.houseList.push({ | |||||
| url | |||||
| }); | |||||
| }); | |||||
| }); | |||||
| }, | |||||
| deleteOwnershipPic(event) { | |||||
| this.form.ownershipList.splice(event.index, 1); | |||||
| }, | |||||
| async afterOwnershipRead(e) { | |||||
| let self = this; | |||||
| e.file.forEach((file) => { | |||||
| self.$Oss.ossUpload(file.url).then((url) => { | |||||
| self.form.ownershipList.push({ | |||||
| url | |||||
| }); | |||||
| }); | |||||
| }); | |||||
| }, | |||||
| handleAreaChange() { | |||||
| this.$refs.citySelectRef.open(); | |||||
| }, | |||||
| handleCityChange(e) { | |||||
| this.form.address = e.province.label + "-" + e.city.label + "-" + e.area.label; | |||||
| }, | |||||
| submit() { | |||||
| this.$refs.form.validate().then((res) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验通过" | |||||
| }); | |||||
| }).catch((errors) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验失败" | |||||
| }); | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_input2 = common_vendor.resolveComponent("uv-input"); | |||||
| const _easycom_uv_form_item2 = common_vendor.resolveComponent("uv-form-item"); | |||||
| const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon"); | |||||
| const _easycom_uv_number_box2 = common_vendor.resolveComponent("uv-number-box"); | |||||
| const _easycom_uv_radio2 = common_vendor.resolveComponent("uv-radio"); | |||||
| const _easycom_uv_radio_group2 = common_vendor.resolveComponent("uv-radio-group"); | |||||
| const _easycom_uv_upload2 = common_vendor.resolveComponent("uv-upload"); | |||||
| const _easycom_uv_button2 = common_vendor.resolveComponent("uv-button"); | |||||
| const _easycom_uv_form2 = common_vendor.resolveComponent("uv-form"); | |||||
| const _component_citySelect = common_vendor.resolveComponent("citySelect"); | |||||
| (_easycom_uv_input2 + _easycom_uv_form_item2 + _easycom_uv_icon2 + _easycom_uv_number_box2 + _easycom_uv_radio2 + _easycom_uv_radio_group2 + _easycom_uv_upload2 + _easycom_uv_button2 + _easycom_uv_form2 + _component_citySelect)(); | |||||
| } | |||||
| const _easycom_uv_input = () => "../../uni_modules/uv-input/components/uv-input/uv-input.js"; | |||||
| const _easycom_uv_form_item = () => "../../uni_modules/uv-form/components/uv-form-item/uv-form-item.js"; | |||||
| const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js"; | |||||
| const _easycom_uv_number_box = () => "../../uni_modules/uv-number-box/components/uv-number-box/uv-number-box.js"; | |||||
| const _easycom_uv_radio = () => "../../uni_modules/uv-radio/components/uv-radio/uv-radio.js"; | |||||
| const _easycom_uv_radio_group = () => "../../uni_modules/uv-radio/components/uv-radio-group/uv-radio-group.js"; | |||||
| const _easycom_uv_upload = () => "../../uni_modules/uv-upload/components/uv-upload/uv-upload.js"; | |||||
| const _easycom_uv_button = () => "../../uni_modules/uv-button/components/uv-button/uv-button.js"; | |||||
| const _easycom_uv_form = () => "../../uni_modules/uv-form/components/uv-form/uv-form.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_input + _easycom_uv_form_item + _easycom_uv_icon + _easycom_uv_number_box + _easycom_uv_radio + _easycom_uv_radio_group + _easycom_uv_upload + _easycom_uv_button + _easycom_uv_form)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.o(($event) => $data.form.title = $event), | |||||
| b: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入标题", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.title | |||||
| }), | |||||
| c: common_vendor.p({ | |||||
| label: "标题", | |||||
| prop: "title" | |||||
| }), | |||||
| d: common_vendor.o(($event) => $data.form.price = $event), | |||||
| e: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入价格", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.price | |||||
| }), | |||||
| f: common_vendor.p({ | |||||
| label: "价格", | |||||
| prop: "price" | |||||
| }), | |||||
| g: common_vendor.o(($event) => $data.form.house = $event), | |||||
| h: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入户型", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.house | |||||
| }), | |||||
| i: common_vendor.p({ | |||||
| label: "户型", | |||||
| prop: "house" | |||||
| }), | |||||
| j: common_vendor.o(($event) => $data.form.proportion = $event), | |||||
| k: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入面积", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.proportion | |||||
| }), | |||||
| l: common_vendor.p({ | |||||
| label: "面积", | |||||
| prop: "proportion" | |||||
| }), | |||||
| m: common_vendor.o(($event) => $options.handleAreaChange()), | |||||
| n: common_vendor.o(($event) => $data.form.address = $event), | |||||
| o: common_vendor.p({ | |||||
| disabled: true, | |||||
| disabledColor: "#ffffff", | |||||
| placeholder: "所属位置", | |||||
| border: "none", | |||||
| modelValue: $data.form.address | |||||
| }), | |||||
| p: common_vendor.p({ | |||||
| name: "arrow-right" | |||||
| }), | |||||
| q: common_vendor.o(($event) => $options.handleAreaChange()), | |||||
| r: common_vendor.p({ | |||||
| label: "所属位置", | |||||
| prop: "address" | |||||
| }), | |||||
| s: common_vendor.o(($event) => $data.form.number = $event), | |||||
| t: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入编号", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.number | |||||
| }), | |||||
| v: common_vendor.p({ | |||||
| label: "编号", | |||||
| prop: "number" | |||||
| }), | |||||
| w: common_vendor.o(($event) => $data.form.perimeter = $event), | |||||
| x: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入房屋周边", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.perimeter | |||||
| }), | |||||
| y: common_vendor.p({ | |||||
| label: "房屋周边", | |||||
| prop: "perimeter" | |||||
| }), | |||||
| z: common_vendor.o(($event) => $data.form.housesNumber = $event), | |||||
| A: common_vendor.p({ | |||||
| min: 1, | |||||
| max: 10, | |||||
| modelValue: $data.form.housesNumber | |||||
| }), | |||||
| B: common_vendor.p({ | |||||
| label: "房间数量", | |||||
| prop: "housesNumber" | |||||
| }), | |||||
| C: common_vendor.p({ | |||||
| name: "1", | |||||
| label: "是" | |||||
| }), | |||||
| D: common_vendor.p({ | |||||
| name: "0", | |||||
| customStyle: "margin-left:30rpx;", | |||||
| label: "否" | |||||
| }), | |||||
| E: common_vendor.o(($event) => $data.form.revamp = $event), | |||||
| F: common_vendor.p({ | |||||
| placement: "row", | |||||
| modelValue: $data.form.revamp | |||||
| }), | |||||
| G: common_vendor.p({ | |||||
| label: "房屋主体是否改造", | |||||
| labelWidth: "200", | |||||
| prop: "revamp" | |||||
| }), | |||||
| H: common_vendor.p({ | |||||
| name: "1", | |||||
| label: "是" | |||||
| }), | |||||
| I: common_vendor.p({ | |||||
| name: "0", | |||||
| customStyle: "margin-left:30rpx;", | |||||
| label: "否" | |||||
| }), | |||||
| J: common_vendor.o(($event) => $data.form.resettle = $event), | |||||
| K: common_vendor.p({ | |||||
| placement: "row", | |||||
| modelValue: $data.form.resettle | |||||
| }), | |||||
| L: common_vendor.p({ | |||||
| label: "是否经过安置", | |||||
| labelWidth: "200", | |||||
| prop: "resettle" | |||||
| }), | |||||
| M: common_vendor.o(($event) => $data.form.yardProportion = $event), | |||||
| N: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入院子总面积", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.yardProportion | |||||
| }), | |||||
| O: common_vendor.p({ | |||||
| label: "院子总面积", | |||||
| labelWidth: "100", | |||||
| prop: "yardProportion" | |||||
| }), | |||||
| P: common_vendor.o(($event) => $data.form.noise = $event), | |||||
| Q: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入坟包及电塔工厂噪音", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.noise | |||||
| }), | |||||
| R: common_vendor.p({ | |||||
| label: "坟包及电塔工厂噪音", | |||||
| labelWidth: "150", | |||||
| prop: "noise" | |||||
| }), | |||||
| S: common_vendor.o(($event) => $data.form.net = $event), | |||||
| T: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入水电气网", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.net | |||||
| }), | |||||
| U: common_vendor.p({ | |||||
| label: "水电气网", | |||||
| prop: "net" | |||||
| }), | |||||
| V: common_vendor.o(($event) => $data.form.park = $event), | |||||
| W: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入停车", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.park | |||||
| }), | |||||
| X: common_vendor.p({ | |||||
| label: "停车", | |||||
| prop: "park" | |||||
| }), | |||||
| Y: common_vendor.o(($event) => $data.form.deposit = $event), | |||||
| Z: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入押金", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.deposit | |||||
| }), | |||||
| aa: common_vendor.p({ | |||||
| label: "付款方式及押金", | |||||
| labelWidth: "120", | |||||
| prop: "deposit" | |||||
| }), | |||||
| ab: common_vendor.o(($event) => $data.form.archival = $event), | |||||
| ac: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入天府市民云房屋信息档案查询", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.archival | |||||
| }), | |||||
| ad: common_vendor.p({ | |||||
| label: "天府市民云房屋信息档案查询", | |||||
| labelWidth: "100", | |||||
| prop: "archival", | |||||
| labelPosition: "top" | |||||
| }), | |||||
| ae: common_vendor.o(($event) => $data.form.tenancy = $event), | |||||
| af: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入租期", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.tenancy | |||||
| }), | |||||
| ag: common_vendor.p({ | |||||
| label: "租期", | |||||
| prop: "tenancy" | |||||
| }), | |||||
| ah: common_vendor.o(($event) => $data.form.evaluate = $event), | |||||
| ai: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入邻居对房东的评价", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.evaluate | |||||
| }), | |||||
| aj: common_vendor.p({ | |||||
| label: "邻居对房东的评价", | |||||
| labelWidth: "120", | |||||
| prop: "evaluate" | |||||
| }), | |||||
| ak: common_vendor.o(($event) => $data.form.death = $event), | |||||
| al: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入非正常死亡", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.death | |||||
| }), | |||||
| am: common_vendor.p({ | |||||
| label: "非正常死亡", | |||||
| labelWidth: "80", | |||||
| prop: "death" | |||||
| }), | |||||
| an: common_vendor.o(($event) => $data.form.key = $event), | |||||
| ao: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入钥匙", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.key | |||||
| }), | |||||
| ap: common_vendor.p({ | |||||
| label: "钥匙", | |||||
| prop: "key" | |||||
| }), | |||||
| aq: common_vendor.o(($event) => $data.form.commission = $event), | |||||
| ar: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入佣金", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.commission | |||||
| }), | |||||
| as: common_vendor.p({ | |||||
| label: "佣金", | |||||
| prop: "commission" | |||||
| }), | |||||
| at: common_vendor.o(($event) => $data.form.procedures = $event), | |||||
| av: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入报建手续", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.procedures | |||||
| }), | |||||
| aw: common_vendor.p({ | |||||
| label: "报建手续", | |||||
| prop: "procedures" | |||||
| }), | |||||
| ax: common_vendor.o($options.afterOwnershipRead), | |||||
| ay: common_vendor.o($options.deleteOwnershipPic), | |||||
| az: common_vendor.p({ | |||||
| customStyle: "margin-top:20rpx;", | |||||
| fileList: $data.form.ownershipList, | |||||
| name: "1", | |||||
| multiple: true, | |||||
| maxCount: 10 | |||||
| }), | |||||
| aA: common_vendor.p({ | |||||
| label: "产权证照片", | |||||
| labelWidth: "250", | |||||
| prop: "isOwnershipList", | |||||
| labelPosition: "top" | |||||
| }), | |||||
| aB: common_vendor.o($options.afterHouseRead), | |||||
| aC: common_vendor.o($options.deleteHousePic), | |||||
| aD: common_vendor.p({ | |||||
| customStyle: "margin-top:20rpx;", | |||||
| fileList: $data.form.houseList, | |||||
| name: "1", | |||||
| multiple: true, | |||||
| maxCount: 10 | |||||
| }), | |||||
| aE: common_vendor.p({ | |||||
| label: "房屋照片/视频", | |||||
| labelWidth: "250", | |||||
| prop: "isHouseList", | |||||
| labelPosition: "top" | |||||
| }), | |||||
| aF: common_vendor.o(($event) => $data.form.remark = $event), | |||||
| aG: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入备注", | |||||
| customStyle: "border-radius: 5px;margin-top:5px;background-color: #f5f5f5;padding:5px 10px;", | |||||
| modelValue: $data.form.remark | |||||
| }), | |||||
| aH: common_vendor.p({ | |||||
| label: "备注", | |||||
| prop: "remark", | |||||
| labelPosition: "top" | |||||
| }), | |||||
| aI: common_vendor.o($options.submit), | |||||
| aJ: common_vendor.p({ | |||||
| type: "primary", | |||||
| text: "确认发布", | |||||
| customStyle: "margin-top: 30px;background-color: #1EC77A;border-radius: 30px;" | |||||
| }), | |||||
| aK: common_vendor.sr("form", "75a279ac-0"), | |||||
| aL: common_vendor.p({ | |||||
| labelPosition: "left", | |||||
| model: $data.form, | |||||
| rules: $data.rules, | |||||
| labelWidth: "60", | |||||
| labelStyle: "font-size:26rpx;" | |||||
| }), | |||||
| aM: common_vendor.sr("citySelectRef", "75a279ac-58"), | |||||
| aN: common_vendor.o($options.handleCityChange), | |||||
| aO: common_vendor.p({ | |||||
| zIndex: 0 | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,15 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "房屋发布", | |||||
| "usingComponents": { | |||||
| "city-select": "../../components/cityselect/index", | |||||
| "uv-input": "../../uni_modules/uv-input/components/uv-input/uv-input", | |||||
| "uv-form-item": "../../uni_modules/uv-form/components/uv-form-item/uv-form-item", | |||||
| "uv-icon": "../../uni_modules/uv-icon/components/uv-icon/uv-icon", | |||||
| "uv-number-box": "../../uni_modules/uv-number-box/components/uv-number-box/uv-number-box", | |||||
| "uv-radio": "../../uni_modules/uv-radio/components/uv-radio/uv-radio", | |||||
| "uv-radio-group": "../../uni_modules/uv-radio/components/uv-radio-group/uv-radio-group", | |||||
| "uv-upload": "../../uni_modules/uv-upload/components/uv-upload/uv-upload", | |||||
| "uv-button": "../../uni_modules/uv-button/components/uv-button/uv-button", | |||||
| "uv-form": "../../uni_modules/uv-form/components/uv-form/uv-form" | |||||
| } | |||||
| } | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,129 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| form: { | |||||
| name: "", | |||||
| idcard: "", | |||||
| phone: "" | |||||
| }, | |||||
| rules: { | |||||
| name: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入姓名", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| idcard: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入身份证号码", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ], | |||||
| phone: [ | |||||
| { | |||||
| type: "string", | |||||
| required: true, | |||||
| message: "请输入联系方式", | |||||
| trigger: ["blur", "change"] | |||||
| } | |||||
| ] | |||||
| } | |||||
| }; | |||||
| }, | |||||
| methods: { | |||||
| submit() { | |||||
| common_vendor.index.navigateTo({ | |||||
| url: "/pages_subpack/successful/index" | |||||
| }); | |||||
| this.$refs.form.validate().then((res) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验通过" | |||||
| }); | |||||
| }).catch((errors) => { | |||||
| common_vendor.index.showToast({ | |||||
| icon: "none", | |||||
| title: "校验失败" | |||||
| }); | |||||
| }); | |||||
| } | |||||
| } | |||||
| }; | |||||
| if (!Array) { | |||||
| const _easycom_uv_input2 = common_vendor.resolveComponent("uv-input"); | |||||
| const _easycom_uv_form_item2 = common_vendor.resolveComponent("uv-form-item"); | |||||
| const _easycom_uv_button2 = common_vendor.resolveComponent("uv-button"); | |||||
| const _easycom_uv_form2 = common_vendor.resolveComponent("uv-form"); | |||||
| (_easycom_uv_input2 + _easycom_uv_form_item2 + _easycom_uv_button2 + _easycom_uv_form2)(); | |||||
| } | |||||
| const _easycom_uv_input = () => "../../uni_modules/uv-input/components/uv-input/uv-input.js"; | |||||
| const _easycom_uv_form_item = () => "../../uni_modules/uv-form/components/uv-form-item/uv-form-item.js"; | |||||
| const _easycom_uv_button = () => "../../uni_modules/uv-button/components/uv-button/uv-button.js"; | |||||
| const _easycom_uv_form = () => "../../uni_modules/uv-form/components/uv-form/uv-form.js"; | |||||
| if (!Math) { | |||||
| (_easycom_uv_input + _easycom_uv_form_item + _easycom_uv_button + _easycom_uv_form)(); | |||||
| } | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_vendor.o(($event) => $data.form.name = $event), | |||||
| b: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入姓名", | |||||
| customStyle: "border-radius: 30px;margin-top:5px;background-color: #ffffff;padding:5px 20px;", | |||||
| border: "none", | |||||
| modelValue: $data.form.name | |||||
| }), | |||||
| c: common_vendor.p({ | |||||
| label: "姓名", | |||||
| prop: "name" | |||||
| }), | |||||
| d: common_vendor.o(($event) => $data.form.idcard = $event), | |||||
| e: common_vendor.p({ | |||||
| type: "text", | |||||
| placeholder: "请输入身份证号码", | |||||
| customStyle: "border-radius: 30px;margin-top:5px;background-color: #ffffff;padding:5px 20px;", | |||||
| border: "none", | |||||
| modelValue: $data.form.idcard | |||||
| }), | |||||
| f: common_vendor.p({ | |||||
| label: "身份证号码", | |||||
| prop: "idcard" | |||||
| }), | |||||
| g: common_vendor.o(($event) => $data.form.phone = $event), | |||||
| h: common_vendor.p({ | |||||
| type: "number", | |||||
| placeholder: "请输入联系方式", | |||||
| customStyle: "border-radius: 30px;margin-top:5px;background-color: #ffffff;padding:5px 20px;", | |||||
| border: "none", | |||||
| modelValue: $data.form.phone | |||||
| }), | |||||
| i: common_vendor.p({ | |||||
| label: "联系方式", | |||||
| prop: "phone" | |||||
| }), | |||||
| j: common_assets._imports_0$6, | |||||
| k: common_assets._imports_0$6, | |||||
| l: common_vendor.o($options.submit), | |||||
| m: common_vendor.p({ | |||||
| type: "primary", | |||||
| text: "申请", | |||||
| customStyle: "margin-top: 10px;border-color: #FF9F39;background-color: #FF9F39;border-radius: 30px;" | |||||
| }), | |||||
| n: common_vendor.sr("form", "462b301a-0"), | |||||
| o: common_vendor.p({ | |||||
| labelPosition: "top", | |||||
| labelWidth: 200, | |||||
| model: $data.form, | |||||
| rules: $data.rules | |||||
| }) | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,9 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "实名认证", | |||||
| "usingComponents": { | |||||
| "uv-input": "../../uni_modules/uv-input/components/uv-input/uv-input", | |||||
| "uv-form-item": "../../uni_modules/uv-form/components/uv-form-item/uv-form-item", | |||||
| "uv-button": "../../uni_modules/uv-button/components/uv-button/uv-button", | |||||
| "uv-form": "../../uni_modules/uv-form/components/uv-form/uv-form" | |||||
| } | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-30"><uv-form wx:if="{{o}}" class="r" u-s="{{['d']}}" u-r="form" u-i="462b301a-0" bind:__l="__l" u-p="{{o}}"><uv-form-item wx:if="{{c}}" u-s="{{['d']}}" u-i="462b301a-1,462b301a-0" bind:__l="__l" u-p="{{c}}"><uv-input wx:if="{{b}}" u-i="462b301a-2,462b301a-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></uv-input></uv-form-item><uv-form-item wx:if="{{f}}" u-s="{{['d']}}" u-i="462b301a-3,462b301a-0" bind:__l="__l" u-p="{{f}}"><uv-input wx:if="{{e}}" u-i="462b301a-4,462b301a-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></uv-input></uv-form-item><uv-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="462b301a-5,462b301a-0" bind:__l="__l" u-p="{{i}}"><uv-input wx:if="{{h}}" u-i="462b301a-6,462b301a-5" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></uv-input></uv-form-item><uv-form-item u-s="{{['d']}}" u-i="462b301a-7,462b301a-0" bind:__l="__l"><view class="se-flex se-flex-v"><text class="se-c-black se-fw-6 se-fs-30">请上传身份证正反面照片</text><text class="se-fs-26 se-mt-10 se-c-text">信息仅用身份核实,上传后可增加曝光机会</text></view><view class="se-my-20 se-p-20 se-flex se-flex-h-sa se-br-10" style="background:#f9f1e9"><image class="se-w-350 se-h-240" src="{{j}}" mode=""></image><view class="se-br-10 se-py-10 se-px-20 se-c-white se-bgc-orange" style="background-color:#FF9F39"> 点击上传 </view></view><view class="se-c-text-sub se-ta-c se-fs-24"> (确保文字清晰、可辨、避免遮挡、不全、反光) </view><view class="se-my-20 se-p-20 se-flex se-flex-h-sa se-br-10" style="background:#f9f1e9"><image class="se-w-350 se-h-240" src="{{k}}" mode=""></image><view class="se-br-10 se-py-10 se-px-20 se-c-white se-bgc-orange" style="background-color:#FF9F39"> 点击上传 </view></view></uv-form-item><uv-form-item u-s="{{['d']}}" u-i="462b301a-8,462b301a-0" bind:__l="__l"><uv-button wx:if="{{m}}" bindclick="{{l}}" u-i="462b301a-9,462b301a-8" bind:__l="__l" u-p="{{m}}"></uv-button></uv-form-item></uv-form></view> | |||||
| @ -1,4 +0,0 @@ | |||||
| page{ | |||||
| background-color: #f5f5f5; | |||||
| } | |||||
| @ -1,13 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return {}; | |||||
| }, | |||||
| methods: {} | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return {}; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "发布", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-30"><navigator url="/pages_subpack/homeowner/index" class="se-flex se-mt-50 se-flex-ai-c se-flex-h-c se-bgc-active se-c-white se-fs-28 se-py-20 se-px-250 se-br-30" style="background-color:#1EC77A"> 我是房东 </navigator><navigator url="/pages_subpack/broker/index" class="se-flex se-mt-50 se-flex-ai-c se-flex-h-c se-bgc-active se-c-white se-fs-28 se-py-20 se-px-250 se-br-30" style="background-color:#1EC7B6"> 我是经纪人 </navigator></view> | |||||
| @ -1,21 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| type: "" | |||||
| }; | |||||
| }, | |||||
| onLoad(options) { | |||||
| this.type = options.type; | |||||
| } | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_assets._imports_0$5, | |||||
| b: `/pages_subpack/house/index?type=` + $data.type | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "登录成功", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-30"><view class="se-flex se-flex-v-c se-mt-120"><image class="se-a-130" src="{{a}}" mode=""></image><text class="se-fw-6 se-c-black se-mt-30">登录成功</text></view><view class="se-px-20 se-mt-100"><navigator url="{{b}}" class="se-flex se-mt-20 se-flex-ai-c se-flex-h-c se-c-white se-fs-28 se-py-20 se-px-250 se-br-30" style="background-color:#1EC77A"> 去发布 </navigator><navigator url="/pages/home/index" class="se-flex se-mt-40 se-flex-ai-c se-flex-h-c se-bgc-cancel se-b se-c-33 se-fs-28 se-py-20 se-px-250 se-br-30"> 退出登录 </navigator></view></view> | |||||
| @ -1,19 +0,0 @@ | |||||
| "use strict"; | |||||
| const common_assets = require("../../common/assets.js"); | |||||
| const common_vendor = require("../../common/vendor.js"); | |||||
| const _sfc_main = { | |||||
| data() { | |||||
| return { | |||||
| type: "" | |||||
| }; | |||||
| }, | |||||
| onLoad(options) { | |||||
| } | |||||
| }; | |||||
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | |||||
| return { | |||||
| a: common_assets._imports_0$7 | |||||
| }; | |||||
| } | |||||
| const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); | |||||
| wx.createPage(MiniProgramPage); | |||||
| @ -1,4 +0,0 @@ | |||||
| { | |||||
| "navigationBarTitleText": "申请成功", | |||||
| "usingComponents": {} | |||||
| } | |||||
| @ -1 +0,0 @@ | |||||
| <view class="se-p-30"><view class="se-flex se-flex-v-c se-mt-120"><image class="se-a-130" src="{{a}}" mode=""></image><text class="se-fw-6 se-c-black se-mt-30">申请成功</text></view><view class="se-px-20 se-mt-100"><navigator open-type="reLaunch" url="/pages/home/index" class="se-flex se-mt-40 se-flex-ai-c se-flex-h-c se-bgc-orange se-b se-c-white se-fs-28 se-py-20 se-px-250 se-br-30"> 返回 </navigator></view></view> | |||||
| @ -1,46 +0,0 @@ | |||||
| { | |||||
| "description": "项目配置文件。", | |||||
| "packOptions": { | |||||
| "ignore": [], | |||||
| "include": [] | |||||
| }, | |||||
| "setting": { | |||||
| "urlCheck": false, | |||||
| "es6": true, | |||||
| "postcss": true, | |||||
| "minified": true, | |||||
| "newFeature": true, | |||||
| "bigPackageSizeSupport": true, | |||||
| "babelSetting": { | |||||
| "ignore": [], | |||||
| "disablePlugins": [], | |||||
| "outputPath": "" | |||||
| } | |||||
| }, | |||||
| "compileType": "miniprogram", | |||||
| "libVersion": "3.6.5", | |||||
| "appid": "wxecec2f505129f162", | |||||
| "projectname": "tenancy-wechat-uniapp", | |||||
| "condition": { | |||||
| "search": { | |||||
| "current": -1, | |||||
| "list": [] | |||||
| }, | |||||
| "conversation": { | |||||
| "current": -1, | |||||
| "list": [] | |||||
| }, | |||||
| "game": { | |||||
| "current": -1, | |||||
| "list": [] | |||||
| }, | |||||
| "miniprogram": { | |||||
| "current": -1, | |||||
| "list": [] | |||||
| } | |||||
| }, | |||||
| "editorSetting": { | |||||
| "tabIndent": "insertSpaces", | |||||
| "tabSize": 2 | |||||
| } | |||||
| } | |||||
| @ -1,170 +0,0 @@ | |||||
| { | |||||
| "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | |||||
| "condition": { | |||||
| "miniprogram": { | |||||
| "list": [ | |||||
| { | |||||
| "name": "pages/user/index", | |||||
| "pathName": "pages/user/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/broker-apply/index", | |||||
| "pathName": "pages_subpack/broker-apply/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/discover/index", | |||||
| "pathName": "pages/discover/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/auth/index", | |||||
| "pathName": "pages/auth/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/successful/index", | |||||
| "pathName": "pages_subpack/successful/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/realname/index", | |||||
| "pathName": "pages_subpack/realname/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/apply/index", | |||||
| "pathName": "pages/apply/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/message/index", | |||||
| "pathName": "pages/message/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/discover/index", | |||||
| "pathName": "pages/discover/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/house/index", | |||||
| "pathName": "pages_subpack/house/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/success/index", | |||||
| "pathName": "pages_subpack/success/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/homeowner/index", | |||||
| "pathName": "pages_subpack/homeowner/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/broker/index", | |||||
| "pathName": "pages_subpack/broker/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/release/index", | |||||
| "pathName": "pages_subpack/release/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/discover/index", | |||||
| "pathName": "pages_subpack/discover/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/home/index", | |||||
| "pathName": "pages/home/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/detail/index", | |||||
| "pathName": "pages_subpack/detail/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/category/index", | |||||
| "pathName": "pages_subpack/category/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/detail/index", | |||||
| "pathName": "pages_subpack/detail/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages_subpack/category/index", | |||||
| "pathName": "pages_subpack/category/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/user/index", | |||||
| "pathName": "pages/user/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/login/index", | |||||
| "pathName": "pages/login/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| }, | |||||
| { | |||||
| "name": "pages/auth/index", | |||||
| "pathName": "pages/auth/index", | |||||
| "query": "", | |||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| } | |||||
| ] | |||||
| } | |||||
| } | |||||
| } | |||||