Now I have a batch of resumes in the background such as
]
When you click on the detailed information, the personal details will be displayed.
Now I have more Select several resumes, and when you click to open them in batches, these resumes can be displayed in a row.
How to solve this problem in the thinkphp framework! ! ! ! ! !
One more thing, when I click to open in batches, it displays in a row like this
Like
...]
Suppose the questioner has a way to open the resume as
view
, pass in theID
of the resume, and then get the resume details and render it to the template fileTwo methods:
The first one is in the
js
code. Get theID
selected to open the resume, and then spliceurl
injs
, open in a loop (window.open() is the js method to open a new window
), for example, the selected resume ID is1 ,2,3
, the js code isThe second one is implemented in php. You also pass in all the
The implementation inresume IDs
to be opened, spliceurl
, and outputjs
codephp
should be like this. It is recommended that the subject write the code on the js side to open a new windowThis has nothing to do with TP, just write a loop and output the JS code to open a new window in the loop
This is not a relationship framework issue. This is a layout issue.
You can use ajax to pull out all the resumes, and then create a new layer to display all the resumes.