liudan 1 year ago
parent dfc6cd4477
commit 1e97b44958
  1. 4
      api/modules/base.js
  2. 10
      manifest.json
  3. 97
      pages/login.vue
  4. 13
      pages/mine.vue
  5. 3
      pages/service.vue
  6. 10
      unpackage/cache/wgt/__UNI__3303922/app-service.js
  7. 2
      unpackage/cache/wgt/__UNI__3303922/app-view.js
  8. 2
      unpackage/cache/wgt/__UNI__3303922/manifest.json
  9. 10
      unpackage/dist/build/app-plus/app-service.js
  10. 2
      unpackage/dist/build/app-plus/app-view.js
  11. 2
      unpackage/dist/build/app-plus/manifest.json
  12. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  13. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  14. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  15. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/abnor.js.map
  16. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/auth.js.map
  17. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/banner.js.map
  18. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/column.js.map
  19. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/common-list.js.map
  20. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/fix-bottom-button.js.map
  21. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/fixed.js.map
  22. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/jyf-Parser/index.js.map
  23. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/jyf-Parser/trees.js.map
  24. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/load-more.js.map
  25. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/min-countdown.js.map
  26. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/search.js.map
  27. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tab.js.map
  28. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tabbar.js.map
  29. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/timeline.js.map
  30. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-nav-bar.js.map
  31. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-popup.js.map
  32. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-status-bar.js.map
  33. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/upload.js.map
  34. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/date-picker.js.map
  35. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/half-picker.js.map
  36. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/linkage-picker.js.map
  37. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/range-picker.js.map
  38. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/region-picker.js.map
  39. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/selector-picker.js.map
  40. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/shortterm-picker.js.map
  41. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/time-picker.js.map
  42. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/w-picker/w-picker.js.map
  43. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/xt-verify-code.js.map
  44. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login.js.map
  45. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine.js.map
  46. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/service.js.map
  47. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/technician.js.map
  48. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/technician/pages/apply.js.map
  49. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/technician/pages/income/car-fee-record.js.map
  50. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/technician/pages/income/index.js.map
  51. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/technician/pages/income/integral.js.map
  52. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/technician/pages/income/record.js.map
  53. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/technician/pages/time-manage.js.map
  54. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/lime-painter/components/l-painter/l-painter.js.map
  55. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-action-sheet/u-action-sheet.js.map
  56. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js.map
  57. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js.map
  58. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map
  59. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js.map
  60. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.js.map
  61. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-gap/u-gap.js.map
  62. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map
  63. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.js.map
  64. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-line/u-line.js.map
  65. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
  66. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.js.map
  67. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js.map
  68. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-picker/u-picker.js.map
  69. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-popup/u-popup.js.map
  70. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
  71. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js.map
  72. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js.map
  73. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper/u-swiper.js.map
  74. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.js.map
  75. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-textarea/u-textarea.js.map
  76. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-toolbar/u-toolbar.js.map
  77. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js.map
  78. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.js.map
  79. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/address/list.js.map
  80. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/apply-result.js.map
  81. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/cart.js.map
  82. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/cash-out.js.map
  83. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/channel/income.js.map
  84. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/channel/poster.js.map
  85. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/chapingList/chapingList.js.map
  86. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/chapingList/shensu.js.map
  87. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/choose-technician.js.map
  88. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/choose-time.js.map
  89. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/collect.js.map
  90. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/comment.js.map
  91. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/common/video.js.map
  92. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/complainList/complain.js.map
  93. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/complainList/complainList.js.map
  94. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/coupon/list.js.map
  95. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/coupon/poster.js.map
  96. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/coupon/share.js.map
  97. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/coupon/use.js.map
  98. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/detail.js.map
  99. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/distribution/bind-technician.js.map
  100. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/user/pages/distribution/income.js.map
  101. Some files were not shown because too many files have changed in this diff Show More

