60 lines
2.6 KiB
Plaintext
60 lines
2.6 KiB
Plaintext
<!--pages/mine/product/catalogmanage/catalogedit.wxml-->
|
|
<cu-custom isBack="{{true}}">
|
|
<view slot="content">商品类目编辑</view>
|
|
</cu-custom>
|
|
<scroll-view class="margin-bottom-xxl padding-bottom-xxl ">
|
|
<!-- 类目名称 -->
|
|
<view class="cu-form-group margin-top-xs text-left">
|
|
<view class="title">
|
|
<text class="text-gray">类目名称</text><text class="iconfont icon-star-red margin-left-xs"></text>
|
|
</view>
|
|
<input placeholder="请输入类目名称" bindinput="inputWatch" data-model="catalogName"
|
|
model:value="{{catalogName}}"></input>
|
|
</view>
|
|
<!-- 类目排序 -->
|
|
<view class="cu-form-group">
|
|
<view class="title">
|
|
<text class="text-gray">类目排序</text><text class="iconfont icon-star-red margin-left-xs"></text>
|
|
</view>
|
|
<input placeholder="请输入类目排序" bindinput="inputWatch" type="number" data-model="catalogOrder"
|
|
model:value="{{catalogOrder}}"></input>
|
|
</view>
|
|
<!-- 类目Logo -->
|
|
<view class="cu-bar bg-white margin-top">
|
|
<view class="action">
|
|
<text class="text-gray">类目Logo</text>
|
|
</view>
|
|
<view class="action">
|
|
{{catalogLogoPhotos.length}}/1
|
|
</view>
|
|
</view>
|
|
<view class="cu-form-group">
|
|
<view class="grid col-3 grid-square flex-sub">
|
|
<view class="bg-img" wx:for="{{catalogLogoPhotos}}" wx:key="index" bindtap="ViewLicImg"
|
|
data-url="{{catalogLogoPhotos[index].path}}">
|
|
<image src='{{catalogLogoPhotos[index].path}}' mode='aspectFill'></image>
|
|
<view class="cu-tag bg-red" catchtap="DelLogoP" data-index="{{index}}">
|
|
<text class="cuIcon-close"></text>
|
|
</view>
|
|
</view>
|
|
<view class="solids" bindtap="ChooseLogoP" wx:if="{{catalogLogoPhotos.length<1}}">
|
|
<text class="cuIcon-cameraadd"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 类目说明 -->
|
|
<view class="cu-bar bg-white margin-top-xs">
|
|
<view class="action">
|
|
<text class="text-gray">类目描述</text>
|
|
</view>
|
|
</view>
|
|
<view class="bg-white">
|
|
<view class="cu-form-group">
|
|
<textarea class="border-line padding-left-xs padding-right-xs margin-left-xs margin-right-xs" maxlength="-1"
|
|
bindinput="catalogInput" placeholder="请输入类目描述" model:value="{{catalogSummary}}"></textarea>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<view class="padding-xs foot bg-white">
|
|
<button class="cu-btn bg-blue" style="width:100%" bindtap="doAdd">保存修改</button>
|
|
</view> |