静态代码完成,等待对接接口

master
Lee 2022-10-14 16:49:39 +08:00
parent 86b152deec
commit 2f8501aec1
16 changed files with 16 additions and 16 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<block wx:if="{{isLoading}}"><view class="pad-x120 data-v-becb4076"><status-nav vue-id="72b219e1-1" ifReturn="{{true}}" navBarTitle="{{pageTitle}}" class="data-v-becb4076" bind:__l="__l"></status-nav><view class="notice-tips color-orange font26 border-box pad-all20 flex data-v-becb4076"><image src="/static/icon-notice.png" mode="widthFix" class="data-v-becb4076"></image>请确保商品信息及联系方式的真实性!</view><view class="release-form color-48 background-white border-box data-v-becb4076"><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品分类<text class="color-red data-v-becb4076">*</text></view><picker mode="selector" range="{{cateList}}" value="{{cateIndex}}" range-key="name" data-event-opts="{{[['change',[['choiceCate',['$event']]]]]}}" bindchange="__e" class="data-v-becb4076"><view class="cate-name data-v-becb4076"><text class="data-v-becb4076">{{cateList[cateIndex].name}}</text><image src="/static/icon-arrow-down.png" mode class="data-v-becb4076"></image></view></picker></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品名称<text class="color-red data-v-becb4076">*</text></view><input type="text" placeholder="请输入商品名称" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.name}}" bindinput="__e" class="data-v-becb4076"/></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品原价<text class="color-red data-v-becb4076">*</text></view><input type="number" placeholder="请输入商品原价" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','original_price','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.original_price}}" bindinput="__e" class="data-v-becb4076"/></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品售价<text class="color-red data-v-becb4076">*</text></view><input type="number" placeholder="请输入商品售价" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.price}}" bindinput="__e" class="data-v-becb4076"/></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品描述<text class="color-red data-v-becb4076">*</text></view><textarea placeholder="请输入商品描述" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','msg','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.msg}}" bindinput="__e" class="data-v-becb4076"></textarea></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品图片<text class="color-red data-v-becb4076">*</text></view><view class="upload-box border-box flex data-v-becb4076"><block wx:for="{{goodsImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="img radius10 border-box data-v-becb4076"><image src="{{item}}" mode="widthFix" class="data-v-becb4076"></image></view></block><view data-event-opts="{{[['tap',[['changeImg',['$event']]]]]}}" class="upload-btn radius10 border-box flex data-v-becb4076" bindtap="__e"><image src="/static/icon-release.png" mode="widthFix" class="data-v-becb4076"></image></view></view></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">联系方式<text class="color-red data-v-becb4076">*</text></view><input type="number" placeholder="请输入联系方式" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.phone}}" bindinput="__e" class="data-v-becb4076"/></view></view><view class="release-btn background-blue font32 radius10 color-ff flex data-v-becb4076">提交</view></view></block>
<block wx:if="{{isLoading}}"><view class="pad-x20 data-v-becb4076"><status-nav vue-id="72b219e1-1" ifReturn="{{true}}" navBarTitle="{{pageTitle}}" class="data-v-becb4076" bind:__l="__l"></status-nav><view class="notice-tips color-orange font26 border-box pad-all20 flex data-v-becb4076"><image src="/static/icon-notice.png" mode="widthFix" class="data-v-becb4076"></image>请确保商品信息及联系方式的真实性!</view><view class="release-form color-48 background-white border-box data-v-becb4076"><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品分类<text class="color-red data-v-becb4076">*</text></view><picker mode="selector" range="{{cateList}}" value="{{cateIndex}}" range-key="name" data-event-opts="{{[['change',[['choiceCate',['$event']]]]]}}" bindchange="__e" class="data-v-becb4076"><view class="cate-name data-v-becb4076"><text class="data-v-becb4076">{{cateList[cateIndex].name}}</text><image src="/static/icon-arrow-down.png" mode class="data-v-becb4076"></image></view></picker></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品名称<text class="color-red data-v-becb4076">*</text></view><input type="text" placeholder="请输入商品名称" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.name}}" bindinput="__e" class="data-v-becb4076"/></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品原价<text class="color-red data-v-becb4076">*</text></view><input type="number" placeholder="请输入商品原价" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','original_price','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.original_price}}" bindinput="__e" class="data-v-becb4076"/></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品售价<text class="color-red data-v-becb4076">*</text></view><input type="number" placeholder="请输入商品售价" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.price}}" bindinput="__e" class="data-v-becb4076"/></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品描述<text class="color-red data-v-becb4076">*</text></view><textarea placeholder="请输入商品描述" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','msg','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.msg}}" bindinput="__e" class="data-v-becb4076"></textarea></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">商品图片<text class="color-red data-v-becb4076">*</text></view><view class="upload-box border-box flex data-v-becb4076"><block wx:for="{{goodsImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="img radius10 border-box data-v-becb4076"><image src="{{item}}" mode="widthFix" class="data-v-becb4076"></image></view></block><view data-event-opts="{{[['tap',[['changeImg',['$event']]]]]}}" class="upload-btn radius10 border-box flex data-v-becb4076" bindtap="__e"><image src="/static/icon-release.png" mode="widthFix" class="data-v-becb4076"></image></view></view></view><view class="item font26 mar-x30 flex data-v-becb4076"><view class="title data-v-becb4076">联系方式<text class="color-red data-v-becb4076">*</text></view><input type="number" placeholder="请输入联系方式" placeholder-style="color:#8c8c9b" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['goodsDetail']]]]]}}" value="{{goodsDetail.phone}}" bindinput="__e" class="data-v-becb4076"/></view></view><view class="release-btn background-blue font32 radius10 color-ff flex data-v-becb4076">提交</view></view></block>

View File

@ -67,7 +67,7 @@ to {
display: flex;
justify-content: space-between;
align-items: center;
width: calc(100% - 10rpx);
width: 100%;
height: 76rpx;
}
.release-form .item image.data-v-becb4076{