|
@@ -3,8 +3,7 @@
|
|
<view class="bannerimg"><image src="https://static.caimei365.com/app/img/bg/secondbg.jpg"></image></view>
|
|
<view class="bannerimg"><image src="https://static.caimei365.com/app/img/bg/secondbg.jpg"></image></view>
|
|
<view class="my-maintenance" >
|
|
<view class="my-maintenance" >
|
|
<view class="newsTitle">
|
|
<view class="newsTitle">
|
|
- <view class="nestext">欢迎您来到采美365网二手商品市场,您可以在这里发布二手
|
|
|
|
- 设备/产品信息,每个商品需要收取您100元的展示费,展示期为6个月; 为了完整展示您的商品,请您认真填写以下内容,谢谢合作</view>
|
|
|
|
|
|
+ <view class="nestext">欢迎您来到采美365网二手商品市场,您可以在这里发布二手设备/产品信息,每个商品需要收取您100元的展示费,展示期为6个月; 为了完整展示您的商品,请您认真填写以下内容,谢谢合作</view>
|
|
</view>
|
|
</view>
|
|
<form>
|
|
<form>
|
|
<view class="row fenlei">
|
|
<view class="row fenlei">
|
|
@@ -125,13 +124,25 @@
|
|
<view class="row">
|
|
<view class="row">
|
|
<view class="label">联系人</view>
|
|
<view class="label">联系人</view>
|
|
<view class="spacing">
|
|
<view class="spacing">
|
|
- <input type="text" maxlength="6" v-model="secondParams.contactName" placeholder="请输入联系人姓名" placeholder-class="placeholder">
|
|
|
|
|
|
+ <input type="text" maxlength="15" v-model="secondParams.contactName" placeholder="请输入联系人姓名" placeholder-class="placeholder">
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="row">
|
|
<view class="label">联系方式</view>
|
|
<view class="label">联系方式</view>
|
|
<view class="spacing">
|
|
<view class="spacing">
|
|
- <input type="text" v-model="secondParams.contactMobile" maxlength="11" placeholder="请输入联系人手机号 / 固话" placeholder-class="placeholder">
|
|
|
|
|
|
+ <input type="text" v-model="secondParams.contactMobile" maxlength="11" placeholder="请输入联系人手机号" placeholder-class="placeholder">
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="label">采美对接人</view>
|
|
|
|
+ <view class="spacing">
|
|
|
|
+ <input type="text" v-model="secondParams.dockingPeopleName" maxlength="15" placeholder="请输入采美对接人姓名" placeholder-class="placeholder">
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="label">对接人联系方式</view>
|
|
|
|
+ <view class="spacing">
|
|
|
|
+ <input type="text" v-model="secondParams.dockingPeopleMobile" maxlength="11" placeholder="请输入采美对接人手机号" placeholder-class="placeholder">
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="row">
|
|
@@ -192,10 +203,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="productinfo">
|
|
<view class="productinfo">
|
|
<view class="label unlogin-label" style="width: 100%;">免责声明</view>
|
|
<view class="label unlogin-label" style="width: 100%;">免责声明</view>
|
|
- <textarea type="text" class="smText" >
|
|
|
|
- 鉴于本网站提供的二手版块信息包括但不限于公司名称,商品的简介、性能、描述与说明,相关图片、视频等均由卖家自行提供,
|
|
|
|
- 由卖家对其提供的信息承担相应法律责任。买家应自行甄别商品信息并查验商品性状。本网站对二手版块中买卖双方的交易不提供任何形式的担保与保证,特此声明!
|
|
|
|
- </textarea>
|
|
|
|
|
|
+ <text class="smText" >鉴于本网站提供的二手版块信息包括但不限于公司名称,商品的简介、性能、描述与说明,相关图片、视频等均由卖家自行提供,由卖家对其提供的信息承担相应法律责任。买家应自行甄别商品信息并查验商品性状。本网站对二手版块中买卖双方的交易不提供任何形式的担保与保证,特此声明!</text>
|
|
</view>
|
|
</view>
|
|
<view class="row Read">
|
|
<view class="row Read">
|
|
<span @click="changeBox($event)" class="iconfont xiangliao"
|
|
<span @click="changeBox($event)" class="iconfont xiangliao"
|
|
@@ -214,16 +222,16 @@
|
|
</mpvue-city-picker>
|
|
</mpvue-city-picker>
|
|
</view>
|
|
</view>
|
|
<view class="secondBj thebj" v-show="vShow_secondBj" :class="vShow_secondBj?'show':''">
|
|
<view class="secondBj thebj" v-show="vShow_secondBj" :class="vShow_secondBj?'show':''">
|
|
- <view class="bjmain theresult">
|
|
|
|
- <span class="title">发布提示</span>
|
|
|
|
- <p>发布二手商品,采美需要收取您每个商品100元的展示费,展示期为6个月</br>
|
|
|
|
- 支付完成后,商品会在1-2个工作日内进行审核,审核通过后,商品会立即上线</p>
|
|
|
|
- <view class="paybtn">
|
|
|
|
- <view class="thegopay gozhofubao" @click.stop="quxiao">取消发布</view>
|
|
|
|
- <view class="cancel closebtn" @click.stop="gopay">去支付</view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="bjmain theresult">
|
|
|
|
+ <span class="title">发布提示</span>
|
|
|
|
+ <p>发布二手商品,采美需要收取您每个商品100元的展示费,展示期为6个月</br>
|
|
|
|
+ 支付完成后,商品会在1-2个工作日内进行审核,审核通过后,商品会立即上线</p>
|
|
|
|
+ <view class="paybtn">
|
|
|
|
+ <view class="thegopay gozhofubao" @click.stop="quxiao">取消发布</view>
|
|
|
|
+ <view class="cancel closebtn" @click.stop="gopay">去支付</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ </view>
|
|
<payment-record ref="payment" v-if="isRequest" :discernReceiptList="discernReceiptList" :receiptAmount="receiptAmount"></payment-record>
|
|
<payment-record ref="payment" v-if="isRequest" :discernReceiptList="discernReceiptList" :receiptAmount="receiptAmount"></payment-record>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -243,64 +251,66 @@
|
|
},
|
|
},
|
|
data(){
|
|
data(){
|
|
return{
|
|
return{
|
|
|
|
+ userIdentity:0,
|
|
popupShow:false,
|
|
popupShow:false,
|
|
fenlei:[
|
|
fenlei:[
|
|
- {name:'二手仪器',value:'1'},
|
|
|
|
- // {name:'临期产品',value:'2'},
|
|
|
|
- {name:'其他',value:'3'},
|
|
|
|
- ],
|
|
|
|
- radioList:[
|
|
|
|
- {name:'轻光电',value:'1',isChecked:false},
|
|
|
|
- {name:'重光电',value:'2',isChecked:false},
|
|
|
|
- {name:'耗材配件',value:'3',isChecked:false},
|
|
|
|
-
|
|
|
|
- ],
|
|
|
|
- beauty:[
|
|
|
|
- {name:'医美',value:'1'},
|
|
|
|
- {name:'非医美',value:'2'},
|
|
|
|
- ],
|
|
|
|
- BrandList:[],
|
|
|
|
- isShow:false,
|
|
|
|
- GoodsImagesList:[],
|
|
|
|
- vShow_GoodsImages:false,
|
|
|
|
- secondParams:{
|
|
|
|
- secondHandType:'',//一级分类
|
|
|
|
- instrumentType:'',//二手仪器分类
|
|
|
|
- name:'',
|
|
|
|
- brandID:'',//品牌ID
|
|
|
|
- brandName:'',//其他品牌
|
|
|
|
- fixedYears:null,//出厂
|
|
|
|
- companyName:'',//公司名称
|
|
|
|
- maturityYears:'',//产品到期
|
|
|
|
- price1:'',//交易价
|
|
|
|
- detailTalkFlag:1,//是否启用详聊
|
|
|
|
- normalPrice:'',//市场价
|
|
|
|
- originalPrice:'',//采购价
|
|
|
|
- stock:'',//数量
|
|
|
|
- productQuality:'',//商品成色
|
|
|
|
- contactName:'',//联系人
|
|
|
|
- contactMobile:'',//联系方式
|
|
|
|
- secondProductType:'',//
|
|
|
|
- townId:'',//县区地址
|
|
|
|
- address:'',//详细地址
|
|
|
|
- image1:'',//图片
|
|
|
|
- productDetails:'',//商品详细信息
|
|
|
|
- source:1,
|
|
|
|
- },
|
|
|
|
- addressData:{
|
|
|
|
- address:'请选择所在地区',
|
|
|
|
- townID:'', //区ID
|
|
|
|
- cityID:'', //区ID
|
|
|
|
- provinceID:'', //区ID
|
|
|
|
- addressDetail: '', //地址
|
|
|
|
- },
|
|
|
|
- brandname:'请选择品牌名称',
|
|
|
|
- checkbox:false,
|
|
|
|
- shoplogoTwo:false,
|
|
|
|
- vShow_secondBj:false,
|
|
|
|
- resultBj:false,
|
|
|
|
- vShow_detailTalkFlag:false,
|
|
|
|
- playid:'',
|
|
|
|
|
|
+ {name:'二手仪器',value:'1'},
|
|
|
|
+ // {name:'临期产品',value:'2'},
|
|
|
|
+ {name:'其他',value:'3'},
|
|
|
|
+ ],
|
|
|
|
+ radioList:[
|
|
|
|
+ {name:'轻光电',value:'1',isChecked:false},
|
|
|
|
+ {name:'重光电',value:'2',isChecked:false},
|
|
|
|
+ {name:'耗材配件',value:'3',isChecked:false},
|
|
|
|
+ ],
|
|
|
|
+ beauty:[
|
|
|
|
+ {name:'医美',value:'1'},
|
|
|
|
+ {name:'非医美',value:'2'},
|
|
|
|
+ ],
|
|
|
|
+ BrandList:[],
|
|
|
|
+ isShow:false,
|
|
|
|
+ GoodsImagesList:[],
|
|
|
|
+ vShow_GoodsImages:false,
|
|
|
|
+ secondParams:{
|
|
|
|
+ secondHandType:'',//一级分类
|
|
|
|
+ instrumentType:'',//二手仪器分类
|
|
|
|
+ name:'',
|
|
|
|
+ brandID:'',//品牌ID
|
|
|
|
+ brandName:'',//其他品牌
|
|
|
|
+ fixedYears:null,//出厂
|
|
|
|
+ companyName:'',//公司名称
|
|
|
|
+ maturityYears:'',//产品到期
|
|
|
|
+ price1:'',//交易价
|
|
|
|
+ detailTalkFlag:1,//是否启用详聊
|
|
|
|
+ normalPrice:'',//市场价
|
|
|
|
+ originalPrice:'',//采购价
|
|
|
|
+ stock:'',//数量
|
|
|
|
+ productQuality:'',//商品成色
|
|
|
|
+ contactName:'',//联系人
|
|
|
|
+ contactMobile:'',//联系方式
|
|
|
|
+ dockingPeopleName:'',//采美对接人姓名
|
|
|
|
+ dockingPeopleMobile:'',//采美对接人手机号
|
|
|
|
+ secondProductType:'',//
|
|
|
|
+ townId:'',//县区地址
|
|
|
|
+ address:'',//详细地址
|
|
|
|
+ image1:'',//图片
|
|
|
|
+ productDetails:'',//商品详细信息
|
|
|
|
+ source:2
|
|
|
|
+ },
|
|
|
|
+ addressData:{
|
|
|
|
+ address:'请选择所在地区',
|
|
|
|
+ townID:'', //区ID
|
|
|
|
+ cityID:'', //区ID
|
|
|
|
+ provinceID:'', //区ID
|
|
|
|
+ addressDetail: '', //地址
|
|
|
|
+ },
|
|
|
|
+ brandname:'请选择品牌名称',
|
|
|
|
+ checkbox:false,
|
|
|
|
+ shoplogoTwo:false,
|
|
|
|
+ vShow_secondBj:false,
|
|
|
|
+ resultBj:false,
|
|
|
|
+ vShow_detailTalkFlag:false,
|
|
|
|
+ playid:'',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
@@ -422,9 +432,25 @@
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if(!$reg.isMobile(this.secondParams.contactMobile)){
|
|
if(!$reg.isMobile(this.secondParams.contactMobile)){
|
|
- this.$util.msg('联系方式格式不正确',2000);
|
|
|
|
|
|
+ this.$util.msg('请填写正确的手机号',2000);
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ if(this.userIdentity === 3){
|
|
|
|
+ if(this.secondParams.dockingPeopleName == ''){
|
|
|
|
+ this.$util.msg('请输入采美对接人姓名',2000);
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if(this.secondParams.dockingPeopleMobile == ''){
|
|
|
|
+ this.$util.msg('请输入采美对接人手机号',2000);
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(this.secondParams.dockingPeopleMobile !=''){
|
|
|
|
+ if(!$reg.isMobile(this.secondParams.dockingPeopleMobile)){
|
|
|
|
+ this.$util.msg('请填写正确的采美对接人手机号',2000);
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ }
|
|
if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
|
|
if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
|
|
this.$util.msg('请完善联系地址',2000);
|
|
this.$util.msg('请完善联系地址',2000);
|
|
return
|
|
return
|
|
@@ -495,13 +521,18 @@
|
|
this.checkbox = !this.checkbox;
|
|
this.checkbox = !this.checkbox;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- created(){
|
|
|
|
- this.SecondService.brandList().then(res =>{//品牌列表
|
|
|
|
- if(res.code == 0){
|
|
|
|
- this.BrandList = res.data;
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
|
|
+ onShow() {
|
|
|
|
+ this.SecondService.brandList().then(res =>{//品牌列表
|
|
|
|
+ if(res.code == 0){
|
|
|
|
+ this.BrandList = res.data;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ this.$api.getComStorage('userInfo').then((resolve) =>{
|
|
|
|
+ this.userIdentity = resolve.userIdentity
|
|
|
|
+ }).catch(error =>{
|
|
|
|
+ console.log(error)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -526,13 +557,13 @@
|
|
line-height: 68rpx;color: #ffffff;margin: auto;font-size:24rpx;position: relative;}
|
|
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%;
|
|
.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;}
|
|
right: 40%;border-bottom: 20rpx solid #1890f9;position: absolute;}
|
|
- .label{color: #666666;display: inline-block;width: 120rpx;}
|
|
|
|
|
|
+ .label{color: #666666;display: inline-block;}
|
|
.label.second{width: 155rpx;}
|
|
.label.second{width: 155rpx;}
|
|
.row .spacing.second{width: 70%;}
|
|
.row .spacing.second{width: 70%;}
|
|
.row{border-bottom: 2rpx solid #e1e1e1;line-height: 90rpx;height: 90rpx;}
|
|
.row{border-bottom: 2rpx solid #e1e1e1;line-height: 90rpx;height: 90rpx;}
|
|
.row.fenlei{height: auto;margin: 10rpx 0;border: 0}
|
|
.row.fenlei{height: auto;margin: 10rpx 0;border: 0}
|
|
.select {position: relative;color: #b2b2b2;text-align: left;user-select: none;}
|
|
.select {position: relative;color: #b2b2b2;text-align: left;user-select: none;}
|
|
- .row .spacing{display: inline-block;margin-left: 50rpx;width: 75%;vertical-align:middle;position: relative}
|
|
|
|
|
|
+ .row .spacing{display: inline-block;margin-left: 50rpx;width: 430rpx;vertical-align:middle;position: relative}
|
|
.select .placeholder {position: relative;cursor: pointer;width: 100%;display: inline-block;}
|
|
.select .placeholder {position: relative;cursor: pointer;width: 100%;display: inline-block;}
|
|
.icon-xiayibu{right: 0rpx;;color: #b2b2b2;position: absolute}
|
|
.icon-xiayibu{right: 0rpx;;color: #b2b2b2;position: absolute}
|
|
.xiangliao{font-size: 26rpx;margin-right: 10rpx;color: #b2b2b2}
|
|
.xiangliao{font-size: 26rpx;margin-right: 10rpx;color: #b2b2b2}
|