diff --git a/manifest.json b/manifest.json index d017f2e..88651a3 100644 --- a/manifest.json +++ b/manifest.json @@ -108,9 +108,9 @@ }, "androidStyle" : "default", "android" : { - "hdpi" : "E:/Source-code/deming/static/app/start/480x762.png", - "xhdpi" : "E:/Source-code/deming/static/app/start/720x1242.png", - "xxhdpi" : "E:/Source-code/deming/static/app/start/1080x1882.png" + "hdpi" : "E:/Source-code/deming/static/app/start/480x762.PNG", + "xhdpi" : "E:/Source-code/deming/static/app/start/720x1242.PNG", + "xxhdpi" : "E:/Source-code/deming/static/app/start/1080x1882.PNG" } } } diff --git a/pages/index/details.vue b/pages/index/details.vue index 9f1dc4a..1069edf 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -97,7 +97,7 @@ 物流信息 订单单号:   {{ info.order_sn }} - + {{list.content}} {{list.kd_time}} @@ -163,13 +163,13 @@ 发票抬头: - {{ invoiceList.invoice_title }} + {{ invoiceList.invoice_title }} - + 税号: {{ invoiceList.invoice_code }} - + 单位地址: {{ invoiceList.invoice_goto_addr }} @@ -177,17 +177,17 @@ 电话号码: {{ invoiceList.invoice_reg_mobphone }} - + 开户银行: {{ invoiceList.invoice_reg_bname }} - + 银行账户: {{ invoiceList.invoice_reg_baccount }} - + 省份证号: - 111 + {{ invoiceList.invoice_code }} @@ -238,7 +238,7 @@ export default { }, onLoad(option) { this.type = option.type; - console.log(this.type) + // console.log(this.type) this.orderid = option.id; this.resetinfo(); if (this.type == 1) { @@ -247,7 +247,7 @@ export default { } if (this.type == 2) { // 获取物流信息 - this.getcarinfo(); + // this.getcarinfo(); } // 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货 }, @@ -319,13 +319,13 @@ export default { }); }, // 查询物流 - getcarinfo() { - this.$u.api.getcarinfo({ - order_id: this.orderid - }).then(res => { - console.log(res); - }) - }, + // getcarinfo() { + // this.$u.api.getcarinfo({ + // order_id: this.orderid + // }).then(res => { + // console.log(res); + // }) + // }, // 保存订单号 saveDelivery() { if (!this.pushid) { diff --git a/pages/release/index.vue b/pages/release/index.vue index aed2123..12906de 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -137,7 +137,8 @@ export default { selectarr: [], //选中标签 tagcontent: '', is_edit: false, // 编辑 - userinfo:{} + userinfo:{}, + device: null, // 手机信息 }; }, onLoad() { @@ -146,6 +147,9 @@ export default { this.tosign(); this.getLiveSpec(); + + this.device = uni.getSystemInfoSync(); // 获取信息 + console.log(this.device); }, methods: { publish() { @@ -277,7 +281,18 @@ export default { }, // 上传封面 uploadcover(data) { - console.log(data); + // console.log(data.data); + // #ifdef APP-PLUS + plus.io.getImageInfo({ + src: data.data.file_path, + success: (res) => { + console.log(res); + }, + fail: (err) => { + console.log(err); + } + }) + // #endif if (data.errCode != 0) { this.$refs.uToast.show({ title: '上传失败', diff --git a/pages/user/info.vue b/pages/user/info.vue index 6657421..731624e 100644 --- a/pages/user/info.vue +++ b/pages/user/info.vue @@ -12,7 +12,7 @@ 个性签名 - + 修改密码 @@ -27,11 +27,15 @@ export default { fileurl: "", filename:"", info:{}, - num:0 + num:0, + role: 0, }; }, onLoad() { - this.getmyinfo() + this.getmyinfo(); + let userinfo = uni.getStorageSync("userinfo"); + this.role = userinfo.role; + // console.log(this.role); }, onNavigationBarButtonTap() { let that = this;