diff --git a/pages/NursingNew/component/logistics/index.css b/pages/NursingNew/component/logistics/index.css index c2d7e09..10c496e 100644 --- a/pages/NursingNew/component/logistics/index.css +++ b/pages/NursingNew/component/logistics/index.css @@ -2049,7 +2049,7 @@ /* background-color: red; */ .packtarget-blue { - color: #0089FE; + /* color: #0089FE; */ } .packtarget-shu { diff --git a/pages/NursingNew/component/logistics/newindex.vue b/pages/NursingNew/component/logistics/newindex.vue index 68bb558..59e7e58 100644 --- a/pages/NursingNew/component/logistics/newindex.vue +++ b/pages/NursingNew/component/logistics/newindex.vue @@ -1698,10 +1698,10 @@ const emotionTagList = ref([]); const bodyTagList = ref([]); const geteverything = () => { - console.log("为啥",uni.getStorageSync('nuId')) + // console.log("为啥",uni.getStorageSync('nuId')) if (uni.getStorageSync('nuId')) { getNclist(uni.getStorageSync('nuId')).then((res : any) => { - console.log("通了吗",res) + // console.log("通了吗",res) timearr.value = Array.from({ length: 24 }, (_, hour) => ({ positioning: hour.toString(), children: minuteArr.map(time => ({ diff --git a/pages/NursingNew/component/nurse/index.css b/pages/NursingNew/component/nurse/index.css index 0ca5f76..aa59093 100644 --- a/pages/NursingNew/component/nurse/index.css +++ b/pages/NursingNew/component/nurse/index.css @@ -1724,8 +1724,9 @@ margin-top: 20rpx; width: 97%; margin-left: 3%; - height: 510rpx; + height: 410rpx; display: flex; + /* background-color: red; */ /* 禁止元素拖动 */ .tree-item { @@ -1734,7 +1735,7 @@ .tree-card { width: 100%; - height: 20%; + height: 25%; display: flex; justify-content: center; align-items: center; @@ -2054,7 +2055,7 @@ /* background-color: red; */ .packtarget-blue { - color: #0089FE; + /* color: #0089FE; */ } .packtarget-shu { @@ -2329,4 +2330,9 @@ font-size: 1.4vw; color: #555555; } +} +.changerulertype{ + width: 100%; + height: 125rpx; + /* background-color: red; */ } \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/newindex - 副本.vue b/pages/NursingNew/component/nurse/newindex - 副本.vue new file mode 100644 index 0000000..4bcb26a --- /dev/null +++ b/pages/NursingNew/component/nurse/newindex - 副本.vue @@ -0,0 +1,2311 @@ + + + + + + \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/newindex.vue b/pages/NursingNew/component/nurse/newindex.vue index 96f49be..a02072c 100644 --- a/pages/NursingNew/component/nurse/newindex.vue +++ b/pages/NursingNew/component/nurse/newindex.vue @@ -389,6 +389,9 @@ + + + @@ -1132,6 +1135,7 @@ } } const doChangeNew = () => { + console.log("啥啊") let object = postitem.value; indexsave.value = [Number(props.sendxy[0]), Number(props.sendxy[1])] // 旧的tagName保存了 @@ -2202,6 +2206,7 @@ } }) } else { + console.log("测试新增") addDirective(postdata).then((res) => { if (res.success) { geteverything() diff --git a/pages/NursingNew/component/warehousematrix/index.css b/pages/NursingNew/component/warehousematrix/index.css index d888c05..b205a0c 100644 --- a/pages/NursingNew/component/warehousematrix/index.css +++ b/pages/NursingNew/component/warehousematrix/index.css @@ -2048,7 +2048,7 @@ /* background-color: red; */ .packtarget-blue { - color: #0089FE; + /* color: #0089FE; */ } .packtarget-shu { diff --git a/pages/login/ceshi.nvue b/pages/login/ceshi.nvue index 69878bd..3133aba 100644 --- a/pages/login/ceshi.nvue +++ b/pages/login/ceshi.nvue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/pages/login/index.vue b/pages/login/index.vue index 1381290..83c6bab 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -4,7 +4,6 @@ - {{ uni.getStorageSync('realname') }} diff --git a/unpackage/dist/dev/.nvue/pages/login/ceshi.js b/unpackage/dist/dev/.nvue/pages/login/ceshi.js index 57ff8ef..d849116 100644 --- a/unpackage/dist/dev/.nvue/pages/login/ceshi.js +++ b/unpackage/dist/dev/.nvue/pages/login/ceshi.js @@ -1,89 +1,8 @@ -import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, Fragment, renderList, normalizeStyle } from "vue"; +import { openBlock, createElementBlock, createCommentVNode } from "vue"; import { _ as _export_sfc } from "../../_plugin-vue_export-helper.js"; -const _style_0 = { "page": { "": { "flex": 1, "backgroundColor": "#f5f6fa", "height": 100 } }, "controls": { "": { "paddingTop": 20, "paddingRight": 20, "paddingBottom": 20, "paddingLeft": 20, "backgroundColor": "#ffffff" } }, "row": { "": { "flexDirection": "row", "alignItems": "center", "marginBottom": 10 } }, "btn": { "": { "paddingTop": 10, "paddingRight": 14, "paddingBottom": 10, "paddingLeft": 14, "borderRadius": 6, "backgroundColor": "#2d8cf0", "color": "#ffffff", "marginRight": 10 } }, "stat": { "": { "marginRight": 14, "fontSize": 28 } }, "hint": { "": { "color": "#888888", "fontSize": 24, "marginTop": 6 } }, "list": { "": { "flex": 1 } }, "item": { "": { "height": 160, "paddingTop": 12, "paddingRight": 12, "paddingBottom": 12, "paddingLeft": 12, "flexDirection": "row", "alignItems": "center", "borderBottomWidth": 1, "borderBottomStyle": "solid", "borderBottomColor": "rgba(0,0,0,0.06)", "backgroundColor": "#ffffff" } }, "thumb": { "": { "width": 120, "height": 120, "borderRadius": 8, "marginRight": 12 } }, "meta": { "": { "flex": 1 } }, "title": { "": { "fontSize": 30, "fontWeight": "bold", "marginBottom": 8 } }, "desc": { "": { "fontSize": 24, "color": "#666666", "lineHeight": 32 } } }; -const _sfc_main = { - data() { - return { - items: [], - // FPS 测量 - measuring: false, - fpsDisplay: 0, - avgFrameMsDisplay: 0, - // 内部用 - _frames: [], - _rafId: null, - _idleTO: null - }; - }, - methods: { - generate(n) { - const list = []; - for (let i = 0; i < n; i++) { - list.push({ - id: i + 1, - color: this._randColor() - }); - } - this.items = list; - this.fpsDisplay = 0; - this.avgFrameMsDisplay = 0; - }, - clearList() { - this.items = []; - this.fpsDisplay = 0; - this.avgFrameMsDisplay = 0; - }, - _randColor() { - const h = Math.floor(Math.random() * 360); - const s = 60 + Math.floor(Math.random() * 20); - const l = 55 + Math.floor(Math.random() * 10); - return `hsl(${h} ${s}% ${l}%)`; - }, - // 滚动回调(来自原生 nvue scroll-view) - onScroll(e) { - if (!this.measuring) - this._startMeasure(); - clearTimeout(this._idleTO); - this._idleTO = setTimeout(() => { - this._stopMeasure(); - }, 300); - }, - _startMeasure() { - this.measuring = true; - this._frames = []; - const pushFrame = (t) => { - this._frames.push(t); - if (this._frames.length > 120) - this._frames.shift(); - this._rafId = requestAnimationFrame(pushFrame); - }; - this._rafId = requestAnimationFrame(pushFrame); - }, - _stopMeasure() { - this.measuring = false; - if (this._rafId) { - cancelAnimationFrame(this._rafId); - this._rafId = null; - } - if (this._frames.length < 2) { - this.fpsDisplay = 0; - this.avgFrameMsDisplay = 0; - return; - } - const intervals = []; - for (let i = 1; i < this._frames.length; i++) { - intervals.push(this._frames[i] - this._frames[i - 1]); - } - const sum = intervals.reduce((a, b) => a + b, 0); - const avg = sum / intervals.length; - const fps = 1e3 / avg; - this.avgFrameMsDisplay = avg.toFixed(2); - this.fpsDisplay = Math.round(fps); - } - } -}; +const _style_0 = {}; +const _sfc_main = {}; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_button = resolveComponent("button"); return openBlock(), createElementBlock("scroll-view", { scrollY: true, showScrollbar: true, @@ -91,120 +10,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { bubble: "true", style: { flexDirection: "column" } }, [ - createElementVNode("div", { class: "page" }, [ - createElementVNode("div", { class: "controls" }, [ - createElementVNode("div", { class: "row" }, [ - createVNode(_component_button, { - class: "btn", - onClick: _cache[0] || (_cache[0] = ($event) => $options.generate(2e3)) - }, { - default: withCtx(() => [ - createTextVNode("生成 2000 项") - ]), - _: 1 - /* STABLE */ - }), - createVNode(_component_button, { - class: "btn", - onClick: _cache[1] || (_cache[1] = ($event) => $options.generate(5e3)) - }, { - default: withCtx(() => [ - createTextVNode("生成 5000 项") - ]), - _: 1 - /* STABLE */ - }), - createVNode(_component_button, { - class: "btn", - onClick: $options.clearList - }, { - default: withCtx(() => [ - createTextVNode("清空") - ]), - _: 1 - /* STABLE */ - }, 8, ["onClick"]) - ]), - createElementVNode("div", { class: "row" }, [ - createElementVNode( - "u-text", - { class: "stat" }, - "FPS: " + toDisplayString($data.fpsDisplay), - 1 - /* TEXT */ - ), - createElementVNode( - "u-text", - { class: "stat" }, - "平均帧(ms): " + toDisplayString($data.avgFrameMsDisplay), - 1 - /* TEXT */ - ), - createElementVNode( - "u-text", - { class: "stat" }, - "items: " + toDisplayString($data.items.length), - 1 - /* TEXT */ - ) - ]), - createElementVNode("div", { class: "hint" }, [ - createElementVNode("u-text", null, "说明:向下快速滚动列表以测试渲染/滚动性能;nvue 将使用原生渲染。") - ]) - ]), - createElementVNode( - "scroll-view", - { - class: "list", - scrollY: true, - showScrollbar: "true", - onScroll: _cache[2] || (_cache[2] = (...args) => $options.onScroll && $options.onScroll(...args)) - }, - [ - (openBlock(true), createElementBlock( - Fragment, - null, - renderList($data.items, (item) => { - return openBlock(), createElementBlock("div", { - class: "item", - key: item.id - }, [ - createElementVNode( - "div", - { - class: "thumb", - style: normalizeStyle({ backgroundColor: item.color }) - }, - null, - 4 - /* STYLE */ - ), - createElementVNode("div", { class: "meta" }, [ - createElementVNode( - "u-text", - { class: "title" }, - "Item #" + toDisplayString(item.id), - 1 - /* TEXT */ - ), - createElementVNode( - "u-text", - { class: "desc" }, - "这是第 " + toDisplayString(item.id) + " 个条目,用于增加每个 DOM 的复杂度以测试渲染成本。多行文本强制布局多次换行,模拟真实列表。", - 1 - /* TEXT */ - ) - ]) - ]); - }), - 128 - /* KEYED_FRAGMENT */ - )) - ], - 32 - /* NEED_HYDRATION */ - ) - ]) + createCommentVNode('
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n FPS: {{fpsDisplay}}\r\n 平均帧(ms): {{avgFrameMsDisplay}}\r\n items: {{items.length}}\r\n
\r\n
说明:向下快速滚动列表以测试渲染/滚动性能;nvue 将使用原生渲染。
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n Item #{{item.id}}\r\n 这是第 {{item.id}} 个条目,用于增加每个 DOM 的复杂度以测试渲染成本。多行文本强制布局多次换行,模拟真实列表。\r\n
\r\n
\r\n
\r\n
') ]); } const ceshi = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/login/ceshi.nvue"]]);