diff --git a/api/invite.ts b/api/invite.ts new file mode 100644 index 0000000..fa7156a --- /dev/null +++ b/api/invite.ts @@ -0,0 +1,5 @@ +import { get, post, put, del } from '../utils/request'; + +export const inviteCode = (data : any = {}) => get('v1/invite.code', data); + +export const inviteList = (data : any = {}) => get('v1/invite.list', data); \ No newline at end of file diff --git a/components/PermissionSettings.vue b/components/PermissionSettings.vue new file mode 100644 index 0000000..ca7cb87 --- /dev/null +++ b/components/PermissionSettings.vue @@ -0,0 +1,292 @@ + + + + + \ No newline at end of file diff --git a/pagesA/invite/SharePoster.vue b/components/SharePoster.vue similarity index 57% rename from pagesA/invite/SharePoster.vue rename to components/SharePoster.vue index 1283ee1..13e2f7d 100644 --- a/pagesA/invite/SharePoster.vue +++ b/components/SharePoster.vue @@ -1,51 +1,41 @@ \ No newline at end of file diff --git a/pagesA/my_order/list.vue b/pagesA/my_order/list.vue index 61494d2..f8bac8c 100644 --- a/pagesA/my_order/list.vue +++ b/pagesA/my_order/list.vue @@ -49,7 +49,7 @@ {{getStatusText(item.status)}} - + @@ -65,12 +65,12 @@ 量房 - + 小区名称 {{item.order.village_name}} - + @@ -83,7 +83,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -115,14 +115,18 @@ } = useNavigation() - onLoad(() => { + onLoad((options) => { checkRouteStack() + if (options.type) { + activeTab.value = Number(options.type) + handleStatusChange(Number(options.status)) + } }) onShow(() => { - query.value.page = 1 - taskList.value = [] - poolList() + // query.value.page = 1 + // taskList.value = [] + // poolList() }) onPullDownRefresh(() => { @@ -300,10 +304,8 @@ } const handleStatusChange = (id) => { - query.value.page = 1 query.value.status = id - taskList.value = [] - poolList() + tabChange() } @@ -393,12 +395,12 @@ box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.04); position: relative; overflow: hidden; - + &:active { transform: scale(0.99); transition: transform 0.2s; } - + /* 工单头部 */ .order-header { display: flex; @@ -407,30 +409,30 @@ margin-bottom: 20rpx; padding-bottom: 20rpx; border-bottom: 1px solid rgba(0, 0, 0, 0.05); - + .order-id { display: flex; align-items: center; - + .id-icon { font-size: 32rpx; color: #999; margin-right: 10rpx; } - + .id-text { font-size: 28rpx; color: #666; font-weight: 500; } - + .copy-icon { font-size: 28rpx; color: #009aff; margin-left: 16rpx; } } - + .order-status { font-size: 22rpx; padding: 4rpx 18rpx; @@ -438,22 +440,22 @@ font-weight: 500; } } - + /* 工单内容 */ .order-content { padding: 10rpx 0 16rpx; - + .info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; - + .row-label { font-size: 26rpx; color: #999; } - + .row-value { font-size: 26rpx; color: #333; @@ -463,7 +465,7 @@ text-overflow: ellipsis; white-space: nowrap; } - + .type-tag { display: flex; align-items: center; @@ -473,60 +475,60 @@ font-weight: 500; color: #009aff; background-color: rgba(0, 154, 255, 0.08); - + &.type-F2 { color: #ff9d00; background-color: rgba(255, 157, 0, 0.08); } - + &.type-F6 { color: #00b42a; background-color: rgba(0, 180, 42, 0.08); } - + &.type-F4 { color: #643bed; background-color: rgba(100, 59, 237, 0.08); } - + .tag-icon { margin-right: 6rpx; } } } - + .contact-info { padding: 16rpx 20rpx; background-color: rgba(0, 154, 255, 0.03); border-radius: 12rpx; - + .contact-row { display: flex; align-items: center; margin-bottom: 12rpx; - + &:last-child { margin-bottom: 0; } - + .contact-icon { font-size: 28rpx; color: #009aff; margin-right: 10rpx; } - + .contact-label { font-size: 26rpx; color: #999; margin-right: 10rpx; } - + .contact-name { font-size: 26rpx; color: #333; font-weight: 500; } - + .contact-phone { font-size: 26rpx; color: #009aff; @@ -535,7 +537,7 @@ } } } - + /* 工单底部 */ .order-footer { display: flex; @@ -543,23 +545,23 @@ align-items: center; border-top: 1px dashed rgba(0, 0, 0, 0.05); padding-top: 16rpx; - + .time-info { display: flex; align-items: center; - + .time-icon { font-size: 24rpx; color: #999; margin-right: 6rpx; } - + .time-text { font-size: 24rpx; color: #999; } } - + .detail-btn { padding: 8rpx 30rpx; background: linear-gradient(to right, #7bbfff, #009aff); diff --git a/pagesB/agreement/index.vue b/pagesB/agreement/index.vue new file mode 100644 index 0000000..2ff42ca --- /dev/null +++ b/pagesB/agreement/index.vue @@ -0,0 +1,162 @@ + + + + + \ No newline at end of file diff --git a/pagesB/permissions/addStaff.vue b/pagesB/permissions/addStaff.vue new file mode 100644 index 0000000..b980fea --- /dev/null +++ b/pagesB/permissions/addStaff.vue @@ -0,0 +1,408 @@ + + + + + \ No newline at end of file diff --git a/pagesB/permissions/staffList.vue b/pagesB/permissions/staffList.vue new file mode 100644 index 0000000..cfbc133 --- /dev/null +++ b/pagesB/permissions/staffList.vue @@ -0,0 +1,944 @@ + + + + + \ No newline at end of file diff --git a/pagesB/permissions/villageList.vue b/pagesB/permissions/villageList.vue new file mode 100644 index 0000000..e1d54d8 --- /dev/null +++ b/pagesB/permissions/villageList.vue @@ -0,0 +1,596 @@ + + + + + \ No newline at end of file diff --git a/pagesB/setting/editInfo.vue b/pagesB/setting/editInfo.vue new file mode 100644 index 0000000..fbcef1a --- /dev/null +++ b/pagesB/setting/editInfo.vue @@ -0,0 +1,511 @@ + + + + + \ No newline at end of file diff --git a/pagesB/setting/index.vue b/pagesB/setting/index.vue new file mode 100644 index 0000000..e00ae4a --- /dev/null +++ b/pagesB/setting/index.vue @@ -0,0 +1,489 @@ + + + + + \ No newline at end of file diff --git a/uni_modules/wot-design-uni/components/wd-popup/index.scss b/uni_modules/wot-design-uni/components/wd-popup/index.scss index e23439c..82efef8 100644 --- a/uni_modules/wot-design-uni/components/wd-popup/index.scss +++ b/uni_modules/wot-design-uni/components/wd-popup/index.scss @@ -20,7 +20,7 @@ .wd-popup { position: fixed; max-height: 100%; - overflow-y: auto; + // overflow-y: auto; background: #fff; } } diff --git a/unocss/a-hua-unocss/index.scss b/unocss/a-hua-unocss/index.scss index 92a2fb5..8a9d76f 100644 --- a/unocss/a-hua-unocss/index.scss +++ b/unocss/a-hua-unocss/index.scss @@ -1,18 +1,19 @@ .li-mt-25{margin-top:25rpx} +.li-pt-6{padding-top:6rpx} +.li-px-15{padding-left:15rpx;padding-right:15rpx} + .bg-0070F0{background-color:rgb(0,112,240)} .li-my-10{margin-top:10rpx;margin-bottom:10rpx} .li-p-20{padding:20rpx} .li-px-20{padding-left:20rpx;padding-right:20rpx} .li-py-10{padding-top:10rpx;padding-bottom:10rpx} +.li-py-60{padding-top:60rpx;padding-bottom:60rpx} .li-rd-8{border-radius:8rpx} .li-text-dddddd-color{color:rgb(221,221,221)} .li-text-ff9900-color{color:rgb(255,153,0)} -.li-pt-6{padding-top:6rpx} -.li-px-15{padding-left:15rpx;padding-right:15rpx} - .li-opacity-80{undefined:0.8} .li-pb-40{padding-bottom:40rpx} .li-py-100{padding-top:100rpx;padding-bottom:100rpx} @@ -30,3 +31,11 @@ + + + + + + + + diff --git a/utils/request.ts b/utils/request.ts index 7803200..ce8fa2b 100644 --- a/utils/request.ts +++ b/utils/request.ts @@ -40,7 +40,7 @@ export const request = (endpoint : string, options : RequestOptions = {}) => { if (response.statusCode >= 200 && response.statusCode < 300) { if (response.data.code == 500) { uni.$store.commit("logout") - reject(response.data) + reject(response.data); return; } resolve(response.data);