xyvcard-wechat-auth 0.0.32 → 0.0.34
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/README.md +14 -14
- package/dist/components/auth-user/jmash-update-user/index.json +3 -3
- package/dist/components/auth-user/jmash-update-user/index.wxml +34 -34
- package/dist/components/auth-user/jmash-user/index.json +3 -3
- package/dist/components/auth-user/jmash-user/index.wxml +18 -18
- package/dist/components/common/auth-avatar/avatar-edit/index.json +3 -3
- package/dist/components/common/auth-avatar/avatar-edit/index.wxml +7 -7
- package/dist/components/common/auth-basic-title/basic-title-view/index.json +3 -3
- package/dist/components/common/auth-basic-title/basic-title-view/index.wxml +4 -4
- package/dist/components/common/auth-btn/double-btn/index.json +3 -3
- package/dist/components/common/auth-btn/double-btn/index.wxml +3 -3
- package/dist/components/common/auth-btn/single-btn/index.json +3 -3
- package/dist/components/common/auth-btn/single-btn/index.wxml +6 -6
- package/dist/components/common/auth-btn/three-btn/index.d.ts +0 -0
- package/dist/components/common/auth-btn/three-btn/index.js +101 -0
- package/dist/components/common/auth-btn/three-btn/index.json +4 -0
- package/dist/components/common/auth-btn/three-btn/index.wxml +5 -0
- package/dist/components/common/auth-btn/three-btn/index.wxss +1 -0
- package/dist/components/common/auth-form/upload-image/index.d.ts +1 -0
- package/dist/components/common/auth-form/upload-image/index.js +104 -0
- package/dist/components/common/auth-form/upload-image/index.json +4 -0
- package/dist/components/common/auth-form/upload-image/index.wxml +9 -0
- package/dist/components/common/auth-form/upload-image/index.wxss +1 -0
- package/dist/components/common/auth-none-data/none-data-image/index.json +3 -3
- package/dist/components/common/auth-none-data/none-data-image/index.wxml +3 -3
- package/dist/components/common/auth-popup/index.json +3 -3
- package/dist/components/common/auth-popup/index.wxml +7 -7
- package/dist/components/common/auth-search/index.json +3 -3
- package/dist/components/common/auth-search/index.wxml +6 -6
- package/dist/components/common/auth-top-navigation/index.js +1 -1
- package/dist/components/common/auth-top-navigation/index.json +5 -5
- package/dist/components/common/auth-top-navigation/index.wxml +5 -5
- package/dist/components/jmash-half-login/index.json +7 -7
- package/dist/components/jmash-half-login/index.wxml +45 -45
- package/dist/components/jmash-login/index.js +3 -3
- package/dist/components/jmash-login/index.json +5 -5
- package/dist/components/jmash-login/index.wxml +11 -11
- package/dist/styles/index.scss +26 -26
- package/package.json +5 -5
- /package/dist/components/common/auth-form/{form-upload-file → upload-file}/index.d.ts +0 -0
- /package/dist/components/common/auth-form/{form-upload-file → upload-file}/index.js +0 -0
- /package/dist/components/common/auth-form/{form-upload-file → upload-file}/index.json +0 -0
- /package/dist/components/common/auth-form/{form-upload-file → upload-file}/index.wxml +0 -0
- /package/dist/components/common/auth-form/{form-upload-file → upload-file}/index.wxss +0 -0
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# 微信原生小程序模块
|
|
2
|
-
|
|
3
|
-
## 编译使用
|
|
4
|
-
1. pnpm install
|
|
5
|
-
2. 工具->构建npm
|
|
6
|
-
3. 详情->本地设置->将JS编译成ES5
|
|
7
|
-
|
|
8
|
-
## 发布
|
|
9
|
-
1. 修改package中的version
|
|
10
|
-
2. pnpm build
|
|
11
|
-
3. pnpm publish --no-git-checks
|
|
12
|
-
官方
|
|
13
|
-
npm config set registry https://registry.npmjs.org/
|
|
14
|
-
公司镜像
|
|
1
|
+
# 微信原生小程序模块
|
|
2
|
+
|
|
3
|
+
## 编译使用
|
|
4
|
+
1. pnpm install
|
|
5
|
+
2. 工具->构建npm
|
|
6
|
+
3. 详情->本地设置->将JS编译成ES5
|
|
7
|
+
|
|
8
|
+
## 发布
|
|
9
|
+
1. 修改package中的version
|
|
10
|
+
2. pnpm build
|
|
11
|
+
3. pnpm publish --no-git-checks
|
|
12
|
+
官方
|
|
13
|
+
npm config set registry https://registry.npmjs.org/
|
|
14
|
+
公司镜像
|
|
15
15
|
npm config set registry https://npm.crenjoy.com
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
<!-- 我的页面 中个人信息编辑页面 -->
|
|
2
|
-
<view class="my-information">
|
|
3
|
-
<view class="main">
|
|
4
|
-
<view class="main-profile" wx:if="{{ isUserAvatar }}">
|
|
5
|
-
<view class="profile-left">头像</view>
|
|
6
|
-
<view class="profile-right">
|
|
7
|
-
<button class="image-box-bgc" open-type="chooseAvatar" plain="true" bind:chooseavatar="onChooseAvatar">
|
|
8
|
-
<image class="profile-image" src="{{ resourceUrl + '/components/gray_head2x.png' }}" mode="" wx:if="{{ !userInfo.avatar }}" />
|
|
9
|
-
<image class="profile-image" src="{{ imageUrl + userInfo.avatar }}" mode="" wx:else />
|
|
10
|
-
</button>
|
|
11
|
-
</view>
|
|
12
|
-
</view>
|
|
13
|
-
<view class="main-nickname" wx:if="{{ isUserNickName }}">
|
|
14
|
-
<view class="nickname-left">昵称</view>
|
|
15
|
-
<view class="nickname-right">
|
|
16
|
-
<input value="{{ userInfo.nickName }}" type="nickname" bindinput="getNicknameValue" class="nickname-input" />
|
|
17
|
-
</view>
|
|
18
|
-
</view>
|
|
19
|
-
<view class="main-nickname" wx:if="{{ isUserRealName }}">
|
|
20
|
-
<view class="nickname-left">姓名</view>
|
|
21
|
-
<view class="nickname-right">
|
|
22
|
-
<input value="{{ userInfo.realName }}" type="realName" bindinput="setrealNameValue" class="nickname-input" />
|
|
23
|
-
</view>
|
|
24
|
-
</view>
|
|
25
|
-
|
|
26
|
-
<view class="main-phone" wx:if="{{ isUserMobilePhone }}">
|
|
27
|
-
<view class="phone-left">手机号</view>
|
|
28
|
-
<view class="phone-right">
|
|
29
|
-
<view>{{ userInfo.mobilePhone }}</view>
|
|
30
|
-
<button open-type="getPhoneNumber" class="phone-right-btn" bindgetphonenumber="getPhoneNumber" plain="true" wx:if="{{ isChangePhone }}">更换手机号</button>
|
|
31
|
-
</view>
|
|
32
|
-
</view>
|
|
33
|
-
</view>
|
|
34
|
-
|
|
1
|
+
<!-- 我的页面 中个人信息编辑页面 -->
|
|
2
|
+
<view class="my-information">
|
|
3
|
+
<view class="main">
|
|
4
|
+
<view class="main-profile" wx:if="{{ isUserAvatar }}">
|
|
5
|
+
<view class="profile-left">头像</view>
|
|
6
|
+
<view class="profile-right">
|
|
7
|
+
<button class="image-box-bgc" open-type="chooseAvatar" plain="true" bind:chooseavatar="onChooseAvatar">
|
|
8
|
+
<image class="profile-image" src="{{ resourceUrl + '/components/gray_head2x.png' }}" mode="" wx:if="{{ !userInfo.avatar }}" />
|
|
9
|
+
<image class="profile-image" src="{{ imageUrl + userInfo.avatar }}" mode="" wx:else />
|
|
10
|
+
</button>
|
|
11
|
+
</view>
|
|
12
|
+
</view>
|
|
13
|
+
<view class="main-nickname" wx:if="{{ isUserNickName }}">
|
|
14
|
+
<view class="nickname-left">昵称</view>
|
|
15
|
+
<view class="nickname-right">
|
|
16
|
+
<input value="{{ userInfo.nickName }}" type="nickname" bindinput="getNicknameValue" class="nickname-input" />
|
|
17
|
+
</view>
|
|
18
|
+
</view>
|
|
19
|
+
<view class="main-nickname" wx:if="{{ isUserRealName }}">
|
|
20
|
+
<view class="nickname-left">姓名</view>
|
|
21
|
+
<view class="nickname-right">
|
|
22
|
+
<input value="{{ userInfo.realName }}" type="realName" bindinput="setrealNameValue" class="nickname-input" />
|
|
23
|
+
</view>
|
|
24
|
+
</view>
|
|
25
|
+
|
|
26
|
+
<view class="main-phone" wx:if="{{ isUserMobilePhone }}">
|
|
27
|
+
<view class="phone-left">手机号</view>
|
|
28
|
+
<view class="phone-right">
|
|
29
|
+
<view>{{ userInfo.mobilePhone }}</view>
|
|
30
|
+
<button open-type="getPhoneNumber" class="phone-right-btn" bindgetphonenumber="getPhoneNumber" plain="true" wx:if="{{ isChangePhone }}">更换手机号</button>
|
|
31
|
+
</view>
|
|
32
|
+
</view>
|
|
33
|
+
</view>
|
|
34
|
+
|
|
35
35
|
</view>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
<view class="auth-user-box">
|
|
2
|
-
<block wx:if="{{ token }}">
|
|
3
|
-
<view class="auth-user-l">
|
|
4
|
-
<image src="{{ BASE_URL + userInfo.avatar }}" class="avatar-img" wx:if="{{ userInfo.avatar }}"></image>
|
|
5
|
-
<image src="{{ resourceUrl }}/tswk.png" class="avatar-img" wx:else></image>
|
|
6
|
-
<view class="auth-user-r">
|
|
7
|
-
<view class="user-edit">{{ userInfo.realName }}
|
|
8
|
-
<image src="{{ resourceUrl }}/book/icon/user_edit_icon.png" class="edit_icon" bind:tap="handleUpdateUser"></image>
|
|
9
|
-
</view>
|
|
10
|
-
<text class="user-mobile">{{ userInfo.mobilePhoneIns }}</text>
|
|
11
|
-
</view>
|
|
12
|
-
</view>
|
|
13
|
-
</block>
|
|
14
|
-
<view class="auth-user-l" wx:else>
|
|
15
|
-
<image src="{{ resourceUrl }}/tswk.png" class="avatar-img"></image>
|
|
16
|
-
<text bind:tap="handleLogin">登录</text>
|
|
17
|
-
</view>
|
|
18
|
-
|
|
1
|
+
<view class="auth-user-box">
|
|
2
|
+
<block wx:if="{{ token }}">
|
|
3
|
+
<view class="auth-user-l">
|
|
4
|
+
<image src="{{ BASE_URL + userInfo.avatar }}" class="avatar-img" wx:if="{{ userInfo.avatar }}"></image>
|
|
5
|
+
<image src="{{ resourceUrl }}/tswk.png" class="avatar-img" wx:else></image>
|
|
6
|
+
<view class="auth-user-r">
|
|
7
|
+
<view class="user-edit">{{ userInfo.realName }}
|
|
8
|
+
<image src="{{ resourceUrl }}/book/icon/user_edit_icon.png" class="edit_icon" bind:tap="handleUpdateUser"></image>
|
|
9
|
+
</view>
|
|
10
|
+
<text class="user-mobile">{{ userInfo.mobilePhoneIns }}</text>
|
|
11
|
+
</view>
|
|
12
|
+
</view>
|
|
13
|
+
</block>
|
|
14
|
+
<view class="auth-user-l" wx:else>
|
|
15
|
+
<image src="{{ resourceUrl }}/tswk.png" class="avatar-img"></image>
|
|
16
|
+
<text bind:tap="handleLogin">登录</text>
|
|
17
|
+
</view>
|
|
18
|
+
|
|
19
19
|
</view>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!-- 创建卡片选择头像 样式组件 -->
|
|
2
|
-
<!-- 头像背景盒子 -->
|
|
3
|
-
<button plain class="auth-image-box-bgc" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
4
|
-
<!-- 显示的头像 -->
|
|
5
|
-
<image class="image-box-show" src="{{ avatar }}" mode="widthFix" />
|
|
6
|
-
<!-- 提示选择头像图片 -->
|
|
7
|
-
<image class="select-image" src="{{ resourceUrl + '/icon_image/camera2x.png' }}" mode="" />
|
|
1
|
+
<!-- 创建卡片选择头像 样式组件 -->
|
|
2
|
+
<!-- 头像背景盒子 -->
|
|
3
|
+
<button plain class="auth-image-box-bgc" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
4
|
+
<!-- 显示的头像 -->
|
|
5
|
+
<image class="image-box-show" src="{{ avatar }}" mode="widthFix" />
|
|
6
|
+
<!-- 提示选择头像图片 -->
|
|
7
|
+
<image class="select-image" src="{{ resourceUrl + '/icon_image/camera2x.png' }}" mode="" />
|
|
8
8
|
</button>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<view class="basic-view">
|
|
2
|
-
<image class="basic-icon" src="{{ resourceUrl }}/rectangle2x_{{ themeColor }}.png" />
|
|
3
|
-
<text class="basic-title">{{ title }}</text>
|
|
4
|
-
<view class="basic-more" bind:tap="handleMore" wx:if="{{ isMore }}">查看更多</view>
|
|
1
|
+
<view class="basic-view">
|
|
2
|
+
<image class="basic-icon" src="{{ resourceUrl }}/rectangle2x_{{ themeColor }}.png" />
|
|
3
|
+
<text class="basic-title">{{ title }}</text>
|
|
4
|
+
<view class="basic-more" bind:tap="handleMore" wx:if="{{ isMore }}">查看更多</view>
|
|
5
5
|
</view>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<view class="auth-btn-box">
|
|
2
|
-
<button class="btn-left" style="background
|
|
3
|
-
<button class="btn-right" style="background
|
|
1
|
+
<view class="auth-btn-box">
|
|
2
|
+
<button class="btn-left" style="background: {{ leftBgColor }}; color: {{ leftColor }}; border-radius: {{ btnRadius }}; border: {{ leftBorder }};" bind:tap="handleLeft">{{ leftText }}</button>
|
|
3
|
+
<button class="btn-right" style="background: {{ rightBgColor }}; color: {{ rightColor }}; border-radius: {{ btnRadius }}; border: {{ rightBorder }};" bind:tap="handleRight">{{ rightText }}</button>
|
|
4
4
|
</view>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<button
|
|
2
|
-
bind:tap="onClick"
|
|
3
|
-
class="auth-btn"
|
|
4
|
-
style="{{ buttonStyle }}"
|
|
5
|
-
disabled="{{ disabled }}"
|
|
6
|
-
>{{ text }}</button>
|
|
1
|
+
<button
|
|
2
|
+
bind:tap="onClick"
|
|
3
|
+
class="auth-btn"
|
|
4
|
+
style="{{ buttonStyle }}"
|
|
5
|
+
disabled="{{ disabled }}"
|
|
6
|
+
>{{ text }}</button>
|
|
File without changes
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
Component({
|
|
2
|
+
/**
|
|
3
|
+
* 组件的属性列表
|
|
4
|
+
*/
|
|
5
|
+
properties: {
|
|
6
|
+
// 左侧的文本内容
|
|
7
|
+
leftText: {
|
|
8
|
+
type: String,
|
|
9
|
+
value: ""
|
|
10
|
+
},
|
|
11
|
+
// 右侧的文本内容
|
|
12
|
+
rightText: {
|
|
13
|
+
type: String,
|
|
14
|
+
value: ""
|
|
15
|
+
},
|
|
16
|
+
// 左侧按钮背景色
|
|
17
|
+
leftBgColor: {
|
|
18
|
+
type: String,
|
|
19
|
+
value: ""
|
|
20
|
+
},
|
|
21
|
+
// 右侧按钮背景色
|
|
22
|
+
rightBgColor: {
|
|
23
|
+
type: String,
|
|
24
|
+
value: "#2563EB"
|
|
25
|
+
},
|
|
26
|
+
// 左侧按钮字体颜色
|
|
27
|
+
leftColor: {
|
|
28
|
+
type: String,
|
|
29
|
+
value: ""
|
|
30
|
+
},
|
|
31
|
+
// 右侧按钮字体颜色
|
|
32
|
+
rightColor: {
|
|
33
|
+
type: String,
|
|
34
|
+
value: "#fff"
|
|
35
|
+
},
|
|
36
|
+
// 右侧按钮圆角
|
|
37
|
+
rightRadius: {
|
|
38
|
+
type: String,
|
|
39
|
+
value: ""
|
|
40
|
+
},
|
|
41
|
+
// 左侧按钮边框
|
|
42
|
+
leftBorder: {
|
|
43
|
+
type: String,
|
|
44
|
+
value: ""
|
|
45
|
+
},
|
|
46
|
+
// 右侧按钮边框
|
|
47
|
+
rightBorder: {
|
|
48
|
+
type: String,
|
|
49
|
+
value: ""
|
|
50
|
+
},
|
|
51
|
+
// 中间按钮文本内容
|
|
52
|
+
centerText: {
|
|
53
|
+
type: String,
|
|
54
|
+
value: ""
|
|
55
|
+
},
|
|
56
|
+
// 中间按钮背景色
|
|
57
|
+
centerBgColor: {
|
|
58
|
+
type: String,
|
|
59
|
+
value: ""
|
|
60
|
+
},
|
|
61
|
+
// 中间按钮字体颜色
|
|
62
|
+
centerColor: {
|
|
63
|
+
type: String,
|
|
64
|
+
value: ""
|
|
65
|
+
},
|
|
66
|
+
// 中间边框
|
|
67
|
+
centerBorder: {
|
|
68
|
+
type: String,
|
|
69
|
+
value: ""
|
|
70
|
+
},
|
|
71
|
+
// 中间按钮圆角
|
|
72
|
+
centerRadius: {
|
|
73
|
+
type: String,
|
|
74
|
+
value: ""
|
|
75
|
+
},
|
|
76
|
+
// 左侧按钮圆角
|
|
77
|
+
leftRadius: {
|
|
78
|
+
type: String,
|
|
79
|
+
value: ""
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* 组件的初始数据
|
|
84
|
+
*/
|
|
85
|
+
data: {},
|
|
86
|
+
/**
|
|
87
|
+
* 组件的方法列表
|
|
88
|
+
*/
|
|
89
|
+
methods: {
|
|
90
|
+
handleLeft() {
|
|
91
|
+
this.triggerEvent("leftbtn");
|
|
92
|
+
},
|
|
93
|
+
handleRight() {
|
|
94
|
+
this.triggerEvent("rightbtn");
|
|
95
|
+
},
|
|
96
|
+
// 中间按钮事件
|
|
97
|
+
handleCenter() {
|
|
98
|
+
this.triggerEvent("centerbtn");
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
});
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<view class="auth-btn-box">
|
|
2
|
+
<button class="btn-left" style="background: {{ leftBgColor }}; color: {{ leftColor }}; border-radius: {{ leftRadius }}; border: {{ leftBorder }};" bind:tap="handleLeft">{{ leftText }}</button>
|
|
3
|
+
<button class="btn-left" style="background: {{ centerBgColor }}; color: {{ centerColor }}; border-radius: {{ centerRadius }}; border: {{ centerBorder }};" bind:tap="handleCenter">{{ centerText }}</button>
|
|
4
|
+
<button class="btn-right" style="background: {{ rightBgColor }}; color: {{ rightColor }}; border-radius: {{ rightRadius }}; border: {{ rightBorder }};" bind:tap="handleRight">{{ rightText }}</button>
|
|
5
|
+
</view>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.auth-btn-box{display:flex;align-items:center;justify-content:space-between;width:100%}.auth-btn-box .btn-left{width:28%;margin-right:3%;height:96rpx;font-size:32rpx;line-height:96rpx}.auth-btn-box .btn-right{height:96rpx;font-size:32rpx;width:44%;line-height:96rpx}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { config } from "../../../../utils/config.js";
|
|
2
|
+
Component({
|
|
3
|
+
/**
|
|
4
|
+
* 组件的属性列表
|
|
5
|
+
*/
|
|
6
|
+
properties: {
|
|
7
|
+
// 背景封面上传
|
|
8
|
+
coverUpload: {
|
|
9
|
+
type: String,
|
|
10
|
+
value: "/icon_image/border_plus.png"
|
|
11
|
+
},
|
|
12
|
+
// 限制上传数量
|
|
13
|
+
limit: {
|
|
14
|
+
type: Number,
|
|
15
|
+
value: 6
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* 组件的初始数据
|
|
20
|
+
*/
|
|
21
|
+
data: {
|
|
22
|
+
resourceUrl: config.resourceUrl,
|
|
23
|
+
baseUrl: config.baseUrl + "/v1/file/image/resize/160/160/",
|
|
24
|
+
imageArray: []
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* 组件的方法列表
|
|
28
|
+
*/
|
|
29
|
+
methods: {
|
|
30
|
+
handleUploadImage() {
|
|
31
|
+
const that = this;
|
|
32
|
+
if (that.data.imageArray.length > that.data.limit - 1) {
|
|
33
|
+
wx.showToast({
|
|
34
|
+
title: "图片最多上传" + that.data.limit + "张",
|
|
35
|
+
icon: "none",
|
|
36
|
+
duration: 2e3
|
|
37
|
+
});
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
wx.showActionSheet({
|
|
41
|
+
itemList: ["从相册中选择", "拍照"],
|
|
42
|
+
itemColor: "#486aff",
|
|
43
|
+
success: function(res) {
|
|
44
|
+
if (res.tapIndex === 0) {
|
|
45
|
+
that.chooseWxHeadImage("album");
|
|
46
|
+
} else if (res.tapIndex == 1) {
|
|
47
|
+
that.chooseWxHeadImage("camera");
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
chooseWxHeadImage(type) {
|
|
53
|
+
const that = this;
|
|
54
|
+
const token = wx.getStorageSync("token") ? "Bearer " + wx.getStorageSync("token") : "";
|
|
55
|
+
wx.chooseMedia({
|
|
56
|
+
count: that.data.limit,
|
|
57
|
+
sizeType: ["original", "compressed"],
|
|
58
|
+
sourceType: [type],
|
|
59
|
+
success: function(res) {
|
|
60
|
+
const tempFilePaths = res.tempFiles[0].tempFilePath;
|
|
61
|
+
wx.uploadFile({
|
|
62
|
+
url: config.baseUrl + "/v1/file/upload?tenant=" + config.tenant,
|
|
63
|
+
filePath: tempFilePaths,
|
|
64
|
+
header: {
|
|
65
|
+
"Content-Type": "multipart/form-data",
|
|
66
|
+
Authorization: token
|
|
67
|
+
},
|
|
68
|
+
formData: {
|
|
69
|
+
method: "POST"
|
|
70
|
+
//请求方式
|
|
71
|
+
},
|
|
72
|
+
name: "file",
|
|
73
|
+
success(response) {
|
|
74
|
+
if (response.statusCode === 200) {
|
|
75
|
+
const src = JSON.parse(response.data).fileSrc;
|
|
76
|
+
that.data.imageArray.push(src);
|
|
77
|
+
that.setData({
|
|
78
|
+
imageArray: that.data.imageArray
|
|
79
|
+
});
|
|
80
|
+
console.log(that.data.imageArray);
|
|
81
|
+
that.triggerEvent("imageList", that.data.imageArray);
|
|
82
|
+
} else {
|
|
83
|
+
wx.showToast({
|
|
84
|
+
title: "图片上传失败",
|
|
85
|
+
icon: "none",
|
|
86
|
+
duration: 2e3
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
// 删除图片
|
|
95
|
+
handleDel(e) {
|
|
96
|
+
var _a;
|
|
97
|
+
this.data.imageArray.splice((_a = e.currentTarget) == null ? void 0 : _a.dataset.index, 1);
|
|
98
|
+
this.setData({
|
|
99
|
+
imageArray: this.data.imageArray
|
|
100
|
+
});
|
|
101
|
+
this.triggerEvent("imageList", this.data.imageArray);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<view class="upload-box">
|
|
2
|
+
<view class="upload-image" wx:for="{{ imageArray }}" wx:key="index">
|
|
3
|
+
<image src="{{ baseUrl + item }}" class="plus-image"></image>
|
|
4
|
+
<image src="{{ resourceUrl }}/icon_image/close_circle2x.png" class="delete-image" data-index="{{ index }}" bind:tap="handleDel"></image>
|
|
5
|
+
</view>
|
|
6
|
+
<view class="upload-cover" bind:tap="handleUploadImage">
|
|
7
|
+
<image src="{{ resourceUrl + coverUpload }}" class="plus-image"></image>
|
|
8
|
+
</view>
|
|
9
|
+
</view>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.upload-box{display:flex;align-items:center;flex-wrap:wrap}.upload-box .upload-image{margin:0 12rpx 30rpx 0;position:relative;width:calc(100% - 18px)/4;height:160rpx}.upload-box .upload-image .delete-image{width:40rpx;height:40rpx;position:absolute;right:-14rpx;top:-14rpx}.plus-image{width:160rpx;height:160rpx}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<view class="auth-none-data" style="margin-top: {{ marginTop }}rpx; padding-top: {{ paddingTop }}rpx;">
|
|
2
|
-
<image class="holder-image" src="{{ resourceUrl + imgUrl }}" mode="heightFix" style="width: {{ imgWidth }};height: {{ imgHeight }};" />
|
|
3
|
-
<view class="holder-text" style="color: {{ contentColor }};">{{ content }}</view>
|
|
1
|
+
<view class="auth-none-data" style="margin-top: {{ marginTop }}rpx; padding-top: {{ paddingTop }}rpx;">
|
|
2
|
+
<image class="holder-image" src="{{ resourceUrl + imgUrl }}" mode="heightFix" style="width: {{ imgWidth }};height: {{ imgHeight }};" />
|
|
3
|
+
<view class="holder-text" style="color: {{ contentColor }};">{{ content }}</view>
|
|
4
4
|
</view>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<view class="auth-mask-box" wx:if="{{ show }}" bind:tap="closePopup"></view>
|
|
2
|
-
<view class="auth-mask-popup" wx:if="{{ show }}" style="height: {{ height }}; background-color: {{ backColor }};border-top-left-radius: {{ borderRadius }};border-top-right-radius: {{ borderRadius }};width: 100%;">
|
|
3
|
-
<view class="popup-title" wx:if="{{ titleShow }}">
|
|
4
|
-
{{ title }}
|
|
5
|
-
<image mode="aspectFit" src="{{ resourceUrl + '/icon_image/close_circle2x.png' }}" class="close-icon" bind:tap="closePopup"></image>
|
|
6
|
-
</view>
|
|
7
|
-
<slot></slot>
|
|
1
|
+
<view class="auth-mask-box" wx:if="{{ show }}" bind:tap="closePopup"></view>
|
|
2
|
+
<view class="auth-mask-popup" wx:if="{{ show }}" style="height: {{ height }}; background-color: {{ backColor }};border-top-left-radius: {{ borderRadius }};border-top-right-radius: {{ borderRadius }};width: 100%;">
|
|
3
|
+
<view class="popup-title" wx:if="{{ titleShow }}">
|
|
4
|
+
{{ title }}
|
|
5
|
+
<image mode="aspectFit" src="{{ resourceUrl + '/icon_image/close_circle2x.png' }}" class="close-icon" bind:tap="closePopup"></image>
|
|
6
|
+
</view>
|
|
7
|
+
<slot></slot>
|
|
8
8
|
</view>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<view class="auth-search-box" style="{{ searchStyle }}">
|
|
2
|
-
<icon type="search" color="{{ iconColor }}" size="18" class="search-icon"></icon>
|
|
3
|
-
<input class="search-input" placeholder-style="color: {{ color }};" style="color: {{ color }}; background-color: {{ backColor }}; width: {{ isSearchBtn ? '60%' : '100%' }}; {{ isSearchBtn ? '' : 'padding-right: 20px' }}" focus="{{ focus }}" placeholder="{{ placeholder }}" disabled="{{ disabled }}" value="{{ likeName }}" bindinput="handleInput" bind:tap="handleTap" />
|
|
4
|
-
<view class="search-btn" wx:if="{{ isSearchBtn }}">
|
|
5
|
-
<slot></slot>
|
|
6
|
-
</view>
|
|
1
|
+
<view class="auth-search-box" style="{{ searchStyle }}">
|
|
2
|
+
<icon type="search" color="{{ iconColor }}" size="18" class="search-icon"></icon>
|
|
3
|
+
<input class="search-input" placeholder-style="color: {{ color }};" style="color: {{ color }}; background-color: {{ backColor }}; width: {{ isSearchBtn ? '60%' : '100%' }}; {{ isSearchBtn ? '' : 'padding-right: 20px' }}" focus="{{ focus }}" placeholder="{{ placeholder }}" disabled="{{ disabled }}" value="{{ likeName }}" bindinput="handleInput" bind:tap="handleTap" />
|
|
4
|
+
<view class="search-btn" wx:if="{{ isSearchBtn }}">
|
|
5
|
+
<slot></slot>
|
|
6
|
+
</view>
|
|
7
7
|
</view>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"van-icon": "@vant/weapp/icon/index"
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"van-icon": "@vant/weapp/icon/index"
|
|
5
|
+
}
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<view class="auth-top" style="background
|
|
2
|
-
<view class="auth-top-navigation" style="padding-top: {{ style.paddingTop }}px; height: {{ style.height }}px;color: {{ titleColor }}">
|
|
3
|
-
<van-icon name="arrow-left" size="22px" wx:if="{{ isLeftIcon }}" color="{{ titleColor }}" bind:tap="handleBack" />
|
|
4
|
-
<text class="title">{{ title }}</text>
|
|
5
|
-
</view>
|
|
1
|
+
<view class="auth-top" style="background: {{ style.color }};">
|
|
2
|
+
<view class="auth-top-navigation" style="padding-top: {{ style.paddingTop }}px; height: {{ style.height }}px;color: {{ titleColor }}">
|
|
3
|
+
<van-icon name="arrow-left" size="22px" wx:if="{{ isLeftIcon }}" color="{{ titleColor }}" bind:tap="handleBack" />
|
|
4
|
+
<text class="title">{{ title }}</text>
|
|
5
|
+
</view>
|
|
6
6
|
</view>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"van-popup": "@vant/weapp/popup/index",
|
|
5
|
-
"van-checkbox": "@vant/weapp/checkbox/index",
|
|
6
|
-
"van-checkbox-group": "@vant/weapp/checkbox-group/index"
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"van-popup": "@vant/weapp/popup/index",
|
|
5
|
+
"van-checkbox": "@vant/weapp/checkbox/index",
|
|
6
|
+
"van-checkbox-group": "@vant/weapp/checkbox-group/index"
|
|
7
|
+
}
|
|
8
8
|
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
<!--components/jmash-half-login/index.wxml-->
|
|
2
|
-
<!-- 授权登录 -->
|
|
3
|
-
<van-popup z-index="999999" show="{{ isShow }}" close-on-click-overlay="{{ false }}" round position="bottom" custom-style="height: 830rpx;" bind:close="onClose" custom-class="vcard-login-popup">
|
|
4
|
-
|
|
5
|
-
<view class="custom-title">
|
|
6
|
-
<view class="title-left">
|
|
7
|
-
<view class="left-title">授权登录</view>
|
|
8
|
-
<view class="left-logo">
|
|
9
|
-
<image class="logo-image" src="{{ resourceUrl + '/logo/logo.png' }}" mode="" />
|
|
10
|
-
<view class="logo-text">{{ config.name }}·申请使用</view>
|
|
11
|
-
</view>
|
|
12
|
-
</view>
|
|
13
|
-
<view class="title-right" bind:tap="onClose">
|
|
14
|
-
<image class="title-image" src="{{ resourceUrl + '/icon_image/close_circle2x.png' }}" mode="widthFix" />
|
|
15
|
-
</view>
|
|
16
|
-
</view>
|
|
17
|
-
|
|
18
|
-
<view class="custom-main">
|
|
19
|
-
<view class="main-msg">
|
|
20
|
-
<view class="msg-itme">
|
|
21
|
-
<view class="item-title">头像</view>
|
|
22
|
-
<button plain class="item-btn" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
23
|
-
<image class="item-image" src="{{ avatar }}" mode="widthFix" />
|
|
24
|
-
</button>
|
|
25
|
-
</view>
|
|
26
|
-
<view class="msg-itme">
|
|
27
|
-
<view class="item-title">姓名</view>
|
|
28
|
-
<input bind:change="bindKeyInput" value="{{ nameValue }}" class="item-input" type="nickname" placeholder="请输入姓名" />
|
|
29
|
-
</view>
|
|
30
|
-
</view>
|
|
31
|
-
|
|
32
|
-
<view class="main-check-agreement">
|
|
33
|
-
<van-checkbox label-class="main-check-agreement-text" value="{{ isCheckBox }}" icon-size="14px" shape="square" bind:change="onChange">
|
|
34
|
-
<!-- 已阅读《用户使用协议》《隐私权政策》 -->
|
|
35
|
-
已阅读
|
|
36
|
-
<text id="0" catch:tap="goInfo">《用户使用协议》</text> <text id="1" catch:tap="goInfo">《隐私权政策》</text>
|
|
37
|
-
</van-checkbox>
|
|
38
|
-
</view>
|
|
39
|
-
|
|
40
|
-
<!-- 未勾选用户协议 -->
|
|
41
|
-
<button wx:if="{{ !isValidate }}" plain class="main-login-btn" bind:tap="onLogin">授权登录</button>
|
|
42
|
-
<!-- 已勾选用户协议 -->
|
|
43
|
-
<button wx:else plain class="main-login-btn" open-type="getPhoneNumber" bind:getphonenumber="wxPhoneLogin">授权登录</button>
|
|
44
|
-
<view class="main-login-cencl" bind:tap="onClose">取消</view>
|
|
45
|
-
</view>
|
|
1
|
+
<!--components/jmash-half-login/index.wxml-->
|
|
2
|
+
<!-- 授权登录 -->
|
|
3
|
+
<van-popup z-index="999999" show="{{ isShow }}" close-on-click-overlay="{{ false }}" round position="bottom" custom-style="height: 830rpx;" bind:close="onClose" custom-class="vcard-login-popup">
|
|
4
|
+
|
|
5
|
+
<view class="custom-title">
|
|
6
|
+
<view class="title-left">
|
|
7
|
+
<view class="left-title">授权登录</view>
|
|
8
|
+
<view class="left-logo">
|
|
9
|
+
<image class="logo-image" src="{{ resourceUrl + '/logo/logo.png' }}" mode="" />
|
|
10
|
+
<view class="logo-text">{{ config.name }}·申请使用</view>
|
|
11
|
+
</view>
|
|
12
|
+
</view>
|
|
13
|
+
<view class="title-right" bind:tap="onClose">
|
|
14
|
+
<image class="title-image" src="{{ resourceUrl + '/icon_image/close_circle2x.png' }}" mode="widthFix" />
|
|
15
|
+
</view>
|
|
16
|
+
</view>
|
|
17
|
+
|
|
18
|
+
<view class="custom-main">
|
|
19
|
+
<view class="main-msg">
|
|
20
|
+
<view class="msg-itme">
|
|
21
|
+
<view class="item-title">头像</view>
|
|
22
|
+
<button plain class="item-btn" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
23
|
+
<image class="item-image" src="{{ avatar }}" mode="widthFix" />
|
|
24
|
+
</button>
|
|
25
|
+
</view>
|
|
26
|
+
<view class="msg-itme">
|
|
27
|
+
<view class="item-title">姓名</view>
|
|
28
|
+
<input bind:change="bindKeyInput" value="{{ nameValue }}" class="item-input" type="nickname" placeholder="请输入姓名" />
|
|
29
|
+
</view>
|
|
30
|
+
</view>
|
|
31
|
+
|
|
32
|
+
<view class="main-check-agreement">
|
|
33
|
+
<van-checkbox label-class="main-check-agreement-text" value="{{ isCheckBox }}" icon-size="14px" shape="square" bind:change="onChange">
|
|
34
|
+
<!-- 已阅读《用户使用协议》《隐私权政策》 -->
|
|
35
|
+
已阅读
|
|
36
|
+
<text id="0" catch:tap="goInfo">《用户使用协议》</text> <text id="1" catch:tap="goInfo">《隐私权政策》</text>
|
|
37
|
+
</van-checkbox>
|
|
38
|
+
</view>
|
|
39
|
+
|
|
40
|
+
<!-- 未勾选用户协议 -->
|
|
41
|
+
<button wx:if="{{ !isValidate }}" plain class="main-login-btn" bind:tap="onLogin">授权登录</button>
|
|
42
|
+
<!-- 已勾选用户协议 -->
|
|
43
|
+
<button wx:else plain class="main-login-btn" open-type="getPhoneNumber" bind:getphonenumber="wxPhoneLogin">授权登录</button>
|
|
44
|
+
<view class="main-login-cencl" bind:tap="onClose">取消</view>
|
|
45
|
+
</view>
|
|
46
46
|
</van-popup>
|
|
@@ -89,10 +89,10 @@ Component({
|
|
|
89
89
|
wx.switchTab({ url: backurl });
|
|
90
90
|
} else if (this.properties.linkType === "navigateTo") {
|
|
91
91
|
wx.navigateTo({ url: backurl });
|
|
92
|
-
} else if (this.properties.linkType === "
|
|
93
|
-
wx.reLaunch({ url: backurl });
|
|
94
|
-
} else {
|
|
92
|
+
} else if (this.properties.linkType === "redirectTo") {
|
|
95
93
|
wx.redirectTo({ url: backurl });
|
|
94
|
+
} else {
|
|
95
|
+
wx.reLaunch({ url: backurl });
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
} else {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"auth-single-btn": "../common/auth-btn/single-btn/index"
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"auth-single-btn": "../common/auth-btn/single-btn/index"
|
|
5
|
+
}
|
|
6
6
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<slot name="before"></slot>
|
|
2
|
-
<view class="login_box">
|
|
3
|
-
<button open-type="getPhoneNumber" style="{{ loginStyle }}" bindgetphonenumber="wxPhoneLogin" wx:if="{{ agreeStatus }}">手机号授权登录</button>
|
|
4
|
-
<button bind:tap="wxPhoneLogin" style="{{ loginStyle }}" wx:else>手机号授权登录</button>
|
|
5
|
-
<radio-group bindchange="agreeChange" class="protocol_agree">
|
|
6
|
-
<label>
|
|
7
|
-
<radio value="{{ agreeStatus }}" checked="{{ agreeStatus }}" color="{{ checkedColor }}" />
|
|
8
|
-
已阅读<text id="0" style="{{ agreementStyle }}" catch:tap="goInfo">《用户使用协议》</text> <text id="1" style="{{ agreementStyle }}" catch:tap="goInfo">《隐私权政策》</text>
|
|
9
|
-
</label>
|
|
10
|
-
</radio-group>
|
|
11
|
-
<slot name="after"></slot>
|
|
1
|
+
<slot name="before"></slot>
|
|
2
|
+
<view class="login_box">
|
|
3
|
+
<button open-type="getPhoneNumber" style="{{ loginStyle }}" bindgetphonenumber="wxPhoneLogin" wx:if="{{ agreeStatus }}">手机号授权登录</button>
|
|
4
|
+
<button bind:tap="wxPhoneLogin" style="{{ loginStyle }}" wx:else>手机号授权登录</button>
|
|
5
|
+
<radio-group bindchange="agreeChange" class="protocol_agree">
|
|
6
|
+
<label>
|
|
7
|
+
<radio value="{{ agreeStatus }}" checked="{{ agreeStatus }}" color="{{ checkedColor }}" />
|
|
8
|
+
已阅读<text id="0" style="{{ agreementStyle }}" catch:tap="goInfo">《用户使用协议》</text> <text id="1" style="{{ agreementStyle }}" catch:tap="goInfo">《隐私权政策》</text>
|
|
9
|
+
</label>
|
|
10
|
+
</radio-group>
|
|
11
|
+
<slot name="after"></slot>
|
|
12
12
|
</view>
|
package/dist/styles/index.scss
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
// 圆角
|
|
2
|
-
$border-radius: 20rpx;
|
|
3
|
-
$border-mini-radius: 10rpx;
|
|
4
|
-
$border-max-radius: 50rpx;
|
|
5
|
-
// 字体大小
|
|
6
|
-
$font-size: 28rpx;
|
|
7
|
-
$font-size-mini: 24rpx;
|
|
8
|
-
// 颜色
|
|
9
|
-
$white-color: #fff;
|
|
10
|
-
$red-color: #EF4444;
|
|
11
|
-
$green-color: #16A34A;
|
|
12
|
-
$blue-color: #2563EB;
|
|
13
|
-
$black-color: #000;
|
|
14
|
-
// 字体颜色
|
|
15
|
-
$font-color: #333;
|
|
16
|
-
$font-color-grey: #666;
|
|
17
|
-
$font-color-grey-opacity: #999;
|
|
18
|
-
// 宽
|
|
19
|
-
$width: 100%;
|
|
20
|
-
// 层级
|
|
21
|
-
$z-index: 99999;
|
|
22
|
-
// 下拉线颜色
|
|
23
|
-
$border-line: #EBEBEB;
|
|
24
|
-
// 背景色
|
|
25
|
-
$background-color: #f6f6f6;
|
|
26
|
-
// 白色背景
|
|
1
|
+
// 圆角
|
|
2
|
+
$border-radius: 20rpx;
|
|
3
|
+
$border-mini-radius: 10rpx;
|
|
4
|
+
$border-max-radius: 50rpx;
|
|
5
|
+
// 字体大小
|
|
6
|
+
$font-size: 28rpx;
|
|
7
|
+
$font-size-mini: 24rpx;
|
|
8
|
+
// 颜色
|
|
9
|
+
$white-color: #fff;
|
|
10
|
+
$red-color: #EF4444;
|
|
11
|
+
$green-color: #16A34A;
|
|
12
|
+
$blue-color: #2563EB;
|
|
13
|
+
$black-color: #000;
|
|
14
|
+
// 字体颜色
|
|
15
|
+
$font-color: #333;
|
|
16
|
+
$font-color-grey: #666;
|
|
17
|
+
$font-color-grey-opacity: #999;
|
|
18
|
+
// 宽
|
|
19
|
+
$width: 100%;
|
|
20
|
+
// 层级
|
|
21
|
+
$z-index: 99999;
|
|
22
|
+
// 下拉线颜色
|
|
23
|
+
$border-line: #EBEBEB;
|
|
24
|
+
// 背景色
|
|
25
|
+
$background-color: #f6f6f6;
|
|
26
|
+
// 白色背景
|
|
27
27
|
$background-white-color: #fff;
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-wechat-auth",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"miniprogram": "dist",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "build"
|
|
10
|
+
},
|
|
8
11
|
"keywords": [],
|
|
9
12
|
"author": "",
|
|
10
13
|
"license": "",
|
|
@@ -15,8 +18,5 @@
|
|
|
15
18
|
"devDependencies": {
|
|
16
19
|
"xyvcard-wechat-build": "^0.0.2",
|
|
17
20
|
"typescript": "^5.8.3"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"build": "build"
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|