Leon 1 年間 前
コミット
0f7127a93b

ファイルの差分が大きいため隠しています
+ 0 - 0
ios/main.jsbundle


+ 1 - 1
src/components/input/SlidngScale.tsx

@@ -233,7 +233,7 @@ export default function Component(props: {
         var obj = list[i];
         var obj = list[i];
         if (obj.showBig) {
         if (obj.showBig) {
             //字体设置参考 https://segmentfault.com/a/1190000006110417
             //字体设置参考 https://segmentfault.com/a/1190000006110417
-            svgNumber += `<text x="${i * (isFT_IN ? 12 : 10) + 1 + 30}" y="${rpxToPx(2 + 36)}" text-anchor="middle" fill="white" font-family="PingFang SC,Helvetica Neue,Helvetica,Arial,Hiragino Sans GB,Heiti SC,Microsoft YaHei" font-size="${rpxToPx(36)}">${isFT_IN ? parseInt('' + obj.value / 12) : obj.value}</text>`
+            svgNumber += `<text x="${i * (isFT_IN ? 12 : 10) + 1 + 30}" y="${rpxToPx(2 + 36)}" text-anchor="middle" fill="white"  font-size="${rpxToPx(36)}">${isFT_IN ? parseInt('' + obj.value / 12) : obj.value}</text>`
         }
         }
     }
     }
     svgLine += `</svg>`
     svgLine += `</svg>`

+ 4 - 2
src/features/trackSomething/components/MetricHistory.tsx

@@ -112,6 +112,7 @@ export default function Component(props: { records: any[] }) {
                             top: -rpxToPx(10)
                             top: -rpxToPx(10)
                         }}>More</Text>
                         }}>More</Text>
                 }
                 }
+                <View style={{backgroundColor:'#1C1C1C',marginLeft:rpxToPx(46),marginRight:rpxToPx(46),borderRadius:rpxToPx(24)}}>
 
 
                 {
                 {
                     selReference.categories.map((item, index) => {
                     selReference.categories.map((item, index) => {
@@ -131,15 +132,16 @@ export default function Component(props: { records: any[] }) {
                                 showLine = true
                                 showLine = true
                             }
                             }
                         }
                         }
-                        return <View className={cellClassName} key={index}>
+                        return <View className={cellClassName} style={{marginLeft:0,marginRight:0}} key={index}>
                             <Text className="cell_title" style={{ color: global.selMetricItem.theme_color }}>{item.value_range}</Text>
                             <Text className="cell_title" style={{ color: global.selMetricItem.theme_color }}>{item.value_range}</Text>
                             <Text className="cell_value" style={{ color: '#fff' }}>{item.category}</Text>
                             <Text className="cell_value" style={{ color: '#fff' }}>{item.category}</Text>
                             {
                             {
-                                showLine && <View className="cell_line" style={{ height: 1 }} />
+                                showLine && <View className="cell_line" style={{position:'absolute',left:0,right:0,bottom:0,marginLeft:rpxToPx(40)}}></View>
                             }
                             }
                         </View>
                         </View>
                     })
                     })
                 }
                 }
+                </View>
 
 
             </View>
             </View>
         }
         }

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません