fix:更新
This commit is contained in:
parent
4bd816a608
commit
97d24d2a5a
4
dist/dev/mp-weixin/INDEX/me/method.js
vendored
4
dist/dev/mp-weixin/INDEX/me/method.js
vendored
@ -43,9 +43,11 @@ const method = {
|
||||
},
|
||||
handleLogout() {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Login.Auth.Logout, {}).then((res) => {
|
||||
var _a;
|
||||
auth.data = {
|
||||
user: void 0,
|
||||
selected_house: void 0
|
||||
selected_house: void 0,
|
||||
config: ((_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.config) || {}
|
||||
};
|
||||
common_libraries_naviHelper.showToastBack("退出成功!", 1, true);
|
||||
console.log(res);
|
||||
|
||||
27
dist/dev/mp-weixin/ME/work_order_home/index.js
vendored
27
dist/dev/mp-weixin/ME/work_order_home/index.js
vendored
@ -1,14 +1,16 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_hs_popup2 = common_vendor.resolveComponent("hs-popup");
|
||||
(_easycom_uni_icons2 + _easycom_hs_popup2)();
|
||||
(_easycom_hs_button2 + _easycom_uni_icons2 + _easycom_hs_popup2)();
|
||||
}
|
||||
const _easycom_hs_button = () => "../../components/hs-button/hs-button.js";
|
||||
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_hs_popup = () => "../../components/hs-popup/hs-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_icons + _easycom_hs_popup)();
|
||||
(_easycom_hs_button + _easycom_uni_icons + _easycom_hs_popup)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
@ -76,37 +78,42 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleSubmissionRecord),
|
||||
b: common_vendor.f(list, (i, index, i0) => {
|
||||
b: common_vendor.p({
|
||||
size: "md",
|
||||
type: "primary",
|
||||
label: "我的提报记录"
|
||||
}),
|
||||
c: common_vendor.f(list, (i, index, i0) => {
|
||||
return {
|
||||
a: i.icon,
|
||||
b: common_vendor.t(i.label),
|
||||
c: common_vendor.t(i.des),
|
||||
d: "af3492ce-0-" + i0,
|
||||
d: "af3492ce-1-" + i0,
|
||||
e: `item_${index}`,
|
||||
f: common_vendor.o(($event) => handleToPage(i), `item_${index}`)
|
||||
};
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
d: common_vendor.p({
|
||||
type: "right",
|
||||
color: "#999",
|
||||
size: "16"
|
||||
}),
|
||||
d: common_vendor.f(typeList, (i, index, i0) => {
|
||||
e: common_vendor.f(typeList, (i, index, i0) => {
|
||||
return {
|
||||
a: i.icon,
|
||||
b: common_vendor.t(i.label),
|
||||
c: "af3492ce-2-" + i0 + ",af3492ce-1",
|
||||
c: "af3492ce-3-" + i0 + ",af3492ce-2",
|
||||
d: `item_${index}`,
|
||||
e: common_vendor.o(($event) => handleSelectType(i), `item_${index}`)
|
||||
};
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
f: common_vendor.p({
|
||||
type: "right",
|
||||
color: "#999",
|
||||
size: "16"
|
||||
}),
|
||||
f: common_vendor.o(handleClose),
|
||||
g: common_vendor.p({
|
||||
g: common_vendor.o(handleClose),
|
||||
h: common_vendor.p({
|
||||
show: showPopup.value,
|
||||
mode: "bottom",
|
||||
closeable: true,
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "工单提报",
|
||||
"usingComponents": {
|
||||
"hs-button": "../../components/hs-button/hs-button",
|
||||
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-popup": "../../components/hs-popup/hs-popup"
|
||||
}
|
||||
|
||||
@ -1 +1 @@
|
||||
<view><view class="work_order_header"><view class="work_order_header_left"><view class="work_label"> 工单提报中心 </view><view class="work_btn" bindtap="{{a}}"><text> 我的提报记录 </text></view></view><view class="work_order_header_right"><image class="" src="https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84SMTFV295N6Z0QXRKBHNNN.png" mode="heightFix"/></view></view><view class="work_order_item_content"><view wx:for="{{b}}" wx:for-item="i" wx:key="e" class="work_order_item" bindtap="{{i.f}}"><view class="icon"><image src="{{i.a}}" mode="heightFix"/></view><view class="info"><view class="label">{{i.b}}</view><view class="des">{{i.c}}</view></view><view><uni-icons wx:if="{{c}}" u-i="{{i.d}}" bind:__l="__l" u-p="{{c}}"></uni-icons></view></view></view><view class="work_order_footer"> 点击联系<button open-type="contact"><text>在线客服</text></button>及时沟通 </view><hs-popup wx:if="{{g}}" u-s="{{['d']}}" bindclose="{{f}}" u-i="af3492ce-1" bind:__l="__l" u-p="{{g}}"><view class="report_repair_popup"><view class="title"> 选择报修区域 </view><view class="report_repair_body"><view wx:for="{{d}}" wx:for-item="i" wx:key="d" class="report_repair_item" bindtap="{{i.e}}"><view class="icon"><image src="{{i.a}}" mode="heightFix"/></view><view class="des">{{i.b}}</view><uni-icons wx:if="{{e}}" u-i="{{i.c}}" bind:__l="__l" u-p="{{e}}"></uni-icons></view></view></view></hs-popup></view>
|
||||
<view><view class="work_order_header"><view class="work_order_header_left"><view class="work_label"> 工单提报中心 </view><view class="work_btn"><hs-button wx:if="{{b}}" bindclick="{{a}}" u-i="af3492ce-0" bind:__l="__l" u-p="{{b}}"/></view></view><view class="work_order_header_right"><image class="" src="https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84SMTFV295N6Z0QXRKBHNNN.png" mode="heightFix"/></view></view><view class="work_order_item_content"><view wx:for="{{c}}" wx:for-item="i" wx:key="e" class="work_order_item" bindtap="{{i.f}}"><view class="icon"><image src="{{i.a}}" mode="heightFix"/></view><view class="info"><view class="label">{{i.b}}</view><view class="des">{{i.c}}</view></view><view><uni-icons wx:if="{{d}}" u-i="{{i.d}}" bind:__l="__l" u-p="{{d}}"></uni-icons></view></view></view><view class="work_order_footer"> 点击联系<button open-type="contact"><text>在线客服</text></button>及时沟通 </view><hs-popup wx:if="{{h}}" u-s="{{['d']}}" bindclose="{{g}}" u-i="af3492ce-2" bind:__l="__l" u-p="{{h}}"><view class="report_repair_popup"><view class="title"> 选择报修区域 </view><view class="report_repair_body"><view wx:for="{{e}}" wx:for-item="i" wx:key="d" class="report_repair_item" bindtap="{{i.e}}"><view class="icon"><image src="{{i.a}}" mode="heightFix"/></view><view class="des">{{i.b}}</view><uni-icons wx:if="{{f}}" u-i="{{i.c}}" bind:__l="__l" u-p="{{f}}"></uni-icons></view></view></view></hs-popup></view>
|
||||
@ -17,15 +17,8 @@ page {
|
||||
color: #333;
|
||||
}
|
||||
.work_order_header_left .work_btn {
|
||||
color: #fff;
|
||||
padding-top: 40rpx;
|
||||
}
|
||||
.work_order_header_left .work_btn text {
|
||||
background-color: #1677ff;
|
||||
font-size: 30rpx;
|
||||
padding: 18rpx 25rpx;
|
||||
border-radius: 100rpx;
|
||||
}
|
||||
.work_order_header_right {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
37
dist/dev/mp-weixin/common/libraries/getPageConfig.js
vendored
Normal file
37
dist/dev/mp-weixin/common/libraries/getPageConfig.js
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js");
|
||||
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
|
||||
function getStyleBgInfo() {
|
||||
var _a, _b, _c;
|
||||
let style = (_c = (_b = (_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.config) == null ? void 0 : _b.companyConfig) == null ? void 0 : _c.config_value;
|
||||
let color = style == null ? void 0 : style.color;
|
||||
return {
|
||||
backgroundColor: color || "#0082fa",
|
||||
color: "#fff"
|
||||
};
|
||||
}
|
||||
function getStyleColorInfo() {
|
||||
var _a, _b, _c;
|
||||
let style = (_c = (_b = (_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.config) == null ? void 0 : _b.companyConfig) == null ? void 0 : _c.config_value;
|
||||
let color = style == null ? void 0 : style.color;
|
||||
return {
|
||||
color: color || "#0082fa"
|
||||
};
|
||||
}
|
||||
function getStyleColorValueInfo() {
|
||||
var _a, _b, _c;
|
||||
let style = (_c = (_b = (_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.config) == null ? void 0 : _b.companyConfig) == null ? void 0 : _c.config_value;
|
||||
let color = style == null ? void 0 : style.color;
|
||||
return color || "#0082fa";
|
||||
}
|
||||
function getStyleBgGradientInfo() {
|
||||
var _a, _b, _c;
|
||||
let style = (_c = (_b = (_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.config) == null ? void 0 : _b.companyConfig) == null ? void 0 : _c.config_value;
|
||||
return {
|
||||
background: style == null ? void 0 : style.pageColor
|
||||
};
|
||||
}
|
||||
exports.getStyleBgGradientInfo = getStyleBgGradientInfo;
|
||||
exports.getStyleBgInfo = getStyleBgInfo;
|
||||
exports.getStyleColorInfo = getStyleColorInfo;
|
||||
exports.getStyleColorValueInfo = getStyleColorValueInfo;
|
||||
@ -55,9 +55,10 @@ const useWeAppAuthStore = common_vendor.defineStore("we_app_auth", () => {
|
||||
};
|
||||
function me(fun) {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Login.Auth.Me, {}).then((res) => {
|
||||
var _a;
|
||||
var _a, _b;
|
||||
data.value.user = res.data.user;
|
||||
data.value.selected_house = (_a = res.data) == null ? void 0 : _a.selected_house;
|
||||
data.value.config = (_a = res.data) == null ? void 0 : _a.config;
|
||||
data.value.selected_house = (_b = res.data) == null ? void 0 : _b.selected_house;
|
||||
console.log("me", res.data);
|
||||
loading.value = false;
|
||||
hasError.value = false;
|
||||
|
||||
208
dist/dev/mp-weixin/common/vendor.js
vendored
208
dist/dev/mp-weixin/common/vendor.js
vendored
@ -13050,7 +13050,7 @@ Lexer.prototype.endTag = function() {
|
||||
this.i++;
|
||||
}
|
||||
};
|
||||
const props$k = defineMixin({
|
||||
const props$i = defineMixin({
|
||||
props: {
|
||||
// 键盘的类型,number-数字键盘,card-身份证键盘,car-车牌号键盘
|
||||
mode: {
|
||||
@ -13348,7 +13348,7 @@ const icons = {
|
||||
"uicon-zh": "",
|
||||
"uicon-en": ""
|
||||
};
|
||||
const props$j = defineMixin({
|
||||
const props$h = defineMixin({
|
||||
props: {
|
||||
// 图标类名
|
||||
name: {
|
||||
@ -13437,7 +13437,7 @@ const props$j = defineMixin({
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$i = defineMixin({
|
||||
const props$g = defineMixin({
|
||||
props: {
|
||||
// 头像图片路径(不能为相对路径)
|
||||
src: {
|
||||
@ -13515,7 +13515,7 @@ const props$i = defineMixin({
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$h = defineMixin({
|
||||
const props$f = defineMixin({
|
||||
props: {
|
||||
// 是否虚线
|
||||
dashed: {
|
||||
@ -13559,7 +13559,7 @@ const props$h = defineMixin({
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$g = defineMixin({
|
||||
const props$e = defineMixin({
|
||||
props: {
|
||||
// 标题
|
||||
title: {
|
||||
@ -13588,7 +13588,7 @@ const props$g = defineMixin({
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$f = defineMixin({
|
||||
const props$d = defineMixin({
|
||||
props: {
|
||||
// 排列方向
|
||||
direction: {
|
||||
@ -13627,7 +13627,7 @@ const props$f = defineMixin({
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$e = defineMixin({
|
||||
const props$c = defineMixin({
|
||||
props: {
|
||||
// 是否显示组件
|
||||
show: {
|
||||
@ -13686,159 +13686,6 @@ const props$e = defineMixin({
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$d = defineMixin({
|
||||
props: {
|
||||
// checkbox的名称
|
||||
name: {
|
||||
type: [String, Number, Boolean],
|
||||
default: () => defProps.checkbox.name
|
||||
},
|
||||
// 形状,square为方形,circle为圆型
|
||||
shape: {
|
||||
type: String,
|
||||
default: () => defProps.checkbox.shape
|
||||
},
|
||||
// 整体的大小
|
||||
size: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkbox.size
|
||||
},
|
||||
// 是否默认选中
|
||||
checked: {
|
||||
type: Boolean,
|
||||
default: () => defProps.checkbox.checked
|
||||
},
|
||||
// 是否禁用
|
||||
disabled: {
|
||||
type: [String, Boolean],
|
||||
default: () => defProps.checkbox.disabled
|
||||
},
|
||||
// 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkbox.activeColor
|
||||
},
|
||||
// 未选中的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkbox.inactiveColor
|
||||
},
|
||||
// 图标的大小,单位px
|
||||
iconSize: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkbox.iconSize
|
||||
},
|
||||
// 图标颜色
|
||||
iconColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkbox.iconColor
|
||||
},
|
||||
// label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
|
||||
label: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkbox.label
|
||||
},
|
||||
// label的字体大小,px单位
|
||||
labelSize: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkbox.labelSize
|
||||
},
|
||||
// label的颜色
|
||||
labelColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkbox.labelColor
|
||||
},
|
||||
// 是否禁止点击提示语选中复选框
|
||||
labelDisabled: {
|
||||
type: [String, Boolean],
|
||||
default: () => defProps.checkbox.labelDisabled
|
||||
},
|
||||
// 是否独立使用
|
||||
usedAlone: {
|
||||
type: [Boolean],
|
||||
default: () => false
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$c = defineMixin({
|
||||
props: {
|
||||
// 标识符
|
||||
name: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.name
|
||||
},
|
||||
// 绑定的值
|
||||
modelValue: {
|
||||
type: Array,
|
||||
default: () => defProps.checkboxGroup.value
|
||||
},
|
||||
// 形状,circle-圆形,square-方形
|
||||
shape: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.shape
|
||||
},
|
||||
// 是否禁用全部checkbox
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: () => defProps.checkboxGroup.disabled
|
||||
},
|
||||
// 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.activeColor
|
||||
},
|
||||
// 未选中的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.inactiveColor
|
||||
},
|
||||
// 整个组件的尺寸,默认px
|
||||
size: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkboxGroup.size
|
||||
},
|
||||
// 布局方式,row-横向,column-纵向
|
||||
placement: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.placement
|
||||
},
|
||||
// label的字体大小,px单位
|
||||
labelSize: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkboxGroup.labelSize
|
||||
},
|
||||
// label的字体颜色
|
||||
labelColor: {
|
||||
type: [String],
|
||||
default: () => defProps.checkboxGroup.labelColor
|
||||
},
|
||||
// 是否禁止点击文本操作
|
||||
labelDisabled: {
|
||||
type: Boolean,
|
||||
default: () => defProps.checkboxGroup.labelDisabled
|
||||
},
|
||||
// 图标颜色
|
||||
iconColor: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.iconColor
|
||||
},
|
||||
// 图标的大小,单位px
|
||||
iconSize: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.checkboxGroup.iconSize
|
||||
},
|
||||
// 勾选图标的对齐方式,left-左边,right-右边
|
||||
iconPlacement: {
|
||||
type: String,
|
||||
default: () => defProps.checkboxGroup.iconPlacement
|
||||
},
|
||||
// 竖向配列时,是否显示下划线
|
||||
borderBottom: {
|
||||
type: Boolean,
|
||||
default: () => defProps.checkboxGroup.borderBottom
|
||||
}
|
||||
}
|
||||
});
|
||||
const props$b = defineMixin({
|
||||
props: {
|
||||
// 键盘的类型,number-数字键盘,card-身份证键盘
|
||||
@ -14528,7 +14375,6 @@ exports.defineStore = defineStore;
|
||||
exports.e = e;
|
||||
exports.error = error;
|
||||
exports.f = f;
|
||||
exports.formValidate = formValidate;
|
||||
exports.getCurrentInstance = getCurrentInstance;
|
||||
exports.getPx = getPx;
|
||||
exports.getWindowInfo = getWindowInfo;
|
||||
@ -14551,27 +14397,25 @@ exports.onShow = onShow;
|
||||
exports.onUnload = onUnload;
|
||||
exports.openType = openType;
|
||||
exports.p = p;
|
||||
exports.props = props$k;
|
||||
exports.props$1 = props$j;
|
||||
exports.props$10 = props$a;
|
||||
exports.props$11 = props$9;
|
||||
exports.props$12 = props$8;
|
||||
exports.props$13 = props$7;
|
||||
exports.props$14 = props$6;
|
||||
exports.props$15 = props$5;
|
||||
exports.props$16 = props$4;
|
||||
exports.props$17 = props$3;
|
||||
exports.props$18 = props$2;
|
||||
exports.props$19 = props$1;
|
||||
exports.props$2 = props$i;
|
||||
exports.props$20 = props;
|
||||
exports.props$3 = props$h;
|
||||
exports.props$4 = props$g;
|
||||
exports.props$5 = props$f;
|
||||
exports.props$6 = props$e;
|
||||
exports.props$7 = props$d;
|
||||
exports.props$8 = props$c;
|
||||
exports.props$9 = props$b;
|
||||
exports.props = props$i;
|
||||
exports.props$1 = props$h;
|
||||
exports.props$10 = props$8;
|
||||
exports.props$11 = props$7;
|
||||
exports.props$12 = props$6;
|
||||
exports.props$13 = props$5;
|
||||
exports.props$14 = props$4;
|
||||
exports.props$15 = props$3;
|
||||
exports.props$16 = props$2;
|
||||
exports.props$17 = props$1;
|
||||
exports.props$18 = props;
|
||||
exports.props$2 = props$g;
|
||||
exports.props$3 = props$f;
|
||||
exports.props$4 = props$e;
|
||||
exports.props$5 = props$d;
|
||||
exports.props$6 = props$c;
|
||||
exports.props$7 = props$b;
|
||||
exports.props$8 = props$a;
|
||||
exports.props$9 = props$9;
|
||||
exports.r = r;
|
||||
exports.random = random;
|
||||
exports.randomArray = randomArray;
|
||||
|
||||
20
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.js
vendored
Normal file
20
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.js
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_libraries_getPageConfig = require("../../common/libraries/getPageConfig.js");
|
||||
require("../../common/store/useWeAppAuthStore.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/request.js");
|
||||
require("../../common/store/useWorkStore.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "hs-all-page-bg",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgGradientInfo)())
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5d820a60"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/components/hs-all-page-bg/hs-all-page-bg.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
4
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.json
vendored
Normal file
4
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.wxml
vendored
Normal file
1
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="home_page_bg data-v-5d820a60" style="{{a}}"></view>
|
||||
12
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.wxss
vendored
Normal file
12
dist/dev/mp-weixin/components/hs-all-page-bg/hs-all-page-bg.wxss
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
.home_page_bg.data-v-5d820a60 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 37%;
|
||||
z-index: 0;
|
||||
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%),
|
||||
linear-gradient(146deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 100rpx),
|
||||
linear-gradient(194deg, #dffff3 0%, #f7f7f7 200rpx);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
@ -1,5 +1,11 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../common/libraries/request.js");
|
||||
const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthStore.js");
|
||||
require("../../common/store/useWorkStore.js");
|
||||
const common_libraries_getPageConfig = require("../../common/libraries/getPageConfig.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
if (!Array) {
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_up_loading_icon2 = common_vendor.resolveComponent("up-loading-icon");
|
||||
@ -27,6 +33,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
emits: ["click", "onGetPhoneNumber"],
|
||||
setup(__props, { emit }) {
|
||||
const props = __props;
|
||||
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
|
||||
const handleClick = () => {
|
||||
emit("click");
|
||||
};
|
||||
@ -36,6 +43,16 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
emit("onGetPhoneNumber", e);
|
||||
}
|
||||
};
|
||||
const getStyleInfo = () => {
|
||||
var _a, _b, _c, _d;
|
||||
let style = (_c = (_b = (_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.config) == null ? void 0 : _b.companyConfig) == null ? void 0 : _c.config_value;
|
||||
(_d = style == null ? void 0 : style.color) == null ? void 0 : _d.metaColor;
|
||||
return {
|
||||
...props.buttonStyle,
|
||||
...common_libraries_getPageConfig.getStyleBgInfo(),
|
||||
color: "#fff"
|
||||
};
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: props == null ? void 0 : props.icon
|
||||
@ -55,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
} : {}, {
|
||||
e: common_vendor.t((props == null ? void 0 : props.loading_label) || (props == null ? void 0 : props.label) || "我是按钮"),
|
||||
f: common_vendor.n((props == null ? void 0 : props.loading) || (props == null ? void 0 : props.icon) ? "btn_text" : ""),
|
||||
g: common_vendor.s(props.buttonStyle),
|
||||
g: common_vendor.s(getStyleInfo()),
|
||||
h: (props == null ? void 0 : props.openType) || "",
|
||||
i: common_vendor.n(`nchl_button ${props == null ? void 0 : props.type}_button ${(props == null ? void 0 : props.size) || "sm"}_size`),
|
||||
j: common_vendor.o(handleClick),
|
||||
|
||||
@ -1 +1 @@
|
||||
<up-popup wx:if="{{c}}" class="data-v-3deba21b" u-s="{{['d']}}" bindclose="{{b}}" u-i="3deba21b-0" bind:__l="__l" u-p="{{c}}"><view class="bind_house_popup data-v-3deba21b"><view class="bind_house_popup_content data-v-3deba21b"><image src="/static/svg/news_icon.svg" class="news_icon_absolute data-v-3deba21b" mode="heightFix"/><view class="bind_title data-v-3deba21b">{{a}}</view><slot></slot></view><slot name="footer"></slot></view></up-popup>
|
||||
<up-popup wx:if="{{c}}" class="data-v-3deba21b" u-s="{{['d']}}" bindclose="{{b}}" u-i="3deba21b-0" bind:__l="__l" u-p="{{c}}"><view class="bind_house_popup data-v-3deba21b"><view class="bind_house_popup_content data-v-3deba21b"><view class="bind_title data-v-3deba21b">{{a}}</view><slot></slot></view><slot name="footer"></slot></view></up-popup>
|
||||
@ -2,7 +2,7 @@
|
||||
padding-bottom: calc(env(safe-area-inset-bottom) + 48px) !important;
|
||||
}
|
||||
.bind_house_popup_content.data-v-3deba21b {
|
||||
background: linear-gradient(180deg, #d9e7ff 0%, #fdfeff 26%, #ffffff 47%);
|
||||
background-color: #fff;
|
||||
width: 618rpx;
|
||||
padding: 0 0 20rpx 0;
|
||||
border-radius: 40rpx;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_libraries_getPageConfig = require("../../common/libraries/getPageConfig.js");
|
||||
const common_libraries_userUserLogin = require("../../common/libraries/userUserLogin.js");
|
||||
const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js");
|
||||
const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js");
|
||||
@ -94,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
f: common_vendor.p({
|
||||
type: "checkbox-filled",
|
||||
size: "20",
|
||||
color: "#2A7EFB"
|
||||
color: common_vendor.unref(common_libraries_getPageConfig.getStyleColorValueInfo)()
|
||||
})
|
||||
} : {
|
||||
g: "22fbb487-3-" + i0 + ",22fbb487-0",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
.popup_content.data-v-22fbb487 {
|
||||
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 56%), linear-gradient(159deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 35%), linear-gradient(193deg, #dffff3 -4%, #f7f7f7 37%);
|
||||
background-color: #f8f8f8;
|
||||
min-height: 500rpx;
|
||||
padding-bottom: 30rpx;
|
||||
border-top-left-radius: 30rpx;
|
||||
|
||||
@ -1,15 +1,11 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_checkbox2 = common_vendor.resolveComponent("u-checkbox");
|
||||
const _easycom_u_checkbox_group2 = common_vendor.resolveComponent("u-checkbox-group");
|
||||
(_easycom_u_checkbox2 + _easycom_u_checkbox_group2)();
|
||||
}
|
||||
const _easycom_u_checkbox = () => "../../node-modules/uview-plus/components/u-checkbox/u-checkbox.js";
|
||||
const _easycom_u_checkbox_group = () => "../../node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_checkbox + _easycom_u_checkbox_group)();
|
||||
}
|
||||
const common_libraries_getPageConfig = require("../../common/libraries/getPageConfig.js");
|
||||
require("../../common/store/useWeAppAuthStore.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/request.js");
|
||||
require("../../common/store/useWorkStore.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "hs-private-policy",
|
||||
props: {
|
||||
@ -34,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
setup(__props, { emit }) {
|
||||
const props = __props;
|
||||
const isAgree = common_vendor.ref([]);
|
||||
const checked = common_vendor.ref(false);
|
||||
if (props.isAgree) {
|
||||
isAgree.value = ["isAgree"];
|
||||
} else {
|
||||
@ -53,37 +50,27 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
emit("clickPolicy");
|
||||
};
|
||||
const handleAgreePrivatePolicy = () => {
|
||||
var _a;
|
||||
if (props.isDisabled) {
|
||||
emit("clickCheckbox");
|
||||
isAgree.value = [];
|
||||
emit("update:isAgree", false);
|
||||
return;
|
||||
}
|
||||
let checkbox = false;
|
||||
if ((_a = isAgree.value) == null ? void 0 : _a.length) {
|
||||
isAgree.value = [];
|
||||
checkbox = false;
|
||||
console.log(isAgree.value, "isAgree.value");
|
||||
if (checked.value) {
|
||||
checked.value = false;
|
||||
} else {
|
||||
isAgree.value = ["isAgree"];
|
||||
checkbox = true;
|
||||
checked.value = true;
|
||||
}
|
||||
emit("update:isAgree", checkbox);
|
||||
emit("update:isAgree", checked.value);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
shape: "circle",
|
||||
activeColor: props == null ? void 0 : props.activeColor,
|
||||
name: "isAgree"
|
||||
}),
|
||||
b: common_vendor.o(handleAgreePrivatePolicy),
|
||||
c: common_vendor.p({
|
||||
modelValue: isAgree.value
|
||||
}),
|
||||
d: common_vendor.o(handleAgreePrivatePolicy),
|
||||
e: common_vendor.t(props.policyName),
|
||||
f: common_vendor.o(onPolicy)
|
||||
a: checked.value,
|
||||
b: common_vendor.unref(common_libraries_getPageConfig.getStyleColorValueInfo)(),
|
||||
c: common_vendor.o(handleAgreePrivatePolicy),
|
||||
d: common_vendor.t(props.policyName),
|
||||
e: common_vendor.o(onPolicy),
|
||||
f: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleColorInfo)())
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-checkbox": "../../node-modules/uview-plus/components/u-checkbox/u-checkbox",
|
||||
"u-checkbox-group": "../../node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group"
|
||||
}
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +1 @@
|
||||
<view class="privatePolicy data-v-48e3a8c0"><view class="scal-box data-v-48e3a8c0" bindtap="{{d}}"><u-checkbox-group wx:if="{{c}}" class="data-v-48e3a8c0" u-s="{{['d']}}" bindchange="{{b}}" u-i="48e3a8c0-0" bind:__l="__l" u-p="{{c}}"><u-checkbox wx:if="{{a}}" class="data-v-48e3a8c0" u-i="48e3a8c0-1,48e3a8c0-0" bind:__l="__l" u-p="{{a}}"></u-checkbox></u-checkbox-group><view class="t-l data-v-48e3a8c0">我已阅读并同意</view></view><view class="text data-v-48e3a8c0"><view class="t-r data-v-48e3a8c0" catchtap="{{f}}">{{e}}</view></view></view>
|
||||
<view class="privatePolicy data-v-48e3a8c0"><view class="scal-box data-v-48e3a8c0" bindtap="{{c}}"><label class="radio data-v-48e3a8c0"><radio class="data-v-48e3a8c0" checked="{{a}}" style="transform:scale(0.7)" color="{{b}}"/>我已阅读并同意 </label></view><view class="text data-v-48e3a8c0"><view class="t-r data-v-48e3a8c0" catchtap="{{e}}" style="{{f}}">{{d}}</view></view></view>
|
||||
@ -5,6 +5,8 @@
|
||||
}
|
||||
.privatePolicy .scal-box.data-v-48e3a8c0 {
|
||||
transform: scale(0.9);
|
||||
}
|
||||
.privatePolicy .scal-box .radio.data-v-48e3a8c0 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_libraries_getPageConfig = require("../../common/libraries/getPageConfig.js");
|
||||
require("../../common/store/useWeAppAuthStore.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/request.js");
|
||||
require("../../common/store/useWorkStore.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "hs-radio",
|
||||
props: [
|
||||
@ -15,6 +21,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
setup(__props, { emit }) {
|
||||
const props = __props;
|
||||
const selectValue = common_vendor.ref("");
|
||||
const getStyleInfo = () => {
|
||||
return {
|
||||
...props.selectStyle,
|
||||
...common_libraries_getPageConfig.getStyleBgInfo()
|
||||
};
|
||||
};
|
||||
const getEnums = () => {
|
||||
let list = Object.entries(props == null ? void 0 : props.Enums).map(
|
||||
([_key, value]) => ({
|
||||
@ -53,8 +65,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
return {
|
||||
a: common_vendor.t(i == null ? void 0 : i.text),
|
||||
b: `item_${index}`,
|
||||
c: common_vendor.n(`item item_${props == null ? void 0 : props.size} ${(i == null ? void 0 : i.value) === (props == null ? void 0 : props.valueModel) || (i == null ? void 0 : i.value) === selectValue.value ? "active" : ""} ${((_a = props == null ? void 0 : props.disableds) == null ? void 0 : _a.includes(i == null ? void 0 : i.value)) ? "disabled" : ""}`),
|
||||
d: common_vendor.s((i == null ? void 0 : i.value) === (props == null ? void 0 : props.valueModel) || (i == null ? void 0 : i.value) === selectValue.value ? props == null ? void 0 : props.selectStyle : ""),
|
||||
c: common_vendor.n(`item item_${props == null ? void 0 : props.size} ${((_a = props == null ? void 0 : props.disableds) == null ? void 0 : _a.includes(i == null ? void 0 : i.value)) ? "disabled" : ""}`),
|
||||
d: common_vendor.s((i == null ? void 0 : i.value) === (props == null ? void 0 : props.valueModel) || (i == null ? void 0 : i.value) === selectValue.value ? getStyleInfo() : ""),
|
||||
e: common_vendor.o(($event) => onClick(i), `item_${index}`)
|
||||
};
|
||||
}),
|
||||
|
||||
11
dist/dev/mp-weixin/components/hs-tabs/hs-tabs.js
vendored
11
dist/dev/mp-weixin/components/hs-tabs/hs-tabs.js
vendored
@ -1,5 +1,11 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_libraries_getPageConfig = require("../../common/libraries/getPageConfig.js");
|
||||
require("../../common/store/useWeAppAuthStore.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/request.js");
|
||||
require("../../common/store/useWorkStore.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "hs-tabs",
|
||||
props: ["current", "list", "no_space_between"],
|
||||
@ -19,12 +25,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
d: common_vendor.o(($event) => handleClick(index, i), `item_${index}`)
|
||||
};
|
||||
}),
|
||||
b: common_vendor.s((props == null ? void 0 : props.no_space_between) ? {
|
||||
b: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)()),
|
||||
c: common_vendor.s((props == null ? void 0 : props.no_space_between) ? {
|
||||
"margin-left": "30rpx"
|
||||
} : {
|
||||
flex: 1
|
||||
}),
|
||||
c: common_vendor.s((props == null ? void 0 : props.no_space_between) ? "" : {
|
||||
d: common_vendor.s((props == null ? void 0 : props.no_space_between) ? "" : {
|
||||
"justify-content": "space-between"
|
||||
})
|
||||
};
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="tabs_content" style="{{c}}"><view wx:for="{{a}}" wx:for-item="i" wx:key="c" class="{{i.b}}" bindtap="{{i.d}}" style="{{b}}">{{i.a}} <view class="border_bottom"></view></view></view>
|
||||
<view class="tabs_content" style="{{d}}"><view wx:for="{{a}}" wx:for-item="i" wx:key="c" class="{{i.b}}" bindtap="{{i.d}}" style="{{c}}">{{i.a}} <view class="border_bottom" style="{{b}}"></view></view></view>
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-badge",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props$19, common_vendor.mixin],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props$17, common_vendor.mixin],
|
||||
computed: {
|
||||
// 是否将badge中心与父组件右上角重合
|
||||
boxStyle() {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-car-keyboard",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8],
|
||||
data() {
|
||||
return {
|
||||
// 车牌输入时,abc=true为输入车牌号码,bac=false为输入省份中文简称
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-line",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$12],
|
||||
computed: {
|
||||
lineStyle() {
|
||||
const style = {};
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-link",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
||||
computed: {
|
||||
linkStyle() {
|
||||
const style = {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-number-keyboard",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
|
||||
data() {
|
||||
return {
|
||||
backspace: "backspace",
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-overlay",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13],
|
||||
computed: {
|
||||
overlayStyle() {
|
||||
const style = {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-popup",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$11],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
|
||||
data() {
|
||||
return {
|
||||
overlayDuration: this.duration + 50
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-safe-bottom",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
|
||||
data() {
|
||||
return {
|
||||
safeAreaBottomHeight: 0,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-status-bar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14],
|
||||
data() {
|
||||
return {
|
||||
isH5: true
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-tabs",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$12],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
|
||||
data() {
|
||||
return {
|
||||
firstTime: true,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "up-text",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$13],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$11],
|
||||
emits: ["click"],
|
||||
computed: {
|
||||
wrapStyle() {
|
||||
|
||||
@ -33,7 +33,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
// 将mixin挂在到组件中,实际上为一个vue格式对象。
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$18],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$16],
|
||||
watch: {
|
||||
show: {
|
||||
handler(newVal) {
|
||||
|
||||
@ -1,6 +1,12 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js");
|
||||
const common_libraries_getPageConfig = require("../../../common/libraries/getPageConfig.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
if (!Array) {
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
_easycom_uni_icons2();
|
||||
@ -17,11 +23,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleInputChange),
|
||||
b: common_vendor.p({
|
||||
a: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleColorInfo)()),
|
||||
b: common_vendor.o(handleInputChange),
|
||||
c: common_vendor.p({
|
||||
type: "arrow-right",
|
||||
size: "20",
|
||||
color: "#2A7EFB"
|
||||
color: common_vendor.unref(common_libraries_getPageConfig.getStyleColorValueInfo)()
|
||||
})
|
||||
};
|
||||
};
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="ai_contents data-v-b68fefb8"><view class="ai_contents_center data-v-b68fefb8"><view class="ai_contents_header data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/ai_icon.svg" mode="heightFix"/><text class="data-v-b68fefb8">HI,遇到什么问题了,可以问我哦~ </text></view><button class="data-v-b68fefb8" open-type="contact"><view class="ai_contents_input data-v-b68fefb8"><view class="ai_input data-v-b68fefb8"> 点击联系在线客服 </view><uni-icons wx:if="{{b}}" class="data-v-b68fefb8" bindclick="{{a}}" u-i="b68fefb8-0" bind:__l="__l" u-p="{{b}}"></uni-icons></view></button><view class="ai_footer data-v-b68fefb8"><scroll-view class="data-v-b68fefb8" scroll-x="true" style="height:80rpx"><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/FWJF.svg" mode="heightFix"/> 房屋缴费 </view></view><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/GDCX.svg" mode="heightFix"/> 工单查询 </view></view><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/FWJF.svg" mode="heightFix"/> 房屋绑定 </view></view><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/QBGL.svg" mode="heightFix"/> 钱包 </view></view></scroll-view></view></view></view>
|
||||
<view class="ai_contents data-v-b68fefb8"><view class="ai_contents_center data-v-b68fefb8"><view class="ai_contents_header data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/ai_icon.svg" mode="heightFix"/><text class="data-v-b68fefb8">HI,遇到什么问题了,可以问我哦~ </text></view><button class="data-v-b68fefb8" open-type="contact"><view class="ai_contents_input data-v-b68fefb8"><view class="ai_input data-v-b68fefb8" style="{{a}}"> 点击联系在线客服 </view><uni-icons wx:if="{{c}}" class="data-v-b68fefb8" bindclick="{{b}}" u-i="b68fefb8-0" bind:__l="__l" u-p="{{c}}"></uni-icons></view></button><view class="ai_footer data-v-b68fefb8"><scroll-view class="data-v-b68fefb8" scroll-x="true" style="height:80rpx"><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/FWJF.svg" mode="heightFix"/> 房屋缴费 </view></view><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/GDCX.svg" mode="heightFix"/> 工单查询 </view></view><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/FWJF.svg" mode="heightFix"/> 房屋绑定 </view></view><view class="items data-v-b68fefb8"><view class="items_center data-v-b68fefb8"><image class="data-v-b68fefb8" src="/static/svg/QBGL.svg" mode="heightFix"/> 钱包 </view></view></scroll-view></view></view></view>
|
||||
@ -10,7 +10,7 @@
|
||||
}
|
||||
.popup_custom_content .bind_house_popup_footer .bind_house_popup_footer_later.data-v-2231cc67 {
|
||||
text-align: center;
|
||||
color: #3c5b86;
|
||||
color: #000;
|
||||
font-size: 28rpx;
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ const gen_Apis = require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
const common_libraries_getPageConfig = require("../../../common/libraries/getPageConfig.js");
|
||||
if (!Array) {
|
||||
const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading");
|
||||
_easycom_cc_scroll_loading2();
|
||||
@ -67,10 +68,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(i == null ? void 0 : i.label),
|
||||
b: index === current.value
|
||||
}, index === current.value ? {} : {}, {
|
||||
c: `tab_${index}`,
|
||||
d: common_vendor.n(`tab_item ${index === current.value ? "tab_active" : ""}`),
|
||||
e: common_vendor.o(($event) => handleTabClick(index), `tab_${index}`)
|
||||
}, index === current.value ? {
|
||||
c: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
|
||||
} : {}, {
|
||||
d: `tab_${index}`,
|
||||
e: common_vendor.n(`tab_item ${index === current.value ? "tab_active" : ""}`),
|
||||
f: common_vendor.o(($event) => handleTabClick(index), `tab_${index}`)
|
||||
});
|
||||
}),
|
||||
b: current.value === 0
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="tabs_container_body data-v-90a1bf81"><view class="tabs_container data-v-90a1bf81"><view wx:for="{{a}}" wx:for-item="i" wx:key="c" class="{{['data-v-90a1bf81', i.d]}}" bindtap="{{i.e}}"><view class="label data-v-90a1bf81">{{i.a}}</view><view wx:if="{{i.b}}" class="bottom_line data-v-90a1bf81"></view></view></view><cc-scroll-loading wx:if="{{h}}" class="data-v-90a1bf81" u-s="{{['d']}}" bindload="{{g}}" u-i="90a1bf81-0" bind:__l="__l" u-p="{{h}}"><my-event-list wx:if="{{b}}" class="data-v-90a1bf81" u-i="90a1bf81-1,90a1bf81-0" bind:__l="__l" u-p="{{c}}"/><my-convenience-services wx:if="{{d}}" class="data-v-90a1bf81" bindchange="{{e}}" u-i="90a1bf81-2,90a1bf81-0" bind:__l="__l" u-p="{{f}}"/></cc-scroll-loading></view>
|
||||
<view class="tabs_container_body data-v-90a1bf81"><view class="tabs_container data-v-90a1bf81"><view wx:for="{{a}}" wx:for-item="i" wx:key="d" class="{{['data-v-90a1bf81', i.e]}}" bindtap="{{i.f}}"><view class="label data-v-90a1bf81">{{i.a}}</view><view wx:if="{{i.b}}" class="bottom_line data-v-90a1bf81" style="{{i.c}}"></view></view></view><cc-scroll-loading wx:if="{{h}}" class="data-v-90a1bf81" u-s="{{['d']}}" bindload="{{g}}" u-i="90a1bf81-0" bind:__l="__l" u-p="{{h}}"><my-event-list wx:if="{{b}}" class="data-v-90a1bf81" u-i="90a1bf81-1,90a1bf81-0" bind:__l="__l" u-p="{{c}}"/><my-convenience-services wx:if="{{d}}" class="data-v-90a1bf81" bindchange="{{e}}" u-i="90a1bf81-2,90a1bf81-0" bind:__l="__l" u-p="{{f}}"/></cc-scroll-loading></view>
|
||||
12
dist/dev/mp-weixin/pages/index/index.js
vendored
12
dist/dev/mp-weixin/pages/index/index.js
vendored
@ -8,8 +8,13 @@ const common_libraries_userUserLogin = require("../../common/libraries/userUserL
|
||||
const pages_index_method = require("./method.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_all_page_bg2 = common_vendor.resolveComponent("hs-all-page-bg");
|
||||
_easycom_hs_all_page_bg2();
|
||||
}
|
||||
const _easycom_hs_all_page_bg = () => "../../components/hs-all-page-bg/hs-all-page-bg.js";
|
||||
if (!Math) {
|
||||
(MyPageHeadTitle + MyPageBanner + MyClassification + MyNewsList + MyAiInput + MyTabs + MyModalServer + MyOfficialAccount)();
|
||||
(_easycom_hs_all_page_bg + MyPageHeadTitle + MyPageBanner + MyClassification + MyNewsList + MyAiInput + MyTabs + MyModalServer + MyOfficialAccount)();
|
||||
}
|
||||
const MyNewsList = () => "./components/NewsList.js";
|
||||
const MyPageHeadTitle = () => "./components/PageHeadTitle.js";
|
||||
@ -58,10 +63,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
};
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c;
|
||||
return {
|
||||
a: common_vendor.s(`background:${(_c = (_b = (_a = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _a.pageConfig) == null ? void 0 : _b.value) == null ? void 0 : _c.pageColor}`)
|
||||
};
|
||||
return {};
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
1
dist/dev/mp-weixin/pages/index/index.json
vendored
1
dist/dev/mp-weixin/pages/index/index.json
vendored
@ -2,6 +2,7 @@
|
||||
"navigationBarTitleText": "首页",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"hs-all-page-bg": "../../components/hs-all-page-bg/hs-all-page-bg",
|
||||
"my-news-list": "./components/NewsList",
|
||||
"my-page-head-title": "./components/PageHeadTitle",
|
||||
"my-page-banner": "./components/PageBanner",
|
||||
|
||||
2
dist/dev/mp-weixin/pages/index/index.wxml
vendored
2
dist/dev/mp-weixin/pages/index/index.wxml
vendored
@ -1 +1 @@
|
||||
<view class="home_page"><view class="home_page_bg" style="{{a}}"></view><view class="home_page_content"><my-page-head-title u-i="723af36b-0" bind:__l="__l"/><my-page-banner u-i="723af36b-1" bind:__l="__l"/><my-classification u-i="723af36b-2" bind:__l="__l"/><my-news-list u-i="723af36b-3" bind:__l="__l"/><my-ai-input u-i="723af36b-4" bind:__l="__l"/><my-tabs u-i="723af36b-5" bind:__l="__l"/><my-modal-server u-i="723af36b-6" bind:__l="__l"/><my-official-account u-i="723af36b-7" bind:__l="__l"/></view></view>
|
||||
<view class="home_page"><hs-all-page-bg u-i="723af36b-0" bind:__l="__l"/><view class="home_page_content"><my-page-head-title u-i="723af36b-1" bind:__l="__l"/><my-page-banner u-i="723af36b-2" bind:__l="__l"/><my-classification u-i="723af36b-3" bind:__l="__l"/><my-news-list u-i="723af36b-4" bind:__l="__l"/><my-ai-input u-i="723af36b-5" bind:__l="__l"/><my-tabs u-i="723af36b-6" bind:__l="__l"/><my-modal-server u-i="723af36b-7" bind:__l="__l"/><my-official-account u-i="723af36b-8" bind:__l="__l"/></view></view>
|
||||
10
dist/dev/mp-weixin/pages/index/index.wxss
vendored
10
dist/dev/mp-weixin/pages/index/index.wxss
vendored
@ -1,16 +1,6 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.home_page_bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 37%;
|
||||
z-index: 0;
|
||||
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(146deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 100rpx), linear-gradient(194deg, #dffff3 0%, #f7f7f7 200rpx);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.home_page_content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
|
||||
6
dist/dev/mp-weixin/pages/login.js
vendored
6
dist/dev/mp-weixin/pages/login.js
vendored
@ -6,16 +6,18 @@ require("../common/store/useWorkStore.js");
|
||||
require("../gen/Apis.js");
|
||||
require("../common/libraries/apiLoading.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_all_page_bg2 = common_vendor.resolveComponent("hs-all-page-bg");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
|
||||
const _easycom_hs_private_policy2 = common_vendor.resolveComponent("hs-private-policy");
|
||||
(_easycom_uni_icons2 + _easycom_hs_button2 + _easycom_hs_private_policy2)();
|
||||
(_easycom_hs_all_page_bg2 + _easycom_uni_icons2 + _easycom_hs_button2 + _easycom_hs_private_policy2)();
|
||||
}
|
||||
const _easycom_hs_all_page_bg = () => "../components/hs-all-page-bg/hs-all-page-bg.js";
|
||||
const _easycom_uni_icons = () => "../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_hs_button = () => "../components/hs-button/hs-button.js";
|
||||
const _easycom_hs_private_policy = () => "../components/hs-private-policy/hs-private-policy.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_icons + _easycom_hs_button + _easycom_hs_private_policy)();
|
||||
(_easycom_hs_all_page_bg + _easycom_uni_icons + _easycom_hs_button + _easycom_hs_private_policy)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "login",
|
||||
|
||||
1
dist/dev/mp-weixin/pages/login.json
vendored
1
dist/dev/mp-weixin/pages/login.json
vendored
@ -2,6 +2,7 @@
|
||||
"navigationBarTitleText": "登录/注册",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"hs-all-page-bg": "../components/hs-all-page-bg/hs-all-page-bg",
|
||||
"uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-button": "../components/hs-button/hs-button",
|
||||
"hs-private-policy": "../components/hs-private-policy/hs-private-policy"
|
||||
|
||||
2
dist/dev/mp-weixin/pages/login.wxml
vendored
2
dist/dev/mp-weixin/pages/login.wxml
vendored
@ -1 +1 @@
|
||||
<view class="login_content"><view class="login_header_back_btn" style="{{d}}"><view class="btn_back" style="{{b}}" bindtap="{{c}}"><uni-icons wx:if="{{a}}" u-i="f9f84402-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view></view><view class="login_logo"><image src="https://pay-test-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K4720FBMW7CSV7XJXERJRV8S.png" mode="heightFix"/></view><view class="group_des"> 欢迎登录邻里壹站 </view><view class="group_from"></view><view class="footer_btn"><hs-button wx:if="{{g}}" bindonGetPhoneNumber="{{e}}" bindclick="{{f}}" u-i="f9f84402-1" bind:__l="__l" u-p="{{g}}"/></view><view class="PrivacyPolicy"><hs-private-policy wx:if="{{j}}" bindclickPolicy="{{h}}" u-i="f9f84402-2" bind:__l="__l" bindupdateIsAgree="{{i}}" u-p="{{j}}"/></view></view>
|
||||
<view class="login_content"><hs-all-page-bg u-i="f9f84402-0" bind:__l="__l"/><view class="login_content_box"><view class="login_header_back_btn" style="{{d}}"><view class="btn_back" style="{{b}}" bindtap="{{c}}"><uni-icons wx:if="{{a}}" u-i="f9f84402-1" bind:__l="__l" u-p="{{a}}"></uni-icons></view></view><view class="login_logo"><image src="https://pay-test-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K4720FBMW7CSV7XJXERJRV8S.png" mode="heightFix"/></view><view class="group_des"> 欢迎登录邻里壹站 </view><view class="group_from"></view><view class="footer_btn"><hs-button wx:if="{{g}}" bindonGetPhoneNumber="{{e}}" bindclick="{{f}}" u-i="f9f84402-2" bind:__l="__l" u-p="{{g}}"/></view><view class="PrivacyPolicy"><hs-private-policy wx:if="{{j}}" bindclickPolicy="{{h}}" u-i="f9f84402-3" bind:__l="__l" bindupdateIsAgree="{{i}}" u-p="{{j}}"/></view></view></view>
|
||||
4
dist/dev/mp-weixin/pages/login.wxss
vendored
4
dist/dev/mp-weixin/pages/login.wxss
vendored
@ -2,6 +2,10 @@
|
||||
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(146deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 400rpx), linear-gradient(194deg, #dffff3 0%, #ffffff 600rpx);
|
||||
padding-top: 350rpx;
|
||||
}
|
||||
.login_content_box {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
.login_header_back_btn {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
||||
7
dist/dev/mp-weixin/pages/me/index.js
vendored
7
dist/dev/mp-weixin/pages/me/index.js
vendored
@ -8,8 +8,13 @@ const pages_me_method = require("./method.js");
|
||||
const common_libraries_userUserLogin = require("../../common/libraries/userUserLogin.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_all_page_bg2 = common_vendor.resolveComponent("hs-all-page-bg");
|
||||
_easycom_hs_all_page_bg2();
|
||||
}
|
||||
const _easycom_hs_all_page_bg = () => "../../components/hs-all-page-bg/hs-all-page-bg.js";
|
||||
if (!Math) {
|
||||
(MyHeader + MyAreaFunctional + MyToBeDone)();
|
||||
(_easycom_hs_all_page_bg + MyHeader + MyAreaFunctional + MyToBeDone)();
|
||||
}
|
||||
const MyHeader = () => "./components/header.js";
|
||||
const MyAreaFunctional = () => "./components/AreaFunctional.js";
|
||||
|
||||
1
dist/dev/mp-weixin/pages/me/index.json
vendored
1
dist/dev/mp-weixin/pages/me/index.json
vendored
@ -2,6 +2,7 @@
|
||||
"navigationBarTitleText": "个人中心",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"hs-all-page-bg": "../../components/hs-all-page-bg/hs-all-page-bg",
|
||||
"my-header": "./components/header",
|
||||
"my-area-functional": "./components/AreaFunctional",
|
||||
"my-to-be-done": "./components/ToBeDone"
|
||||
|
||||
2
dist/dev/mp-weixin/pages/me/index.wxml
vendored
2
dist/dev/mp-weixin/pages/me/index.wxml
vendored
@ -1 +1 @@
|
||||
<view class="me_page"><my-header u-i="315a0575-0" bind:__l="__l"/><my-area-functional u-i="315a0575-1" bind:__l="__l"/><my-to-be-done u-i="315a0575-2" bind:__l="__l"/></view>
|
||||
<view class="me_page"><hs-all-page-bg u-i="315a0575-0" bind:__l="__l"/><view class="me_page_content"><my-header u-i="315a0575-1" bind:__l="__l"/><my-area-functional u-i="315a0575-2" bind:__l="__l"/><my-to-be-done u-i="315a0575-3" bind:__l="__l"/></view></view>
|
||||
4
dist/dev/mp-weixin/pages/me/index.wxss
vendored
4
dist/dev/mp-weixin/pages/me/index.wxss
vendored
@ -5,6 +5,10 @@ page {
|
||||
background: linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 450rpx), linear-gradient(146deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 300rpx), linear-gradient(194deg, #dffff3 0%, #f7f7f7 450rpx);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.me_page_content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
button:after {
|
||||
border: none !important;
|
||||
}
|
||||
@ -39,7 +39,8 @@ export default {
|
||||
getApiLoading(Apis.Login.Auth.Logout, {}).then(res => {
|
||||
auth.data = {
|
||||
user: undefined,
|
||||
selected_house: undefined
|
||||
selected_house: undefined,
|
||||
config: auth?.data?.config || {}
|
||||
}
|
||||
showToastBack('退出成功!', 1, true)
|
||||
console.log(res)
|
||||
|
||||
@ -3,8 +3,13 @@
|
||||
<view class="work_order_header">
|
||||
<view class="work_order_header_left">
|
||||
<view class="work_label"> 工单提报中心 </view>
|
||||
<view class="work_btn" @click="handleSubmissionRecord">
|
||||
<text> 我的提报记录 </text>
|
||||
<view class="work_btn">
|
||||
<hs-button
|
||||
size="md"
|
||||
type="primary"
|
||||
label="我的提报记录"
|
||||
@click="handleSubmissionRecord"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="work_order_header_right">
|
||||
|
||||
@ -16,14 +16,7 @@ page {
|
||||
color: #333;
|
||||
}
|
||||
.work_btn {
|
||||
color: #fff;
|
||||
padding-top: 40rpx;
|
||||
text {
|
||||
background-color: #1677ff;
|
||||
font-size: 30rpx;
|
||||
padding: 18rpx 25rpx;
|
||||
border-radius: 100rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
&_right {
|
||||
|
||||
33
src/common/libraries/getPageConfig.ts
Normal file
33
src/common/libraries/getPageConfig.ts
Normal file
@ -0,0 +1,33 @@
|
||||
import { useWeAppAuthStore } from '../store/useWeAppAuthStore'
|
||||
|
||||
const auth = useWeAppAuthStore()
|
||||
export function getStyleBgInfo() {
|
||||
let style: any = auth?.data?.config?.companyConfig?.config_value
|
||||
let color = style?.color
|
||||
return {
|
||||
backgroundColor: color || '#0082fa',
|
||||
color: '#fff'
|
||||
}
|
||||
}
|
||||
|
||||
export function getStyleColorInfo() {
|
||||
let style: any = auth?.data?.config?.companyConfig?.config_value
|
||||
let color = style?.color
|
||||
return {
|
||||
color: color || '#0082fa'
|
||||
}
|
||||
}
|
||||
|
||||
export function getStyleColorValueInfo() {
|
||||
let style: any = auth?.data?.config?.companyConfig?.config_value
|
||||
let color = style?.color
|
||||
return color || '#0082fa'
|
||||
}
|
||||
|
||||
export function getStyleBgGradientInfo() {
|
||||
//获取渐变色
|
||||
let style: any = auth?.data?.config?.companyConfig?.config_value
|
||||
return {
|
||||
background: style?.pageColor
|
||||
}
|
||||
}
|
||||
@ -85,6 +85,7 @@ export const useWeAppAuthStore = defineStore('we_app_auth', () => {
|
||||
function me(fun?: () => void) {
|
||||
getApiLoading(Apis.Login.Auth.Me, {}).then(res => {
|
||||
data.value.user = res.data.user
|
||||
data.value.config = res.data?.config
|
||||
data.value.selected_house = res.data?.selected_house
|
||||
console.log('me', res.data)
|
||||
loading.value = false
|
||||
|
||||
21
src/components/hs-all-page-bg/hs-all-page-bg.vue
Normal file
21
src/components/hs-all-page-bg/hs-all-page-bg.vue
Normal file
@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<view class="home_page_bg" :style="getStyleBgGradientInfo()"> </view>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { getStyleBgGradientInfo } from '@/common/libraries/getPageConfig'
|
||||
</script>
|
||||
<style leng="scss" scoped>
|
||||
.home_page_bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 37%;
|
||||
z-index: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%),
|
||||
linear-gradient(146deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 100rpx),
|
||||
linear-gradient(194deg, #dffff3 0%, #f7f7f7 200rpx);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<button
|
||||
:style="props.buttonStyle"
|
||||
:style="getStyleInfo()"
|
||||
:open-type="props?.openType || ''"
|
||||
:class="`nchl_button ${props?.type}_button ${props?.size || 'sm'}_size`"
|
||||
@click="handleClick"
|
||||
@ -20,7 +20,9 @@
|
||||
</button>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { useWeAppAuthStore } from '@/common'
|
||||
import { defineProps, defineEmits } from 'vue'
|
||||
import { getStyleBgInfo } from '@/common/libraries/getPageConfig'
|
||||
const props = defineProps([
|
||||
'type',
|
||||
'label',
|
||||
@ -33,7 +35,9 @@ const props = defineProps([
|
||||
'loading',
|
||||
'loading_label'
|
||||
])
|
||||
const auth = useWeAppAuthStore()
|
||||
const emit = defineEmits(['click', 'onGetPhoneNumber'])
|
||||
|
||||
const handleClick = () => {
|
||||
emit('click')
|
||||
}
|
||||
@ -42,6 +46,16 @@ const handleGetPhoneNumber = (e: any) => {
|
||||
emit('onGetPhoneNumber', e)
|
||||
}
|
||||
}
|
||||
|
||||
const getStyleInfo = () => {
|
||||
let style: any = auth?.data?.config?.companyConfig?.config_value
|
||||
let color = style?.color?.metaColor
|
||||
return {
|
||||
...props.buttonStyle,
|
||||
...getStyleBgInfo(),
|
||||
color: '#fff'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style leng="scss" scoped>
|
||||
button::after {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
>
|
||||
<view class="bind_house_popup">
|
||||
<view class="bind_house_popup_content">
|
||||
<image src="/static/svg/news_icon.svg" class="news_icon_absolute" mode="heightFix" />
|
||||
<!-- <image src="/static/svg/news_icon.svg" class="news_icon_absolute" mode="heightFix" /> -->
|
||||
<view class="bind_title"> {{ props?.title || '消息通知' }} </view>
|
||||
<slot></slot>
|
||||
</view>
|
||||
@ -34,7 +34,8 @@ const onClose = () => {
|
||||
padding-bottom: calc(env(safe-area-inset-bottom) + 48px) !important;
|
||||
}
|
||||
.bind_house_popup_content {
|
||||
background: linear-gradient(180deg, #d9e7ff 0%, #fdfeff 26%, #ffffff 47%);
|
||||
background-color: #fff;
|
||||
// background: linear-gradient(180deg, #d9e7ff 0%, #fdfeff 26%, #ffffff 47%);
|
||||
width: 618rpx;
|
||||
padding: 0 0 20rpx 0;
|
||||
border-radius: 40rpx;
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
v-if="i?.asset_houses_id === auth?.data?.selected_house?.id"
|
||||
type="checkbox-filled"
|
||||
size="20"
|
||||
color="#2A7EFB"
|
||||
:color="getStyleColorValueInfo()"
|
||||
></uni-icons>
|
||||
<uni-icons v-else type="circle" size="20" color="#999"></uni-icons>
|
||||
</view>
|
||||
@ -41,6 +41,7 @@
|
||||
<script setup lang="ts">
|
||||
const props = defineProps(['show', 'dataList', 'defaultHouseId'])
|
||||
const emit = defineEmits(['close', 'change'])
|
||||
import { getStyleColorValueInfo } from '@/common/libraries/getPageConfig'
|
||||
import getUserLogin from '@/common/libraries/userUserLogin'
|
||||
import { ref, watch } from 'vue'
|
||||
import { showToastBack, showToast } from '@/common/libraries/naviHelper'
|
||||
@ -104,10 +105,11 @@ const handleSelectedHouse = (e: any) => {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.popup_content {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 56%),
|
||||
linear-gradient(159deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 35%),
|
||||
linear-gradient(193deg, #dffff3 -4%, #f7f7f7 37%);
|
||||
background-color: #f8f8f8;
|
||||
// background:
|
||||
// linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 56%),
|
||||
// linear-gradient(159deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 35%),
|
||||
// linear-gradient(193deg, #dffff3 -4%, #f7f7f7 37%);
|
||||
min-height: 500rpx;
|
||||
// padding-bottom: 120rpx;
|
||||
padding-bottom: 30rpx;
|
||||
|
||||
@ -1,13 +1,23 @@
|
||||
<template>
|
||||
<view class="privatePolicy">
|
||||
<view class="scal-box" @click="handleAgreePrivatePolicy">
|
||||
<u-checkbox-group :modelValue="isAgree" @change="handleAgreePrivatePolicy">
|
||||
<u-checkbox shape="circle" :activeColor="props?.activeColor" name="isAgree"> </u-checkbox>
|
||||
<!-- <u-checkbox-group :modelValue="isAgree" @change="handleAgreePrivatePolicy">
|
||||
<u-checkbox shape="circle" :activeColor="getStyleColorValueInfo()" name="isAgree">
|
||||
</u-checkbox>
|
||||
</u-checkbox-group>
|
||||
<view class="t-l">我已阅读并同意</view>
|
||||
<view class="t-l" @click="handleAgreePrivatePolicy">我已阅读并同意</view> -->
|
||||
<label class="radio">
|
||||
<radio
|
||||
:checked="checked"
|
||||
style="transform: scale(0.7)"
|
||||
:color="getStyleColorValueInfo()"
|
||||
/>我已阅读并同意
|
||||
</label>
|
||||
</view>
|
||||
<view class="text">
|
||||
<view class="t-r" @click.stop="onPolicy"> {{ props.policyName }} </view>
|
||||
<view class="t-r" @click.stop="onPolicy" :style="getStyleColorInfo()">
|
||||
{{ props.policyName }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@ -15,7 +25,9 @@
|
||||
<script setup lang="ts">
|
||||
// 《居有屋隐私政策》
|
||||
import { defineEmits, defineProps, ref, watch } from 'vue'
|
||||
import { getStyleColorInfo, getStyleColorValueInfo } from '@/common/libraries/getPageConfig'
|
||||
const isAgree = ref<string[]>([])
|
||||
const checked = ref<boolean>(false)
|
||||
const props = defineProps({
|
||||
isAgree: {
|
||||
type: Boolean,
|
||||
@ -65,20 +77,19 @@ const handleAgreePrivatePolicy = () => {
|
||||
if (props.isDisabled) {
|
||||
// 禁用点击
|
||||
emit('clickCheckbox')
|
||||
isAgree.value = []
|
||||
// isAgree.value = []
|
||||
emit('update:isAgree', false)
|
||||
return
|
||||
}
|
||||
|
||||
let checkbox = false
|
||||
if (isAgree.value?.length) {
|
||||
isAgree.value = []
|
||||
checkbox = false
|
||||
console.log(isAgree.value, 'isAgree.value')
|
||||
if (checked.value) {
|
||||
// isAgree.value = []
|
||||
checked.value = false
|
||||
} else {
|
||||
isAgree.value = ['isAgree']
|
||||
checkbox = true
|
||||
// isAgree.value = ['isAgree']
|
||||
checked.value = true
|
||||
}
|
||||
emit('update:isAgree', checkbox)
|
||||
emit('update:isAgree', checked.value)
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -90,9 +101,11 @@ const handleAgreePrivatePolicy = () => {
|
||||
|
||||
.scal-box {
|
||||
transform: scale(0.9);
|
||||
.radio {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@ -3,10 +3,8 @@
|
||||
<view
|
||||
v-for="(i, index) in getEnums()"
|
||||
:key="`item_${index}`"
|
||||
:class="`item item_${props?.size} ${
|
||||
i?.value === props?.valueModel || i?.value === selectValue ? 'active' : ''
|
||||
} ${props?.disableds?.includes(i?.value) ? 'disabled' : ''}`"
|
||||
:style="i?.value === props?.valueModel || i?.value === selectValue ? props?.selectStyle : ''"
|
||||
:class="`item item_${props?.size} ${props?.disableds?.includes(i?.value) ? 'disabled' : ''}`"
|
||||
:style="i?.value === props?.valueModel || i?.value === selectValue ? getStyleInfo() : ''"
|
||||
@click="onClick(i)"
|
||||
>
|
||||
{{ i?.text }}
|
||||
@ -15,6 +13,7 @@
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, watch } from 'vue'
|
||||
import { getStyleBgInfo } from '@/common/libraries/getPageConfig'
|
||||
interface EnumItem {
|
||||
text?: string
|
||||
value?: string
|
||||
@ -28,6 +27,12 @@ const props = defineProps([
|
||||
'disableds' // 不可选数组 6-7 kfyy ,7.40 cook,
|
||||
])
|
||||
const selectValue = ref('')
|
||||
const getStyleInfo = () => {
|
||||
return {
|
||||
...props.selectStyle,
|
||||
...getStyleBgInfo()
|
||||
}
|
||||
}
|
||||
const getEnums = (): any => {
|
||||
let list: EnumItem[] = Object.entries(props?.Enums as Record<string, EnumItem>).map(
|
||||
([_key, value]) => ({
|
||||
|
||||
@ -11,13 +11,14 @@
|
||||
:style="props?.no_space_between ? { 'margin-left': '30rpx' } : { flex: 1 }"
|
||||
>
|
||||
{{ i?.label }}
|
||||
<view class="border_bottom"> </view>
|
||||
<view class="border_bottom" :style="getStyleBgInfo()"> </view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const props = defineProps(['current', 'list', 'no_space_between'])
|
||||
const emit = defineEmits(['onChange'])
|
||||
import { getStyleBgInfo } from '@/common/libraries/getPageConfig'
|
||||
const handleClick = (idx: number, e: { value: string }) => {
|
||||
emit('onChange', idx, e)
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
</view>
|
||||
<button open-type="contact">
|
||||
<view class="ai_contents_input">
|
||||
<view class="ai_input">
|
||||
<view class="ai_input" :style="getStyleColorInfo()">
|
||||
点击联系在线客服
|
||||
<!-- <input placeholder="点击输入聊天内容" placeholder-style="font-size: 26rpx;color:#999;" /> -->
|
||||
</view>
|
||||
@ -15,7 +15,7 @@
|
||||
@click="handleInputChange"
|
||||
type="arrow-right"
|
||||
size="20"
|
||||
color="#2A7EFB"
|
||||
:color="getStyleColorValueInfo()"
|
||||
></uni-icons>
|
||||
</view>
|
||||
</button>
|
||||
@ -53,6 +53,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { showToast } from '@/common/libraries/naviHelper'
|
||||
import { getStyleColorInfo, getStyleColorValueInfo } from '@/common/libraries/getPageConfig'
|
||||
const handleInputChange = () => {
|
||||
showToast('该功能在当前项目暂未开放,敬请期待!')
|
||||
}
|
||||
|
||||
@ -129,7 +129,7 @@ onShow(async () => {
|
||||
padding: 40rpx 40rpx 0 40rpx;
|
||||
.bind_house_popup_footer_later {
|
||||
text-align: center;
|
||||
color: #3c5b86;
|
||||
color: #000;
|
||||
font-size: 28rpx;
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<view class="label">
|
||||
{{ i?.label }}
|
||||
</view>
|
||||
<view class="bottom_line" v-if="index === current"> </view>
|
||||
<view class="bottom_line" :style="getStyleBgInfo()" v-if="index === current"> </view>
|
||||
</view>
|
||||
</view>
|
||||
<cc-scroll-loading :meta="metaData" @load="handleLoadMore">
|
||||
@ -30,6 +30,7 @@ import { Apis } from '@/gen/Apis'
|
||||
import MyConvenienceServices from './ConvenienceServices.vue'
|
||||
import MyEventList from './EventList.vue'
|
||||
import { useWeAppAuthStore } from '@/common'
|
||||
import { getStyleBgInfo } from '@/common/libraries/getPageConfig'
|
||||
|
||||
const formData = ref({ page: 1 })
|
||||
const metaData = ref({})
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<view class="home_page">
|
||||
<view class="home_page_bg" :style="`background:${useModel?.pageConfig?.value?.pageColor}`">
|
||||
</view>
|
||||
<hs-all-page-bg />
|
||||
<view class="home_page_content">
|
||||
<MyPageHeadTitle />
|
||||
<MyPageBanner />
|
||||
|
||||
@ -5,19 +5,7 @@ page {
|
||||
.home_page {
|
||||
// padding-bottom: 68px;
|
||||
}
|
||||
.home_page_bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 37%;
|
||||
z-index: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(208, 229, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%),
|
||||
linear-gradient(146deg, #d3d7ff 0%, rgba(255, 255, 255, 0) 100rpx),
|
||||
linear-gradient(194deg, #dffff3 0%, #f7f7f7 200rpx);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.home_page_content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<view class="login_content">
|
||||
<hs-all-page-bg />
|
||||
<view class="login_content_box">
|
||||
<view
|
||||
class="login_header_back_btn"
|
||||
:style="`padding-top:${capsuleRect.top}px;height:${capsuleRect.height}px;line-height:${capsuleRect.height}px;`"
|
||||
@ -61,6 +63,7 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const capsuleRect = ref<any>({})
|
||||
@ -147,6 +150,11 @@ onShow(() => {
|
||||
padding-top: 350rpx;
|
||||
}
|
||||
|
||||
.login_content_box {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.login_header_back_btn {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
||||
@ -1,8 +1,11 @@
|
||||
<template>
|
||||
<view class="me_page">
|
||||
<hs-all-page-bg />
|
||||
<view class="me_page_content">
|
||||
<MyHeader />
|
||||
<MyAreaFunctional />
|
||||
<MyToBeDone />
|
||||
</view>
|
||||
<!-- <MyMoreFunctional /> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -8,6 +8,10 @@ page {
|
||||
linear-gradient(194deg, #dffff3 0%, #f7f7f7 450rpx);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.me_page_content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
button:after {
|
||||
border: none !important; /* 去掉边框 */
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user