質問編集履歴
1
コード追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,11 +4,30 @@
|
|
4
4
|
|
5
5
|
### 試したこと
|
6
6
|
デベロッパーツールにて、webpack:// > src > main.js内に該当サイトのJSファイルを見つけたのですが、こちらには、重さ(g)を計算している箇所は見つけれられたのですが、値を取得している箇所は見当たりませんでした。
|
7
|
+
重さを計算している箇所は以下の部分になるかと思われます。
|
7
8
|
|
9
|
+
```
|
10
|
+
maxPriceCalculate:function(){
|
11
|
+
if(this.preciousMetal == "gold") {
|
12
|
+
this.priceTotal = (this.goldMaxPrice * this.weight).toLocaleString();
|
13
|
+
}
|
14
|
+
else if(this.preciousMetal == "silver") {
|
15
|
+
this.priceTotal = (this.silverMaxPrice * this.weight).toLocaleString();
|
16
|
+
}
|
17
|
+
else if(this.preciousMetal == "platina") {
|
18
|
+
this.priceTotal = (this.platinaMaxPrice * this.weight).toLocaleString();
|
19
|
+
}
|
20
|
+
else if(this.preciousMetal == "none") {
|
21
|
+
this.priceTotal = "";
|
22
|
+
} else {
|
23
|
+
this.priceTotal = "";
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
8
27
|
|
9
28
|
### 補足情報(FW/ツールのバージョンなど)
|
10
29
|
|
11
30
|
ブラウザ: google chrome
|
12
31
|
OS: Mac OS
|
13
32
|
|
14
|
-
※該当ファイルの「main.js」は文字数制限がかかってしまい載せれませんでした為、お手数をおかけし申し訳ないのですが、該当ページにてご確認の程、頂けましたら幸いです。
|
33
|
+
※該当ファイルの「main.js」は文字数制限がかかってしまい全文載せれませんでした為、お手数をおかけし申し訳ないのですが、該当ページにてご確認の程、頂けましたら幸いです。
|