审查视图

application/admin/view/project/detail.html 2.9 KB
郭盛 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">农场名称</label>
        <div class="col-xs-12 col-sm-8">
            {$data.farm_name}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">项目简介:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.content}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">项目地址:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.address}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">产品名称:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.name}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <img src="{$data.image}" alt="" style="width:100px;height:100px;    ">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            {foreach name="$data.images" id="vo"}
            <img src="{$vo}" alt="" style="width:100px;height:100px;    ">
            {/foreach}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">项目状态:</label>
        <div class="col-xs-12 col-sm-8">
            {if condition="$data.status eq 0"}
            培育中
            {elseif condition="$data.status eq 1"/}
            将收获
            {elseif condition="$data.status eq 2"/}
            已收获
            {else /}
            错误
            {/if}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">预估产值:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.estimate}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">预估成熟期:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.estimate_time}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">浏览数:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.look_num}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">点赞数:</label>
        <div class="col-xs-12 col-sm-8">
            {$data.good_num}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">创建时间:</label>
        <div class="col-xs-12 col-sm-8">
            {:date('Y-m-d H:i:s',$data.createtime)}
        </div>
    </div>
</form>