-
- {{if isset($data['status']) and in_array($data['status'], [0,1])}}
- {{if $data['status'] eq 1}}
-
-
+{{if !empty($data)}}
+
+
+
+ {{if !empty($data['photo'])}}
+
+
+ {{foreach $data.photo as $photo}}
+ -
+
+
+ {{/foreach}}
+
+ {{/if}}
+
+
+
{{$data.title}}
+
+ -
+ 编号
+ {{$data.pest_no}}
+
+ -
+ 名字
+ {{$data.name}}
+
+ -
+ 类型
+ {{$data.type_name}}
+
+ -
+ 性别
+ {{$data.gender_name}}
+
+ -
+ 生日
+ {{$data.birthday_name}}
+
+ -
+ 年龄
+ {{$data.age}}
+
+ -
+ 品种
+ {{$data.varieties}}
+
+ -
+ 绝育
+ {{$data.sterilization_name}}
+
+ -
+ 疫苗
+ {{$data.vaccine_name}}
+
+ -
+ 状态
+ {{$data.status_name}}
+
+
+
+ {{if isset($data['status']) and $data['status'] eq 1}}
+
{{/if}}
-
-
- {{if isset($data['status']) and $data['status'] eq 1}}
-
-
- {{if !empty($data['lose_features'])}}
-
{{$data.lose_features|raw}}
+ {{if isset($data['status']) and $data['status'] eq 1}}
+
+
+ {{if !empty($data['lose_features'])}}
+
{{$data.lose_features|raw}}
+ {{/if}}
+
+ {{if !empty($data['person_name'])}}
+ -
+ 主人姓名
+ {{$data.person_name}}
+
+ {{/if}}
+ {{if !empty($data['person_tel'])}}
+ -
+ 主人电话
+ {{$data.person_tel}}
+
+ {{/if}}
+ {{if !empty($data['person_weixin'])}}
+ -
+ 主人微信
+ {{$data.person_weixin}}
+
+ {{/if}}
+
+ {{if !empty($data['lose_time_name'])}}
+ -
+ 丢失时间
+ {{$data.lose_time_name}}
+
+ {{/if}}
+ {{if !empty($data['lose_reward_amount']) and $data['lose_reward_amount'] gt 0}}
+ -
+ 悬赏金额
+ ¥{{$data.lose_reward_amount}}
+
+ {{/if}}
+ {{if !empty($data['lose_address'])}}
+ -
+ 丢失地址
+ {{$data.province_name}}{{$data.city_name}}{{$data.county_name}}{{$data.lose_address}}
+
+ {{/if}}
+
+
+ {{if !empty($data['lose_lng']) and !empty($data['lose_lat'])}}
+
{{/if}}
-
- {{if !empty($data['person_name'])}}
- -
- 主人姓名
- {{$data.person_name}}
-
- {{/if}}
- {{if !empty($data['person_tel'])}}
- -
- 主人电话
- {{$data.person_tel}}
-
- {{/if}}
- {{if !empty($data['person_weixin'])}}
- -
- 主人微信
- {{$data.person_weixin}}
-
- {{/if}}
-
- {{if !empty($data['lose_time_name'])}}
- -
- 丢失时间
- {{$data.lose_time_name}}
-
- {{/if}}
- {{if !empty($data['lose_reward_amount']) and $data['lose_reward_amount'] gt 0}}
- -
- 悬赏金额
- ¥{{$data.lose_reward_amount}}
-
- {{/if}}
- {{if !empty($data['lose_address'])}}
- -
- 丢失地址
- {{$data.province_name}}{{$data.city_name}}{{$data.county_name}}{{$data.lose_address}}
-
- {{/if}}
-
- {{if !empty($data['lose_lng']) and !empty($data['lose_lat'])}}
-
- {{/if}}
-
- {{/if}}
+ {{/if}}
- {{if !empty($data['content'])}}
-
-
-
-
宠物详情
+ {{if !empty($data['content'])}}
+
+
+
+ 宠物详情
+
+
{{$data.content|raw}}
-
{{$data.content|raw}}
-
- {{/if}}
-
+ {{/if}}
+
+{{else /}}
+
没有相关数据
+{{/if}}
{{include file="public/footer" /}}
diff --git a/application/plugins/view/petscms/pets/index.html b/application/plugins/view/petscms/pets/index.html
index a7126a5ad..b547a0cc0 100644
--- a/application/plugins/view/petscms/pets/index.html
+++ b/application/plugins/view/petscms/pets/index.html
@@ -111,7 +111,7 @@
标题/相册 |
宠物信息 |
主人信息 |
-
二维码 |
+
二维码 |
状态 |
操作时间 |
操作 |
@@ -160,7 +160,7 @@
微信:{{if empty($v['person_weixin'])}}
未填写{{else /}}{{$v.person_weixin}}{{/if}}
-
+ |
下载二维码
@@ -175,7 +175,9 @@
|
编辑
- 详情
+ {{if $v['status'] neq 3}}
+ 详情
+ {{/if}}
帮助
|
diff --git a/public/static/plugins/css/petscms/pets.detail.css b/public/static/plugins/css/petscms/pets.detail.css
index 6af6ebaa5..d09458a58 100644
--- a/public/static/plugins/css/petscms/pets.detail.css
+++ b/public/static/plugins/css/petscms/pets.detail.css
@@ -29,7 +29,7 @@
.pets-detail {
margin-top: 10px;
}
-.base-btn, .base-share {
+.provide-submit, .base-share {
margin-top: 20px;
}
.pets-detail .am-btn-primary {
@@ -200,5 +200,24 @@ form.form-validation #map {
#map-view, form.form-validation #map {
height: 200px;
}
-
+ .provide-submit, .base-share-mobile {
+ margin: 0;
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ z-index: 2;
+ height: 35px;
+ }
+ .base-share-mobile {
+ background: #9bddff;
+ }
+ .base-share-mobile a {
+ padding-left: 0 !important;
+ width: 24px !important;
+ margin: 6px calc(12.5% - 32px) !important;
+ }
+ .am-footer {
+ padding-bottom: 35px;
+ }
}
\ No newline at end of file