|
@@ -0,0 +1,72 @@
|
|
|
+<!--pages/albumEdit/albumEdit.wxml-->
|
|
|
+<view style="background: #F0F0F0;height: 98vh;padding-top: 20rpx;">
|
|
|
+ <form catchsubmit="formSubmit">
|
|
|
+ <view style="width: 700rpx;background: #FFFFFF;border-radius: 10rpx;margin: auto;">
|
|
|
+ <view style="display: flex;border-bottom: 1px solid #DDDDDD;margin: 20rpx 18rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">作者电话</view>
|
|
|
+ </view>
|
|
|
+ <input name="phone" style="font-size: 24rpx;line-height: 70rpx;height: 70rpx;width: 100%;" placeholder="请输入电话" />
|
|
|
+ <switch name="switchPhone" style="line-height: 60rpx;" />
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;border-bottom: 1px solid #DDDDDD;margin: 20rpx 18rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">作品名称</view>
|
|
|
+ </view>
|
|
|
+ <input name="name" style="font-size: 24rpx;line-height: 70rpx;height: 70rpx;width: 100%;" placeholder="请输入作品名称" />
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;border-bottom: 1px solid #DDDDDD;margin: 20rpx 18rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">作品作者</view>
|
|
|
+ </view>
|
|
|
+ <input name="author" style="font-size: 24rpx;line-height: 70rpx;height: 70rpx;width: 100%;" placeholder="请输入作品作者" />
|
|
|
+ <switch name="switchAuthor" style="line-height: 60rpx;" />
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;border-bottom: 1px solid #DDDDDD;margin: 20rpx 18rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">归属如期</view>
|
|
|
+ </view>
|
|
|
+ <picker name="date" mode="date" value="{{date}}" bindchange="bindDateChange" style="line-height: 70rpx;font-size: 24rpx;">
|
|
|
+ <view>{{date}}</view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;border-bottom: 1px solid #DDDDDD;margin: 20rpx 18rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">作品年代</view>
|
|
|
+ </view>
|
|
|
+ <picker name="age" bindchange="bindPickerChange" value="{{index}}" range="{{array}}" style="line-height: 70rpx;font-size: 24rpx;">
|
|
|
+ {{array[index]}}
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;border-bottom: 1px solid #DDDDDD;margin: 20rpx 18rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">我的作品</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view>
|
|
|
+ <button bindtap="bindUpload" style="width: 166rpx;height: 60rpx;background: #004A93;border-radius: 10rpx;color: #FFFFFF;font-size: 24rpx;line-height: 30rpx;margin: 0;">上传</button>
|
|
|
+ </view>
|
|
|
+ <view style="font-size: 24rpx;color: #D2D2D2;">支持jpg. png格式,大小在5M以下</view>
|
|
|
+ <view>
|
|
|
+ <image src="{{imgURl}}{{img}}"></image>
|
|
|
+ <input name="img" style="display: none;" value="{{imgURl}}{{img}}" type="text"/>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;margin: 20rpx 18rpx;height: 200rpx;">
|
|
|
+ <view style="font-size: 24rpx;display: flex;line-height: 70rpx;height: 70rpx;">
|
|
|
+ <view style="color: #A91919;">*</view>
|
|
|
+ <view style="width: 132rpx;">作品描述</view>
|
|
|
+ </view>
|
|
|
+ <textarea name="detail" style="font-size: 24rpx;padding-top: 20rpx;" bindblur="bindTextAreaBlur" auto-height placeholder="请输入你的作品描述" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <button formType="submit" style="margin-top: 77rpx;width: 676rpx;height: 80rpx;background: #004A93;border-radius: 10rpx;color: #FFFFFF;font-size: 24rpx;line-height: 50rpx;">确认提交</button>
|
|
|
+ </form>
|
|
|
+</view>
|