pull/1/head
liudan 1 year ago
parent 61d4469410
commit 1ddaa615bb
  1. 2
      common/api.js
  2. 74
      pages/bind/bind.vue
  3. 3
      pages/my/my.vue
  4. 1
      pages/qianggou/qianggou.vue
  5. 2
      pages/warehouse/buy.vue
  6. 2
      unpackage/dist/build/h5/index.html
  7. 2
      unpackage/dist/build/h5/static/js/index.baf43126.js
  8. 2
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity~pages-AddressEdit-AddressEdit~pages-ChangePassword-ChangePassw~e9040fe6.f9242802.js
  9. 1
      unpackage/dist/build/h5/static/js/pages-AddressEdit-AddressEdit.94a2395c.js
  10. 1
      unpackage/dist/build/h5/static/js/pages-AddressEdit-AddressEdit.f89d58bd.js
  11. 1
      unpackage/dist/build/h5/static/js/pages-AddressList-AddressList.56f51174.js
  12. 1
      unpackage/dist/build/h5/static/js/pages-AddressList-AddressList.c13bbc04.js
  13. 1
      unpackage/dist/build/h5/static/js/pages-ChangePassword-ChangePassword~pages-ConfirmOrder-ConfirmOrder~pages-Information-Information~pa~5f6b18e6.b91402a3.js
  14. 1
      unpackage/dist/build/h5/static/js/pages-ChangePassword-ChangePassword~pages-ConfirmOrder-ConfirmOrder~pages-Information-Information~pa~ebdab259.43c23fba.js
  15. 1
      unpackage/dist/build/h5/static/js/pages-MyCoupon-MyCoupon.4d2fd7ee.js
  16. 1
      unpackage/dist/build/h5/static/js/pages-MyCoupon-MyCoupon.e9265618.js
  17. 1
      unpackage/dist/build/h5/static/js/pages-OrderDetails-OrderDetails.00bf1a3d.js
  18. 1
      unpackage/dist/build/h5/static/js/pages-OrderDetails-OrderDetails.f7ac40a9.js
  19. 1
      unpackage/dist/build/h5/static/js/pages-Setting-Setting.c989865e.js
  20. 1
      unpackage/dist/build/h5/static/js/pages-Setting-Setting.d7f2c40a.js
  21. 1
      unpackage/dist/build/h5/static/js/pages-bind-bind.6239be8a.js
  22. 1
      unpackage/dist/build/h5/static/js/pages-bind-bind.fda03c8a.js
  23. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fans.9890c47d.js
  24. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fans.c3ddf9f7.js
  25. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fansOrder.4967ed6f.js
  26. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fansOrder.96c10adf.js
  27. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao~pages-my-my.0b7858b3.js
  28. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao~pages-my-my.b37c7742.js
  29. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-yongjin.040edd02.js
  30. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-yongjin.77ef7d52.js
  31. 2
      unpackage/dist/build/h5/static/js/pages-home-sign.f085642d.js
  32. 2
      unpackage/dist/build/h5/static/js/pages-my-invite.9c60e9ab.js
  33. 1
      unpackage/dist/build/h5/static/js/pages-my-my.4a310b87.js
  34. 1
      unpackage/dist/build/h5/static/js/pages-my-my.9d02fcaa.js
  35. 1
      unpackage/dist/build/h5/static/js/pages-my-richText.1c3ec670.js
  36. 1
      unpackage/dist/build/h5/static/js/pages-my-richText.9919b674.js
  37. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productDetails.70d7af2a.js
  38. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productDetails.a4365da6.js
  39. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productList.b93d82b6.js
  40. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productList.f0fd957f.js
  41. 2
      unpackage/dist/build/h5/static/js/pages-qianggou-qianggou.b3458e4f.js
  42. 1
      unpackage/dist/build/h5/static/js/pages-shouyi-shouyi.94b7d8cd.js
  43. 1
      unpackage/dist/build/h5/static/js/pages-shouyi-shouyi.ba38f124.js
  44. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-buy.23aed635.js
  45. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-buy.fea2cb3c.js
  46. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-sell.96c0a24a.js
  47. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-sell.9e26bb6e.js
  48. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-weituo.19409769.js
  49. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-weituo.eb20f100.js

@ -70,4 +70,6 @@ export const cancelOrder = (params, config = {custom: { auth: true }}) => http.p
export const orderDetail = (params, config = {custom: { auth: true }}) => http.get('/api/order/orderDetail', {params}, config);
//订单支付
export const orderPay = (params, config = {custom: { auth: true }}) => http.post('/api/order/orderPay', params, config);
//绑定人
export const bindInvitor = (params, config = {custom: { auth: true }}) => http.post('/api/user/bindInvitor', params, config);

