chenkun 10 months ago
parent
commit
b6864fa665
7 changed files with 150 additions and 66 deletions
  1. +59
    -22
      pages_mine/mine/authFirm.vue
  2. +50
    -11
      pages_mine/mine/authPerson.vue
  3. +3
    -3
      pages_mine/mine/certifiedIndividual.vue
  4. +38
    -30
      pages_mine/mine/sonPage/promotion/promotionDetail.vue
  5. BIN
      pages_mine/static/auth/3.png
  6. BIN
      pages_mine/static/auth/4.png
  7. BIN
      pages_mine/static/auth/5.png

+ 59
- 22
pages_mine/mine/authFirm.vue View File

@ -27,7 +27,7 @@
<view class="label">营业执照</view> <view class="label">营业执照</view>
<view class="avatarFace" @click="uploadImage('tradeImage')"> <view class="avatarFace" @click="uploadImage('tradeImage')">
<image v-if="form.tradeImage" :src="form.tradeImage" style="width: 100%;height: 100%"></image> <image v-if="form.tradeImage" :src="form.tradeImage" style="width: 100%;height: 100%"></image>
<image v-else src="../static/auth/2.png" style="width: 100%;height: 100%"></image>
<image v-else src="../static/auth/3.png" style="width: 50%;height: 50%"></image>
</view> </view>
</view> </view>
@ -70,19 +70,23 @@
<confirmationPopup ref="confirmationPopup" title="提示" cancel :cancelText="cancelText[type]" @confirm="submit" <confirmationPopup ref="confirmationPopup" title="提示" cancel :cancelText="cancelText[type]" @confirm="submit"
round="0" @cancel="$refs.confirmationPopup.close()" :confirmText="confirmText[type]"> round="0" @cancel="$refs.confirmationPopup.close()" :confirmText="confirmText[type]">
<view class="confirmationPopup" v-if="type == 0"> <view class="confirmationPopup" v-if="type == 0">
电子认证服务协议
数字证书(以下简称证书)是电子商务认证有限公司(以下简称广东)签发的网上凭证是为身份确实资信可靠的个人单位和服务器等在网上进行安全电子交易安全电子事务处理等提供的一种身份认证凡企业机关团体行政事业等单位个人和服务器数字证书申请人(以下简称证书申请人)均可向广东业务受理审批单位申请领用数字证书为了保障数字证书申请人的合法权利维护电子商务认证有限公司的合法经营权益双方本着自愿平等的原则达成以下协议书条款双方共同遵守执行第三方认证是
XX制造网为其XX通会员提供的一项以标准化审核认证为主要内容的服务
含资质认证与实地认证
实地认证的审核认证服务内容要包括会员的工商注册信息销售贸易能力和()产品设计开发能力体系和产品认证生产能力和质量管理实景照片等内容资质认证的审核认证服务内容主要包括会员的工商注册信息经营资
生产许可资质等内容
第三方认证审核分为初次审核和年度复审两种类型初次审核是指对会员进行首次审核并出具报告年度复审是指为了认证保证报告所反映的实际情况的时效性而对会员进行的每年一次的复审XX制造网根据用户提交的服务申请及用户进行的自评情况与用户确定服务购买意向并签署合同用户支付相应费用后XX制造网委托第三方认证机构在约定的日期进行审核并出具相应的认证报告XX制造网将使用专有标识对通过审核
的用户的展示厅进行标注
<uv-parse :content="content"></uv-parse>
</view> </view>
<view class="confirmationPopup" style="padding: 70rpx 20rpx;" v-if="type == 1"> <view class="confirmationPopup" style="padding: 70rpx 20rpx;" v-if="type == 1">
本次认证需付费确认 本次认证需付费确认
</view> </view>
</confirmationPopup> </confirmationPopup>
<!-- 平台审核弹框 -->
<confirmationPopup ref="confirmationPopupUpload" title="提示" confirmText="确认" @confirm="confirm()">
<view class="confirmationPopup">
<image src="/static/image/publish/upload.png" style="width: 150rpx;height: 150rpx;" mode=""></image>
<view class="info">
已由平台进行审核时间周期为24小时
</view>
</view>
</confirmationPopup>
</view> </view>
</template> </template>
@ -93,6 +97,9 @@
mapState mapState
} from 'vuex' } from 'vuex'
export default { export default {
components: {
confirmationPopup,
},
data() { data() {
return { return {
name: 'xiaohua', name: 'xiaohua',
@ -104,16 +111,23 @@
checkboxValue: [], checkboxValue: [],
fileList: [], fileList: [],
form: {}, form: {},
authMoney: 0,
content: '',
} }
}, },
components: {
confirmationPopup,
},
computed: { computed: {
...mapState(['certifiedIndividual']), ...mapState(['certifiedIndividual']),
...mapState(['configList'])
},
mounted() {
this.openConfigMenu("getPrivacyPolicy")
}, },
methods: { methods: {
//
openConfigMenu(key) {
this.content = this.configList[key]
// this.$refs.popup.open('bottom');
},
deleteImage(e) { deleteImage(e) {
this.fileList.splice(e.index, 1) this.fileList.splice(e.index, 1)
@ -172,19 +186,42 @@
this.$api('infoSubmitCompanyCertification', this.form, this.$api('infoSubmitCompanyCertification', this.form,
res => { res => {
if (res.code == 200) { if (res.code == 200) {
uni.showToast({
title: '认证成功',
icon: 'none'
})
setTimeout(() => {
uni.redirectTo({
url: '/pages/index/center'
})
}, 500)
const self = this
uni.requestPayment({
provider: 'wxpay', //
timeStamp: res.result.timeStamp, //
nonceStr: res.result.nonceStr, //
package: res.result.packageValue,
signType: res.result.signType, //
paySign: res.result.paySign, //
success: function(res) {
// console.log('', res);
// uni.showToast({
// title: '',
// icon: 'none'
// })
self.$refs.confirmationPopupUpload.open()
},
fail: function(err) {
console.log('支付失败', err);
self.$refs.confirmationPopup.close()
uni.showToast({
icon: 'none',
title: "支付失败"
})
}
});
} }
}) })
} }
}, },
confirm() {
uni.redirectTo({
url: '/pages/index/center'
})
},
} }
} }
</script> </script>


