yuminge-app/yun-min-program-plugin-master/packageH/Advertising/advertisingRelease/advertisingRelease.wxml

47 lines
2.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--packageH/Advertising/advertisingRelease/advertisingRelease.wxml-->
<view id="releaseAD">
<van-cell-group>
<van-field value="{{title}}" border="{{false}}" bind:blur="titleinp" label="标题" required placeholder="请输入标题" />
<van-cell required border="{{false}}" title="上传视频封面" />
<view style="display:flex;align-items: flex-end;">
<yz_uploader bind:updateImages="updateVideoCover" max_count="1"></yz_uploader>
<view style="padding-bottom:30rpx;">建议尺寸160*190px</view>
</view>
<van-cell required border="{{false}}" title="上传视频" />
<view style="display:flex;padding-left:0.875rem;align-items: flex-end;">
<view class="uploader-video" style="padding-right:0.875rem;" wx:if="{{videoUrl != ''}}">
<video id="myVideo" src="{{videoPath}}" binderror="videoErrorCallback" autoplay show-fullscreen-btn='{{false}}'
show-center-play-btn='{{false}}' show-play-btn="{{true}}" controls></video>
</view>
<view class="qitaimage" catchtap='onReadVideo'>
<image class="qitaMin" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
</view>
<view style="padding-left:16rpx;">视频长度限制{{configInfo.video_limit}}秒</view>
</view>
<van-cell title="底部广告" border="{{false}}">
<radio-group bindchange="onChangeADradio" class="radio-box">
<label wx:for="{{ADradioItems}}" wx:key="{{item.value}}">
<view class="">
<radio value="{{item.value}}" color="#ee0a24" checked="true"/>
</view>
<view class="radio-box-text">{{item.name}}</view>
</label>
</radio-group>
</van-cell>
<block wx:if="{{bottomADradio == '1'}}">
<van-cell border="{{false}}" title="上传图片" />
<yz_uploader bind:updateImages="updatebottomBanner" max_count="1"></yz_uploader>
<van-field value="{{bottom_title}}" bind:blur="bottomtitleinp" border="{{false}}" label="标题" placeholder="请输入标题" />
<van-field value="{{bottom_remark}}" bind:blur="bottomremarkinp" border rows="3" autosize type="textarea" placeholder="请输入描述"
class="textarea-bg-color" />
<van-field value="{{bottom_link}}" bind:blur="bottomLinkinp" autosize type="textarea" label="链接" placeholder="请输入h5链接" />
</block>
</van-cell-group>
<view class="submit-btn">
<van-button type="warning" color="#ef3532" round size="large" catchtap="sumbitAD">提交</van-button>
</view>
</view>