Commit 7b0f03f2aa68768ba4d3679becded47b59e133f4

Authored by WXD-SEASON\season
1 parent 50e71796

修改文字 登陆改成登录

components/diy_goodsGroup/diy_goodsGroup.js
... ... @@ -112,7 +112,7 @@ Component({
112 112 },
113 113  
114 114 pageLifetimes: {
115   - //游客登后,只要更新卡的情况
  115 + //游客登后,只要更新卡的情况
116 116 show: function () {
117 117 //--初始化卡类--
118 118 this.card_init();
... ...
components/diy_service/diy_service.wxml
1 1 <!--有在线客户 和 打电话-->
2 2 <block wx:if="{{sys_switch.weapp_customertype}}">
3   - <!-- 判断是不是有登 -->
  3 + <!-- 判断是不是有登 -->
4 4 <view wx:if="{{userInfo}}" class="custom-service" bindtap="go_user" >
5 5 <view style="text-align: center;">
6 6 <image class="cs-img" src="{{object.img}}"></image>
... ...
components/goods_list/goods_list.js
... ... @@ -24,7 +24,7 @@ Component({
24 24 ready: function () {
25 25 },
26 26 pageLifetimes:{
27   - //要处理一下,游客登后的界面的变化,主要还该是改变会员
  27 + //要处理一下,游客登后的界面的变化,主要还该是改变会员
28 28 show: function () {
29 29 this.init();
30 30 }
... ...
packageA/pages/activity_share/activity_share.js
... ... @@ -59,7 +59,7 @@ Page({
59 59 var StaffId=options.StaffId;
60 60 var StorageId=options.StorageId;
61 61 if(first_leader){
62   - //-- user_id代过来免登 --
  62 + //-- user_id代过来免登 --
63 63 getApp().globalData.user_id=first_leader;
64 64 getApp().getUserFir();
65 65  
... ...
packageA/pages/goods_share/goods_share.js
... ... @@ -36,7 +36,7 @@ Page({
36 36 var StaffId=options.StaffId;
37 37 var StorageId=options.StorageId;
38 38 if(first_leader){
39   - //-- user_id代过来免登 --
  39 + //-- user_id代过来免登 --
40 40 getApp().globalData.user_id=first_leader;
41 41 getApp().getUserFir();
42 42  
... ...
packageA/pages/jfbuy/jfbuy.js
... ... @@ -80,7 +80,7 @@ Page({
80 80 // //接受有没有导购的参数
81 81 // var first_leader=options.first_leader;
82 82 // if(first_leader){
83   - // //-- user_id代过来免登 --
  83 + // //-- user_id代过来免登 --
84 84 // getApp().globalData.user_id=first_leader;
85 85 // getApp().getUserFir();
86 86 // }
... ...
packageA/pages/liveStreamDetails/liveStreamDetails.js
... ... @@ -403,7 +403,7 @@ drawText: function(ctx, str, leftWidth, initHeight, titleHeight, canvasWidth, un
403 403 var storageId=options.storageId;
404 404  
405 405 if(first_leader){
406   - //-- user_id代过来免登 --
  406 + //-- user_id代过来免登 --
407 407 getApp().globalData.first_leader=first_leader;
408 408 //调用接口判断是不是会员
409 409 getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+o.stoid+"/"+first_leader,{}).then(res=>{
... ...
packageA/pages/live_share/live_share.js
... ... @@ -31,7 +31,7 @@ Page({
31 31 var StaffId=options.StaffId;
32 32 var StorageId=options.StorageId;
33 33 if(first_leader){
34   - //-- user_id代过来免登 --
  34 + //-- user_id代过来免登 --
35 35 getApp().globalData.user_id=first_leader;
36 36 getApp().getUserFir();
37 37 //设置分享会员和导购id和归属门店ID
... ...
packageA/pages/quan/quan.js
... ... @@ -29,7 +29,7 @@ Page({
29 29 var StaffId=options.StaffId;
30 30 var StorageId=options.StorageId;
31 31 if(first_leader){
32   - //-- user_id代过来免登 --
  32 + //-- user_id代过来免登 --
33 33 getApp().globalData.user_id=first_leader;
34 34 getApp().getUserFir();
35 35 //设置分享会员和导购id和归属门店ID
... ...
packageA/pages/quan_pro/quan_pro.js
... ... @@ -23,7 +23,7 @@ Page({
23 23 var th = this;
24 24 var first_leader=t.first_leader;
25 25 if(first_leader){
26   - //-- user_id代过来免登 --
  26 + //-- user_id代过来免登 --
27 27 getApp().globalData.first_leader=first_leader;
28 28 //调用接口判断是不是会员
29 29 getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{
... ...
pages/cart/cart/cart.js
... ... @@ -44,7 +44,7 @@ Page({
44 44 title: "购物车",
45 45 })
46 46  
47   - //判断是否有登
  47 + //判断是否有登
48 48 t.auth.hadAuth() && t.getUserInfo(function() {
49 49 a.getCardList();
50 50 });
... ...
pages/giftpack/giftpacklist/giftpacklist.js
... ... @@ -41,7 +41,7 @@ Page({
41 41 //-- 获取分享人的ID --
42 42 var first_leader=options.first_leader;
43 43 if(first_leader){
44   - //-- user_id代过来免登 --
  44 + //-- user_id代过来免登 --
45 45 getApp().globalData.first_leader=first_leader;
46 46 //调用接口判断是不是会员
47 47 getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{
... ...
pages/index/index/index.js
... ... @@ -85,7 +85,7 @@ Page({
85 85 }
86 86  
87 87 if(first_leader){
88   - //-- user_id代过来免登 --
  88 + //-- user_id代过来免登 --
89 89 getApp().globalData.first_leader=first_leader;
90 90 //调用接口判断是不是会员
91 91 getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{
... ...
pages/togoin/togoin.js
... ... @@ -67,7 +67,7 @@ Page({
67 67 that.setData({user:user})
68 68 //如果有会员的话,没有sessionKey
69 69 if(!e.data.data.sessionKey){
70   - getApp().showWarning("登成功");
  70 + getApp().showWarning("登成功");
71 71 getApp().globalData.userInfo=e.data.data;
72 72 getApp().globalData.user_id=e.data.data.user_id;
73 73 getApp().globalData.openid = e.data.data.weapp_openid;
... ... @@ -89,7 +89,7 @@ Page({
89 89 })
90 90 },
91 91  
92   - //暂不登,返回上一页
  92 + //暂不登,返回上一页
93 93 cancle_bind:function () {
94 94 wx.navigateBack({ delta: 1})
95 95 },
... ...
pages/togoin/togoin.wxml
... ... @@ -16,20 +16,20 @@
16 16 <button hidden="{{user}}" class="getPhoneNumber" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">
17 17 <view class="flex flex-center2 ali-c">
18 18 <image class="we_chat" src="{{imghots}}/miniapp/images/we_chat.png"></image>
19   - <view>微信账号快捷登</view>
  19 + <view>微信账号快捷登</view>
20 20 </view>
21 21 </button>
22 22 <!-- 点击显示绑定手机的对话框 -->
23 23 <button hidden="{{!user}}" class="getPhoneNumber" bindtap="show_bind_mobile">
24 24 <view class="flex flex-center2 ali-c" >
25 25 <image class="we_chat" src="{{imghots}}/miniapp/images/we_chat.png"></image>
26   - <view>微信账号快捷登</view>
  26 + <view>微信账号快捷登</view>
27 27 </view>
28 28 </button>
29 29 </view>
30 30  
31 31 <view class="userlongin flex-center2 flex fs30 jc_sb" style="margin: 0 130rpx">
32   - <view bindtap="cancle_bind">暂不登</view>
  32 + <view bindtap="cancle_bind">暂不登</view>
33 33 </view>
34 34  
35 35 </view>
... ... @@ -41,7 +41,7 @@
41 41 <view class="cover-layer" bindtap="close_pop"></view>
42 42 <view class="p_content">
43 43 <view class="p_title flex ali-c fs34">
44   - 请授权绑定手机号完成注册,拒绝将登失败
  44 + 请授权绑定手机号完成注册,拒绝将登失败
45 45 </view>
46 46 <view class="flex btn_view">
47 47 <view bindtap="close_pop" style="height: 100%; line-height:normal;" class="txt-center f2 flex ali-c flex-center2 fs36 b_right">拒绝</view>
... ...
pages/user/return_goods_list/return_goods_list.js
... ... @@ -15,7 +15,7 @@ Page({
15 15 },
16 16 onLoad: function() {
17 17 var th=this,ts=s;
18   - //确保有登
  18 + //确保有登
19 19 e.getUserInfo(function(){
20 20 ts.init(th, "", "list"), th.requestReturnGoods();
21 21 })
... ...