的链接URL不对,你需要引用绝对路径或同目录的子目录文件应用路径,或将转为Base64。
绝对路径(例)
background-image:url(https://zhidaobaiducom/images/testjpg)相对路径(例)background-image:url(/images/testjpg)
Base64路径(例)
background-image:url(iVBORw0KGgoAAAANSUhEUgAAAToAAAA4CAYAAABt/TTjAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC6lJREFUeNrtnUuS3MYRQHkEHAFHQIRt2aL4AUUfAJvx0CZFgj+vcQQcAeH1LLB2OBztsBWyQ5RdoiXr5wUWPgCWXmItRTSMHlczIEyhKqsqs1A9k4sMfmYaXd1VeMh/3hrH8Zat/PLfv00nqSYRk/STjPLv7SSFyzV9ZHrPZJJykt0knVxPJ/99+P8k9JpYWFjiEReoNBIkOjlAJgsEuWKSwbCeYQsAs7CwnBjopNbUASA3l5IYcq3lelredBYWBp0OKsISKkfJiCBXOa6n4o1nYWHQqaBSOkLl0owlgFzqsZ6DpLz5LCwMuiVYek+wFBubrEtpePNZWBh0c6hknlBB940hgLfnzWdhYdBhma1HEcipJCOCBE05OTs7yyYZF5LFfDim9e2k1JPkjtdYfubc8vVi8fo6wOdO5GfuFes/yjBJu/UeyjXYfqf14rOISM4b2bogYKkxwIIIuhwJdHngTayWN0rsT0EFZEb5f2DwTb/X+YBK8f5FgAeSDnAqKTfYm2T23TLoIgFdjwi6DAl02Qba0XwTdycKuqU0VJ87tBYs32+whFxw2ClgzKBDAF0ek+kq1xSNhmmxicsbqLomoBOL15TywB5leY1+8XOdtIr3W/5OGgHkQprVhWKdDDoE0GH4xCpk0HWe6+kCb2Dq66sCvk8OkMTieqXUyAYL0AlPWNhKjvC9lSufcZA/W36HhcIkP0pLeI5KjO+AQUeXzpEig843QFIG3sCS6saWmsjO8hqdra9Lvk8ptaz+uoBOszedyUxe0ThJYKd5r8FWq2XQ6RN0h5hy1jy0um6DDWwpbmypWfhcq/HUUsulCX5KoDNALvHc252N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