Commit 5d3f8273 by 周业恒

media_list

parent 310b595b
Pipeline #20518 passed with stages
in 59 seconds
......@@ -70,6 +70,7 @@
@if(count($medias)>0)
@foreach ($medias as $key => $media)
<p id="export_name" value="{{$media['_id']}}|||{{$media['media_name']}}">
<tr class="<?php if($key%2==0) echo 'table-success';?>">
<td>{{$key+1}}</td>
<td style="max-width: 120px;">{{$media['_id']}}</td>
......@@ -167,7 +168,7 @@
<script type="text/javascript">
var media_export_name="{{$medias}}"
var media_export_name="<?php $export_values=""; foreach ($medias as $key => $media) {$export_values=$export_values."\r\n".$medias['_id']." ".$media['media_name'] } ?>"
function export_media_id(){
alert(media_export_name)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment