|
@@ -7,7 +7,7 @@
|
|
|
<text >{{ item.goodsName }}</text>
|
|
|
<text style="color:#999;margin-left:12rpx;">{{ item.secAllNum }}节</text>
|
|
|
</view>
|
|
|
- <view class="del_icon"><u-icon name="minus-circle-fill" color="#EB4D3D" size="40" @click="delItem(index)"></u-icon></view>
|
|
|
+ <view class="del_icon"><u-icon name="close" color="#fff" size="20" @click="delItem(index)"></u-icon></view>
|
|
|
</view>
|
|
|
<view class="item" style="vertical-align: top;">
|
|
|
<view class="item_add" @click="openSel"><u-icon name="plus-circle-fill" color="#007AFF" size="32"></u-icon></view>
|
|
@@ -17,11 +17,11 @@
|
|
|
<view class="list_box form">
|
|
|
<u-form :model="form" ref="uForm">
|
|
|
<u-form-item label="课程类型" :label-width="auto">
|
|
|
- <view style="line-height: 40rpx;" v-if="form.category">{{ form.category }}</view>
|
|
|
- <view v-else style="text-align: end;">请添加网课</view>
|
|
|
+ <view style="line-height: 40rpx;text-align: right;" v-if="form.category">{{ form.category }}</view>
|
|
|
+ <view v-else style="text-align: right;">请添加网课</view>
|
|
|
</u-form-item>
|
|
|
<u-form-item label="考试日期" prop="birth" :label-width="auto">
|
|
|
- <picker mode="date" :value="form.date" @change="bindDateChange">
|
|
|
+ <picker mode="date" :start="stateDate" :value="form.date" @change="bindDateChange">
|
|
|
<view class="picker">{{ form.date }}</view>
|
|
|
</picker>
|
|
|
</u-form-item>
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
week_show: false,
|
|
|
form: {
|
|
|
category: '',
|
|
|
- date: '2021-01-01',
|
|
|
+ date: this.$method.timestampToTime(new Date().valueOf()/1000, true),
|
|
|
time: '20:30',
|
|
|
startDate: '2021-05-07',
|
|
|
endDate: '2021-05-31',
|
|
@@ -130,6 +130,7 @@ export default {
|
|
|
list: [],
|
|
|
list2: [],
|
|
|
show: false,
|
|
|
+ stateDate:this.$method.timestampToTime(new Date().valueOf()/1000, true),
|
|
|
calendar_show: false,
|
|
|
maxDate: '2023-01-01',
|
|
|
minDate: '',
|
|
@@ -487,6 +488,7 @@ input {
|
|
|
}
|
|
|
}
|
|
|
.submit_wrap {
|
|
|
+ border-top:1px solid #eee;
|
|
|
background:#fff;
|
|
|
padding:18rpx 0;
|
|
|
|
|
@@ -530,17 +532,26 @@ input {
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
.del_icon {
|
|
|
+ border-radius:50%;
|
|
|
+ overflow: hidden;
|
|
|
+ background:rgba(255,54,87,1);
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
position: absolute;
|
|
|
right: -15rpx;
|
|
|
top: -15rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
}
|
|
|
.item_add {
|
|
|
background: #f9f9f9;
|
|
|
- border-radius: 32rpx;
|
|
|
+ border-radius: 14rpx;
|
|
|
width: 100%;
|
|
|
- height: 150rpx;
|
|
|
+ height: 134rpx;
|
|
|
text-align: center;
|
|
|
- line-height: 150rpx;
|
|
|
+ line-height: 134rpx;
|
|
|
}
|
|
|
.item text {
|
|
|
font-size: 24rpx;
|
|
@@ -548,21 +559,21 @@ input {
|
|
|
|
|
|
}
|
|
|
.item image {
|
|
|
- border-radius: 32rpx;
|
|
|
+ border-radius: 14rpx;
|
|
|
width: 100%;
|
|
|
- height: 150rpx;
|
|
|
+ height: 134rpx;
|
|
|
}
|
|
|
.item {
|
|
|
- width: 46%;
|
|
|
+ width:278rpx;
|
|
|
display: inline-block;
|
|
|
- margin: 1% 2%;
|
|
|
position: relative;
|
|
|
+ margin-right:16rpx;
|
|
|
}
|
|
|
.list_box {
|
|
|
width: 100%;
|
|
|
background: #ffffff;
|
|
|
- border-radius: 32rpx;
|
|
|
- padding: 20rpx 0;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ padding: 24rpx;
|
|
|
}
|
|
|
|
|
|
page {
|