@titaui/pc 1.15.6-beta.2 → 1.15.6-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -162,14 +162,21 @@
162
162
 
163
163
  .titaui-nav-top__invite {
164
164
  margin-right: 24px;
165
- width: 20px;
166
- height: 20px;
165
+ width: 28px;
166
+ height: 28px;
167
+ border-radius: 4px;
167
168
  cursor: pointer;
168
169
  display: inline-flex;
170
+ align-items: center;
171
+ justify-content: center;
169
172
  font-size: 20px;
170
173
  color: #ffffff;
171
174
  }
172
175
 
176
+ .titaui-nav-top__invite:hover {
177
+ background-color: rgba(255, 255, 255, 0.2);
178
+ }
179
+
173
180
  .titaui-nav-top__invite-guide {
174
181
  background-image: url("./images/invite-bkg.jpg"), url("./images/invite-person.jpg") !important;
175
182
  background-repeat: no-repeat,no-repeat !important;
@@ -158,7 +158,7 @@ var NavTop = function NavTop() {
158
158
  setInviteAuth = _useState24[1];
159
159
 
160
160
  var ua = navigator.userAgent.toLowerCase();
161
- var showWxInvite = (0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1;
161
+ var showWxInvite = true || (0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1;
162
162
  var showMangeAdd = !(0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1 && isTry && Role.isSuperManager; // const canShowInvite = getTenantInfo().mainCorpId || Role.isSuperManager
163
163
  // const showWxInvite =
164
164
  // getTenantInfo().Source === 860 &&
@@ -258,6 +258,10 @@ var NavTop = function NavTop() {
258
258
 
259
259
  var handleCloseInviteGuide = function handleCloseInviteGuide() {
260
260
  setInviteVisible(false);
261
+
262
+ if (!inviteAuth) {
263
+ setInviteAuth(true);
264
+ }
261
265
  };
262
266
 
263
267
  var handleCloseSummaryGuide = function handleCloseSummaryGuide() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.6-beta.2",
3
+ "version": "1.15.6-beta.3",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",