@opendesign-plus-test/components 0.0.1-rc.68 → 0.0.1-rc.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +4 -0
  3. package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +3 -2
  4. package/dist/components/config-provider/index.d.ts +3 -0
  5. package/dist/components/footer/OFooter.vue.d.ts +1 -1
  6. package/dist/components/footer/index.d.ts +3 -3
  7. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +4 -4
  8. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  9. package/dist/components/meeting/index.d.ts +2 -2
  10. package/dist/components.cjs.js +37 -37
  11. package/dist/components.css +1 -1
  12. package/dist/components.es.js +6522 -6472
  13. package/package.json +1 -1
  14. package/src/assets/meeting/svg-icons/icon-copy.svg +4 -3
  15. package/src/assets/meeting/svg-icons/icon-empty.svg +65 -31
  16. package/src/components/config-provider/OPlusConfigProvider.vue +3 -3
  17. package/src/components/events/OEventsApply.vue +8 -2
  18. package/src/components/events/OEventsList.vue +1 -3
  19. package/src/components/meeting/OMeetingCalendar.vue +21 -4
  20. package/src/components/meeting/OMeetingMyCalendar.vue +102 -86
  21. package/src/components/meeting/OMeetingSigCalendar.vue +89 -30
  22. package/src/components/meeting/components/OMeetingCalendarList.vue +33 -13
  23. package/src/components/meeting/components/OMeetingDetail.vue +22 -4
  24. package/src/components/meeting/components/OMeetingSigAside.vue +6 -5
  25. package/src/i18n/en.ts +2 -0
  26. package/src/i18n/zh.ts +2 -0
  27. package/src/assets/meeting/svg-icons/icon-empty_dark.svg +0 -49
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.68",
3
+ "version": "0.0.1-rc.69",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,3 +1,4 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="30" height="32" viewBox="0 0 30 32">
2
- <path opacity="0.8" fill="#000" d="M12.983 5.523c0.341 0 0.667 0.14 0.902 0.388l6.569 6.917c0.142 0.15 0.243 0.331 0.297 0.526 0.054 0.141 0.085 0.295 0.085 0.457 0 0.108-0.014 0.213-0.040 0.314l-0 13.942c0 1.964-1.592 3.556-3.556 3.556h-13.296c-1.964 0-3.556-1.592-3.556-3.556v-18.987c0-1.964 1.592-3.556 3.556-3.556zM11.528 8.011l-7.582 0.001c-0.589 0-1.067 0.478-1.067 1.067v18.987c0 0.589 0.478 1.067 1.067 1.067h13.296c0.589 0 1.067-0.478 1.067-1.067l-0.002-13.012-3.149 0.002c-1.935 0-3.515-1.547-3.555-3.482l-0.075-3.561zM9.777 24.987c0.491 0 0.889 0.398 0.889 0.889s-0.398 0.889-0.889 0.889h-4.432c-0.491 0-0.889-0.398-0.889-0.889s0.398-0.889 0.889-0.889h4.432zM26.256 0.269c1.964 0 3.556 1.592 3.556 3.556v18.012c0 1.964-1.592 3.556-3.556 3.556h-2.586c-0.687 0-1.244-0.557-1.244-1.244s0.557-1.244 1.244-1.244h2.586c0.589 0 1.067-0.478 1.067-1.067v-18.012c0-0.589-0.478-1.067-1.067-1.067h-13.27c-0.496 0-0.912 0.338-1.032 0.796l-2.514 0.002c0.137-1.838 1.672-3.287 3.546-3.287h13.27zM12.112 21.432c0.491 0 0.889 0.398 0.889 0.889s-0.398 0.889-0.889 0.889h-6.743c-0.491 0-0.889-0.398-0.889-0.889s0.398-0.889 0.889-0.889h6.743zM14.234 17.876c0.491 0 0.889 0.398 0.889 0.889s-0.398 0.889-0.889 0.889h-8.853c-0.491 0-0.889-0.398-0.889-0.889s0.398-0.889 0.889-0.889h8.853zM14.052 9.7l0.039 1.821c0.012 0.58 0.486 1.045 1.066 1.045l1.617-0.002-2.722-2.864z"></path>
3
- </svg>
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path opacity="0.8" fill="#000"
3
+ d="M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"></path>
4
+ </svg>
@@ -1,31 +1,65 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="206px" height="180px" viewBox="0 0 206 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <defs>
4
- <rect id="path-1" x="0" y="0" width="206" height="180"></rect>
5
- <linearGradient x1="49.999996%" y1="0.000591140195%" x2="49.999996%" y2="60.7008904%" id="linearGradient-3">
6
- <stop stop-color="#01489F" stop-opacity="0.150376967" offset="0%"></stop>
7
- <stop stop-color="#01489F" stop-opacity="0" offset="100%"></stop>
8
- </linearGradient>
9
- </defs>
10
- <g id="会议页面" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11
- <g id="在线会议" transform="translate(-1137.000000, -388.000000)">
12
- <g id="编组-63备份-2" transform="translate(260.000000, 247.000000)">
13
- <g id="会议页面-空状态icon" transform="translate(877.000000, 141.000000)">
14
- <mask id="mask-2" fill="white">
15
- <use xlink:href="#path-1"></use>
16
- </mask>
17
- <g id="蒙版"></g>
18
- <path d="M152.867261,131.088856 C195.292055,139.512762 224.857143,158.430303 224.857143,180.416864 L-18.1428571,180.416864 C-18.1428571,158.430303 11.4222311,139.512762 53.8470251,131.088856 C55.178629,133.659964 57.8627129,135.416864 60.9571429,135.416864 L145.757143,135.416864 C148.841601,135.416864 151.518354,133.671269 152.853402,131.114077 Z" id="形状结合" fill="url(#linearGradient-3)" mask="url(#mask-2)"></path>
19
- <path d="M153.763602,79.6449682 L153.763602,127.444968 C153.763602,131.863246 150.18188,135.444968 145.763602,135.444968 L60.9636017,135.444968 C56.5453237,135.444968 52.9636017,131.863246 52.9636017,127.444968 L52.9636017,79.6449682 L153.763602,79.6449682 Z M119.563602,94.9449682 L87.1636017,94.9449682 C85.1753766,94.9449682 83.5636017,96.5567431 83.5636017,98.5449682 C83.5636017,100.533193 85.1753766,102.144968 87.1636017,102.144968 L119.563602,102.144968 C121.551827,102.144968 123.163602,100.533193 123.163602,98.5449682 C123.163602,96.5567431 121.551827,94.9449682 119.563602,94.9449682 Z" id="形状结合备份-2" fill-opacity="0.2" fill="#01489F" mask="url(#mask-2)"></path>
20
- <path d="M141.163602,50.8449682 L153.763602,79.6449682 L141.162602,79.6439682 L141.163602,50.8449682 Z M65.5636017,79.6439682 L52.9636017,79.6449682 L65.5636017,50.8449682 L65.5636017,79.6439682 Z" id="形状结合备份-3" fill-opacity="0.4" fill="#01489F" fill-rule="nonzero" mask="url(#mask-2)"></path>
21
- <rect id="矩形备份-2" fill-opacity="0.304966" fill="#01489F" mask="url(#mask-2)" x="65.5636017" y="50.8449682" width="75.6" height="28.8"></rect>
22
- <polygon id="路径-8备份" fill-opacity="0.2" fill="#01489F" mask="url(#mask-2)" points="91.4067882 34.6162946 97.0636017 31.9398399 76.3636017 19.3449682 78.5179397 39.2574421 84.4501253 36.7740389 88.7670427 41.8449682 88.7670427 35.6102033 79.5991513 23.598583"></polygon>
23
- <path d="M88.9636017,44.5449682 C90.3081532,57.035751 94.7603019,63.2811424 102.320048,63.2811424 C113.659667,63.2811424 116.912645,46.0841419 108.189633,45.9132014 C99.4666199,45.7422608 98.6170728,63.2227824 121.864718,65.7525822 C145.112363,68.2823821 133.790154,84.0662064 126.47837,84.1449682" id="路径-9备份" stroke-opacity="0.2" stroke="#01489F" stroke-width="0.758814333" opacity="0.5" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="3.035257203238351,3.035257203238351" mask="url(#mask-2)"></path>
24
- <path d="M170.00977,113.438857 C169.189214,114.689001 168.585928,115.440278 168.199914,115.692688 C167.103493,116.409624 166.114657,116.570611 165.444312,116.570611 C163.907778,116.570611 167.074574,116.199929 168.199914,114.944344 C168.95014,114.107288 169.838036,112.840829 170.863602,111.144968 L170.00977,111.144968 L169.066444,112.32939 C168.771686,111.956129 168.390509,111.769498 167.922911,111.769498 C167.221515,111.769498 165.409844,112.077211 164.715955,114.059442 C164.253362,115.380929 163.302578,116.544209 161.863602,117.549284 C163.942681,118.610196 165.962451,118.610196 167.922911,117.549284 C169.883371,116.488372 170.578991,115.11823 170.00977,113.438857 Z" id="路径-14备份" fill-opacity="0.2" fill="#01489F" mask="url(#mask-2)" transform="translate(166.363602, 114.744968) rotate(-3.000000) translate(-166.363602, -114.744968) "></path>
25
- <path d="M46.1120883,65.6592731 C44.7171422,67.8470256 43.6915568,69.1617605 43.035332,69.6034778 C41.1714162,70.8581154 39.4903961,71.1398431 38.350809,71.1398431 C35.7387017,71.1398431 41.1222538,70.4911496 43.035332,68.2938765 C44.3107177,66.8290278 45.8201407,64.6127251 47.5636017,61.6449682 L46.1120883,61.6449682 L44.5084331,63.7177069 C44.0073452,63.0644994 43.3593433,62.7378958 42.5644275,62.7378958 C41.372054,62.7378958 38.292214,63.2763937 37.1126022,66.7452969 C36.3261944,69.0578992 34.709861,71.0936405 32.2636017,72.852521 C35.7980363,74.7091173 39.2316448,74.7091173 42.5644275,72.852521 C45.8972104,70.9959249 47.0797639,68.5981755 46.1120883,65.6592731 Z" id="路径-14备份" fill-opacity="0.2" fill="#01489F" mask="url(#mask-2)" transform="translate(39.913602, 67.944968) rotate(-3.000000) translate(-39.913602, -67.944968) "></path>
26
- <path d="M181.492462,91.7954746 C181.74071,91.7836879 181.951511,91.9753781 181.963297,92.2236266 C182.264298,98.5632654 178.904496,103.441201 171.959805,106.805792 C171.736144,106.914152 171.466988,106.820682 171.358627,106.597021 C171.250267,106.37336 171.343737,106.104204 171.567398,105.995844 C178.206651,102.779232 181.346983,98.2199344 181.06431,92.2663098 C181.052523,92.0180613 181.244213,91.8072612 181.492462,91.7954746 Z" id="路径-6" fill-opacity="0.2" fill="#01489F" mask="url(#mask-2)"></path>
27
- </g>
28
- </g>
29
- </g>
30
- </g>
31
- </svg>
1
+ <svg width="320.000000" height="280.000000" viewBox="0 0 320 280" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+ <defs>
3
+ <clipPath id="clip832_47109">
4
+ <rect id="空内容" width="320.000000" height="280.000000" fill="white" fill-opacity="0"/>
5
+ </clipPath>
6
+ <linearGradient x1="160.000000" y1="203.999634" x2="160.000000" y2="250.525574" id="paint_linear_832_47113_0" gradientUnits="userSpaceOnUse">
7
+ <stop stop-color="#d3d4d8" stop-opacity="0.200000"/>
8
+ <stop offset="1.000000" stop-color="#d3d4d8" stop-opacity="0.000000"/>
9
+ </linearGradient>
10
+ </defs>
11
+ <g clip-path="url(#clip832_47109)">
12
+ <mask id="mask832_47110" mask-type="alpha" maskUnits="userSpaceOnUse" x="0.000000" y="0.000000" width="320.000000" height="280.000000">
13
+ <rect id="蒙版" width="320.000000" height="280.000000" fill="#D8D8D8" fill-opacity="1.000000"/>
14
+ <rect id="蒙版" x="0.500000" y="0.500000" width="319.000000" height="279.000000" stroke="#979797" stroke-opacity="0" stroke-width="1.000000"/>
15
+ </mask>
16
+ <g mask="url(#mask832_47110)">
17
+ <path id="形状结合" d="M82.5635 204C16.7947 217.145 -29 246.52 -29 280.648L349 280.648C349 246.52 303.205 217.145 237.437 204C235.692 207.917 231.765 210.648 227.2 210.648L92.8 210.648C88.2349 210.648 84.3079 207.917 82.5635 204Z" clip-rule="evenodd" fill="url(#paint_linear_832_47113_0)" fill-opacity="1.000000" fill-rule="evenodd"/>
18
+ </g>
19
+ <g mask="url(#mask832_47110)">
20
+ <g opacity="0.800000">
21
+ <g opacity="0.400000">
22
+ <path id="形状结合备份 2"
23
+ d="M238.41 123.892L81.6099 123.892L81.6099 199.492C81.6099 205.678 86.6243 210.692 92.8098 210.692L227.21 210.692C233.396 210.692 238.41 205.678 238.41 199.492L238.41 123.892ZM185.2 147.692L134.8 147.692C131.707 147.692 129.2 150.2 129.2 153.292C129.2 156.385 131.707 158.892 134.8 158.892L185.2 158.892C188.293 158.892 190.8 156.385 190.8 153.292C190.8 150.2 188.293 147.692 185.2 147.692Z"
24
+ clip-rule="evenodd" fill="#d3d4d8" fill-opacity="1.000000" fill-rule="evenodd"/>
25
+ </g>
26
+ <g opacity="0.500000">
27
+ <path id="形状结合备份 3"
28
+ d="M101.21 79.0912L218.81 79.0912L238.41 123.891L218.8 123.891L218.8 79.0925L101.209 79.0925L101.21 79.0912ZM101.2 79.1135L81.6099 123.891L101.2 123.891L101.2 101.492L101.2 79.1135Z"
29
+ clip-rule="evenodd" fill="#d3d4d8" fill-opacity="1.000000" fill-rule="evenodd"/>
30
+ </g>
31
+ <g opacity="0.600000">
32
+ <rect id="矩形备份 2" x="101.209961" y="79.092285" width="117.599998" height="44.799999"
33
+ fill="#d3d4d8" fill-opacity="1.000000"/>
34
+ </g>
35
+ <g opacity="0.500000">
36
+ <path id="路径 8备份"
37
+ d="M141.41 53.84L150.21 49.68L118.01 30.09L121.36 61.06L130.58 57.2L137.3 65.09L137.3 55.39L123.04 36.7L141.41 53.84Z"
38
+ fill="#d3d4d8" fill-opacity="1.000000" fill-rule="evenodd"/>
39
+ </g>
40
+ <g opacity="0.500000">
41
+ <path id="路径 9备份" d="M137.1 69.36L137.08 69.34C137.05 69.05 137.25 68.79 137.55 68.76C137.84 68.73 138.1 68.93 138.13 69.23L138.12 69.25L137.62 69.31L164.2 97.36C162.45 98.04 160.51 98.43 158.38 98.43C141.01 98.43 137.7 70.16 137.61 69.31L137.1 69.36ZM167.76 95.4C166.68 96.19 165.49 96.85 164.2 97.36L195.59 130.5C195.49 130.6 195.43 130.74 195.43 130.89C195.43 131.19 195.67 131.42 195.97 131.42L195.99 131.4L195.98 130.89C207.36 130.74 224.93 106.21 188.78 102.28C179.4 101.26 172.54 98.67 167.76 95.4ZM167.76 95.4C154.13 86.07 157.47 71.22 167.51 71.42C178.24 71.63 177.32 88.38 167.76 95.4Z" fill="#D8D8D8" fill-opacity="0" fill-rule="evenodd"/>
42
+ <path id="路径 9备份"
43
+ d="M137.61 69.29C137.61 69.29 140.74 98.43 158.38 98.43C176.02 98.43 181.08 71.68 167.51 71.42C153.94 71.15 152.62 98.34 188.78 102.28C224.95 106.21 207.34 130.76 195.96 130.89"
44
+ stroke="#d3d4d8" stroke-opacity="0.800000" stroke-width="1.062340" stroke-linejoin="round"
45
+ stroke-linecap="round" stroke-dasharray="4.24936 4.24936"/>
46
+ </g>
47
+ <g opacity="0.300000">
48
+ <path id="路径-14备份"
49
+ d="M263.56 176.16C262.39 178.17 261.51 179.39 260.94 179.81C259.29 181.01 257.77 181.34 256.73 181.4C254.34 181.52 259.23 180.69 260.87 178.65C261.97 177.29 263.25 175.25 264.7 172.53L263.38 172.6L262.01 174.52C261.52 173.96 260.91 173.7 260.19 173.74C259.1 173.8 256.31 174.42 255.39 177.56C254.78 179.65 253.4 181.53 251.24 183.21C254.56 184.69 257.7 184.52 260.66 182.72C263.62 180.91 264.58 178.72 263.56 176.16Z"
50
+ fill="#d3d4d8" fill-opacity="1.000000" fill-rule="evenodd"/>
51
+ </g>
52
+ <g opacity="0.300000">
53
+ <path id="路径-14备份"
54
+ d="M70.75 101.63C68.76 105.14 67.27 107.27 66.29 108.01C63.5 110.11 60.91 110.69 59.14 110.78C55.08 110.99 63.39 109.54 66.18 105.98C68.04 103.6 70.21 100.03 72.68 95.28L70.42 95.4L68.1 98.75C67.27 97.77 66.23 97.32 65 97.38C63.15 97.48 58.41 98.57 56.86 104.05C55.82 107.71 53.48 111 49.82 113.93C55.46 116.53 60.8 116.25 65.82 113.1C70.85 109.94 72.49 106.12 70.75 101.63Z"
55
+ fill="#d3d4d8" fill-opacity="1.000000" fill-rule="evenodd"/>
56
+ </g>
57
+ <g opacity="0.300000">
58
+ <path id="路径"
59
+ d="M281.54 142.79C281.93 142.77 282.25 143.07 282.27 143.45C282.74 153.32 277.51 160.9 266.71 166.14C266.36 166.31 265.94 166.16 265.78 165.81C265.61 165.47 265.75 165.05 266.1 164.88C276.43 159.87 281.31 152.78 280.87 143.52C280.85 143.13 281.15 142.81 281.54 142.79Z"
60
+ fill="#d3d4d8" fill-opacity="1.000000" fill-rule="evenodd"/>
61
+ </g>
62
+ </g>
63
+ </g>
64
+ </g>
65
+ </svg>
@@ -8,12 +8,12 @@ import enUS from '@opensig/opendesign/es/locale/lang/en-us';
8
8
  import { configProviderInjectKey } from '@/shared/provide';
