As one kind of business strategies, dynamic pricing is defined to adjust the price of the commodity in the sale process with the change of channel, product, customer and time. Due to the influence of time on the quality and the value of fresh food, it is necessary for supermarket to implement dynamic pricing strategy. Firstly, the paper separates the whole sale process into several periods, then analyses the effects of the quality of fresh food in each period on customers' demands, the spoilage and the inventory cost. Finally, the paper develops a multi-period demand-driven dynamic pricing model and gives some numerical examples. The purpose of this paper is to provide a pricing tool for supermarket to obtain maximum yield or profit.