pull/1/head
liudan 1 year ago
parent f6c2c39c2a
commit 342d426f09
  1. 4
      common/config.js
  2. 2
      manifest.json
  3. 59
      pages/warehouse/pay.vue
  4. 2
      unpackage/dist/build/h5/index.html
  5. 2
      unpackage/dist/build/h5/static/js/index.600c77d2.js
  6. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-pay.0a4237f6.js
  7. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-pay.899891da.js
  8. 10
      vue.config.js

@ -1,2 +1,2 @@
export const $apiLinks = "https://qg2.njrenzhou.cn/" // api 接口地址
export const baseUrl = "https://qg2.njrenzhou.cn/"
export const $apiLinks = "https://qg.njrenzhou.cn/" // api 接口地址
export const baseUrl = "https://qg.njrenzhou.cn/"

@ -120,7 +120,7 @@
},
"title" : "商城",
"devServer" : {
"https" : false
"https" : true
},
"domain" : ""
},

@ -126,7 +126,7 @@
<script>
import {getToken} from '@/common/auth.js'
import {updateUserInfo,smsSend,getUserInfo,smsCheck,privacyPolicy} from '@/common/api.js'
import {getUserInfo,privacyPolicy} from '@/common/api.js'
export default {
data() {
return {
@ -183,6 +183,7 @@
//
getUserInfoHandle(){
getUserInfo().then(res=>{
console.log()
this.mobileForm.phone =res.data.mobile
this.mobileForm.simplephone=this.mobileForm.phone.replace(/^(\d{3})\d{4}(\d{4})/,'$1****$2')
Object.keys(this.yhk).forEach(item=>{
@ -199,64 +200,8 @@
this.timeNum = 59;
this.codeSend = false;
},
getCode(){
// let event = this.activeIndex==1?'bank':this.activeIndex==2?'alipay':'wechat'
if(!this.mobileForm.phone){
this.$refs.uToast.show({
message:'请输入手机号码'
})
return;
}
smsSend({mobile:this.mobileForm.phone,event:'notice'}).then(res=>{
if(res.code==1){
this.codeSend = true;
this.timer = setInterval(()=>{
if(this.timeNum>0){
this.timeNum--;
}else{
this.codeSend = false;
clearInterval(this.timer)
this.timer = null;
}
},1000)
}
})
},
submitSave(){
if(!this.mobileForm.code){
this.$refs.uToast.show({
message:'请输入验证码'
})
return;
}
smsCheck({mobile:this.mobileForm.phone,captcha:this.mobileForm.code,event:'notice'}).then(res=>{
if(res.code==1){
if(this.activeIndex==1){
updateUserInfo(this.yhk).then(res=>{
this.$refs.uToast.show({
message:'保存成功'
})
})
}else if(this.activeIndex==2){
updateUserInfo({alipay_image:this.zfburl}).then(res=>{
this.$refs.uToast.show({
message:'保存成功'
})
})
}else if(this.activeIndex==3){
updateUserInfo({wechat_image:this.wxurl}).then(res=>{
this.$refs.uToast.show({
message:'保存成功'
})
})
}
}
})
},
uploadZfb(){
this.$refs.uploadzfb.chooseFile()
},

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>商城</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.63b34199.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.0ec5b294.js></script><script src=/static/js/index.0c9aec95.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.63b34199.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.0ec5b294.js></script><script src=/static/js/index.600c77d2.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
module.exports = {
devServer: {
proxy: {
'/api': {
target: 'https://qg.njrenzhou.cn',
changeOrigin: true
}
}
}
}
Loading…
Cancel
Save