Else 
    EndIf 
Else 
EndIf 
Delay 500
IfColor 255,335,efeff7,0
    MoveToS 285,322
    Delay 200
    LeftDoubleClickS 1
    Delay 500
    IfColor 251,329,18c76b,0
        MoveToS 333,327
        Delay 50
        KeyPressH 57,1
        Delay 50
        KeyPressH 57,1
        Delay 200
        LeftClickS 1
    Else 
    EndIf 
Else 
EndIf 
Rem 卖恢复-第三行物品
Delay 500
IfColor 255,378,efeff7,2
    MoveToS 279,367
    Delay 200
    LeftDoubleClickS 1
    Delay 500
    IfColor 245,374,18c76b,2
        MoveToS 329,374
        Delay 50
        KeyPressH 57,1
        Delay 50
        KeyPressH 57,1
        Delay 200
        LeftClickS 1
    Else 
    EndIf 
Else 
EndIf 
Delay 500
IfColor 255,378,efeff7,2
    MoveToS 279,367
    Delay 200
    LeftDoubleClickS 1
    Delay 500
    IfColor 245,374,18c76b,2
        MoveToS 329,374
        Delay 50
        KeyPressH 57,1
        Delay 50
        KeyPressH 57,1
        Delay 200
        LeftClickS 1
    Else 
    EndIf 
Else 
EndIf 
Delay 500
IfColor 255,378,efeff7,2
    MoveToS 279,367
    Delay 200
    LeftDoubleClickS 1
    Delay 500
    IfColor 245,374,18c76b,2
        MoveToS 329,374
        Delay 50
        KeyPressH 57,1
        Delay 50
        KeyPressH 57,1
        Delay 200
        LeftClickS 1
    Else 
    EndIf 
Else 
EndIf 
Delay 500
IfColor 210,377,efeff7,2
    MoveToS 279,367
    Delay 200
    LeftDoubleClickS 1
    Delay 500
    IfColor 245,374,18c76b,2
        MoveToS 329,374
        Delay 50
        KeyPressH 57,1
        Delay 50
        KeyPressH 57,1
        Delay 200
        LeftClickS 1
    Else 
    EndIf 
Else 
EndIf 
Rem 卖恢复-第二行物品
Delay 500
IfColor 173,326,ffffff,2
    MoveToS 285,322
    Delay 200