|
@@ -27,7 +27,7 @@
|
|
|
</view>
|
|
|
<view class="linqi_text" v-show="secondParams.secondHandType==2">
|
|
|
<view class="jiaobiao"></view>
|
|
|
- <p>临期产品是指临近保质期的产品,距离到期日最好在6个月以上</p>
|
|
|
+ <p class="p">临期产品是指临近保质期的产品,距离到期日最好在6个月以上</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="row">
|
|
@@ -160,13 +160,13 @@
|
|
|
<view class="release-from">
|
|
|
<view class="label">商品图片</view>
|
|
|
<view class="release-input upload image uploadGoodsImages" >
|
|
|
- <view class="upload-file" v-show="GoodsImagesList.length<5">
|
|
|
+ <view class="upload-file" v-if="GoodsImagesList.length<5">
|
|
|
<i class="iconfont icon-shangchuantupian"></i>
|
|
|
<p class="add-text">商品图片</p>
|
|
|
<view ref="goodsImages" class="input-file" @click="uploadGoodsImagesFn"></view>
|
|
|
</view>
|
|
|
- <view class="upload-file" v-for="(item, index) in GoodsImagesList" :key="index">
|
|
|
- <img :data-original='item' :src="item" :data-image="item" alt="" class="upload-img" >
|
|
|
+ <view class="upload-file" v-for="(item, index) in GoodsImagesList" :key="index">
|
|
|
+ <image :data-original='item' :src="item" :data-image="item" alt="" class="upload-img" ></image>
|
|
|
<i class=" del iconfont icon-shanchu1" @click="removeGoodsImagesFn(index)"></i>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -179,7 +179,14 @@
|
|
|
<view class="productinfo">
|
|
|
<view class="label unlogin-label" style="width: 100%;">商品详细信息</view>
|
|
|
<div class="textarea-wrapper">
|
|
|
- <textarea maxlength="200" v-model="secondParams.productDetails" cols="70" class="description" rows="6" placeholder="请填写商品详细信息,对商品进行更详细的描述" placeholder-class="placeholder"></textarea>
|
|
|
+ <textarea class="textarea"
|
|
|
+ type="text"
|
|
|
+ v-model="secondParams.productDetails"
|
|
|
+ placeholder="请填写商品详细信息,对商品进行更详细的描述"
|
|
|
+ placeholder-class="placeholder"
|
|
|
+ maxlength="200"
|
|
|
+ @input="onTextareaInputInfo"
|
|
|
+ />
|
|
|
<span class="word-limit">{{secondParams.productDetails.length}}/200</span>
|
|
|
</div>
|
|
|
</view>
|
|
@@ -299,6 +306,9 @@
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
+ onTextareaInputInfo(e){
|
|
|
+ this.secondParams.productDetails = e.detail.value;
|
|
|
+ },
|
|
|
radioChange(e){//品牌
|
|
|
this.secondParams.brandID = e.target.value;
|
|
|
this.BrandList.forEach((item,index)=>{
|
|
@@ -516,7 +526,7 @@
|
|
|
.Secondary{margin-left: 161rpx;}
|
|
|
.secondradio view.active {color: #e15616;}
|
|
|
.placeholder{color: #b2b2b2;}
|
|
|
- .linqi_text { width: 100%; height: 68rpx;background-color: #1890f9;box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);text-align: center;
|
|
|
+ .linqi_text { width: 607rpx; height: 68rpx;background-color: #1890f9;box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);text-align: center;
|
|
|
line-height: 68rpx;color: #ffffff;margin: auto;font-size:24rpx;position: relative;}
|
|
|
.jiaobiao {width: 0;height: 0;border-left: 20rpx solid transparent;border-right: 20rpx solid transparent;top: -25%;
|
|
|
right: 40%;border-bottom: 20rpx solid #1890f9;position: absolute;}
|
|
@@ -542,6 +552,9 @@
|
|
|
}
|
|
|
.row-input{margin-right: 10rpx;}
|
|
|
}
|
|
|
+ .linqi_text .p{
|
|
|
+ font-size: $font-size-20;
|
|
|
+ }
|
|
|
.upload-file {
|
|
|
position: relative;
|
|
|
float: left;
|