You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.1 KiB

<!--pages/quest/subpage/detail/components/link/link.wxml-->
<view class="main">
<view class="title">
<image style="width: 48rpx;height: 48rpx;margin-right: 16rpx;" src="../../image/ic_xzpt@2x.png"></image>
选择平台
</view>
<view class="platform" bindtap="plachoose">{{platform ? platform.name:'请选择平台'}}
<l-icon name="right" color="#999999" size="24"></l-icon>
</view>
<view class="title" wx:if="{{!link_type}}">
<image style="width: 48rpx;height: 48rpx;margin-right: 16rpx;" src="../../image/img_srlj@2x.png"></image>
输入链接
</view>
<textarea wx:if="{{!link_type}}" class="link" placeholder="输入链接" maxlength="500" bindblur="linkin" auto-height></textarea>
<!-- 上传图片 -->
<view class="title" wx:if="{{link_type}}">
<image style="width: 48rpx;height: 48rpx;margin-right: 16rpx;" src="../../image/img_srlj@2x.png"></image>
上传图片
</view>
<view class="link2" bindtap="chooseImage" wx:if="{{link_type}}">+</view>
<view class="but" bindtap="up">上传</view>
</view>
<!-- 上传记录 -->
<view class="main">
<view class="record">上传记录</view>
<view class="record_list">
<image style="width: 72rpx;height: 72rpx;border-radius: 6rpx;margin-right: 24rpx;" src="../../image/short/img_douyin@2x.png"></image>
<view class="link_text">
<view class="link_name">https://www.douyin.com/?mz_ca=…</view>
<view class="link_time">2022-05-17 12:00:00</view>
</view>
</view>
<view class="record_list">
<image style="width: 72rpx;height: 72rpx;border-radius: 6rpx;margin-right: 24rpx;" src="../../image/short/img_kuaishou@2x.png"></image>
<view class="link_text">
<view class="link_name">https://www.douyin.com/?mz_ca=…</view>
<view class="link_time">2022-05-17 12:00:00</view>
</view>
</view>
</view>
<!-- 选择平台 -->
<l-arc-popup show="{{platformdia}}" max-height="700" min-height="200">
<view class="platitle">选择平台</view>
<view class="pla" wx:for="{{platforms}}" wx:key="index" data-mes="{{platforms[index]}}" bindtap="plachoose2">{{item.name}}
<view class="plaline" wx:if="{{index < platforms.length - 1}}"></view>
</view>
</l-arc-popup>