Commit 7b0f03f2aa68768ba4d3679becded47b59e133f4

Authored by WXD-SEASON\season
1 parent 50e71796

修改文字 登陆改成登录

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