+ 50
- 11
pages_mine/mine/authPerson.vue View File

@ -32,19 +32,30 @@
<confirmationPopup ref="confirmationPopup" title="提示" cancel :cancelText="cancelText[type]" @confirm="submit" <confirmationPopup ref="confirmationPopup" title="提示" cancel :cancelText="cancelText[type]" @confirm="submit"
round="0" @cancel="$refs.confirmationPopup.close()" :confirmText="confirmText[type]"> round="0" @cancel="$refs.confirmationPopup.close()" :confirmText="confirmText[type]">
<view class="confirmationPopup" v-if="type == 0"> <view class="confirmationPopup" v-if="type == 0">
电子认证服务协议
<!-- 电子认证服务协议
数字证书(以下简称证书)是电子商务认证有限公司(以下简称广东)签发的网上凭证是为身份确实资信可靠的个人单位和服务器等在网上进行安全电子交易安全电子事务处理等提供的一种身份认证凡企业机关团体行政事业等单位个人和服务器数字证书申请人(以下简称证书申请人)均可向广东业务受理审批单位申请领用数字证书为了保障数字证书申请人的合法权利维护电子商务认证有限公司的合法经营权益双方本着自愿平等的原则达成以下协议书条款双方共同遵守执行第三方认证是 数字证书(以下简称证书)是电子商务认证有限公司(以下简称广东)签发的网上凭证是为身份确实资信可靠的个人单位和服务器等在网上进行安全电子交易安全电子事务处理等提供的一种身份认证凡企业机关团体行政事业等单位个人和服务器数字证书申请人(以下简称证书申请人)均可向广东业务受理审批单位申请领用数字证书为了保障数字证书申请人的合法权利维护电子商务认证有限公司的合法经营权益双方本着自愿平等的原则达成以下协议书条款双方共同遵守执行第三方认证是
XX制造网为其XX通会员提供的一项以标准化审核认证为主要内容的服务 XX制造网为其XX通会员提供的一项以标准化审核认证为主要内容的服务
含资质认证与实地认证 含资质认证与实地认证
实地认证的审核认证服务内容要包括会员的工商注册信息销售贸易能力和()产品设计开发能力体系和产品认证生产能力和质量管理实景照片等内容资质认证的审核认证服务内容主要包括会员的工商注册信息经营资 实地认证的审核认证服务内容要包括会员的工商注册信息销售贸易能力和()产品设计开发能力体系和产品认证生产能力和质量管理实景照片等内容资质认证的审核认证服务内容主要包括会员的工商注册信息经营资
生产许可资质等内容 生产许可资质等内容
第三方认证审核分为初次审核和年度复审两种类型初次审核是指对会员进行首次审核并出具报告年度复审是指为了认证保证报告所反映的实际情况的时效性而对会员进行的每年一次的复审XX制造网根据用户提交的服务申请及用户进行的自评情况与用户确定服务购买意向并签署合同用户支付相应费用后XX制造网委托第三方认证机构在约定的日期进行审核并出具相应的认证报告XX制造网将使用专有标识对通过审核 第三方认证审核分为初次审核和年度复审两种类型初次审核是指对会员进行首次审核并出具报告年度复审是指为了认证保证报告所反映的实际情况的时效性而对会员进行的每年一次的复审XX制造网根据用户提交的服务申请及用户进行的自评情况与用户确定服务购买意向并签署合同用户支付相应费用后XX制造网委托第三方认证机构在约定的日期进行审核并出具相应的认证报告XX制造网将使用专有标识对通过审核
的用户的展示厅进行标注
的用户的展示厅进行标注 -->
<uv-parse :content="content"></uv-parse>
</view> </view>
<view class="confirmationPopup" style="padding: 70rpx 20rpx;" v-if="type == 1"> <view class="confirmationPopup" style="padding: 70rpx 20rpx;" v-if="type == 1">
本次认证需付费确认 本次认证需付费确认
</view> </view>
</confirmationPopup> </confirmationPopup>
<!-- 平台审核弹框 -->
<confirmationPopup ref="confirmationPopupUpload" title="提示" confirmText="确认" @confirm="confirm()">
<view class="confirmationPopup">
<image src="/static/image/publish/upload.png" style="width: 150rpx;height: 150rpx;" mode=""></image>
<view class="info">
已由平台进行审核时间周期为24小时
</view>
</view>
</confirmationPopup>
</view> </view>
</template> </template>
@ -63,12 +74,22 @@
type: 0, type: 0,
cancelText: ['不同意', '取消'], cancelText: ['不同意', '取消'],
confirmText: ['同意', '同意并支付'], confirmText: ['同意', '同意并支付'],
authMoney: 0,
content: '',
} }
}, },
computed: { computed: {
...mapState(['certifiedIndividual']), ...mapState(['certifiedIndividual']),
...mapState(['configList'])
},
mounted() {
this.openConfigMenu("getPrivacyPolicy")
}, },
methods: { methods: {
//
openConfigMenu(key) {
this.content = this.configList[key]
},
onCameraClick() { onCameraClick() {
// //
}, },
@ -96,19 +117,37 @@
this.$api('infoSubmitCertification', this.certifiedIndividual, this.$api('infoSubmitCertification', this.certifiedIndividual,
res => { res => {
if (res.code == 200) { if (res.code == 200) {
uni.showToast({
title: '认证成功',
icon: 'none'
})
setTimeout(() => {
uni.redirectTo({
url: '/pages/index/center'
})
}, 500)
const self = this
uni.requestPayment({
provider: 'wxpay', //
timeStamp: res.result.timeStamp, //
nonceStr: res.result.nonceStr, //
package: res.result.packageValue,
signType: res.result.signType, //
paySign: res.result.paySign, //
success: function(res) {
self.$refs.confirmationPopupUpload.open()
},
fail: function(err) {
console.log('支付失败', err);
self.$refs.confirmationPopup.close()
uni.showToast({
icon: 'none',
title: "支付失败"
})
}
});
} }
}) })
} }
}, },
confirm() {
uni.redirectTo({
url: '/pages/index/center'
})
},
} }
} }
</script> </script>


