|
@@ -180,11 +180,11 @@
|
|
</view>
|
|
</view>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
</view>
|
|
</view>
|
|
- <textarea type="text"
|
|
|
|
- class="border-grey address-details"
|
|
|
|
- v-model="secondParams.address"
|
|
|
|
|
|
+ <textarea type="text"
|
|
|
|
+ class="border-grey address-details"
|
|
|
|
+ v-model="secondParams.address"
|
|
maxlength="50"
|
|
maxlength="50"
|
|
- placeholder="请填写详细地址,如街道/小区/门牌等"
|
|
|
|
|
|
+ placeholder="请填写详细地址,如街道/小区/门牌等"
|
|
placeholder-class="placeholder"/>
|
|
placeholder-class="placeholder"/>
|
|
</textarea>
|
|
</textarea>
|
|
<view class="release-main-container">
|
|
<view class="release-main-container">
|
|
@@ -211,7 +211,7 @@
|
|
<view class="label">二手出让承诺函文件</view>
|
|
<view class="label">二手出让承诺函文件</view>
|
|
<view class="spacing file-none" v-if="secondParams.fileName == ''">
|
|
<view class="spacing file-none" v-if="secondParams.fileName == ''">
|
|
<view class="file-none-button" @click="uploadCommitmentFile">上传</view>
|
|
<view class="file-none-button" @click="uploadCommitmentFile">上传</view>
|
|
- </view>
|
|
|
|
|
|
+ </view>
|
|
<view class="spacing file-text" v-else>
|
|
<view class="spacing file-text" v-else>
|
|
<text class="file-text-em">{{ secondParams.fileName }}</text>
|
|
<text class="file-text-em">{{ secondParams.fileName }}</text>
|
|
<i class=" del iconfont icon-shanchu1" @click="deleteCommitmentFile"></i>
|
|
<i class=" del iconfont icon-shanchu1" @click="deleteCommitmentFile"></i>
|
|
@@ -255,7 +255,7 @@
|
|
:class="checkbox?'icon-jiagexiangliao':'icon-juxingweigouxuan'" ><span style="margin-left: 10rpx;">已阅读</span></span>
|
|
:class="checkbox?'icon-jiagexiangliao':'icon-juxingweigouxuan'" ><span style="margin-left: 10rpx;">已阅读</span></span>
|
|
</view>
|
|
</view>
|
|
<view class="BtnAll" :style="{ paddingBottom :isIphoneX ? '68rpx' : '0rpx' }">
|
|
<view class="BtnAll" :style="{ paddingBottom :isIphoneX ? '68rpx' : '0rpx' }">
|
|
- <view @click="submitBtn" class="btn-submit">发布</view>
|
|
|
|
|
|
+ <view @click="submitBtn" class="btn-submit">发布</view>
|
|
</view>
|
|
</view>
|
|
</form>
|
|
</form>
|
|
<!-- 地址弹窗 -->
|
|
<!-- 地址弹窗 -->
|
|
@@ -313,7 +313,7 @@
|
|
],
|
|
],
|
|
BrandList:[],
|
|
BrandList:[],
|
|
isShow:false,
|
|
isShow:false,
|
|
- GoodsImagesList:['https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg'],
|
|
|
|
|
|
+ GoodsImagesList:[],
|
|
secondParams:{
|
|
secondParams:{
|
|
secondHandType:'',//一级分类
|
|
secondHandType:'',//一级分类
|
|
instrumentType:'',//二手仪器分类
|
|
instrumentType:'',//二手仪器分类
|
|
@@ -331,14 +331,14 @@
|
|
productQuality:'',//商品成色
|
|
productQuality:'',//商品成色
|
|
contactName:'',//联系人
|
|
contactName:'',//联系人
|
|
contactMobile:'',//联系方式
|
|
contactMobile:'',//联系方式
|
|
- authenticationImage:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg',//身份验证图片
|
|
|
|
- commitmentImage:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg',//承诺函图片
|
|
|
|
|
|
+ authenticationImage:'',//身份验证图片
|
|
|
|
+ commitmentImage:'',//承诺函图片
|
|
dockingPeopleName:'',//采美对接人姓名
|
|
dockingPeopleName:'',//采美对接人姓名
|
|
dockingPeopleMobile:'',//采美对接人手机号
|
|
dockingPeopleMobile:'',//采美对接人手机号
|
|
secondProductType:'',//
|
|
secondProductType:'',//
|
|
townId:'',//县区地址
|
|
townId:'',//县区地址
|
|
address:'',//详细地址
|
|
address:'',//详细地址
|
|
- image:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg',//图片
|
|
|
|
|
|
+ image:'',//图片
|
|
fileName:'',
|
|
fileName:'',
|
|
ossName:'',
|
|
ossName:'',
|
|
productDetails:'',//商品详细信息
|
|
productDetails:'',//商品详细信息
|
|
@@ -439,18 +439,7 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
deleteCommitmentFile(){//删除承诺函文件
|
|
deleteCommitmentFile(){//删除承诺函文件
|
|
- this.UploadService.PostFileDelete(
|
|
|
|
- {
|
|
|
|
- ossName:this.secondParams.ossName,
|
|
|
|
- }
|
|
|
|
- )
|
|
|
|
- .then(res=>{
|
|
|
|
- this.secondParams.fileName = '';
|
|
|
|
- this.secondParams.ossName = '';
|
|
|
|
- })
|
|
|
|
- .catch(error =>{
|
|
|
|
- console.log('删除文件异常提示===>',error.msg)
|
|
|
|
- })
|
|
|
|
|
|
+ this.secondParams.fileName = ''
|
|
},
|
|
},
|
|
removeGoodsImagesFn(index){//删除商品图片
|
|
removeGoodsImagesFn(index){//删除商品图片
|
|
this.GoodsImagesList.splice(index,1);
|
|
this.GoodsImagesList.splice(index,1);
|
|
@@ -577,7 +566,7 @@
|
|
this.SecondHandProduct(this.secondParams)
|
|
this.SecondHandProduct(this.secondParams)
|
|
},
|
|
},
|
|
SecondHandProduct(params){//提交发布
|
|
SecondHandProduct(params){//提交发布
|
|
- this.SecondService.SecondHandProduct(params).then(res=>{
|
|
|
|
|
|
+ this.SecondService.SecondHandProduct(params).then(res=>{
|
|
this.PopupShow = true;
|
|
this.PopupShow = true;
|
|
this.tipsContentText = '发布二手商品,采美需要收取您每个商品100元的展示费,展示期为3个月支付完成后,商品会在1-2个工作日内进行审核,审核通过后,商品会立即上线'
|
|
this.tipsContentText = '发布二手商品,采美需要收取您每个商品100元的展示费,展示期为3个月支付完成后,商品会在1-2个工作日内进行审核,审核通过后,商品会立即上线'
|
|
this.cancelButtonText = '取消发布'
|
|
this.cancelButtonText = '取消发布'
|
|
@@ -595,7 +584,7 @@
|
|
case 1:
|
|
case 1:
|
|
this.SecondHandProduct(this.secondParams)
|
|
this.SecondHandProduct(this.secondParams)
|
|
break;
|
|
break;
|
|
- case 2:
|
|
|
|
|
|
+ case 2:
|
|
this.PopupShow = false;
|
|
this.PopupShow = false;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
@@ -605,7 +594,7 @@
|
|
case 1:
|
|
case 1:
|
|
this.PopupShow = false;
|
|
this.PopupShow = false;
|
|
break;
|
|
break;
|
|
- case 2:
|
|
|
|
|
|
+ case 2:
|
|
this.MiniWxPayFor()
|
|
this.MiniWxPayFor()
|
|
this.PopupShow = false;
|
|
this.PopupShow = false;
|
|
break;
|
|
break;
|
|
@@ -990,9 +979,7 @@
|
|
text-align: center;
|
|
text-align: center;
|
|
line-height: 90rpx;
|
|
line-height: 90rpx;
|
|
color: #fff;
|
|
color: #fff;
|
|
- background-image: linear-gradient(315deg,
|
|
|
|
- #f28f31 0%,
|
|
|
|
- #e15616 100%);
|
|
|
|
|
|
+ background-image: $btn-confirm;
|
|
border-radius: 90rpx;
|
|
border-radius: 90rpx;
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
}
|
|
}
|