9
9
 
10
10
  export interface OPlusConfigProviderPropsT {
11
- locale: 'zh' | 'en';
12
- theme: 'light' | 'dark';
11
+ locale?: 'zh' | 'en';
12
+ theme?: 'light' | 'dark';
13
13
  }
14
14
 
15
15
  const props = withDefaults(defineProps<OPlusConfigProviderPropsT>(), {
16
- lang: 'zh',
16
+ locale: 'zh',
17
17
  theme: 'light',
18
18
  });
19
19
 
@@ -221,7 +221,7 @@ defineProps<EventsApplyPropsT>();
221
221
  background-color: var(--o-color-primary1);
222
222
  color: #fff;
223
223
  text-align: center;
224
- font-weight: 400;
224
+ font-weight: 600;
225
225
  @include respond('pad_v') {
226
226
  display: none;
227
227
  }
@@ -438,11 +438,17 @@ defineProps<EventsApplyPropsT>();
438
438
  padding-right: 192px;
439
439
  }
440
440
  @include respond('<=pad_v') {
441
- padding-right: var(--o-gap-4);
441
+ padding-right: 0;
442
442
  }
443
443
 
444
444
  .step-desc {
445
445
  padding-bottom: var(--o-gap-5);
446
+ @include respond('laptop') {
447
+ padding-bottom: var(--o-gap-4);
448
+ }
449
+ @include respond('<=pad') {
450
+ padding-bottom: var(--o-gap-3);
451
+ }
446
452
  }