+ 3
- 3
pages_mine/mine/certifiedIndividual.vue View File

@ -16,19 +16,19 @@
<view class="avatarFace" @click="uploadImage('imageStraight')"> <view class="avatarFace" @click="uploadImage('imageStraight')">
<image v-if="certifiedIndividual.imageStraight" :src="certifiedIndividual.imageStraight" <image v-if="certifiedIndividual.imageStraight" :src="certifiedIndividual.imageStraight"
style="width: 100%;height: 100%"></image> style="width: 100%;height: 100%"></image>
<image v-else src="../static/auth/2.png" style="width: 100%;height: 100%"></image>
<image v-else src="../static/auth/4.png" style="width: 100%;height: 100%"></image>
</view> </view>
<view class="reverseSide" @click="uploadImage('imageReverseSide')"> <view class="reverseSide" @click="uploadImage('imageReverseSide')">
<image v-if="certifiedIndividual.imageReverseSide" :src="certifiedIndividual.imageReverseSide" <image v-if="certifiedIndividual.imageReverseSide" :src="certifiedIndividual.imageReverseSide"
style="width: 100%;height: 100%"></image> style="width: 100%;height: 100%"></image>
<image v-else src="../static/auth/2.png" style="width: 100%;height: 100%"></image>
<image v-else src="../static/auth/5.png" style="width: 100%;height: 100%"></image>
</view> </view>
</view> </view>
</view> </view>
<!--立即认证按钮--> <!--立即认证按钮-->
<view @click="nowAuth" class="bottomBtn"> <view @click="nowAuth" class="bottomBtn">
立即认证
下一步
</view> </view>
<!--人脸识别服务协议--> <!--人脸识别服务协议-->


