The loose charging port of the iphonex may be the bottom screw is loose or has fallen, resulting in the charging interface is also loose, in addition, the data cable can not be inserted into the charging port, you can check whether there is a foreign body, you can use a toothpick to pick it out. Ask you to recommend taking Apple official maintenance, this basic Apple will be free of charge maintenance.
< br \/ >
In addition, if the phone shutdown data line is not plugged in and needs to be turned on, you can use the wireless charger to charge for a while, and then go to Apple official maintenance.