|
|
<!--pages/release/release.wxml-->
|
|
|
<view class='banner_box'>
|
|
|
<view>
|
|
|
<view class='type_box' bindtap="showPicker">
|
|
|
<input placeholder='标题' value='{{title}}' bindinput='setTitle' maxlength="{{max}}"></input>
|
|
|
<text class="input_num">{{currentWordNumber|0}}/{{max}}</text>
|
|
|
</view>
|
|
|
<view class='textarea_box'>
|
|
|
<textarea class='textarea' placeholder='同大家分享一下你的穿搭秘籍吧~' maxlength='{{max2}}' value='{{text}}' bindinput='setText'>
|
|
|
<text class="number">{{number|0}}/{{max2}}</text>
|
|
|
</textarea>
|
|
|
<block wx:if='{{!img_state}}'>
|
|
|
<view class='banner_box'>
|
|
|
<view>
|
|
|
<view class='type_box' bindtap="showPicker">
|
|
|
<input placeholder='标题' value='{{title}}' bindinput='setTitle' maxlength="{{max}}"></input>
|
|
|
<text class="input_num">{{currentWordNumber|0}}/{{max}}</text>
|
|
|
</view>
|
|
|
<view class='textarea_box'>
|
|
|
<textarea class='textarea' placeholder='同大家分享一下你的穿搭秘籍吧~' maxlength='{{max2}}' value='{{text}}' bindinput='setText'>
|
|
|
<text class="number">{{number|0}}/{{max2}}</text>
|
|
|
</textarea>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='upload_box'>
|
|
|
<block wx:for="{{images}}" wx:for-item="image" wx:key="index">
|
|
|
<view class='upload_img'>
|
|
|
<view class='icon_box'>
|
|
|
<view class='iconfont icon-jian' catchtap="showMask" data-index="{{index}}"></view>
|
|
|
<view class="edit_label" catchtap="goEdit" data-index="{{index}}" data-url='{{image.url}}'>编辑</view>
|
|
|
<view class='upload_box'>
|
|
|
<block wx:for="{{images}}" wx:for-item="image" wx:key="index">
|
|
|
<view class='upload_img'>
|
|
|
<view class='icon_box'>
|
|
|
<view class='iconfont icon-jian' catchtap="showMask" data-index="{{index}}"></view>
|
|
|
<view class="edit_label" catchtap="goEdit" data-index="{{index}}" data-url='{{image.url}}'>编辑</view>
|
|
|
</view>
|
|
|
<image src='{{image.url}}' data-index="{{index}}" mode="aspectFill" bindtap="previewImg"></image>
|
|
|
</view>
|
|
|
<image src='{{image.url}}' data-index="{{index}}" mode="aspectFill" bindtap="previewImg"></image>
|
|
|
</block>
|
|
|
<view class='upload_img' bindtap="choose">
|
|
|
<view class='iconfont icon-jia2'></view>
|
|
|
</view>
|
|
|
</block>
|
|
|
<view class='upload_img' bindtap="choose">
|
|
|
<view class='iconfont icon-jia2'></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='hint_box'>
|
|
|
<view class='hint_label' bindtap='showMask1'>{{time_info}}</view>
|
|
|
<view class='hint_label more_box'>
|
|
|
<text catchtap='showMore'>{{more_info}}</text>
|
|
|
<view class='more_label_box' wx:if='{{more_state}}'>
|
|
|
<view class='more_item' bindtap='setOpen' data-open='1'>
|
|
|
<text>公开</text>
|
|
|
</view>
|
|
|
<!-- <view class='more_line'></view> -->
|
|
|
<view class='more_item' catchtap='setOpen' data-open='3'>
|
|
|
<text>仅自己可见</text>
|
|
|
</view>
|
|
|
<!-- <view class='more_line'></view> -->
|
|
|
<view class='more_item' catchtap='setOpen' data-open='2'>
|
|
|
<text>粉丝可见</text>
|
|
|
</view>
|
|
|
<!-- <view class='more_line'></view> -->
|
|
|
<view class='more_item' catchtap='setOpen' data-open='4'>
|
|
|
<text>草稿箱</text>
|
|
|
<view class='hint_box'>
|
|
|
<view class='hint_label' bindtap='showMask1'>{{time_info}}</view>
|
|
|
<view class='hint_label more_box'>
|
|
|
<text catchtap='showMore'>{{more_info}}</text>
|
|
|
<view class='more_label_box' wx:if='{{more_state}}'>
|
|
|
<view class='more_item' bindtap='setOpen' data-open='1'>
|
|
|
<text>公开</text>
|
|
|
</view>
|
|
|
<!-- <view class='more_line'></view> -->
|
|
|
<view class='more_item' catchtap='setOpen' data-open='3'>
|
|
|
<text>仅自己可见</text>
|
|
|
</view>
|
|
|
<!-- <view class='more_line'></view> -->
|
|
|
<view class='more_item' catchtap='setOpen' data-open='2'>
|
|
|
<text>粉丝可见</text>
|
|
|
</view>
|
|
|
<!-- <view class='more_line'></view> -->
|
|
|
<view class='more_item' catchtap='setOpen' data-open='4'>
|
|
|
<text>草稿箱</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='content_box'>
|
|
|
<view class='tab_box'>
|
|
|
<scroll-view scroll-x>
|
|
|
<text class='classify_title'>风格</text>
|
|
|
<view class="tab_item {{item.state?'bgc-active':''}}" wx:for='{{classify}}' wx:key='index' data-index="{{index}}" bindtap="setClassify">{{item.name}}</view>
|
|
|
</scroll-view>
|
|
|
<view class='content_box'>
|
|
|
<view class='tab_box'>
|
|
|
<scroll-view scroll-x>
|
|
|
<text class='classify_title'>风格</text>
|
|
|
<view class="tab_item {{item.state?'bgc-active':''}}" wx:for='{{classify}}' wx:key='index' data-index="{{index}}" bindtap="setClassify">{{item.name}}</view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
<view class='null_box'></view>
|
|
|
<view class='bottom_box'>
|
|
|
<view class='bottom_btn1' bindtap='submitInfo'>确定发布</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='null_box'></view>
|
|
|
<view class='bottom_box'>
|
|
|
<view class='bottom_btn1' bindtap='submitInfo'>确定发布</view>
|
|
|
</block>
|
|
|
|
|
|
<!-- 编辑图片信息 -->
|
|
|
<view class='mask_box2' wx:else>
|
|
|
<view class='item_list2'>
|
|
|
<image class='list_img' src='{{url}}'></image>
|
|
|
<view class='list_content_box'>
|
|
|
<textarea class="areas" placeholder='请输入简要描述' minlength="{{min}}" value='{{imgInfo}}' maxlength="{{max3}}" bindinput="setImgText">
|
|
|
<text class="currentWordNumber">{{imgInfoNum}}/{{max3}}</text>
|
|
|
</textarea>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='bottom_btn2' bindtap='goCheck'>确定</view>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 定时发送 -->
|
|
|
<view class='mask_box' wx:if='{{relsese_state}}' catchtap='cancleMask1'>
|
|
|
<view class='release_box'>
|
...
|
...
|
@@ -86,18 +99,7 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 编辑图片信息 -->
|
|
|
<view class='mask_box2' wx:if='{{img_state}}'>
|
|
|
<view class='item_list2'>
|
|
|
<image class='list_img' src='{{url}}'></image>
|
|
|
<view class='list_content_box'>
|
|
|
<textarea class="areas" placeholder='请输入简要描述' minlength="{{min}}" value='{{imgInfo}}' maxlength="{{max3}}" bindinput="setImgText">
|
|
|
<text class="currentWordNumber">{{imgInfoNum}}/{{max3}}</text>
|
|
|
</textarea>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='bottom_btn2' bindtap='goCheck'>确定</view>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
<!-- 草稿箱 -->
|
|
|
<view class='mask_box' wx:if='{{box_state}}' catchtap='cancleMask3'>
|
...
|
...
|
|