Authored by 陶雨

资源内容各模板标题url改为非必填

... ... @@ -123,7 +123,7 @@
<div class="form-group">
<div class="col-sm-6">
<label>标题</label>&emsp;&emsp;&emsp;&emsp;
<input class="form-control observe input-form" type="text" value="[[contentData.data.params.title]]" data-field="params.title" placeholder="请输入标题" prompt="标题">
<input class="form-control observe input-form" required type="text" value="[[contentData.data.params.title]]" data-field="params.title" placeholder="请输入标题" prompt="标题">
</div>
</div>
<div class="form-group">
... ... @@ -154,7 +154,7 @@
</div>
<div class="col-sm-6">
<label>链接</label>&emsp;&emsp;&emsp;&emsp;
<input value="[[contentData.data.params.more_url.url]]" class="form-control observe input-form" required="required"
<input placeholder="url" value="[[contentData.data.params.more_url.url]]" class="form-control observe input-form"
data-field="params.more_url.url"/>
<br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
... ... @@ -241,11 +241,11 @@
<div class="form-group ">
<div class="col-sm-6">
<label>标题名称</label>&emsp;&emsp;
<input class="form-control observe input-form" type="text" value="[[contentData.data.title_name]]" data-field="title_name">
<input class="form-control observe input-form" placeholder="标题名称" type="text" value="[[contentData.data.title_name]]" data-field="title_name" required>
</div>
<div class="col-sm-6">
<label>更多名称</label>&emsp;&emsp;
<input class="form-control observe input-form" type="text" value="[[contentData.data.more_name]]" data-field="more_name">
<input class="form-control observe input-form" type="text" placeholder="更多名称" value="[[contentData.data.more_name]]" data-field="more_name">
</div>
</div>
<div class="form-group ">
... ... @@ -257,7 +257,7 @@
</div>
<div class="col-sm-6">
<label>链接</label>&emsp;&emsp;&emsp;&emsp;
<input value="[[contentData.data.more_link.url]]" class="form-control observe input-form" required="required" data-field="more_link.url"/>
<input value="[[contentData.data.more_link.url]]" class="form-control observe input-form" data-field="more_link.url" placeholder="url"/>
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</div>
... ...
... ... @@ -20,7 +20,7 @@
</div>
<div class="col-sm-6">
<label>跳转地址</label>&emsp;&emsp;
<input value="[[contentData.data.more_url.url]]" placeholder="url" data-field="more_url.url" class="form-control observe input-form" required="required" />
<input value="[[contentData.data.more_url.url]]" placeholder="url" data-field="more_url.url" class="form-control observe input-form" />
<br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
</div>
</div>
... ... @@ -69,7 +69,7 @@
[[layout action_template]]
</select>
<label>跳转地址</label>
<input type="text" class="observe" placeholder="跳转地址" value="[[item.url.url]]" data-field="label.[[index]].url.url" required="required" style="width: 120px" /><br>
<input type="text" class="observe" placeholder="跳转地址" value="[[item.url.url]]" data-field="label.[[index]].url.url" style="width: 120px" /><br>
[[/each]]
</div>
<a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.label">添加标签</a>
... ... @@ -215,7 +215,7 @@
</div>
<div class="col-sm-6">
<label>跳转地址</label>&emsp;&emsp;
<input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" required="required" data-field="title.more_url.url"/>
<input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
<br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
</div>
</div>
... ... @@ -309,7 +309,7 @@
</div>
<div class="col-sm-6">
<label>跳转地址</label>&emsp;&emsp;
<input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" required="required" data-field="title.more_url.url"/>
<input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
<br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
</div>
</div>
... ... @@ -602,7 +602,7 @@
<div class="form-group">
<div class="col-sm-6">
<label>更多链接</label>
<input type="text" placeholder="更多链接" value="[[contentData.data.more_url]]" class="observe form-control input-form" required="required" data-field="more_url" />
<input type="text" placeholder="更多链接" value="[[contentData.data.more_url]]" class="observe form-control input-form" data-field="more_url" />
</div>
</div>
<div class="form-group">
... ... @@ -674,7 +674,7 @@
<div class="form-group">
<div class="col-sm-12">
<label>跳转地址</label>&emsp;&emsp;
<input type="text" placeholder="url" value="[[contentData.data.more_url.url]]" class="form-control observe input-form" required="required" data-field="more_url.url"/>
<input type="text" placeholder="url" value="[[contentData.data.more_url.url]]" class="form-control observe input-form" data-field="more_url.url"/>
<br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
</div>
</div>
... ... @@ -703,7 +703,7 @@
<div class="form-group">
<div class="col-sm-6">
<label>标题</label>&emsp;&emsp;&emsp;&emsp;
<input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name">
<input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name" required>
</div>
<div class="col-sm-6">
<label>更多名称</label>&emsp;&emsp;
... ... @@ -716,7 +716,7 @@
<select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
[[layout action_template]]
</select>
<input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" required="required" data-field="title.more_url.url"/>
<input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/>
</div>
</div>
<div class="form-group">
... ... @@ -940,7 +940,7 @@
[[layout action_template]]
</select>
<label>跳转url</label>&emsp;&emsp;&emsp;
<input type="text" value="[[contentData.data.title.more_url.url]]" placeholder="url" class="observe form-control input-form" required="required" data-field="title.more_url.url"/>
<input type="text" value="[[contentData.data.title.more_url.url]]" placeholder="url" class="observe form-control input-form" data-field="title.more_url.url"/>
</div>
</div>
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左上图片" style="margin:10px;" data-event="hotCategory.blocks"></p>
... ...