jufubao-base 1.0.232-beta2 → 1.0.232

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.232-beta2",
3
+ "version": "1.0.232",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -17,7 +17,8 @@
17
17
  </view>
18
18
  <!-- #endif -->
19
19
  <view class="jfb-base-login__body" :style="{
20
- '--agreement-align': agreementAlign
20
+ '--agreement-align': agreementAlign,
21
+ '--main-color': mainColor,
21
22
  }">
22
23
 
23
24
  <view v-if="showLogo === 'Y'" class="logo-wrap" :style="{
@@ -108,15 +109,13 @@
108
109
  class="_item"
109
110
  :class="{ active: accountLoginType === 'phone' }"
110
111
  @click="setAccountLoginType('phone')"
111
- >验证码登录<text :style="{ background: mainColor }"></text
112
- ></view>
112
+ >验证码登录</view>
113
113
  <view
114
114
  v-if="pwdLogin"
115
115
  class="_item"
116
116
  :class="{ active: accountLoginType === 'pwd' }"
117
117
  @click="setAccountLoginType('pwd')"
118
- >密码登录<text :style="{ background: mainColor }"></text
119
- ></view>
118
+ >密码登录</view>
120
119
  </view>
121
120
  <view :style="loginFormStyle">
122
121
  <xd-form
@@ -1269,11 +1268,21 @@ export default {
1269
1268
  color: #383838;
1270
1269
  font-size: 36rpx;
1271
1270
 
1272
- text {
1271
+ // text {
1272
+ // position: absolute;
1273
+ // height: 6rpx;
1274
+ // width: 90rpx;
1275
+ // border-radius: 6rpx;
1276
+ // left: 50%;
1277
+ // bottom: 0;
1278
+ // transform: translateX(-50%);
1279
+ // }
1280
+ &::after {
1281
+ content: ' ';
1273
1282
  position: absolute;
1274
1283
  height: 6rpx;
1275
1284
  width: 90rpx;
1276
- border-radius: 6rpx;
1285
+ background-color: var(--main-color);
1277
1286
  left: 50%;
1278
1287
  bottom: 0;
1279
1288
  transform: translateX(-50%);