diff --git a/common/config.js b/common/config.js index ac0ef30..62340aa 100644 --- a/common/config.js +++ b/common/config.js @@ -2,9 +2,13 @@ // const ROOTPATH1 = "http://120.46.52.165/sqx_fast"; // const ROOTPATH3 = "wss://120.46.52.165/wss/websocket/"; +const ROOTPATH3 = "wss://192.168.2.222:8187/wss/websocket/"; const ROOTPATH = "http://192.168.2.222:8187/sqx_fast"; const ROOTPATH1 = "http://192.168.2.222:8187/sqx_fast"; -const ROOTPATH3 = "wss://192.168.2.222:8187/wss/websocket/"; + +// const ROOTPATH = "http://192.168.2.13:8187/sqx_fast"; +// const ROOTPATH1 = "http://192.168.2.13:8187/sqx_fast"; +// const ROOTPATH3 = "wss://192.168.2.13:8187/wss/websocket/"; // const ROOTPATH = "http://192.168.1.169:8187/sqx_fast"; // const ROOTPATH1 = "http://192.168.1.169:8187/sqx_fast"; @@ -35,6 +39,7 @@ const TX_MAP_KEY = 'VIWBZ-5OM3F-CV7JZ-NLKJY-AXSYV-TMFM6'; //const TX_MAP_KEY = '55UBZ-STNK4-DSNUM-F4A75-Q7BC5-FRBMS'; //ws基础连接地址 +// const WS_BASE_PATH = 'ws://192.168.2.13:8187/sqx_fast/'; const WS_BASE_PATH = 'ws://192.168.2.222:8187/sqx_fast/'; // const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/'; // const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换 diff --git a/common/queue.js b/common/queue.js index c2c17a4..371436b 100644 --- a/common/queue.js +++ b/common/queue.js @@ -21,12 +21,14 @@ module.exports = { // return 'https://admin.sjajk.com'//生产需替换 // return 'http://120.46.52.165' return 'http://192.168.2.222:8187' + // return 'http://192.168.2.13:8187' }, //全局域名 部分html中需要单独替换 需要修改config中的网络请求域名 publicYuMingApp() { // return 'https://wx.sjajk.com'//生产需替换 // return 'http://120.46.52.165' return 'http://192.168.2.222:8187' + // return 'http://192.168.2.13:8187' }, logout() { this.remove("token"); diff --git a/components/t-refresh/t-refresh.vue b/components/t-refresh/t-refresh.vue new file mode 100644 index 0000000..a258d96 --- /dev/null +++ b/components/t-refresh/t-refresh.vue @@ -0,0 +1,202 @@ + + + + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 67a0782..ffc0e01 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "盛安到家", - "appid" : "H56D02895", + "appid" : "__UNI__0A81F4F", "description" : "", "versionName" : "1.0.1", "versionCode" : 101, @@ -184,8 +184,9 @@ "key" : "2acf1b8c3d1aaf0070472dec19018d96", "securityJsCode" : "2b07c8496878c327a8ae7a19de33e2a7", // "serviceHost" : "http://wx.sjajk.com/_AMapService"//生产需替换 - // "serviceHost" : "http://120.46.52.165/_AMapService" - "serviceHost" : "http://192.168.2.222:8187/_AMapService" + // "serviceHost" : "http://120.46.52.165/_AMapService" + "serviceHost" : "http://192.168.2.222:8187/_AMapService" + // "serviceHost" : "http://192.168.2.13:8187/_AMapService" } } }, diff --git a/my/address/Endaddress.vue b/my/address/Endaddress.vue index 03751d6..2962ef2 100644 --- a/my/address/Endaddress.vue +++ b/my/address/Endaddress.vue @@ -1,5 +1,5 @@ @@ -219,6 +321,7 @@ export default { data() { return { + type:'center', jsczSel: '否', tgCheck: '否', isAgency: 0, @@ -270,7 +373,8 @@ placeholder: '', renzheng: 0, sp: 0, - txMsg: '' + txMsg: '', + nameTxt:'' } }, onLoad(d) { @@ -280,12 +384,14 @@ } else { this.tabIndex = 0; } + this.wxTxSel = this.$queue.getData('wxTxSel'); this.ylTxSel = this.$queue.getData('ylTxSel'); this.jsczSel = this.$queue.getData('jsczSel'); this.txMsg = this.$queue.getData('txMsg'); this.avatar = uni.getStorageSync('avatar') this.renzheng = uni.getStorageSync("renzheng") + this.nameTxt=d.text this.getMoneyList(); // #ifndef MP-WEIXIN this.openLists = [{ @@ -326,9 +432,6 @@ if (res.code == 0) { this.wallet = []; res.data.forEach((d, index) => { - // if(!d.coupon){ - // return; - // } if (index == 0) { d.isSelect = true; this.thisSelect = d; @@ -340,6 +443,19 @@ } }); }, + change(e) { + console.log('当前模式:' + e.type + ',状态:' + e.show); + }, + closePopup(type){//改价 关闭弹出框 + this.type = type + this.$refs.popup.close(type); + }, + toggle(type) {//改价 弹出框 + this.type = type + // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性 + this.$refs.popup.open(type) + }, + //退保证金 TuiPrice() { let that = this @@ -781,6 +897,206 @@ diff --git a/pages/my/cikarDrtail.vue b/pages/my/cikarDrtail.vue new file mode 100644 index 0000000..3af464c --- /dev/null +++ b/pages/my/cikarDrtail.vue @@ -0,0 +1,1269 @@ + + + \ No newline at end of file diff --git a/pages/my/cureOderDrtail.vue b/pages/my/cureOderDrtail.vue index 3709840..66976e2 100644 --- a/pages/my/cureOderDrtail.vue +++ b/pages/my/cureOderDrtail.vue @@ -1,18 +1,21 @@ \ No newline at end of file diff --git a/uview-ui/components/u-field/u-field.vue b/uview-ui/components/u-field/u-field.vue index cb7d7ac..6428d55 100644 --- a/uview-ui/components/u-field/u-field.vue +++ b/uview-ui/components/u-field/u-field.vue @@ -264,16 +264,20 @@ export default { this.$emit('blur', event); }, onConfirm(e) { + console.log("onConfirm") this.$emit('confirm', e.detail.value); }, onClear(event) { + console.log("onClear") this.$emit('input', ''); }, rightIconClick() { + console.log("rightIconClick") this.$emit('right-icon-click'); this.$emit('click'); }, fieldClick() { + console.log("fieldClick") this.$emit('click'); } } diff --git a/uview-ui/libs/request/index.js b/uview-ui/libs/request/index.js index 6ed747a..a25c908 100644 --- a/uview-ui/libs/request/index.js +++ b/uview-ui/libs/request/index.js @@ -104,6 +104,7 @@ class Request { // baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换 // baseUrl: 'http://120.46.52.165/', // 请求的根域名 baseUrl: 'http://192.168.2.222:8187/', + // baseUrl: 'http://192.168.2.27:8187/', // 默认的请求头 header: {}, method: 'POST',