@opentiny/vue-docs 3.24.4 → 3.24.6

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opentiny/vue-docs",
3
3
  "type": "module",
4
- "version": "3.24.4",
4
+ "version": "3.24.6",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "@docsearch/css": "^3.8.0",
@@ -11,7 +11,7 @@
11
11
  "@opentiny/tiny-robot": "0.2.1",
12
12
  "@opentiny/tiny-robot-kit": "0.2.1",
13
13
  "@opentiny/tiny-robot-svgs": "0.2.1",
14
- "@opentiny/tiny-vue-mcp": "^0.0.1",
14
+ "@opentiny/tiny-vue-mcp": "^0.0.2",
15
15
  "@opentiny/vue-repl": "^1.1.2",
16
16
  "@opentiny/vue-vite-import": "~1.2.0",
17
17
  "@unocss/reset": "0.38.2",
@@ -31,20 +31,20 @@
31
31
  "vue-router": "4.1.5",
32
32
  "@opentiny/utils": "~3.24.0",
33
33
  "@opentiny/vue-common": "~3.24.0",
34
+ "@opentiny/vue-design-saas": "~3.24.0",
34
35
  "@opentiny/vue": "~3.24.0",
35
36
  "@opentiny/vue-design-smb": "~3.24.0",
36
- "@opentiny/vue-design-saas": "~3.24.0",
37
37
  "@opentiny/vue-design-aurora": "~3.24.0",
38
38
  "@opentiny/vue-flowchart": "~3.24.0",
39
- "@opentiny/vue-directive": "~3.24.0",
40
39
  "@opentiny/vue-hooks": "~3.24.0",
41
- "@opentiny/vue-icon": "~3.24.0",
42
40
  "@opentiny/vue-huicharts": "~3.24.0",
43
- "@opentiny/vue-icon-saas": "~3.24.0",
41
+ "@opentiny/vue-icon": "~3.24.0",
42
+ "@opentiny/vue-directive": "~3.24.0",
44
43
  "@opentiny/vue-icon-multicolor": "~3.24.0",
45
- "@opentiny/vue-locale": "~3.24.0",
46
44
  "@opentiny/vue-modal": "~3.24.0",
45
+ "@opentiny/vue-locale": "~3.24.0",
47
46
  "@opentiny/vue-renderless": "~3.24.0",
47
+ "@opentiny/vue-icon-saas": "~3.24.0",
48
48
  "@opentiny/vue-theme": "~3.24.0",
49
49
  "@opentiny/vue-theme-saas": "~3.24.0"
50
50
  },
@@ -27,7 +27,7 @@
27
27
  <tiny-grid-column type="selection" width="50" />
28
28
  <tiny-grid-column title="商品图片" width="100">
29
29
  <template #default="{ row }">
30
- <tiny-image :src="row.image" :preview-src-list="[row.image]" class="product-image" />
30
+ <img :src="row.image" class="product-image" />
31
31
  </template>
32
32
  </tiny-grid-column>
33
33
 
@@ -93,7 +93,7 @@ import { ref } from 'vue'
93
93
  import productsData from './products.json'
94
94
  import { $local } from '../../composable/utils'
95
95
  import { useNextServer } from '@opentiny/next-vue'
96
- import { TinyGrid, TinyGridColumn, TinyButton, TinyTag, TinyModal, TinyImage } from '@opentiny/vue'
96
+ import { TinyGrid, TinyGridColumn, TinyButton, TinyTag, TinyModal } from '@opentiny/vue'
97
97
 
