Skip to content

Commit b6771d4

Browse files
fix: 文件回撤 (#1879)
* fix: 修复 ImagePreview 在Taro编译成H5后报错的问题 * fix: 地址关闭时, Close 事件触发两次问题解决 * feat: 组件DatePicker 添加双向绑定 * docs: 组件Picker文档修改 * feat: 组件Picker与DatePicker新增属性safe-area-inset-bottom * feat: imagepreview * fix: 组件imagepreview点击视频遮罩关闭(#1729) * fix: 解决 Picker 在微信小程序中无法使用问题 (#1774) * fix: 修改 Picker 组件 v-model 失效问题 * fix: 组件NoticeBar修改height之后,垂直轮播会卡顿 * fix: 删除Datepicker Demo演示多余内容 * fix: 组件Picker在JD小程序上适配 * fix: 组件Address京东小程序适配 * feat: 京东小程序适配 * fix: 删除空格 * feat: 删除console * fix: 京东小程序imagepreview适配 * fix: 修复 imagepreview 动态设置 initNo 显示不正确问题 * fix: 组件 InfiniteLoading 某些情况下会错误触发下拉刷新#1819 * fix: 删除pullrefresh * feat: 组件 imagepreview瘦身 * feat: 组件Picker 瘦身 * fix: address线上问题修改 * fix: 完善imagepreview * feat: 公共函数提取 * feat: 函数式改用 createComponent * fix: 文件回撤
1 parent 884b17c commit b6771d4

File tree

2 files changed

+103
-0
lines changed

2 files changed

+103
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Comment":{"videos":[{"mainUrl":"https://img.300hu.com/4c1f7a6atransbjngwcloud1oss/3a5abb98377496264567160833/imageSampleSnapshot/1604738160_777980391.100_1344.jpg","videoUrl":"https://vod.300hu.com/4c1f7a6atransbjngwcloud1oss/3a5abb98377496264567160833/v.f30.mp4?source=1&h265=v.f1022_h265.mp4"}],"images":[{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/153847/3/5051/62777/5fa65e01Ec88cecb9/36ba206949050b39.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/131794/19/15190/57841/5fa65e03E75c12ef1/0d1ac3a87ff9e398.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/155091/12/4926/68141/5fa65e03E9d8c5120/9c71b6e49f1eb3c3.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/138774/29/13635/70364/5fa65e04E1669ad70/c97839098a18d92e.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/120265/1/17811/70109/5fa65e05Eb23a84e3/e156fc1d316922c4.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/120265/1/17811/70109/5fa65e05Eb23a84e3/e156fc1d316922c4.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/155091/12/4926/68141/5fa65e03E9d8c5120/9c71b6e49f1eb3c3.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/138774/29/13635/70364/5fa65e04E1669ad70/c97839098a18d92e.jpg"},{"smallImgUrl":"","bigImgUrl":"","imgUrl":"https://img30.360buyimg.com/imagetools/jfs/t1/138774/29/13635/70364/5fa65e04E1669ad70/c97839098a18d92e.jpg"}],"info":{"content":"产品包装:塑料瓶,但是能接受,也很喜欢。","nickName":"星***_","score":5,"avatar":"//nutui.jd.com/3x/demo-3.1.18/logo-red.png","time":"2021-09-09","size":"雪域白【碎屏险套装】全网通;8G+256【12期免息】","replay":23,"like":1},"follow":{"days":128,"content":"12月份开始用,用到现在,我的脸干的不行,一天都紧紧巴巴,打算换套别的用,不知道是不是不合适,还是假的呢!","images":["//img30.360buyimg.com/imagetools/jfs/t1/120265/1/17811/70109/5fa65e05Eb23a84e3/e156fc1d316922c4.jpg"]}}}

src/packages/__VUE/sku/data.ts

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
export const Sku = [
2+
{
3+
id: 1,
4+
name: '颜色',
5+
list: [
6+
{
7+
name: '亮黑色',
8+
id: 100016015112,
9+
active: true,
10+
disable: false
11+
},
12+
{
13+
name: '釉白色',
14+
id: 100016015142,
15+
active: false,
16+
disable: false
17+
},
18+
{
19+
name: '秘银色',
20+
id: 100016015078,
21+
active: false,
22+
disable: false
23+
},
24+
{
25+
name: '夏日胡杨',
26+
id: 100009064831,
27+
active: false,
28+
disable: false
29+
},
30+
{
31+
name: '秋日胡杨',
32+
id: 100009064830,
33+
active: false,
34+
disable: false
35+
}
36+
]
37+
},
38+
{
39+
id: 2,
40+
name: '版本',
41+
list: [
42+
{
43+
name: '8GB+128GB',
44+
id: 100016015102,
45+
active: true,
46+
disable: false
47+
},
48+
{
49+
name: '8GB+256GB',
50+
id: 100016015122,
51+
active: false,
52+
disable: false
53+
}
54+
]
55+
},
56+
{
57+
id: 3,
58+
name: '版本',
59+
list: [
60+
{
61+
name: '4G(有充版)',
62+
id: 100016015103,
63+
active: true,
64+
disable: false
65+
},
66+
{
67+
name: '5G(有充版)',
68+
id: 100016015123,
69+
active: false,
70+
disable: false
71+
},
72+
{
73+
name: '5G(无充版)',
74+
id: 100016015104,
75+
active: true,
76+
disable: true
77+
},
78+
{
79+
name: '5G(无充)质保换新版',
80+
id: 100016015125,
81+
active: false,
82+
disable: false
83+
}
84+
]
85+
}
86+
];
87+
88+
export const Goods = {
89+
skuId: '100016015112',
90+
price: '4599.00',
91+
imagePath:
92+
'//m.360buyimg.com/mobilecms/s750x750_jfs/t1/210630/17/8651/208682/618a5bd6Eddc8ea0e/b5e55e1a03bc0126.jpg!q80.dpg.webp'
93+
};
94+
95+
export const imagePathMap = {
96+
100016015112:
97+
'//m.360buyimg.com/mobilecms/s750x750_jfs/t1/210630/17/8651/208682/618a5bd6Eddc8ea0e/b5e55e1a03bc0126.jpg!q80.dpg.web',
98+
100016015142: '//img14.360buyimg.com/n4/jfs/t1/216079/14/3895/201095/618a5c0cEe0b9e2ba/cf5b98fb6128a09e.jpg',
99+
100016015078: '//img14.360buyimg.com/n4/jfs/t1/215845/12/3788/221990/618a5c4dEc71cb4c7/7bd6eb8d17830991.jpg',
100+
100009064831: '//img14.360buyimg.com/n4/jfs/t1/203247/8/14659/237368/618a5c87Ecc968774/b0bb25331e5e2d1a.jpg',
101+
100009064830: '//img14.360buyimg.com/n4/jfs/t1/160950/40/25098/234168/618a5cb9E65ba975e/7f8f93ea7767a51b.jpg'
102+
};

0 commit comments

Comments
 (0)