質問編集履歴
1
説明の追記と画像の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,8 +16,11 @@
|
|
16
16
|
|
17
17
|
```Vuejs
|
18
18
|
|
19
|
-
<v-row
|
19
|
+
<v-row
|
20
|
+
class="pt-4"
|
21
|
+
>
|
20
22
|
<v-col
|
23
|
+
class="pa-1"
|
21
24
|
v-for="recipe in recipes.value" :key="recipe.recipehistory_id"
|
22
25
|
cols="6"
|
23
26
|
xs="4"
|
@@ -28,19 +31,47 @@
|
|
28
31
|
class="mx-auto"
|
29
32
|
>
|
30
33
|
<v-img
|
34
|
+
class="white--text align-end"
|
35
|
+
height="200px"
|
31
|
-
|
36
|
+
src="{{ recipe.recipe.img_url }}"
|
37
|
+
>
|
32
|
-
|
38
|
+
<v-card-title>
|
33
|
-
|
39
|
+
{{ recipe.recipe.name }}
|
40
|
+
</v-card-title>
|
41
|
+
<v-card-subtitle>
|
42
|
+
種別: {{ recipe.recipe.kinds_display }}
|
43
|
+
</v-card-subtitle>
|
44
|
+
<v-card-subtitle>
|
45
|
+
色:{{ recipe.recipe.color_display }}
|
46
|
+
|
47
|
+
</v-card-subtitle>
|
34
|
-
|
48
|
+
</v-img>
|
49
|
+
<v-card-subtitle>
|
50
|
+
売上:
|
51
|
+
<v-text-field
|
52
|
+
single-line
|
53
|
+
>
|
54
|
+
{{ recipe.sold }}
|
55
|
+
</v-text-field>
|
56
|
+
|
57
|
+
</v-card-subtitle>
|
35
58
|
</v-card>
|
36
59
|
</v-col>
|
37
|
-
</v-row
|
60
|
+
</v-row>
|
38
61
|
```
|
39
62
|
|
63
|
+
画像が表示されない
|
64
|
+
|
65
|
+

|
66
|
+
|
67
|
+
|
40
68
|
### 試したこと
|
41
69
|
|
42
70
|
URLを直接指定すると表示されますが、{src="{{ recipe.recipe.img_url }}"で動的になった場合に、Localの階層を探しているようですが、解決できませんでした。
|
43
71
|
|
72
|
+
要素を確認すると、src="{{ recipe.recipe.img_url }} のままで展開されていないようです。
|
73
|
+
|
74
|
+

|
75
|
+
|
44
76
|
### 補足情報(FW/ツールのバージョンなど)
|
45
|
-
|
46
77
|
Vuejs3 Vuetify3
|