98
98
  if (!$local.products) {
99
99
  $local.products = productsData
@@ -111,7 +111,7 @@ const categoryLabels: Record<string, string> = {
111
111
  // 新增商品到编辑弹窗
112
112
  const addProductToEdit = async () => {
113
113
  gridRef?.value?.insert({
114
- 'image': 'https://img1.baidu.com/it/u=1559062020,1043707656&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500',
114
+ image: 'https://agent.icjs.ink/images/huawei-pura.jpg',
115
115
  price: 10000,
116
116
  stock: 100,
117
117
  category: 'phones',
@@ -198,6 +198,7 @@ const { server } = useNextServer({
198
198
  }
199
199
 
200
200
  .product-image {
201
+ display: block;
201
202
  width: 40px;
202
203
  height: 40px;
203
204
  border-radius: 4px;
@@ -1,11 +1,10 @@
1
1
  [
2
-
3
2
  {
4
3
  "id": 1,
5
4
  "name": "iPhone 16",
6
5
  "price": 5999,
7
6
  "description": "苹果手机",
8
- "image": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.alicdn.com%2Fbao%2Fuploaded%2FO1CN011qHTQ81edxfMcnfNR_%21%216000000003895-0-yinhe.jpg_300x300.jpg&refer=http%3A%2F%2Fimg.alicdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1750986769&t=4570d81c9f0301ab1745c75dfff9f272",
7
+ "image": "https://agent.icjs.ink/images/iphone.jpg",
9
8
  "category": "phones",
10
9
  "stock": 100,
11
10
  "status": "on",
@@ -17,7 +16,7 @@
17
16
  "name": "MacBook Pro",
18
17
  "price": 12999,
19
18
  "description": "笔记本电脑",
20
- "image": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fg-search1.alicdn.com%2Fimg%2Fbao%2Fuploaded%2Fi3%2F1831488473%2FO1CN01I8MRyC2CSgWGbhVjJ_%21%211831488473.jpg_300x300.jpg&refer=http%3A%2F%2Fg-search1.alicdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1750986810&t=9eb9c9e0765244130200dd0f935b9cea",
19
+ "image": "https://agent.icjs.ink/images/macbook.jpg",
21
20
  "category": "laptops",
22
21
  "stock": 50,
23
22
  "status": "off",
@@ -29,7 +28,7 @@
29
28
  "name": "iPad",
30
29
  "price": 2399,
31
30
  "description": "平板电脑",
32
- "image": "https://respic.3d66.com/coverimg/cache/f2d1/53893cd4d00efe87132f1e3371b72339.jpg%21medium-size-2?v=17611204&k=D41D8CD98F00B204E9800998ECF8427E",
31
+ "image": "https://agent.icjs.ink/images/ipad.jpg",
33
32
  "category": "tablets",
34
33
  "stock": 12999,
35
34
  "status": "on",
@@ -41,7 +40,7 @@
41
40
  "name": "Huawei Pura 70",
42
41
  "price": 6499,
43
42
  "description": "华为手机",
44
- "image": "https://img1.baidu.com/it/u=1559062020,1043707656&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500",
43
+ "image": "https://agent.icjs.ink/images/huawei-pura.jpg",
45
44
  "category": "phones",
46
45
  "stock": 1999,
47
46
  "status": "on",
@@ -53,7 +52,7 @@
53
52
  "name": "Huawei Mate XT ultimate",
54
53
  "price": 23999,
55
54
  "description": "华为手机 非凡大师",
56
- "image": "https://img2.baidu.com/it/u=2892977680,910281472&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
55
+ "image": "https://agent.icjs.ink/images/huawei-mate.jpg",
57
56
  "category": "phones",
58
57
  "stock": 100,
59
58
  "status": "on",
@@ -65,7 +64,7 @@
65
64
  "name": "小米15",
66
65
  "price": 4999,
67
66
  "description": "小米手机",
68
- "image": "https://img2.baidu.com/it/u=2892977680,910281472&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
67
+ "image": "https://agent.icjs.ink/images/xiaomi-15.jpg",
69
68
  "category": "phones",
70
69
  "stock": 222,
71
70
  "status": "off",
@@ -77,7 +76,7 @@
77
76
  "name": "小米 13",
78
77
  "price": 3999,
79
78
  "description": "小米手机",
80
- "image": "https://img1.baidu.com/it/u=809120544,2106407569&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500",
79
+ "image": "https://agent.icjs.ink/images/xiaomi-13.jpg",
81
80
  "category": "phones",
82
81
  "stock": 2222,
83
82
  "status": "on",
@@ -89,7 +88,7 @@
89
88
  "name": "Vivo X90",
90
89
  "price": 2999,
91
90
  "description": "Vivo手机",
92
- "image": "https://img2.baidu.com/it/u=2892977680,910281472&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
91
+ "image": "https://agent.icjs.ink/images/vivo-x90.jpg",
93
92
  "category": "phones",
94
93
  "stock": 3999,
95
94
  "status": "on",