@ -1,15 +1,85 @@
<template>
<view class="bind">
<u-notice-bar :text="text1"></u-notice-bar>
<view class="logo">
<image src="/static/image/logo254.png" mode="widthFix"></image>
</view>
<view class="info">
<text>推荐人账号</text>
<u--input
border="bottom"
v-model="value"
></u--input>
</view>
<view class="bindBtn" @click="bingHandle">
</view>
<u-toast ref="uToast"></u-toast>
</view>
</template>
<script>
import {bindInvitor} from '@/common/api.js'
export default{
data(){
return{
text1:'温馨提示:为了您的权益请尽快绑定推荐人,只可绑定一次请谨慎操作,如不了解可联系工作人员。',
value:''
}
},
methods:{
bingHandle(){
if(!this.value){
this.$refs.uToast.show({
message:'请输入推荐人'
})
return;
}
bindInvitor({mobile:this.value}).then(res=>{
if(res.code==1){
this.$refs.uToast.show({
message:'绑定成功'
})
uni.switchTab({
url:"/pages/my/my"
})
}
})
}
}
}
</script>
<style lang="scss" scoped>
.bind{
min-height: calc(100vh - 90rpx);
border:1px solid red;
.logo{
text-align: center;
margin-top:70rpx;
image{
width:40%;
height:auto;
}
}
.info{
display: flex;
margin-top:30rpx;
align-items: center;
justify-content: center;
padding:0 44rpx;
&>text{
margin-right:20rpx;
}
}
.bindBtn{
background-color: $base;
width:70%;
margin:50rpx auto;
color:#ffffff;
padding:20rpx;
text-align: center;
border-radius: 10rpx;
}
}
</style>

@ -192,7 +192,8 @@
<u-cell icon="map" :iconStyle="{'color':'#236030'}" @click="onAddress" :titleStyle="{'color':'#236030'}" title="我的地址" :isLink="true" :rightIconStyle="{'color':'#236030'}"></u-cell>
<u-cell icon="coupon" :iconStyle="{'color':'#236030'}" @click="jump(1)" :titleStyle="{'color':'#236030'}" title="我的优惠券" :isLink="true" :rightIconStyle="{'color':'#236030'}"></u-cell>
<u-cell icon="scan" :iconStyle="{'color':'#236030'}" @click="jump(4)" :titleStyle="{'color':'#236030'}" title="我的邀请二维码" :isLink="true" :rightIconStyle="{'color':'#236030'}"></u-cell>
<u-cell icon="man-add" :iconStyle="{'color':'#236030'}" @click="jump(5)" :titleStyle="{'color':'#236030'}" title="绑定推荐人" :isLink="true" :rightIconStyle="{'color':'#236030'}"></u-cell>
<!-- -->
<u-cell icon="man-add" v-show="!userInfo.pid&&userInfo.pid!=0" :iconStyle="{'color':'#236030'}" @click="jump(5)" :titleStyle="{'color':'#236030'}" title="绑定推荐人" :isLink="true" :rightIconStyle="{'color':'#236030'}"></u-cell>
</u-cell-group>
</view>
<view class="card">

@ -92,6 +92,7 @@ export default{
if(!res.data.sign_image||res.data.sign_status==0){
this.showList = false
}else{
this.showList = true;
this.getWarehouseList()
}

@ -206,7 +206,7 @@
let params={
pay_voucher:item.pay_voucher,
id:item.id,
status:0
status:1
}
orderPay(params).then(res=>{
this.getList()

@ -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.ef778f8e.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.baf43126.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-bind-bind"],{"06bf":function(n,r,t){"use strict";t.r(r);var a=t("7463"),i=t.n(a);for(var e in a)["default"].indexOf(e)<0&&function(n){t.d(r,n,(function(){return a[n]}))}(e);r["default"]=i.a},"10ae":function(n,r,t){var a=t("24fb");r=a(!1),r.push([n.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.bind[data-v-106f231a]{min-height:calc(100vh - %?90?%);border:1px solid red}',""]),n.exports=r},"3ff6":function(n,r,t){"use strict";var a=t("b510"),i=t.n(a);i.a},7463:function(n,r){},a1a4:function(n,r,t){"use strict";t.d(r,"b",(function(){return a})),t.d(r,"c",(function(){return i})),t.d(r,"a",(function(){}));var a=function(){var n=this.$createElement,r=this._self._c||n;return r("v-uni-view",{staticClass:"bind"})},i=[]},b510:function(n,r,t){var a=t("10ae");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);var i=t("4f06").default;i("21255968",a,!0,{sourceMap:!1,shadowMode:!1})},d0a5:function(n,r,t){"use strict";t.r(r);var a=t("a1a4"),i=t("06bf");for(var e in i)["default"].indexOf(e)<0&&function(n){t.d(r,n,(function(){return i[n]}))}(e);t("3ff6");var u=t("f0c5"),s=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"106f231a",null,!1,a["a"],void 0);r["default"]=s.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save