update:优化记录
This commit is contained in:
@@ -30,7 +30,13 @@ const getDisplayText = (arrow = {}) => {
|
||||
|
||||
const isFailed = (arrow = {}) => {
|
||||
if (!arrow) return false;
|
||||
if (props.recordMode && props.trainingType !== "precision") return false;
|
||||
if (
|
||||
props.recordMode &&
|
||||
props.trainingType !== "precision" &&
|
||||
props.trainingType !== "rhythm"
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
return arrow.ok !== true;
|
||||
};
|
||||
|
||||
|
||||
@@ -484,7 +484,7 @@ onShow(async () => {
|
||||
<text class="record-sub-text">我的训练记录</text>
|
||||
<image
|
||||
class="record-arrow"
|
||||
src="https://static.shelingxingqiu.com/shootmini/static/training-home/img_7.png"
|
||||
src="https://static.shelingxingqiu.com/shootmini/static/training-home/img_right.png"
|
||||
mode="widthFix"
|
||||
/>
|
||||
</view>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 348 B |
Reference in New Issue
Block a user