diff --git a/api/goods/index.js b/api/goods/index.js index e18fa53..a2c7969 100644 --- a/api/goods/index.js +++ b/api/goods/index.js @@ -14,6 +14,11 @@ const api = { presale:'goods/presale' } +// 商品价格修改 +export const editGoodsPrice = (param, option) => { + return request.get('StoreKeeper/editGoodsPrice', param, option) +} + // 商品浏览记录 export const browseHistoryList = (param, option) => { return request.get('goods/browseLog', param, option) diff --git a/pages.json b/pages.json index 42d0d03..2b59628 100644 --- a/pages.json +++ b/pages.json @@ -99,6 +99,11 @@ "style": { "navigationBarTitleText": "邀请记录" } + },{ + "path": "pages/invite/rule", + "style": { + "navigationBarTitleText": "邀请规则" + } }, { "path": "pages/custom/index", diff --git a/pages/activity/presale.vue b/pages/activity/presale.vue index 5a785cb..0e8ef0d 100644 --- a/pages/activity/presale.vue +++ b/pages/activity/presale.vue @@ -58,7 +58,7 @@ methods: { goPre(item) { uni.navigateTo({ - url: '/pages/goods/detail?goodsId=' + item.goods_id + '&isPre=' + true+'&pre_id='+this.info.id + url: '/pages/goods/detail?goodsId=' + item.goods_id + '&isPre=' + true+'&pre_id='+this.info.id+'&isBuy='+this.info.end_time }) }, openPage() { diff --git a/pages/activity/presaleRule.vue b/pages/activity/presaleRule.vue index 6e31618..13cf2e9 100644 --- a/pages/activity/presaleRule.vue +++ b/pages/activity/presaleRule.vue @@ -1,13 +1,11 @@ + + diff --git a/pages/login/components/mp-weixin-mobile.vue b/pages/login/components/mp-weixin-mobile.vue index 2fd3d0c..7794785 100644 --- a/pages/login/components/mp-weixin-mobile.vue +++ b/pages/login/components/mp-weixin-mobile.vue @@ -3,8 +3,7 @@ @@ -20,7 +19,7 @@ export default { props: { // 分享人id - share_user_id: { + refereeId: { type: String }, }, @@ -65,7 +64,7 @@ code: app.code, encryptedData: detail.encryptedData, iv: detail.iv, - share_user_id: this.share_user_id, + refereeId: this.refereeId, isParty: app.isParty, partyData: app.userInfo, refereeId: store.getters.refereeId diff --git a/pages/login/index.vue b/pages/login/index.vue index ef63e98..8a9e930 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -14,13 +14,16 @@ 获取验证码 {{countdown}} - - 查看并同意《用户服务协议》《隐私政策》 + + 同意《用户服务协议》《隐私政策》 登录 - - + + + + + 手机号快捷登录 @@ -40,6 +43,7 @@ }, data() { return { + isCheckout: false, showCountDown: false, currentIndex: 0, background: { @@ -51,11 +55,11 @@ countdown: 60, countDownFun: null, code: '', - share_user_id: "" + refereeId: "" } }, onLoad(o) { - this.share_user_id = o.share_user_id + this.refereeId = o.refereeId }, methods: { toTextPage(n) { @@ -110,6 +114,10 @@ }) }, login() { + if(this.isCheckout == false){ + this.$toast('请勾选用户协议') + return ; + } // 登录 if (!this.validatePhoneNumber(this.phoneNum)) { this.$toast('请输入正确的手机号') @@ -123,7 +131,7 @@ store.dispatch('Login', { smsCode: that.semCode, mobile: that.phoneNum, - share_user_id: this.share_user_id, + refereeId: this.refereeId, isParty: false, partyData: {}, refereeId: false diff --git a/pages/news/recycling/orderDetail.vue b/pages/news/recycling/orderDetail.vue index e98752e..3ec13bf 100644 --- a/pages/news/recycling/orderDetail.vue +++ b/pages/news/recycling/orderDetail.vue @@ -123,13 +123,11 @@ isShow: false, currentIndex: 0, background: { - background: `url(${this.$picUrl}/static/news/refund-bg.png) center -10px no-repeat`, - // background: 'url('+ img+') center -10px no-repeat', + background: `url(${this.$picUrl}/static/news/refund-bg.png) center top no-repeat`, backgroundSize: '100%', }, background1: { - background: `url(${this.$picUrl}/static/news/login-bg.png) center -10px no-repeat`, - // background: 'url('+ img1+') center -10px no-repeat', + background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`, backgroundSize: '100%', }, info: {}, diff --git a/pages/news/recycling/orderList.vue b/pages/news/recycling/orderList.vue index be8186f..fb42eff 100644 --- a/pages/news/recycling/orderList.vue +++ b/pages/news/recycling/orderList.vue @@ -3,7 +3,7 @@ - + @@ -14,239 +14,314 @@ 全部 - + {{item.name}} - + 订单号:{{item.order_no}} {{item.order_status_text}} - + - 名称:{{item.recovery_name}} - 品牌:{{item.brand}} + {{item.server_name}} - + x1 ¥ - {{item.expect_price}} + {{item.pay_price}} + + + 共计: + ¥{{item.pay_price}} + - 联系电话:{{item.mobile}} + 收件人姓名 {{item.username}} - - {{item.remake}} + + {{item.buyer_remark}} - 修改订单 - 取消订单 - 完成 + 取消订单 + 去支付 + 去派单 + 立即完成 + 已完成 + 已取消 - - - + + + + + + + + 订单筛选 + + + + + 下单时间 + + + + - + + + + + + 来源 + + + + {{item.name}} + + + + + + 支付方式 + + + + {{item.name}} + + + + + + + 重置 + + + 确定 + + + + + + + .btnGroup{ + display: flex; + justify-content: center; + margin-top:100upx; + padding-bottom:60upx; + .resetBtn{ + width: 216upx; + height: 70upx; + line-height: 66upx; + background: #DBDBDB; + border-radius: 22px 22px 22px 22px; + opacity: 1; + + font-size: 28upx; + font-family: PingFang SC, PingFang SC; + font-weight: 500; + color: #585858; + text-align: center; + + } + .confrim{ + width: 216upx; + height: 70upx; + text-align: center; + background: linear-gradient(180deg, #FD5D06 0%, #F3211A 100%); + border-radius: 50px 50px 50px 50px; + opacity: 1; + line-height: 66upx; + font-size: 28upx; + font-family: PingFang SC, PingFang SC; + font-weight: 500; + color: #FFFFFF; + margin-left:24upx; + + } + } +} + \ No newline at end of file diff --git a/pages/news1/jinqun.vue b/pages/news1/jinqun.vue index 3a58e1d..3703614 100644 --- a/pages/news1/jinqun.vue +++ b/pages/news1/jinqun.vue @@ -13,10 +13,11 @@ 京东电器官方福利群 - + 立即进群> + @@ -45,24 +46,50 @@ export default { data() { return { - + cityInfo: {} } + }, + onReady() { + this.cityInfo = uni.getStorageSync("cityInfo") + }, + /** + * 分享当前页面 + */ + onShareAppMessage() { + return { + title: "进社群领取更多福利", + imageUrl: this.cityInfo.we + } + }, + + /** + * 分享到朋友圈 + * 本接口为 Beta 版本,暂只在 Android 平台支持,详见分享到朋友圈 (Beta) + * https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share-timeline.html + */ + onShareTimeline() { + const app = this + // 构建页面参数 + const params = app.$getShareUrlParams({ + goodsId: app.goodsId, + }) + return { + title: app.goods.goods_name, + path: `/pages/goods/detail?${params}` + } } }