+ 38
- 30
pages_mine/mine/sonPage/promotion/promotionDetail.vue View File

@ -122,6 +122,7 @@
// if (options.item) { // if (options.item) {
// let item = JSON.parse(decodeURIComponent(options.item)); // let item = JSON.parse(decodeURIComponent(options.item));
// } // }
console.log(options.id,"opID");
this.item.id = options.id this.item.id = options.id
}, },
components: { components: {
@ -130,6 +131,8 @@
data() { data() {
return { return {
upTopList: [], upTopList: [],
payList: [],
payId: null,
item: { item: {
day: 0, day: 0,
money: 0, money: 0,
@ -157,6 +160,7 @@
id: this.item.id id: this.item.id
}, res => { }, res => {
if (res.code == 200) { if (res.code == 200) {
console.log(res.result,"res.result");
this.item = res.result this.item = res.result
// 广 // 广
@ -192,6 +196,7 @@
this.$api('indexTopPayList', res => { this.$api('indexTopPayList', res => {
if (res.code == 200) { if (res.code == 200) {
for (var i = 0; i < res.result.length; i++) { for (var i = 0; i < res.result.length; i++) {
this.payList = res.result
this.upTopList.push({ this.upTopList.push({
name: '置顶' + res.result[i].day + '天' + res.result[i].money + '元' name: '置顶' + res.result[i].day + '天' + res.result[i].money + '元'
}) })
@ -207,7 +212,13 @@
// //
if (matches && matches.length >= 2) { if (matches && matches.length >= 2) {
console.log(matches, "matches");
// console.log(matches, "matches");
for (var i = 0; i < this.payList.length; i++) {
if (this.payList[i].day == matches[0]) {
this.payId = this.payList[i].id
}
}
// //
this.popupData.day = matches[0]; // this.popupData.day = matches[0]; //
@ -251,41 +262,38 @@
payOrder() { payOrder() {
let self = this let self = this
console.log(self.item.id, "self.item.id");
let data = { let data = {
id: this.item.id,
day: this.popupData.day,
money: this.popupData.money,
id: self.item.id,
dayId: self.payId
} }
this.$api('confirmPromotion', data,
self.$api('confirmPromotion', data,
res => { res => {
console.log(res,"res");
if (res.code == 200) { if (res.code == 200) {
if (self.form.topId) {
uni.requestPayment({
provider: 'wxpay', //
timeStamp: res.result.timeStamp, //
nonceStr: res.result.nonceStr, //
package: res.result.packageValue,
signType: res.result.signType, //
paySign: res.result.paySign, //
success: function(res) {
console.log('支付成功', res);
self.$refs.confirmationPopupUpload.open()
// self.$refs.confirmationPopup.close()
},
fail: function(err) {
console.log('支付失败', err);
self.$refs.confirmationPopup.close()
uni.showToast({
icon: 'none',
title: "支付失败"
})
}
});
} else {
self.$refs.confirmationPopupUpload.open()
}
uni.requestPayment({
provider: 'wxpay', //
timeStamp: res.result.timeStamp, //
nonceStr: res.result.nonceStr, //
package: res.result.packageValue,
signType: res.result.signType, //
paySign: res.result.paySign, //
success: function(res) {
console.log('支付成功', res);
self.$refs.confirmationPopupUpload.open()
// self.$refs.confirmationPopup.close()
},
fail: function(err) {
console.log('支付失败', err);
self.$refs.confirmationPopup.close()
uni.showToast({
icon: 'none',
title: "支付失败"
})
}
});
} }
}) })


BIN
pages_mine/static/auth/3.png View File

Before After
Width: 62  |  Height: 62  |  Size: 755 B

BIN
pages_mine/static/auth/4.png View File

Before After
Width: 1101  |  Height: 740  |  Size: 54 KiB

BIN
pages_mine/static/auth/5.png View File

Before After
Width: 1098  |  Height: 735  |  Size: 60 KiB

Loading…
Cancel
Save