diff --git a/components/panel/formSlot.vue b/components/panel/formSlot.vue index 21322b4..d3b5ce5 100644 --- a/components/panel/formSlot.vue +++ b/components/panel/formSlot.vue @@ -257,13 +257,13 @@ import { nationlist } from "../../utils/nation.js"; export default { data() { return { - cdnBaseImg: this.G.store().cdnBaseImg, - localBaseImg: this.G.store().localBaseImg, + cdnBaseImg: 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/dailibaoming/', + localBaseImg: 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/dailibaoming/APP/', msgCode: { // 短信倒计时 code: "", - btnText: "获取验证码", // 6s + btnText: "获取验证码", // 6s countdown: -1, timer: null, }, @@ -310,7 +310,7 @@ export default { }, }, created() { - this.localBaseImg = this.G.store().localBaseImg; + this.localBaseImg = 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/dailibaoming/APP/'; this.nationData.list = nationlist.map((item, index) => { return item.name; }); diff --git a/uni_modules/rh-ui/changelog.md b/uni_modules/rh-ui/changelog.md index f021cd8..b52f041 100644 --- a/uni_modules/rh-ui/changelog.md +++ b/uni_modules/rh-ui/changelog.md @@ -1,3 +1,7 @@ +## 1.0.920(2026-01-15) +迭代 +## 1.0.919(2026-01-15) +迭代 ## 1.0.918(2026-01-15) 迭代 ## 1.0.917(2026-01-14) diff --git a/uni_modules/rh-ui/components/rh-apply/rh-apply.vue b/uni_modules/rh-ui/components/rh-apply/rh-apply.vue index 61f7115..7b9ebfe 100644 --- a/uni_modules/rh-ui/components/rh-apply/rh-apply.vue +++ b/uni_modules/rh-ui/components/rh-apply/rh-apply.vue @@ -61,7 +61,7 @@ 职位信息 - + @@ -84,7 +84,7 @@ - +
@@ -95,7 +95,7 @@
-
+ @@ -108,6 +108,7 @@ + + diff --git a/uni_modules/rh-ui/components/rh-form-slot/rh-form-slot.vue b/uni_modules/rh-ui/components/rh-form-slot/rh-form-slot.vue new file mode 100644 index 0000000..e7a7897 --- /dev/null +++ b/uni_modules/rh-ui/components/rh-form-slot/rh-form-slot.vue @@ -0,0 +1,795 @@ + + + + + diff --git a/uni_modules/rh-ui/libs/utils/base.js b/uni_modules/rh-ui/libs/utils/base.js new file mode 100644 index 0000000..87784d2 --- /dev/null +++ b/uni_modules/rh-ui/libs/utils/base.js @@ -0,0 +1,59 @@ +let data = { + setReg($str, $type = 'default') { + if ($type == 'tel') { + return /^1[3-9]\d{9}$/.test($str); + } + if ($type == 'idcard') { + return /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test($str); + } + }, + /** + * 获取服务费类型 + * @params returnFeeType 类型 + * @params $type 1:共享 0 普通 + */ + setReturnFee(returnFee, returnFeeType, $type) { + // // console.log('here'); + let servetype = '-', + $num = 1; + if ($type == 1) { + $num = 1; + } else { + $num = 100; + } + if (returnFeeType === 0) { + servetype = `${returnFee / $num || "--"}元/小时`; + } else if (returnFeeType === 1) { + servetype = `${returnFee / $num || "--"}元/日`; + } else if (returnFeeType === 2) { + servetype = `${returnFee / $num || "--"}元/月`; + } else if (returnFeeType === 3) { + servetype = `${returnFee / $num || "--"}元/次`; + } else if (returnFeeType === 4) { + servetype = `${returnFee / $num || "--"}元/件`; + } else if (returnFeeType === 5) { + servetype = `工人收入${returnFee / $num || "--"}%`; + } else if (returnFeeType === 6) { + servetype = `共${returnFee / $num || "--"}元`; + } else if (returnFeeType === 7) { + servetype = `费用待定`; + } + return servetype + }, + /* 对象重组成字符串 */ + objToStr(obj = {}, type = 'url') { + let str = ''; + if (type == 'url') { + str = Object.keys(obj) + .map(key => `${key}=${obj[key]}`) + .join('&'); + } else if (type == 'copy') { + str = Object.keys(obj) + .map(key => `${key}${obj[key]}`) + .join(''); + } + return str; + }, +} + +export default data; \ No newline at end of file diff --git a/uni_modules/rh-ui/package.json b/uni_modules/rh-ui/package.json index 592dfa4..6bec4d1 100644 --- a/uni_modules/rh-ui/package.json +++ b/uni_modules/rh-ui/package.json @@ -1,7 +1,7 @@ { "id": "rh-ui", "displayName": "rh-ui", - "version": "1.0.918", + "version": "1.0.920", "description": "公司内部UI框架", "keywords": [ "ui框架" @@ -61,11 +61,11 @@ }, "nvue": "-", "android": { - "extVersion": "1.0.918", + "extVersion": "1.0.920", "minVersion": "19" }, "ios": { - "extVersion": "1.0.918", + "extVersion": "1.0.920", "minVersion": "12" }, "harmony": "-"