質問編集履歴
2
コンソールのキャプチャーを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,6 +10,10 @@
|
|
10
10
|
|
11
11
|
![イメージ説明](7156e0442b9e1229a599b328892feddf.png)
|
12
12
|
|
13
|
+
![イメージ説明](44d25f67de09cdc030958a2fa37905b6.png)
|
14
|
+
|
15
|
+
![イメージ説明](0d364f5e6980ff80affef2d101e31e73.png)
|
16
|
+
|
13
17
|
|
14
18
|
|
15
19
|
自分なりにしらべたことは、jQuery CDNのバージョンが合わないと動作しないことがあるということで
|
1
質問内容をより具体的に変更しました。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
商品詳細ページスライドショー
|
1
|
+
【Smarty & jQuery】商品詳細ページスライドショー 動作しない【カラーミーショップ】
|
test
CHANGED
@@ -4,683 +4,297 @@
|
|
4
4
|
|
5
5
|
意図した通りのデザインにならず、困っております。
|
6
6
|
|
7
|
-
具体的には、
|
7
|
+
具体的には、どうやらSlickの読み込みがうまくいっていないようで、スライドショーが動作しません。
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
|
12
|
-
|
13
|
-
子要素positoin:absolute;
|
14
|
-
|
15
|
-
left:0;
|
16
|
-
|
17
|
-
top:0;
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
9
|
+
添付のキャプチャのように写真が全部表示されてしまっています。
|
10
|
+
|
11
|
+
![イメージ説明](7156e0442b9e1229a599b328892feddf.png)
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
自分なりにしらべたことは、jQuery CDNのバージョンが合わないと動作しないことがあるということで
|
16
|
+
|
17
|
+
書き換えましたが変化はありませんでした。
|
18
|
+
|
19
|
+
|
22
20
|
|
23
21
|
ご教示いただけますと助かります。
|
24
22
|
|
25
|
-
|
26
|
-
|
27
|
-
カラーミーショップなのでhtmlは<main>以降となります。
|
28
|
-
|
29
|
-
|
23
|
+
よろしくお願いします。
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
30
|
-
|
31
|
+
##共通ページ ヘッダーにあたる部分
|
31
|
-
|
32
32
|
|
33
33
|
```html
|
34
34
|
|
35
|
+
<script
|
36
|
+
|
37
|
+
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
38
|
+
|
39
|
+
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
40
|
+
|
41
|
+
crossorigin="anonymous"></script>
|
42
|
+
|
43
|
+
```
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
#商品詳細ページ
|
48
|
+
|
49
|
+
```html
|
50
|
+
|
35
51
|
<main>
|
36
52
|
|
53
|
+
<link rel="stylesheet" href="https://img.shop-pro.jp/s_tmpl_js/28/slick/slick.css">
|
54
|
+
|
55
|
+
<link rel="stylesheet" href="https://img.shop-pro.jp/s_tmpl_js/28/slick/slick-theme.css">
|
56
|
+
|
57
|
+
<script src="https://img.shop-pro.jp/s_tmpl_js/28/slick/slick.min.js"></script>
|
58
|
+
|
59
|
+
<div class="p-product">
|
60
|
+
|
61
|
+
<!-- パンくずリスト -->
|
62
|
+
|
63
|
+
<ul class="breadcrumb-wrapper">
|
64
|
+
|
65
|
+
<li class="breadcrumb01"><a href="<{$home_url}>">Home</a></li>
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<li class="breadcrumb02"><a href="<{$bid_link}>"><{$bid_name}></a></li>
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<li class="breadcrumb03"><{$product_name}></li>
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</ul>
|
78
|
+
|
79
|
+
<!-- //パンくずリスト -->
|
80
|
+
|
81
|
+
<{if $product.id != ""}>
|
82
|
+
|
83
|
+
<div class="p-product u-container thirdlayer_section01 article">
|
84
|
+
|
85
|
+
<form name="product_form" method="post" action="<{$cart_url}>">
|
86
|
+
|
87
|
+
<div class="p-product-main">
|
88
|
+
|
89
|
+
<!-- 商品画像 -->
|
90
|
+
|
91
|
+
<div class="p-product-img">
|
92
|
+
|
93
|
+
<div class="p-product-img__main js-images-slider">
|
94
|
+
|
95
|
+
<div class="p-product-img__main-item basic">
|
96
|
+
|
97
|
+
<{if $product.img_url != ""}>
|
98
|
+
|
99
|
+
<img src="<{$product.img_url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
100
|
+
|
101
|
+
<{else}>
|
102
|
+
|
103
|
+
<img src="https://img.shop-pro.jp/tmpl_img/86/no-image.jpg" alt="<{$productlist[num].name|escape:'html'}>" />
|
104
|
+
|
105
|
+
<{/if}>
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<{if $otherimg_num != 0}>
|
110
|
+
|
111
|
+
<{section name=num loop=$otherimg}>
|
112
|
+
|
113
|
+
<{if $otherimg[num].url != ""}>
|
114
|
+
|
115
|
+
<div class="p-product-img__main-item align">
|
116
|
+
|
117
|
+
<img src="<{$otherimg[num].url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
<{/if}>
|
122
|
+
|
123
|
+
<{/section}>
|
124
|
+
|
125
|
+
<{/if}>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<{if $otherimg_num != 0}>
|
130
|
+
|
131
|
+
<div class="p-product-img__thumb">
|
132
|
+
|
133
|
+
<div class="u-overflow-slide">
|
134
|
+
|
135
|
+
<ul class="p-product-thumb-list">
|
136
|
+
|
137
|
+
<{if $product.img_url != ""}>
|
138
|
+
|
139
|
+
<li class="p-product-thumb-list__item">
|
140
|
+
|
141
|
+
<div class="p-product-thumb-list__img">
|
142
|
+
|
143
|
+
<img src="<{$product.img_url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
144
|
+
|
145
|
+
</div>
|
146
|
+
|
147
|
+
</li>
|
148
|
+
|
149
|
+
<{/if}>
|
150
|
+
|
151
|
+
<{section name=num loop=$otherimg}>
|
152
|
+
|
153
|
+
<{if $otherimg[num].url != ""}>
|
154
|
+
|
155
|
+
<li class="p-product-thumb-list__item">
|
156
|
+
|
157
|
+
<div class="p-product-thumb-list__img">
|
158
|
+
|
159
|
+
<img src="<{$otherimg[num].url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
</li>
|
164
|
+
|
165
|
+
<{/if}>
|
166
|
+
|
167
|
+
<{/section}>
|
168
|
+
|
169
|
+
</ul>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
</div>
|
174
|
+
|
175
|
+
<{/if}>
|
176
|
+
|
177
|
+
</div>
|
178
|
+
|
179
|
+
<!-- // 商品画像 -->
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<script
|
186
|
+
|
187
|
+
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
188
|
+
|
189
|
+
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
190
|
+
|
191
|
+
crossorigin="anonymous"></script>
|
192
|
+
|
193
|
+
<script src="https://img.shop-pro.jp/s_tmpl_js/28/slick/slick.min.js"></script>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
<script>
|
198
|
+
|
199
|
+
$('.main-image').on('init', function(event, slick) {
|
200
|
+
|
201
|
+
if(slick.slideCount <= 6) {
|
202
|
+
|
203
|
+
$('.product-image-sub').css('padding-left','0');
|
204
|
+
|
205
|
+
$('.product-image-sub').css('padding-right','0');
|
206
|
+
|
207
|
+
}
|
208
|
+
|
209
|
+
})
|
210
|
+
|
211
|
+
.slick({
|
212
|
+
|
213
|
+
arrows: false,
|
214
|
+
|
215
|
+
asNavFor: '.thumb',
|
216
|
+
|
217
|
+
slidesToShow: 1,
|
218
|
+
|
219
|
+
});
|
220
|
+
|
221
|
+
$('.thumb').slick({
|
222
|
+
|
223
|
+
prevArrow: '<svg class="slick-prev" xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="#999" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"/></svg>',
|
224
|
+
|
225
|
+
nextArrow: '<svg class="slick-next" xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="#999" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"/></svg>',
|
226
|
+
|
227
|
+
asNavFor: '.main-image',
|
228
|
+
|
229
|
+
arrows: true,
|
230
|
+
|
231
|
+
slidesToShow: 6,
|
232
|
+
|
233
|
+
slidesToScroll: 1,
|
234
|
+
|
235
|
+
focusOnSelect: true,
|
236
|
+
|
237
|
+
});
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
</script>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
</div>
|
246
|
+
|
37
247
|
|
38
248
|
|
39
|
-
<form name="product_form" method="post" action="<{$cart_url}>">
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<div class="thirdlayer_section01 article">
|
54
|
-
|
55
|
-
<div class="left-side">
|
56
|
-
|
57
|
-
<!-- 商品画像 -->
|
58
|
-
|
59
|
-
<div class="p-product-img">
|
60
|
-
|
61
|
-
<div class="p-product-img__main js-images-slider">
|
62
|
-
|
63
|
-
<div class="p-product-img__main-item">
|
64
|
-
|
65
|
-
<{if $product.img_url != ""}>
|
66
|
-
|
67
|
-
<img src="<{$product.img_url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
68
|
-
|
69
|
-
<{else}>
|
70
|
-
|
71
|
-
<img src="https://img.shop-pro.jp/tmpl_img/86/no-image.jpg" alt="<{$productlist[num].name|escape:'html'}>" />
|
72
|
-
|
73
|
-
<{/if}>
|
74
|
-
|
75
|
-
</div>
|
76
|
-
|
77
|
-
<{if $otherimg_num != 0}>
|
78
|
-
|
79
|
-
<{section name=num loop=$otherimg}>
|
80
|
-
|
81
|
-
<{if $otherimg[num].url != ""}>
|
82
|
-
|
83
|
-
<div class="p-product-img__main-item">
|
84
|
-
|
85
|
-
<img src="<{$otherimg[num].url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
<{/if}>
|
90
|
-
|
91
|
-
<{/section}>
|
92
|
-
|
93
|
-
<{/if}>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
<{if $otherimg_num != 0}>
|
98
|
-
|
99
|
-
<div class="p-product-img__thumb">
|
100
|
-
|
101
|
-
<div class="u-overflow-slide">
|
102
|
-
|
103
|
-
<ul class="p-product-thumb-list">
|
104
|
-
|
105
|
-
<{if $product.img_url != ""}>
|
106
|
-
|
107
|
-
<li class="p-product-thumb-list__item">
|
108
|
-
|
109
|
-
<div class="p-product-thumb-list__img">
|
110
|
-
|
111
|
-
<img src="<{$product.img_url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
112
|
-
|
113
|
-
</div>
|
114
|
-
|
115
|
-
</li>
|
116
|
-
|
117
|
-
<{/if}>
|
118
|
-
|
119
|
-
<{section name=num loop=$otherimg}>
|
120
|
-
|
121
|
-
<{if $otherimg[num].url != ""}>
|
122
|
-
|
123
|
-
<li class="p-product-thumb-list__item">
|
124
|
-
|
125
|
-
<div class="p-product-thumb-list__img">
|
126
|
-
|
127
|
-
<img src="<{$otherimg[num].url}>" alt="<{$productlist[num].name|escape:'html'}>" />
|
128
|
-
|
129
|
-
</div>
|
130
|
-
|
131
|
-
</li>
|
132
|
-
|
133
|
-
<{/if}>
|
134
|
-
|
135
|
-
<{/section}>
|
136
|
-
|
137
|
-
</ul>
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<{/if}>
|
144
|
-
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<!-- // 商品画像 -->
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
</div>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
</div>
|
168
|
-
|
169
|
-
</form>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
</main>
|
249
|
+
</main>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
250
|
|
185
251
|
```
|
186
252
|
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
253
|
```css
|
192
254
|
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
flex-direction: row;
|
222
|
-
|
223
|
-
flex-wrap:wrap;
|
224
|
-
|
225
|
-
align-content: flex-start;
|
226
|
-
|
227
|
-
position:relative;
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
}
|
232
|
-
|
233
|
-
.details{
|
234
|
-
|
235
|
-
margin-left:60px;
|
236
|
-
|
237
|
-
width:440px;
|
238
|
-
|
239
|
-
position: relative;
|
240
|
-
|
241
|
-
}
|
242
|
-
|
243
|
-
.product-title2{
|
244
|
-
|
245
|
-
font-size:19px;
|
246
|
-
|
247
|
-
font-weight: 100;
|
248
|
-
|
249
|
-
font-style: normal;
|
250
|
-
|
251
|
-
font-family:"Lato","sans-serif","ryo-gothic-plusn","Yu Gothic medium","YuGothic", "Hiragino Sans", "Meiryo";
|
252
|
-
|
253
|
-
}
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
.product-title2-jp{
|
260
|
-
|
261
|
-
font-size:18px;
|
262
|
-
|
263
|
-
font-family:"Lato","sans-serif","ryo-gothic-plusn","Yu Gothic medium","YuGothic", "Hiragino Sans", "Meiryo";
|
264
|
-
|
265
|
-
font-style: normal;
|
266
|
-
|
267
|
-
font-weight: 100;
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
}
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
.product-title2-price{
|
278
|
-
|
279
|
-
font-size:22px;
|
280
|
-
|
281
|
-
float: right;
|
282
|
-
|
283
|
-
line-height: 1;
|
284
|
-
|
285
|
-
display: inline-block;
|
286
|
-
|
287
|
-
font-family:"Josefin Slab","sans-serif","ryo-gothic-plusn","Yu Gothic medium","YuGothic", "Hiragino Sans", "Meiryo";
|
288
|
-
|
289
|
-
margin-top:40px;
|
290
|
-
|
291
|
-
font-weight:500;
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
}
|
300
|
-
|
301
|
-
.product-title2-tax{
|
302
|
-
|
303
|
-
font-size:14px;
|
304
|
-
|
305
|
-
display: inline-block;
|
306
|
-
|
307
|
-
font-family:"Lato","sans-serif","ryo-gothic-plusn","Yu Gothic medium","YuGothic", "Hiragino Sans", "Meiryo";
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
}
|
318
|
-
|
319
|
-
.product-title2-soldout{
|
320
|
-
|
321
|
-
display: block;
|
322
|
-
|
323
|
-
width: 100px;
|
324
|
-
|
325
|
-
background-color: #E65959;
|
326
|
-
|
327
|
-
font-size:15px;
|
328
|
-
|
329
|
-
color: #fff;
|
330
|
-
|
331
|
-
padding-top:4px;
|
332
|
-
|
333
|
-
padding-bottom:4px;
|
334
|
-
|
335
|
-
margin-top:8px;
|
336
|
-
|
337
|
-
text-align: center;
|
338
|
-
|
339
|
-
font-family:"Lato","sans-serif";
|
340
|
-
|
341
|
-
font-weight: 400;
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
}
|
346
|
-
|
347
|
-
.reservation{
|
348
|
-
|
349
|
-
display: block;
|
350
|
-
|
351
|
-
width: 140px;
|
352
|
-
|
353
|
-
background-color: #fff;
|
354
|
-
|
355
|
-
font-size:16px;
|
356
|
-
|
357
|
-
color: #E65959;
|
358
|
-
|
359
|
-
padding-top:4px;
|
360
|
-
|
361
|
-
padding-bottom:4px;
|
362
|
-
|
363
|
-
margin-top:8px;
|
364
|
-
|
365
|
-
text-align: center;
|
366
|
-
|
367
|
-
font-weight: 400;
|
368
|
-
|
369
|
-
box-sizing: border-box;
|
370
|
-
|
371
|
-
border:double 3px #E65959;
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
}
|
376
|
-
|
377
|
-
.order_received{
|
378
|
-
|
379
|
-
display: block;
|
380
|
-
|
381
|
-
border:solid 6px #efefef;
|
382
|
-
|
383
|
-
text-align: center;
|
384
|
-
|
385
|
-
margin-top:100px;
|
386
|
-
|
387
|
-
font-family:"Lato","sans-serif";
|
388
|
-
|
389
|
-
font-weight: 400;
|
390
|
-
|
391
|
-
font-size:18px;
|
392
|
-
|
393
|
-
padding:12px 0;
|
394
|
-
|
395
|
-
box-sizing: border-box;
|
396
|
-
|
397
|
-
}
|
398
|
-
|
399
|
-
.order_received span{
|
400
|
-
|
401
|
-
font-size:15px;
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
}
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
.details-text{
|
410
|
-
|
411
|
-
clear: both;
|
412
|
-
|
413
|
-
font-size:18px;
|
414
|
-
|
415
|
-
font-family:"Lato","sans-serif","ryo-gothic-plusn","Yu Gothic medium","YuGothic", "Hiragino Sans", "Meiryo";
|
416
|
-
|
417
|
-
text-align: justify;
|
418
|
-
|
419
|
-
font-weight: 100;
|
420
|
-
|
421
|
-
line-height: 1.7em;
|
422
|
-
|
423
|
-
margin-top:84px;
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
}
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
/******************************/
|
436
|
-
|
437
|
-
/* Product */
|
438
|
-
|
439
|
-
/******************************/
|
440
|
-
|
441
|
-
.p-product {
|
442
|
-
|
443
|
-
margin-bottom: 90px;
|
444
|
-
|
445
|
-
}
|
446
|
-
|
447
|
-
/* form */
|
448
|
-
|
449
|
-
.p-product select {
|
450
|
-
|
451
|
-
box-sizing: border-box;
|
452
|
-
|
453
|
-
padding: 5px;
|
454
|
-
|
455
|
-
height: 40px;
|
456
|
-
|
457
|
-
border: 1px solid #bfbfbf;
|
458
|
-
|
459
|
-
font-size: 16px;
|
460
|
-
|
461
|
-
}
|
462
|
-
|
463
|
-
.p-product input[type=text] {
|
464
|
-
|
465
|
-
box-sizing: border-box;
|
466
|
-
|
467
|
-
padding: 5px;
|
468
|
-
|
469
|
-
height: 40px;
|
470
|
-
|
471
|
-
border: 1px solid #bfbfbf;
|
472
|
-
|
473
|
-
font-size: 16px;
|
474
|
-
|
475
|
-
}
|
476
|
-
|
477
|
-
.p-product-main {
|
478
|
-
|
479
|
-
display: flex;
|
480
|
-
|
481
|
-
flex-wrap: wrap;
|
482
|
-
|
483
|
-
justify-content: space-between;
|
484
|
-
|
485
|
-
}
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
.p-product-img {
|
490
|
-
|
491
|
-
width: 500px;
|
492
|
-
|
493
|
-
}
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
.p-product-img__main {
|
500
|
-
|
501
|
-
text-align: center;
|
502
|
-
|
503
|
-
}
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
.p-product-img__main-item {
|
510
|
-
|
511
|
-
position: relative;
|
512
|
-
|
513
|
-
text-align: center;
|
514
|
-
|
515
|
-
}
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
.p-product-img__main-item:before {
|
255
|
+
/* 商品画像 slider */
|
256
|
+
|
257
|
+
.p-product-img__main .slick-track {
|
258
|
+
|
259
|
+
margin-left: 0;
|
260
|
+
|
261
|
+
margin-right: 0;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
.p-product-img__main .slick-prev, .p-product-img__main .slick-next {
|
266
|
+
|
267
|
+
top: 50%;
|
268
|
+
|
269
|
+
width: 30px;
|
270
|
+
|
271
|
+
height: 30px;
|
272
|
+
|
273
|
+
transition: all 0.4s ease;
|
274
|
+
|
275
|
+
z-index: 1;
|
276
|
+
|
277
|
+
}
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
.p-product-img__main .slick-prev:before, .p-product-img__main .slick-next:before {
|
520
282
|
|
521
283
|
content: "";
|
522
284
|
|
523
|
-
display: block;
|
524
|
-
|
525
|
-
padding-top: 100%;
|
526
|
-
|
527
|
-
}
|
528
|
-
|
529
|
-
.p-product-img__main-item a {
|
530
|
-
|
531
|
-
display: block;
|
532
|
-
|
533
285
|
position: absolute;
|
534
286
|
|
535
|
-
top:
|
287
|
+
top: 7px;
|
536
|
-
|
288
|
+
|
537
|
-
left: 0;
|
289
|
+
left: 10px;
|
538
|
-
|
539
|
-
|
290
|
+
|
540
|
-
|
541
|
-
height: 100%;
|
542
|
-
|
543
|
-
}
|
544
|
-
|
545
|
-
.p-product-img__main-item img {
|
546
|
-
|
547
|
-
display: inline-block;
|
548
|
-
|
549
|
-
position: absolute;
|
550
|
-
|
551
|
-
top: 0;
|
552
|
-
|
553
|
-
right: 0;
|
554
|
-
|
555
|
-
bottom: 0;
|
556
|
-
|
557
|
-
left: 0;
|
558
|
-
|
559
|
-
margin: auto;
|
560
|
-
|
561
|
-
width: auto !important;
|
562
|
-
|
563
|
-
max-width: 100%;
|
564
|
-
|
565
|
-
max-height: 100%;
|
566
|
-
|
567
|
-
text-align: center;
|
568
|
-
|
569
|
-
}
|
570
|
-
|
571
|
-
.p-product-thumb-list {
|
572
|
-
|
573
|
-
display: flex;
|
574
|
-
|
575
|
-
flex-wrap: wrap;
|
576
|
-
|
577
|
-
/* margin-left: -4px;
|
578
|
-
|
579
|
-
margin-right: -4px;*/
|
580
|
-
|
581
|
-
margin-top: 8px;
|
582
|
-
|
583
|
-
}
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
.p-product-thumb-list__item {
|
588
|
-
|
589
|
-
box-sizing: border-box;
|
590
|
-
|
591
|
-
margin-bottom: 8px;
|
592
|
-
|
593
|
-
/* padding-left: 4px;
|
594
|
-
|
595
|
-
padding-right: 4px;*/
|
596
|
-
|
597
|
-
width: 1
|
291
|
+
width: 15px;
|
598
|
-
|
599
|
-
|
292
|
+
|
600
|
-
|
601
|
-
}
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
.p-product-thumb-list__item:hover, .p-product-thumb-list__item.is-current {
|
608
|
-
|
609
|
-
opacity: 0.7;
|
610
|
-
|
611
|
-
cursor: pointer;
|
612
|
-
|
613
|
-
}
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
.p-product-thumb-list__img {
|
618
|
-
|
619
|
-
/* overflow用 */
|
620
|
-
|
621
|
-
position: relative;
|
622
|
-
|
623
|
-
text-align: center;
|
624
|
-
|
625
|
-
}
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
.p-product-thumb-list__img:before {
|
632
|
-
|
633
|
-
content: "";
|
634
|
-
|
635
|
-
display: block;
|
636
|
-
|
637
|
-
padding-top: 100%;
|
638
|
-
|
639
|
-
}
|
640
|
-
|
641
|
-
.p-product-thumb-list__img img {
|
642
|
-
|
643
|
-
display: inline-block;
|
644
|
-
|
645
|
-
position: absolute;
|
646
|
-
|
647
|
-
top: 0;
|
648
|
-
|
649
|
-
right: 0;
|
650
|
-
|
651
|
-
bottom: 0;
|
652
|
-
|
653
|
-
left: 0;
|
654
|
-
|
655
|
-
margin: auto;
|
656
|
-
|
657
|
-
width: auto !important;
|
658
|
-
|
659
|
-
max-width: 100%;
|
660
|
-
|
661
|
-
max-height: 100%;
|
662
|
-
|
663
|
-
text-align: center;
|
664
|
-
|
665
|
-
}
|
666
|
-
|
667
|
-
/* 商品画像 slider */
|
668
|
-
|
669
|
-
.p-product-img__main .slick-track {
|
670
|
-
|
671
|
-
margin-left: 0;
|
672
|
-
|
673
|
-
margin-right: 0;
|
674
|
-
|
675
|
-
}
|
676
|
-
|
677
|
-
.p-product-img__main .slick-prev, .p-product-img__main .slick-next {
|
678
|
-
|
679
|
-
top: 50%;
|
680
|
-
|
681
|
-
width: 30px;
|
682
|
-
|
683
|
-
height:
|
293
|
+
height: 15px;
|
294
|
+
|
295
|
+
border-left: 1px solid #000000;
|
296
|
+
|
297
|
+
border-top: 1px solid #000000;
|
684
298
|
|
685
299
|
transition: all 0.4s ease;
|
686
300
|
|
@@ -690,32 +304,6 @@
|
|
690
304
|
|
691
305
|
|
692
306
|
|
693
|
-
.p-product-img__main .slick-prev:before, .p-product-img__main .slick-next:before {
|
694
|
-
|
695
|
-
content: "";
|
696
|
-
|
697
|
-
position: absolute;
|
698
|
-
|
699
|
-
top: 7px;
|
700
|
-
|
701
|
-
left: 10px;
|
702
|
-
|
703
|
-
width: 15px;
|
704
|
-
|
705
|
-
height: 15px;
|
706
|
-
|
707
|
-
border-left: 1px solid #000000;
|
708
|
-
|
709
|
-
border-top: 1px solid #000000;
|
710
|
-
|
711
|
-
transition: all 0.4s ease;
|
712
|
-
|
713
|
-
z-index: 1;
|
714
|
-
|
715
|
-
}
|
716
|
-
|
717
|
-
|
718
|
-
|
719
307
|
.p-product-img__main .slick-prev {
|
720
308
|
|
721
309
|
left: 15px;
|
@@ -750,142 +338,4 @@
|
|
750
338
|
|
751
339
|
|
752
340
|
|
753
|
-
/***** 商品情報 *****/
|
754
|
-
|
755
|
-
.p-product-info {
|
756
|
-
|
757
|
-
width: 410px;
|
758
|
-
|
759
|
-
}
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
.p-product-info__ttl {
|
764
|
-
|
765
|
-
margin: 0;
|
766
|
-
|
767
|
-
font-size: 24px;
|
768
|
-
|
769
|
-
font-weight: normal;
|
770
|
-
|
771
|
-
}
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
.p-product-info__ttl img {
|
776
|
-
|
777
|
-
vertical-align: middle;
|
778
|
-
|
779
|
-
}
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
.p-product-info__id {
|
784
|
-
|
785
|
-
margin: 0;
|
786
|
-
|
787
|
-
}
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
.p-product-price {
|
792
|
-
|
793
|
-
margin-top: 20px;
|
794
|
-
|
795
|
-
margin-bottom: 20px;
|
796
|
-
|
797
|
-
}
|
798
|
-
|
799
|
-
.p-product-price__sell {
|
800
|
-
|
801
|
-
font-size: 18px;
|
802
|
-
|
803
|
-
}
|
804
|
-
|
805
|
-
.p-product-price__normal {
|
806
|
-
|
807
|
-
font-size: 14px;
|
808
|
-
|
809
|
-
}
|
810
|
-
|
811
|
-
-product-price__list-price {
|
812
|
-
|
813
|
-
font-size: 14px;
|
814
|
-
|
815
|
-
}
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
/* オプション table */
|
820
|
-
|
821
|
-
.p-product-option-tbl {
|
822
|
-
|
823
|
-
margin-top: 30px;
|
824
|
-
|
825
|
-
margin-bottom: 30px;
|
826
|
-
|
827
|
-
overflow-x: auto;
|
828
|
-
|
829
|
-
}
|
830
|
-
|
831
|
-
.p-product-option-tbl table {
|
832
|
-
|
833
|
-
margin-bottom: 0;
|
834
|
-
|
835
|
-
border-left: 0;
|
836
|
-
|
837
|
-
border-right: 0;
|
838
|
-
|
839
|
-
width: 100%;
|
840
|
-
|
841
|
-
}
|
842
|
-
|
843
|
-
.p-product-option-tbl table div {
|
844
|
-
|
845
|
-
display: inline-block !important;
|
846
|
-
|
847
|
-
}
|
848
|
-
|
849
|
-
.p-product-option-tbl th {
|
850
|
-
|
851
|
-
min-width: 100px;
|
852
|
-
|
853
|
-
}
|
854
|
-
|
855
|
-
.p-product-option-tbl th, .p-product-option-tbl td {
|
856
|
-
|
857
|
-
padding: 12px 5px;
|
858
|
-
|
859
|
-
border-top: 1px solid #dddddd;
|
860
|
-
|
861
|
-
border-bottom: 1px solid #dddddd;
|
862
|
-
|
863
|
-
border-left: 0;
|
864
|
-
|
865
|
-
text-align: center;
|
866
|
-
|
867
|
-
}
|
868
|
-
|
869
|
-
.p-product-option-tbl label {
|
870
|
-
|
871
|
-
display: inline-block !important;
|
872
|
-
|
873
|
-
margin-left: 5px;
|
874
|
-
|
875
|
-
margin-bottom: 0;
|
876
|
-
|
877
|
-
}
|
878
|
-
|
879
|
-
.p-product-option-tbl input {
|
880
|
-
|
881
|
-
margin-top: 0;
|
882
|
-
|
883
|
-
}
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
341
|
```
|
890
|
-
|
891
|
-
![イメージ説明](7156e0442b9e1229a599b328892feddf.png)
|