From d0830f5b4976eb2a7066a16dadc37ce1985bf730 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 15 八月 2024 09:37:55 +0800
Subject: [PATCH] ll
---
wechat_staff/utils/config.js | 4 +-
wechat_staff/pages/userinfo/index.wxml | 6 +-
wechat_staff/pages/kefu/fond.js | 4 +-
wechat_staff/pages/userinfo/index.less | 10 ++++-
wechat_jiaxuan/utils/config.js | 4 +-
wechat_staff/pages/consult/detail.js | 4 +-
wechat_jiaxuan/pages/mine/mine.js | 2
wechat_jiaxuan/project.config.json | 2
wechat_staff/project.private.config.json | 4 +-
wechat_jiaxuan/project.private.config.json | 2
wechat_staff/pages/userinfo/index.js | 5 ++
wechat_staff/pages/download/index.js | 5 ++
wechat_staff/pages/login/index.js | 2 +
wechat_staff/pages/userinfo/index.wxss | 9 +++-
wechat_staff/components/detailFooter/index.js | 4 +-
wechat_staff/pages/kefu/index.js | 4 +-
16 files changed, 46 insertions(+), 25 deletions(-)
diff --git a/wechat_jiaxuan/pages/mine/mine.js b/wechat_jiaxuan/pages/mine/mine.js
index e1e31c0..7c1a7a4 100644
--- a/wechat_jiaxuan/pages/mine/mine.js
+++ b/wechat_jiaxuan/pages/mine/mine.js
@@ -83,7 +83,7 @@
wx.navigateToMiniProgram({
appId: 'wx9910433b937fff92',
path: '',
- envVersion: 'trial',
+ envVersion: 'release',
extraData: {
origin: 'c'
}
diff --git a/wechat_jiaxuan/project.config.json b/wechat_jiaxuan/project.config.json
index 40f12a2..6f2d575 100644
--- a/wechat_jiaxuan/project.config.json
+++ b/wechat_jiaxuan/project.config.json
@@ -1,5 +1,5 @@
{
- "appid": "wxcd2b89fd2ff065f8",
+ "appid": "wx208dd1edc0be24ee",
"compileType": "miniprogram",
"libVersion": "3.4.10",
"packOptions": {
diff --git a/wechat_jiaxuan/project.private.config.json b/wechat_jiaxuan/project.private.config.json
index cec8671..44e6371 100644
--- a/wechat_jiaxuan/project.private.config.json
+++ b/wechat_jiaxuan/project.private.config.json
@@ -2,7 +2,7 @@
"projectname": "wechat_jiaxuan",
"setting": {
"compileHotReLoad": true,
- "urlCheck": false
+ "urlCheck": true
},
"description": "椤圭洰绉佹湁閰嶇疆鏂囦欢銆傛鏂囦欢涓殑鍐呭灏嗚鐩� project.config.json 涓殑鐩稿悓瀛楁銆傞」鐩殑鏀瑰姩浼樺厛鍚屾鍒版鏂囦欢涓�傝瑙佹枃妗o細https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"libVersion": "3.4.10",
diff --git a/wechat_jiaxuan/utils/config.js b/wechat_jiaxuan/utils/config.js
index 5d41d92..84f81a4 100644
--- a/wechat_jiaxuan/utils/config.js
+++ b/wechat_jiaxuan/utils/config.js
@@ -5,9 +5,9 @@
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //娴嬭瘯鏈嶅姟鍣�
// 娴嬭瘯鏈嶅姟鍣�
-export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
+// export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
// 鐢熶骇鏈嶅姟鍣�
-// export const baseUrl = 'https://zbyj.zbom.com/web_interface'
+export const baseUrl = 'https://zbyj.zbom.com/web_interface'
// 鑵捐鍦板浘寮�鍙戣�� key
export const qqMapKey = 'HIDBZ-2QXL4-TAWUD-XET6Q-EKTJE-CCBSQ'
diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 7991f46..24f4e0e 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -43,9 +43,9 @@
id: info.id
})
wx.navigateToMiniProgram({
- appId: 'wxcd2b89fd2ff065f8',
+ appId: 'wx208dd1edc0be24ee',
path: `${map[path]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
- envVersion: 'trial'
+ envVersion: 'release'
})
},
handleEnjoy() {
diff --git a/wechat_staff/pages/consult/detail.js b/wechat_staff/pages/consult/detail.js
index 55ba4f7..41e3ccb 100644
--- a/wechat_staff/pages/consult/detail.js
+++ b/wechat_staff/pages/consult/detail.js
@@ -28,9 +28,9 @@
id: this.data.info.id
})
wx.navigateToMiniProgram({
- appId: 'wxcd2b89fd2ff065f8',
+ appId: 'wx208dd1edc0be24ee',
path: `/pages/consult/detail?id=${this.data.info.id}&origin=b&userId=${wx.getStorageSync('member').id}`,
- envVersion: 'trial'
+ envVersion: 'release'
})
},
getDetail(id) {
diff --git a/wechat_staff/pages/download/index.js b/wechat_staff/pages/download/index.js
index dff5661..2c3d458 100644
--- a/wechat_staff/pages/download/index.js
+++ b/wechat_staff/pages/download/index.js
@@ -119,6 +119,11 @@
})
}
+ },
+ fail(err) {
+ wx.showToast({
+ title: '鍥剧墖涓嬭浇澶辫触',icon: 'none'
+ })
}
})
}
diff --git a/wechat_staff/pages/kefu/fond.js b/wechat_staff/pages/kefu/fond.js
index d14d877..3218f5a 100644
--- a/wechat_staff/pages/kefu/fond.js
+++ b/wechat_staff/pages/kefu/fond.js
@@ -110,9 +110,9 @@
]
console.log(info.id)
wx.navigateToMiniProgram({
- appId: 'wxcd2b89fd2ff065f8',
+ appId: 'wx208dd1edc0be24ee',
path: `${map[info.joinType]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
- envVersion: 'trial'
+ envVersion: 'release'
})
},
handleDown() {
diff --git a/wechat_staff/pages/kefu/index.js b/wechat_staff/pages/kefu/index.js
index cda3d5c..588fe1d 100644
--- a/wechat_staff/pages/kefu/index.js
+++ b/wechat_staff/pages/kefu/index.js
@@ -24,9 +24,9 @@
handleShare() {
const { info } = this.data
wx.navigateToMiniProgram({
- appId: 'wxcd2b89fd2ff065f8',
+ appId: 'wx208dd1edc0be24ee',
path: `/pages/kefu/index?title=涓撳睘瀹㈡湇&id=${info.id}`,
- envVersion: 'trial'
+ envVersion: 'release'
})
},
getDetail(id) {
diff --git a/wechat_staff/pages/login/index.js b/wechat_staff/pages/login/index.js
index 5f0f27a..d7b0acd 100644
--- a/wechat_staff/pages/login/index.js
+++ b/wechat_staff/pages/login/index.js
@@ -119,6 +119,7 @@
}else{
wx.showToast({
title: '浣犺繕涓嶆槸璇ョ郴缁熺敤鎴凤紝璇疯仈绯荤浉鍏崇鐞嗗憳娉ㄥ唽',
+ icon: 'none'
})
}
})
@@ -201,6 +202,7 @@
}else{
wx.showToast({
title: '浣犺繕涓嶆槸璇ョ郴缁熺敤鎴凤紝璇疯仈绯荤浉鍏崇鐞嗗憳娉ㄥ唽',
+ icon: 'none'
})
}
diff --git a/wechat_staff/pages/userinfo/index.js b/wechat_staff/pages/userinfo/index.js
index c358260..38c7499 100644
--- a/wechat_staff/pages/userinfo/index.js
+++ b/wechat_staff/pages/userinfo/index.js
@@ -16,6 +16,7 @@
qrcodeImgFull: '',
companyQrcodeImg: '',
companyQrcodeImgFull: '',
+ bottomLift: 0,
userInfo: {
name: '',
phone: '',
@@ -30,8 +31,10 @@
},
onLoad(options) {
const endDate = new Date().getFullYear() + '-09-01'
+ var app = getApp().globalData
this.setData({
- endDate
+ endDate,
+ bottomLift: app.bottomLift
})
this.getUserInfo()
},
diff --git a/wechat_staff/pages/userinfo/index.less b/wechat_staff/pages/userinfo/index.less
index cbd0b51..6a6ae7f 100644
--- a/wechat_staff/pages/userinfo/index.less
+++ b/wechat_staff/pages/userinfo/index.less
@@ -1,3 +1,6 @@
+.main_app{
+ padding: 0 0 148rpx;
+}
.avatar{
margin: 52rpx auto 40rpx;
width: 160rpx;
@@ -6,6 +9,7 @@
box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.08);
border: 4rpx solid #FFFFFF;
}
+
.avatar_btn{
width: 168rpx;
height: 60rpx;
@@ -67,17 +71,19 @@
justify-content: space-between;
}
.save{
+ position: fixed;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
width: 670rpx;
height: 88rpx;
+ left: 40rpx;
+ bottom: 12rpx;
+ z-index: 999;
background: var(--themeColor);
border-radius: 8rpx;
font-weight: 500;
font-size: 32rpx;
- margin-top: 20rpx;
- margin-bottom: 10rpx;
}
}
\ No newline at end of file
diff --git a/wechat_staff/pages/userinfo/index.wxml b/wechat_staff/pages/userinfo/index.wxml
index e3922f3..2ac3e5e 100644
--- a/wechat_staff/pages/userinfo/index.wxml
+++ b/wechat_staff/pages/userinfo/index.wxml
@@ -1,4 +1,4 @@
-<view class="container">
+<view class="main_app">
<image class="avatar" src="{{ userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png' }}"></image>
<!-- <button open-type="chooseAvatar" bindchooseavatar="getBindchooseavatar" class="avatar_btn">鏇存崲澶村儚</button> -->
<button hover-class="none" bind:tap="selMedia3" class="avatar_btn">鏇存崲澶村儚</button>
@@ -67,8 +67,8 @@
<image wx:if="{{ editFalg }}" class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
</view>
</view>
- <view wx:if="{{ !editFalg }}" bindtap="startEdit" class="save">缂栬緫</view>
- <view wx:else bindtap="onSubmit" class="save">淇濆瓨</view>
+ <view wx:if="{{ !editFalg }}" style="bottom: {{bottomLift + 4}}px;" bindtap="startEdit" class="save">缂栬緫</view>
+ <view wx:else bindtap="onSubmit" style="bottom: {{bottomLift + 4}}px;" class="save">淇濆瓨</view>
</view>
<!-- -->
</view>
\ No newline at end of file
diff --git a/wechat_staff/pages/userinfo/index.wxss b/wechat_staff/pages/userinfo/index.wxss
index a630098..c9ed61b 100644
--- a/wechat_staff/pages/userinfo/index.wxss
+++ b/wechat_staff/pages/userinfo/index.wxss
@@ -1,3 +1,6 @@
+.main_app {
+ padding: 0 0 148rpx;
+}
.avatar {
margin: 52rpx auto 40rpx;
width: 160rpx;
@@ -66,16 +69,18 @@
justify-content: space-between;
}
.list .save {
+ position: fixed;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
width: 670rpx;
height: 88rpx;
+ left: 40rpx;
+ bottom: 12rpx;
+ z-index: 999;
background: var(--themeColor);
border-radius: 8rpx;
font-weight: 500;
font-size: 32rpx;
- margin-top: 20rpx;
- margin-bottom: 10rpx;
}
diff --git a/wechat_staff/project.private.config.json b/wechat_staff/project.private.config.json
index 4a5a27e..8bd54e7 100644
--- a/wechat_staff/project.private.config.json
+++ b/wechat_staff/project.private.config.json
@@ -2,7 +2,7 @@
"projectname": "wechat_staff",
"setting": {
"compileHotReLoad": true,
- "urlCheck": false
+ "urlCheck": true
},
"description": "椤圭洰绉佹湁閰嶇疆鏂囦欢銆傛鏂囦欢涓殑鍐呭灏嗚鐩� project.config.json 涓殑鐩稿悓瀛楁銆傞」鐩殑鏀瑰姩浼樺厛鍚屾鍒版鏂囦欢涓�傝瑙佹枃妗o細https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"condition": {
@@ -45,7 +45,7 @@
},
{
"name": "",
- "pathName": "pages/consult/consult",
+ "pathName": "pages/store/index",
"query": "",
"launchMode": "default",
"scene": null
diff --git a/wechat_staff/utils/config.js b/wechat_staff/utils/config.js
index 81b3727..1376c89 100644
--- a/wechat_staff/utils/config.js
+++ b/wechat_staff/utils/config.js
@@ -1,8 +1,8 @@
// export const baseUrl = 'http://192.168.0.135:10027'
// 娴嬭瘯鏈嶅姟鍣�
-export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
+// export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
// 鐢熶骇鏈嶅姟鍣�
-// export const baseUrl = 'https://zbyj.zbom.com/web_interface'
+export const baseUrl = 'https://zbyj.zbom.com/web_interface'
// 鑵捐鍦板浘寮�鍙戣�� key
export const qqMapKey = 'HIDBZ-2QXL4-TAWUD-XET6Q-EKTJE-CCBSQ'
--
Gitblit v1.9.3