447
453
 
448
454
  .img-wrapper {
@@ -229,6 +229,7 @@ const list = computed(() => {
229
229
  align-items: center;
230
230
  flex-wrap: wrap;
231
231
  justify-content: space-between;
232
+ gap: var(--o-gap-4);
232
233
 
233
234
  .filter-left {
234
235
  display: flex;
@@ -271,9 +272,6 @@ const list = computed(() => {
271
272
  .o-input {
272
273
  .o-icon-search {
273
274
  font-size: 24px;
274
- @include respond('<=pad_v') {
275
- font-size: 16px;
276
- }
277
275
  }
278
276
  }
279
277
  }
@@ -1,11 +1,11 @@
1
1
  <script setup lang="ts">
2
2
  import { computed, nextTick, onMounted, ref, watch } from 'vue';
3
3
  import {
4
- isClient,
4
+ isClient, OFigure,
5
5
  OIcon,
6
6
  OIconChevronLeft,
7
7
  OIconChevronRight,
8
- OOption,
8
+ OOption, OResult,
9
9
  OScroller,
10
10
  OSelect,
11
11
  OTab,
@@ -17,6 +17,7 @@ import OMeetingCalendarList from './components/OMeetingCalendarList.vue';
17
17
  import IconEvent from '~icons/meeting/icon-event.svg';
18
18
  import IconSummit from '~icons/meeting/icon-summit.svg';
19
19
  import IconMeeting from '~icons/meeting/icon-meet.svg';
20
+ import emptyImg from '@/assets/meeting/svg-icons/icon-empty.svg';
20
21
  import { Locales } from '@/i18n';
21
22
  import { useMeetingConfig } from './composables/useMeetingConfig';
22
23
  import {
@@ -364,7 +365,7 @@ defineExpose({
364
365
  <div class="detail-list">
365
366
  <div class="current-day">
366
367
  {{ t('meeting.latestMeeting') }}&nbsp;
367
- <span>{{ formatDate(dayjs(currentDay)) }}</span>
368
+ <span>{{ formatDate(dayjs(latestDay)) }}</span>
368
369
  </div>
369
370
  <div class="right-title">
370
371
  <div class="title-list">
@@ -399,7 +400,14 @@ defineExpose({
399
400
  :disableFormat="disableFormat"
400
401
  >
401
402
  <template #empty>
402
- <slot name="empty"></slot>
403
+ <slot name="empty">
404
+ <OResult class="empty-result">
405
+ <template #image>
406
+ <OFigure class="img" :src="emptyImg" />
407
+ </template>
408
+ <template #description>{{ t('meeting.meetingEmptyText') }}</template>
409
+ </OResult>
410
+ </slot>
403
411
  </template>
404
412
  </OMeetingCalendarList>
405
413
  </OScroller>
@@ -905,5 +913,14 @@ defineExpose({
905
913
  }
906
914
  }
907
915
  }
916
+
917
+ .empty-result {
918
+ --result-image-width: 200px;
919
+ --result-image-height: 175px;
920
+
921
+ .o-result-description {
922
+ @include tip1;
923
+ }
924
+ }
908
925
  }
909
926
  </style>
@@ -244,7 +244,7 @@ const getDetailRefs = (insRef: any, id: number) => {
244
244
  detailRefs.value[id] = insRef;
245
245
  }
246
246
  };
247
- const copyInfo = async (idx: number) => {
247
+ const copyInfo = async (idx: number | string) => {
248
248
  const instance = detailRefs.value[idx];
249
249
  await instance.copyInfo();
250
250
  message.success({
@@ -632,81 +632,83 @@ const cancelActions = computed<DialogActionT[]>(() => {
632
632
  }"
633
633
  >
634
634
  <template #title>
635
- <div class="item-header-left">
636
- <div
637
- class="meeting-icon"
638
- :style="{
635
+ <div class="item-header">
636
+ <div class="item-header-left">
637
+ <div
638
+ class="meeting-icon"
639
+ :style="{
639
640
  backgroundColor: `${row.is_delete ? 'var(--o-color-info4)' : getConfig(CalendarDataType.MEETING, 'color')}`
640
641
  }"
641
- >
642
- <OIcon>
643
- <component :is="getConfig(CalendarDataType.MEETING, 'icon')" />
644
- </OIcon>
645
- </div>
646
- <div class="header-info">
647
- <div class="meeting-title">
648
- <div v-if="row.is_delete">{{ t('meeting.meetingCancelled') }}</div>
649
- <div class="title-wrapper">
650
- <div class="title-text">{{ row.topic }}</div>
651
- </div>
652
- <div class="tag-wrapper" v-if="row.is_cycle">
653
- <OTag color="primary" variant="outline">{{ t('meeting.cycle') }}</OTag>
654
- </div>
642
+ >
643
+ <OIcon>
644
+ <component :is="getConfig(CalendarDataType.MEETING, 'icon')" />
645
+ </OIcon>
655
646
  </div>
656
- <div class="meeting-info">
657
- <span>{{ row.dateRange }}</span>
658
- <ODivider direction="v" />
659
- <span>
647
+ <div class="header-info">
648
+ <div class="meeting-title">
649
+ <div v-if="row.is_delete">{{ t('meeting.meetingCancelled') }}</div>
650
+ <div class="title-wrapper">
651
+ <div class="title-text">{{ row.topic }}</div>
652
+ </div>
653
+ <div class="tag-wrapper" v-if="row.is_cycle">
654
+ <OTag color="primary" variant="outline">{{ t('meeting.cycle') }}</OTag>
655
+ </div>
656
+ </div>
657
+ <div class="meeting-info">
658
+ <span>{{ row.dateRange }}</span>
659
+ <ODivider direction="v" />
660
+ <span>
660
661
  {{ groupType === MeetingGroupType.GROUP ? t('meeting.groups') : t('meeting.sigs')
661
- }}: {{ row.group_name }}
662
+ }}: {{ row.group_name }}
662
663
  </span>
664
+ </div>
663
665
  </div>
664
666
  </div>
665
- </div>
666
- <div class="item-header-right" v-if="!row.is_delete">
667
- <OLink
668
- :hover-underline="false"
669
- v-if="!row.isExpired"
670
- target="_blank"
671
- :href="row.join_url"
672
- rel="noopener noreferrer"
673
- >
674
- {{ t('meeting.joinMeeting') }}
675
- <template #suffix>
676
- <OIcon>
677
- <OIconChevronRight></OIconChevronRight>
678
- </OIcon>
679
- </template>
680
- </OLink>
681
- <template v-else>
667
+ <div class="item-header-right" v-if="!row.is_delete">
682
668
  <OLink
683
669
  :hover-underline="false"
670
+ v-if="!row.isExpired"
684
671
  target="_blank"
685
- v-if="row.etherpad"
686
- :href="row.etherpad"
672
+ :href="row.join_url"
673
+ rel="noopener noreferrer"
687
674
  >
688
- {{ t('meeting.meetingSummary') }}
675
+ {{ t('meeting.joinMeeting') }}
689
676
  <template #suffix>
690
677
  <OIcon>
691
678
  <OIconChevronRight></OIconChevronRight>
692
679
  </OIcon>
693
680
  </template>
694
681
  </OLink>
695
- <OLink
696
- :hover-underline="false"
697
- target="_blank"
698
- :href="`/${locale}/video/${row.group_name}/${row.mid}/${row.date}`"
699
- v-if="row.hasObsData">
700
- {{ t('meeting.viewRecord') }}
701
- <template #suffix>
702
- <OIcon>
703
- <OIconChevronRight></OIconChevronRight>
704
- </OIcon>
705
- </template>
706
- </OLink>
707
- </template>
682
+ <template v-else>
683
+ <OLink
684
+ :hover-underline="false"
685
+ target="_blank"
686
+ v-if="row.etherpad"
687
+ :href="row.etherpad"
688
+ >
689
+ {{ t('meeting.meetingSummary') }}
690
+ <template #suffix>
691
+ <OIcon>
692
+ <OIconChevronRight></OIconChevronRight>
693
+ </OIcon>
694
+ </template>
695
+ </OLink>
696
+ <OLink
697
+ :hover-underline="false"
698
+ target="_blank"
699
+ :href="`/${locale}/video/${row.group_name}/${row.mid}/${row.date}`"
700
+ v-if="row.hasObsData">
701
+ {{ t('meeting.viewRecord') }}
702
+ <template #suffix>
703
+ <OIcon>
704
+ <OIconChevronRight></OIconChevronRight>
705
+ </OIcon>
706
+ </template>
707
+ </OLink>
708
+ </template>
709
+ </div>
708
710
  </div>
709
- <OIcon @click.stop="() => copyInfo(rowIdx)" class="copy-icon">
711
+ <OIcon @click.stop="() => copyInfo(row.sub_id || row.id)" class="copy-icon">
710
712
  <IconCopy />
711
713
  </OIcon>
712
714
  </template>
@@ -714,7 +716,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
714
716
  <OMeetingDetail
715
717
  :show="expanded.includes(row.sub_id || row.id)"
716
718
  :data="row"
717
- :ref="(insRef) => getDetailRefs(insRef, row.id)"
719
+ :ref="(insRef) => getDetailRefs(insRef, row.sub_id || row.id)"
718
720
  from="my"
719
721
  />
720
722
  <div class="meeting-btn" v-if="!row.isExpired && !row.is_delete">
@@ -1245,7 +1247,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
1245
1247
  color: var(--o-color-primary1);
1246
1248
  }
1247
1249
  @include respond('>pad_v') {
1248
- --copy-display: inline-flex;
1250
+ --copy-display: block;
1249
1251
  }
1250
1252
  }
1251
1253
 
@@ -1272,7 +1274,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
1272
1274
  background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent) !important;
1273
1275
 
1274
1276
  @include respond('<=pad_v') {
1275
- --copy-display: inline-flex;
1277
+ --copy-display: block;
1276
1278
  }
1277
1279
 
1278
1280
  .o-collapse-item-header {
@@ -1288,31 +1290,33 @@ const cancelActions = computed<DialogActionT[]>(() => {
1288
1290
  display: flex;
1289
1291
  align-items: center;
1290
1292
  gap: var(--o-gap-4);
1291
- position: relative;
1293
+
1294
+ @include respond('laptop') {
1295
+ gap: var(--o-gap-3);
1296
+ }
1297
+
1298
+ @include respond('<=pad') {
1299
+ gap: var(--o-gap-2);
1300
+ }
1292
1301
 
1293
1302
  .o-collapse-item-icon {
1294
- position: relative;
1295
- top: 4px;
1296
1303
  flex-shrink: 0;
1297
- @include respond('phone') {
1298
- position: absolute;
1299
- right: 0;
1300
- width: 20px;
1301
- height: 20px;
1302
- font-size: 20px;
1303
- top: 50%;
1304
- transform: translateY(-50%);
1305
- }
1306
1304
  }
1307
1305
 
1308
1306
  .o-collapse-item-title {
1309
1307
  flex: 1;
1310
1308
  width: 0;
1309
+ min-width: 0;
1311
1310
  display: flex;
1312
- flex-direction: column;
1313
- align-items: flex-start;
1311
+ align-items: center;
1314
1312
  justify-content: space-between;
1315
1313
  margin-bottom: 0;
1314
+ gap: var(--o-gap-4);
1315
+
1316
+ .item-header {
1317
+ flex: 1;
1318
+ min-width: 0;
1319
+ }
1316
1320
  .item-header-left {
1317
1321
  display: flex;
1318
1322
  align-items: flex-start;
@@ -1336,6 +1340,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
1336
1340
  justify-content: center;
1337
1341
  flex-shrink: 0;
1338
1342
  --icon-size2: var(--icon-size);
1343
+ padding: 1px;
1339
1344
 
1340
1345
  .o-icon {
1341
1346
  font-size: calc(var(--icon-size2) - 2px);
@@ -1347,7 +1352,8 @@ const cancelActions = computed<DialogActionT[]>(() => {
1347
1352
  }
1348
1353
 
1349
1354
  .header-info {
1350
- width: calc(100% - var(--o-gap-3) - var(--icon-size));
1355
+ min-width: 0;
1356
+ flex: 1;
1351
1357
 
1352
1358
  .meeting-title {
1353
1359
  font-weight: 500;
@@ -1384,11 +1390,23 @@ const cancelActions = computed<DialogActionT[]>(() => {
1384
1390
  align-items: center;
1385
1391
  font-weight: 400;
1386
1392
  @include tip1;
1393
+ @include respond('phone') {
1394
+ flex-direction: column;
1395
+ align-items: flex-start;
1396
+ }
1387
1397
 
1398
+ .o-divider {
1399
+ @include respond('phone') {
1400
+ display: none;
1401
+ }
1402
+ }
1388
1403
  span:last-child {
1389
1404
  width: 0;
1390
1405
  flex: 1;
1391
1406
  @include text-truncate(1);
1407
+ @include respond('phone') {
1408
+ width: fit-content;
1409
+ }
1392
1410
  }
1393
1411
  }
1394
1412
  }
@@ -1413,18 +1431,16 @@ const cancelActions = computed<DialogActionT[]>(() => {
1413
1431
  }
1414
1432
 
1415
1433
  .copy-icon {
1416
- position: absolute;
1417
- top: 50%;
1418
- transform: translateY(-50%);
1419
- right: calc(var(--collapse-item-icon-size) + var(--o-gap-4));
1420
- font-size: 18px;
1421
- height: 18px;
1422
- width: 18px;
1434
+ flex-shrink: 0;
1435
+ font-size: 24px;
1423
1436
  display: var(--copy-display);
1424
1437
  color: var(--o-color-info1);
1425
- @include respond('phone') {
1426
- bottom: var(--o-gap-2);
1427
- right: calc(20px + var(--o-gap-2))
1438
+ height: 1em;
1439
+ @include respond('<=laptop') {
1440
+ font-size: 20px;
1441
+ }
1442
+ @include respond('<=pad_v') {
1443
+ font-size: 24px;
1428
1444
  }
1429
1445
 
1430
1446
  &:hover {