@ -7,6 +7,10 @@ export default {
login(param) {
return req.post("index/login", param)
},
//小程序登录
mpproLogin(param){
return req.post("index/login", param)
},
appLogin(param) {
return req.post("index/appLogin", param)
},

@ -3,8 +3,8 @@
"appid" : "__UNI__3303922",
// "appid" : "__UNI__AE4A250",
"description" : "希希到家",
"versionName" : "10.0.2",
"versionCode" : 1002,
"versionName" : "11.0.0",
"versionCode" : 1100,
"transformPx" : false,
"uniStatistics" : {
"enable" : false //
@ -217,9 +217,9 @@
"NSPhotoLibraryUsageDescription" : "该应用需要读取你的相册,以便为您编辑头像信息",
"NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,以便为您编辑头像信息",
"NSCameraUsageDescription" : "该应用需要你的相机,以便您拍摄上传头像信息",
"NSLocationWhenInUseUsageDescription" : "需要同意获取您的位置信息才能展示附近信息",
"NSLocationAlwaysUsageDescription" : "需要同意获取您的位置信息才能展示附近信息",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "需要同意获取您的位置信息才能展示附近信息"
"NSLocationWhenInUseUsageDescription" : "该应用需要同意获取您的位置信息才能展示附近商家信息",
"NSLocationAlwaysUsageDescription" : "该应用需要同意获取您的位置信息才能展示附近商家信息",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "该应用需要同意获取您的位置信息才能展示附近商家信息"
}
},
"splashscreen" : {

@ -58,9 +58,9 @@
</text>
</view>
</view>
<u-button text="登录" :disabled="!phone||!code" @click="smsLogin" class="loginBtn"></u-button>
<button :disabled="!phone||!code" @click="smsLogin()" class="loginBtn">登录</button>
<!-- <view >登录</view> -->
<!-- #ifndef H5 -->
<!-- #ifdef APP-PLUS -->
<view class="otherLogin">
<view class="line"></view>
<view class="otext">其他登录</view>
@ -97,6 +97,16 @@
</uni-popup>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
<view class="otherLogin">
<view class="line"></view>
<view class="otext">其他登录</view>
<view class="line"></view>
</view>
<image src="@/static/wlogin.png" class="wlogin" @tap="miniProLogin" mode="widthFix"></image>
<!-- #endif -->
</view>
</template>
@ -124,12 +134,12 @@
async onLoad(option) {
// console.log('pages/login',"888")
// #ifdef H5
// var searchURL = window.location.search;
// searchURL = searchURL.substring(1, searchURL.length);
// var targetPageId = searchURL.split("&")[0].split("=")[1].split("?")[0];
// console.log(option,targetPageId.substring(-1,1))
// this.pid=targetPageId?targetPageId.substring(-1,1):''
// this.pid = targetPageId
var searchURL = window.location.search;
searchURL = searchURL.substring(1, searchURL.length);
var targetPageId = searchURL.split("&")[0].split("=")[1].split("?")[0];
console.log(option,targetPageId.substring(-1,1))
this.pid=targetPageId?targetPageId.substring(-1,1):''
this.pid = targetPageId
// #endif
let {
autograph = '',
@ -138,7 +148,6 @@
console.log('autograph,appLogin', autograph, appLogin)
if (autograph && appLogin) {
if(appLogin.unionId){
console.log("999")
this.toLogin(appLogin)
return
}else{
@ -229,9 +238,42 @@
});
}
},
//
miniProLogin(){
if(this.checked.length==0){
uni.$u.toast('请阅读并同意《隐私政策》');
return false;
}
uni.getUserProfile({
desc: '用于您的页面展示用户头像与昵称',
lang: 'zh_CN',
success: (res) => {
console.log(res,"jjj");
uni.login({
provider: 'weixin',
success:async(res) => {
console.log(res,"====");
let userLoginInfo = await this.$api.base.mpproLogin({
code: res.code
})
console.log(userLoginInfo)
this.$util.goUrl({
url: `/pages/service`,
openType: `reLaunch`
})
}
});
},
fail: err => {
console.log(err.errMsg);
}
});
},
async smsLogin(item){
console.log("短信登陆")
console.log("短信登陆",item)
if(this.checked.length==0){
uni.$u.toast('请阅读并同意《隐私政策》');
return false;
@ -251,6 +293,8 @@
title: "登录中..."
})
try {
console.log("111")
// let user_info = await this.$api.base.appLogin({
// data: userInfo
// })
@ -291,8 +335,13 @@
openType: `reLaunch`
})
// #endif
this.$util.goUrl({
url: phone ? `/pages/service` : `/user/pages/phone`,
openType: `reLaunch`
})
} catch (e) {
console.log(e)
this.$util.hideAll()
}
},
@ -393,7 +442,19 @@
page {
background: #fff;
}
.loginBtn{
// padding:30upx 0;
text-align: center;
background: #08BF77 !important;
border-radius: 10upx;
margin:50upx 54upx;
font-size: 34upx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
height: auto;
width: auto;
}
.pages-user-login {
height: calc(100vh);
.navbarText{
@ -438,19 +499,7 @@
color: #08BF77;
}
}
.loginBtn{
padding:30upx 0;
text-align: center;
background: #08BF77;
border-radius: 10upx;
margin:50upx 54upx;
font-size: 34upx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
height: auto;
width: auto;
}
.otherLogin{
display: flex;
align-items: center;

@ -584,7 +584,7 @@
coach_status,
fx_status
} = this.mineInfo
console.log(this.mineInfo,"===")
let val = this.$util.deepCopy(this.mineInfo)
val.is_fx = !fx_check || (fx_check && fx_status == 2)
this.updateUserItem({
@ -674,11 +674,12 @@
console.log(err)
})
console.log(this.coach_info.user_id,location.address)
let address = await this.$api.service.getSeviceInfo({
c_id:this.coach_info.user_id
})
console.log(address,"mmmm")
this.coach_info.address = address.location;
// let address = await this.$api.service.getSeviceInfo({
// c_id:this.coach_info.user_id
// })
// console.log(address,"mmmm")
// this.coach_info.address = address.location;
this.coach_info.address = location.address
},
//

@ -207,7 +207,8 @@
// {img:'../static/i.png',new:0,people:1},
// {img:'../static/i.png',new:0,people:0},
// {img:'../static/i.png',new:0,people:0},
]
],
banner:[]
}
},
computed: mapState({

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

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

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

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

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save