正在显示
100 个修改的文件
包含
982 行增加
和
220 行删除
.hbuilderx/launch.json
0 → 100644
1 | +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ | |
2 | + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 | |
3 | + "version": "0.0", | |
4 | + "configurations": [{ | |
5 | + "default" : | |
6 | + { | |
7 | + "launchtype" : "local" | |
8 | + }, | |
9 | + "mp-weixin" : | |
10 | + { | |
11 | + "launchtype" : "local" | |
12 | + }, | |
13 | + "type" : "uniCloud" | |
14 | + } | |
15 | + ] | |
16 | +} | ... | ... |
... | ... | @@ -7,7 +7,8 @@ |
7 | 7 | * @LastEditTime: 2022-02-18 14:06:28 |
8 | 8 | --> |
9 | 9 | <template> |
10 | - <view> | |
10 | + <view> | |
11 | + <u-toast ref="uToast" /> | |
11 | 12 | </view> |
12 | 13 | </template> |
13 | 14 | |
... | ... | @@ -36,5 +37,5 @@ |
36 | 37 | <style lang="scss"> |
37 | 38 | /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */ |
38 | 39 | @import "@/uni_modules/uview-ui/index.scss"; |
39 | - @import '@/static/common/css/icon.css'; | |
40 | + @import '@/static/css/icon.css'; | |
40 | 41 | </style> | ... | ... |
1 | 1 | <template> |
2 | 2 | <view class="u-button"> |
3 | - <u-button type="primary" :shape="shape" :open-type="openType" @getphonenumber="getPhoneNumber" hover-class="none" :disabled="disabled" :custom-style="getCustomStyle" | |
4 | - @click="click"> | |
5 | - {{text}} | |
3 | + <u-button :text="text" color="#0CB17A" :plain="false" :hairline="false" :disabled="disabled" :throttleTime="1500" | |
4 | + type="info" shape="circle" :open-type="openType" @getphonenumber="getPhoneNumber" | |
5 | + :custom-style="getCustomStyle" @click="click"> | |
6 | 6 | </u-button> |
7 | 7 | </view> |
8 | 8 | </template> |
... | ... | @@ -18,14 +18,10 @@ |
18 | 18 | type: { |
19 | 19 | type: String, |
20 | 20 | default: 'confirm' |
21 | - }, | |
22 | - openType: { | |
23 | - type: String, | |
24 | - default: '' | |
25 | 21 | }, |
26 | - shape: { | |
22 | + openType: { | |
27 | 23 | type: String, |
28 | - default: 'square' | |
24 | + default: '' | |
29 | 25 | }, |
30 | 26 | disabled: { |
31 | 27 | type: Boolean, |
... | ... | @@ -37,53 +33,69 @@ |
37 | 33 | return {} |
38 | 34 | } |
39 | 35 | }, |
36 | + color: { | |
37 | + type: String, | |
38 | + default: '' | |
39 | + }, | |
40 | + | |
40 | 41 | }, |
41 | 42 | data() { |
42 | 43 | return {} |
43 | 44 | }, |
44 | - computed: { | |
45 | - getCustomStyle() { | |
46 | 45 | |
47 | - const { | |
48 | - type = '' | |
49 | - } = this; | |
50 | - | |
51 | - let style = {}; | |
52 | - | |
53 | - switch (type) { | |
46 | + watch: { | |
47 | + buttonType: function(newVal, oldVal) { | |
48 | + switch (this.type) { | |
54 | 49 | case 'confirm': |
55 | - return Object.assign({}, { | |
56 | - backgroundColor: '#FF001A', | |
57 | - borderRadius: '8rpx', | |
58 | - }, this.customStyle); | |
59 | - break; | |
60 | - | |
61 | - case 'cancel': | |
62 | - return Object.assign({}, { | |
63 | - backgroundColor: "rgba(0,0,0,0.15)", | |
64 | - borderRadius: '8rpx', | |
65 | - }, this.customStyle); | |
66 | - break; | |
67 | - | |
68 | - case 'custom': | |
69 | - return Object.assign({}, this.customStyle); | |
50 | + this.color = "#0CB17A"; | |
70 | 51 | break; |
71 | 52 | } |
72 | 53 | } |
73 | 54 | }, |
55 | + | |
56 | + computed: { | |
57 | + // getCustomStyle() { | |
58 | + | |
59 | + // const { | |
60 | + // type = '' | |
61 | + // } = this; | |
62 | + | |
63 | + // let style = {}; | |
64 | + | |
65 | + // switch (type) { | |
66 | + // case 'confirm': | |
67 | + // return Object.assign({}, { | |
68 | + // backgroundColor: '#FF001A', | |
69 | + // borderRadius: '8rpx', | |
70 | + // }, this.customStyle); | |
71 | + // break; | |
72 | + | |
73 | + // case 'cancel': | |
74 | + // return Object.assign({}, { | |
75 | + // backgroundColor: "rgba(0,0,0,0.15)", | |
76 | + // borderRadius: '8rpx', | |
77 | + // }, this.customStyle); | |
78 | + // break; | |
79 | + | |
80 | + // case 'custom': | |
81 | + // return Object.assign({}, this.customStyle); | |
82 | + // break; | |
83 | + // } | |
84 | + // } | |
85 | + }, | |
74 | 86 | methods: { |
75 | 87 | // 按钮点击 |
76 | 88 | click(e) { |
77 | 89 | this.$emit('click', e); |
78 | - }, | |
79 | - | |
80 | - getPhoneNumber(e) { | |
81 | - this.$emit("getPhoneNumber", e) | |
90 | + }, | |
91 | + | |
92 | + getPhoneNumber(e) { | |
93 | + this.$emit("getPhoneNumber", e) | |
82 | 94 | } |
83 | 95 | } |
84 | 96 | } |
85 | 97 | </script> |
86 | 98 | |
87 | -<style lang="scss"> | |
88 | - | |
99 | +<style lang="scss"> | |
100 | + | |
89 | 101 | </style> | ... | ... |
1 | 1 | const http = uni.$u.http |
2 | 2 | |
3 | -// post请求,获取菜单 | |
4 | -export const postMenu = (params) => http.post('/ebapi/public_api/index', params) | |
3 | +// 获取token | |
4 | +export const postTokenApi = (params, config = {}) => http.post('/auth/v1/login', params, config) | |
5 | 5 | |
6 | -// get请求,获取菜单,注意:get请求的配置等,都在第二个参数中,详见前面解释 | |
7 | -export const getMenu = (data) => http.get('/ebapi/public_api/index', data) | |
6 | +// 获取用户信息 | |
7 | +export const getUserInfoApi = (data) => http.get('/user/v1/detail', { | |
8 | + params: data | |
9 | +}) | |
10 | + | |
11 | +// 获取短信验证码 | |
12 | +export const getSmsCodeApi = (data) => http.get('/basic/v1/sms_code/get', { | |
13 | + params: data | |
14 | +}) | ... | ... |
... | ... | @@ -5,26 +5,50 @@ module.exports = (vm) => { |
5 | 5 | /* config 为默认全局配置*/ |
6 | 6 | |
7 | 7 | // 测试环境 |
8 | - // config.baseUrl = "http://39.104.52.206:8000"; | |
8 | + config.baseURL = "http://39.104.52.206:8000"; | |
9 | 9 | // 预生产环境 |
10 | - // config.baseUrl = "https://api-isxpre.workai.com.cn"; | |
10 | + // config.baseURL = "https://api-isxpre.workai.com.cn"; | |
11 | 11 | // 线上环境 |
12 | - config.baseUrl = "https://api-isx.workai.com.cn"; | |
12 | + // config.baseURL = "https://api-isx.workai.com.cn"; | |
13 | 13 | |
14 | - config.OSSUrl = "https://oss.workai.com.cn"; | |
15 | - | |
16 | - // 如果将此值设置为true,拦截回调中将会返回服务端返回的所有数据response,而不是response.data | |
17 | - // 设置为true后,就需要在this.$u.http.interceptor.response进行多一次的判断,请打印查看具体值 | |
18 | - | |
19 | - config.loadingText = '努力加载中~'; | |
20 | - config.loadingTime = 800; | |
21 | - config.originalData = true; | |
22 | - // 设置自定义头部content-type | |
23 | 14 | config.header = { |
24 | 15 | // 'content-type': 'xxx' |
25 | 16 | 'Authorization': 'Basic d29ya2FpOjEyMzQ1Ng==' |
26 | 17 | }; |
27 | 18 | |
19 | + // 设置自定义头部content-type | |
20 | + config.dataType = 'json'; | |
21 | + // #ifndef MP-ALIPAY | |
22 | + config.responseType = 'text'; | |
23 | + // #endif | |
24 | + // 注:如果局部custom与全局custom有同名属性,则后面的属性会覆盖前面的属性,相当于Object.assign(全局,局部) | |
25 | + config.custom = {}; // 全局自定义参数默认值 | |
26 | + // #ifdef H5 || APP-PLUS || MP-ALIPAY || MP-WEIXIN | |
27 | + config.timeout = 60000; | |
28 | + // #endif | |
29 | + // #ifdef APP-PLUS | |
30 | + config.sslVerify = true; | |
31 | + // #endif | |
32 | + // #ifdef H5 | |
33 | + // 跨域请求时是否携带凭证(cookies)仅H5支持(HBuilderX 2.6.15+) | |
34 | + config.withCredentials = false; | |
35 | + // #endif | |
36 | + // #ifdef APP-PLUS | |
37 | + config.firstIpv4 = false; // DNS解析时优先使用ipv4 仅 App-Android 支持 (HBuilderX 2.8.0+) | |
38 | + // #endif | |
39 | + // 局部优先级高于全局,返回当前请求的task,options。请勿在此处修改options。非必填 | |
40 | + // getTask: (task, options) => { | |
41 | + // 相当于设置了请求超时时间500ms | |
42 | + // setTimeout(() => { | |
43 | + // task.abort() | |
44 | + // }, 500) | |
45 | + // }, | |
46 | + | |
47 | + // 全局自定义验证器。参数为statusCode 且必存在,不用判断空情况。 | |
48 | + config.validateStatus = (statusCode) => { // statusCode 必存在。此处示例为全局默认配置 | |
49 | + return statusCode >= 200 && statusCode < 300 | |
50 | + }; | |
51 | + | |
28 | 52 | return config; |
29 | 53 | }) |
30 | 54 | ... | ... |
1 | 1 | { |
2 | 2 | "easycom": { |
3 | - "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue", | |
3 | + "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue", | |
4 | 4 | "^c-(.*)": "@/components/c-$1/c-$1.vue" |
5 | 5 | }, |
6 | 6 | "condition": { //模式配置,仅开发期间生效 |
7 | 7 | "current": 0, //当前激活的模式(list 的索引项) |
8 | 8 | "list": [{ |
9 | 9 | "name": "defult", //模式名称 |
10 | - "path": "pages/main/position/positionDetail/positionDetail", | |
11 | - "query": "jobId=1544925053173403649&brokerId=1000007" | |
10 | + "path": "pages/main/my/mobileLogin/mobileLogin", | |
11 | + "query": "" | |
12 | 12 | }] |
13 | 13 | }, |
14 | 14 | "pages": [{ |
... | ... | @@ -20,14 +20,40 @@ |
20 | 20 | } |
21 | 21 | }, |
22 | 22 | { |
23 | + "path": "pages/tabBar/internship/internship", | |
24 | + "style": { | |
25 | + "navigationStyle": "custom", | |
26 | + "navigationBarTitleText": "" | |
27 | + } | |
28 | + }, | |
29 | + { | |
23 | 30 | "path": "pages/tabBar/my/my", |
24 | 31 | "style": { |
25 | - "navigationStyle": "custom" | |
26 | - // "navigationBarTitleText": "校企职通车人人推" | |
32 | + "navigationStyle": "custom", | |
33 | + "navigationBarTitleText": "" | |
27 | 34 | } |
28 | 35 | } |
29 | 36 | ], |
30 | - "subPackages": [], | |
37 | + "subPackages": [{ | |
38 | + "root": "pages/main/my", | |
39 | + "pages": [{ | |
40 | + "path": "login/login", | |
41 | + "style": { | |
42 | + "navigationBarTitleText": "登录", | |
43 | + "enablePullDownRefresh": false | |
44 | + } | |
45 | + | |
46 | + }, | |
47 | + { | |
48 | + "path": "mobileLogin/mobileLogin", | |
49 | + "style": { | |
50 | + "navigationBarTitleText": "手机登录", | |
51 | + "enablePullDownRefresh": false | |
52 | + } | |
53 | + | |
54 | + } | |
55 | + ] | |
56 | + }], | |
31 | 57 | |
32 | 58 | "preloadRule": { |
33 | 59 | |
... | ... | @@ -49,15 +75,23 @@ |
49 | 75 | "height": "100rpx", |
50 | 76 | "fontSize": "40rpx", |
51 | 77 | "list": [{ |
52 | - "pagePath": "pages/tabBar/home/home", | |
53 | - "iconPath": "/static/img/tabbar/home.png", | |
54 | - "selectedIconPath": "/static/img/tabbar/homeHL.png", | |
55 | - "text": "首页" | |
56 | - }, { | |
57 | - "pagePath": "pages/tabBar/my/my", | |
58 | - "iconPath": "/static/img/tabbar/my.png", | |
59 | - "selectedIconPath": "/static/img/tabbar/myHL.png", | |
60 | - "text": "我的" | |
61 | - }] | |
78 | + "pagePath": "pages/tabBar/home/home", | |
79 | + "iconPath": "/static/img/icon/home.png", | |
80 | + "selectedIconPath": "/static/img/icon/homeHL.png", | |
81 | + "text": "首页" | |
82 | + }, | |
83 | + { | |
84 | + "pagePath": "pages/tabBar/internship/internship", | |
85 | + "iconPath": "/static/img/icon/position.png", | |
86 | + "selectedIconPath": "/static/img/icon/positionHL.png", | |
87 | + "text": "实习" | |
88 | + }, | |
89 | + { | |
90 | + "pagePath": "pages/tabBar/my/my", | |
91 | + "iconPath": "/static/img/icon/my.png", | |
92 | + "selectedIconPath": "/static/img/icon/myHL.png", | |
93 | + "text": "我的" | |
94 | + } | |
95 | + ] | |
62 | 96 | } |
63 | 97 | } | ... | ... |
pages/common/webview/webview.vue
0 → 100644
1 | +<template> | |
2 | + <page-meta> | |
3 | + <navigation-bar :title="nbTitle" :front-color="nbFrontColor" :background-color="nbBackgroundColor" /> | |
4 | + </page-meta> | |
5 | + <view> | |
6 | + <web-view :webview-styles="webviewStyles" :src="url"></web-view> | |
7 | + </view> | |
8 | +</template> | |
9 | + | |
10 | +<script> | |
11 | + export default { | |
12 | + data() { | |
13 | + return { | |
14 | + nbTitle: '', | |
15 | + nbFrontColor: '#000000', | |
16 | + nbBackgroundColor: '#ffffff', | |
17 | + url: "", | |
18 | + webviewStyles: { | |
19 | + progress: { | |
20 | + color: '#FF3333' | |
21 | + } | |
22 | + } | |
23 | + } | |
24 | + }, | |
25 | + | |
26 | + onLoad(option) { | |
27 | + console.log(option); | |
28 | + this.url = option.url; | |
29 | + this.nbTitle = option.navtitle; | |
30 | + }, | |
31 | + | |
32 | + methods: { | |
33 | + | |
34 | + } | |
35 | + } | |
36 | +</script> | |
37 | + | |
38 | +<style lang="scss" scoped> | |
39 | + | |
40 | +</style> | ... | ... |
pages/main/my/login/login.vue
0 → 100644
1 | +<template> | |
2 | + <view class="login"> | |
3 | + <u-image width="100%" height="100%" :src="vuex_baseImgUrl+'/logo_bg.png'" /> | |
4 | + | |
5 | + <view class="box"> | |
6 | + | |
7 | + <view class="logo"> | |
8 | + <u-image width="260rpx" height="140rpx" :src="vuex_baseImgUrl+'/logo.png'" /> | |
9 | + </view> | |
10 | + | |
11 | + <view class="btn button_warp"> | |
12 | + <c-button type="confirm" shape="circle" | |
13 | + :customStyle="{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}" text="微信一键登录" | |
14 | + :disabled="isDisable" openType="getPhoneNumber" @getPhoneNumber="getPhoneNumber" | |
15 | + @click="getUserProfile"></c-button> | |
16 | + </view> | |
17 | + | |
18 | + <view class="changeLogin" @click="handelMobileLogin"> | |
19 | + 手机号码登录/注册 | |
20 | + </view> | |
21 | + | |
22 | + <view class="agreement"> | |
23 | + <view class="check"> | |
24 | + <u-checkbox-group @change="checkboxChange" v-model="checked"> | |
25 | + <u-checkbox size="30" activeColor="#0CB17A" shape="circle"> | |
26 | + </u-checkbox> | |
27 | + </u-checkbox-group> | |
28 | + </view> | |
29 | + <view class="text"> | |
30 | + <text>您已阅读理解并同意</text> | |
31 | + <text class="span" @click="linkService">《优学乐业服务协议》、</text> | |
32 | + <text class="span" @click="linkPolicy">《优学乐业隐私政策》</text> | |
33 | + </view> | |
34 | + </view> | |
35 | + | |
36 | + </view> | |
37 | + </view> | |
38 | +</template> | |
39 | + | |
40 | +<script> | |
41 | + import { | |
42 | + mapState, | |
43 | + mapActions | |
44 | + } from 'vuex' | |
45 | + | |
46 | + export default { | |
47 | + data() { | |
48 | + return { | |
49 | + isDisable: true, | |
50 | + checked: [], | |
51 | + service: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
52 | + policy: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
53 | + form: { | |
54 | + mobile: '', | |
55 | + password: '', | |
56 | + }, | |
57 | + } | |
58 | + }, | |
59 | + | |
60 | + onLoad() { | |
61 | + const { | |
62 | + dispatch | |
63 | + } = this.$store; | |
64 | + | |
65 | + }, | |
66 | + | |
67 | + onShow() { | |
68 | + | |
69 | + }, | |
70 | + | |
71 | + watch: { | |
72 | + checked: function(newVal, oldVal) { | |
73 | + this.isDisable = newVal.length != 0 ? false : true; | |
74 | + | |
75 | + } | |
76 | + }, | |
77 | + | |
78 | + computed: { | |
79 | + ...mapState('user', { | |
80 | + // 箭头函数可使代码更简练 | |
81 | + isReg: 'isReg', | |
82 | + | |
83 | + }), | |
84 | + }, | |
85 | + | |
86 | + methods: { | |
87 | + | |
88 | + linkService() { | |
89 | + console.log(this) | |
90 | + this.$u.route({ | |
91 | + url: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`, | |
92 | + }) | |
93 | + }, | |
94 | + | |
95 | + linkPolicy() { | |
96 | + this.$u.route({ | |
97 | + url: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`, | |
98 | + }) | |
99 | + }, | |
100 | + | |
101 | + checkboxChange(n) { | |
102 | + console.log(n) | |
103 | + | |
104 | + }, | |
105 | + | |
106 | + getUserProfile() { | |
107 | + // 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认 | |
108 | + // 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗 | |
109 | + wx.getUserProfile({ | |
110 | + desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 | |
111 | + success: (res) => { | |
112 | + console.log('getUserProfile...', res) | |
113 | + // this.$store.commit('setWenxinUserInfo', res); | |
114 | + this.$u.vuex('vuex_weixinUserInfo', res.userInfo); | |
115 | + } | |
116 | + }) | |
117 | + }, | |
118 | + | |
119 | + getPhoneNumber(e) { | |
120 | + console.log(e) | |
121 | + | |
122 | + wx.login({ | |
123 | + success: (res) => { | |
124 | + console.log(res); | |
125 | + | |
126 | + // this.getUserProfile(); | |
127 | + | |
128 | + this.$store.dispatch(`user/login`, { | |
129 | + way: 'wechat_code', | |
130 | + type: 'student', | |
131 | + jsCode: res.code, | |
132 | + code: e.detail.code, | |
133 | + }) | |
134 | + } | |
135 | + }) | |
136 | + }, | |
137 | + | |
138 | + phoneLogin() { | |
139 | + this.$store.dispatch(`user/login`, { | |
140 | + way: 'name', | |
141 | + type: 'student', | |
142 | + username: this.form.mobile, | |
143 | + password: this.form.password, | |
144 | + }) | |
145 | + }, | |
146 | + | |
147 | + handelMobileLogin() { | |
148 | + this.$u.route({ | |
149 | + url: "/pages/main/my/mobileLogin/mobileLogin", | |
150 | + params: {} | |
151 | + }); | |
152 | + } | |
153 | + } | |
154 | + | |
155 | + } | |
156 | +</script> | |
157 | + | |
158 | +<style lang="scss" scoped> | |
159 | + .login { | |
160 | + width: 100%; | |
161 | + height: 100%; | |
162 | + position: relative; | |
163 | + | |
164 | + .box { | |
165 | + width: 100%; | |
166 | + height: 100%; | |
167 | + position: absolute; | |
168 | + top: 0; | |
169 | + left: 0; | |
170 | + | |
171 | + .logo { | |
172 | + padding: 156rpx 0 0 0; | |
173 | + width: 260rpx; | |
174 | + margin: 0 auto; | |
175 | + } | |
176 | + | |
177 | + .changeLogin { | |
178 | + width: 100%; | |
179 | + text-align: center; | |
180 | + margin: 48rpx 0 0 0; | |
181 | + font-size: 15px; | |
182 | + font-weight: 400; | |
183 | + color: rgba(0, 0, 0, 0.65); | |
184 | + } | |
185 | + | |
186 | + .agreement { | |
187 | + position: fixed; | |
188 | + left: 0; | |
189 | + bottom: 34rpx; | |
190 | + display: flex; | |
191 | + flex-direction: row; | |
192 | + justify-content: flex-start; | |
193 | + font-size: 24rpx; | |
194 | + margin: 30rpx 0 32rpx 0; | |
195 | + padding: 0 50rpx; | |
196 | + | |
197 | + .check { | |
198 | + width: 40rpx; | |
199 | + padding: 3rpx 0 0 0; | |
200 | + // display: inline-block; | |
201 | + } | |
202 | + | |
203 | + .text { | |
204 | + // display: inline-block; | |
205 | + color: rgba(0, 0, 0, 0.45); | |
206 | + | |
207 | + .span { | |
208 | + color: #0CB17A; | |
209 | + } | |
210 | + } | |
211 | + } | |
212 | + | |
213 | + .form { | |
214 | + margin: 30rpx 60rpx 0px; | |
215 | + } | |
216 | + | |
217 | + .btn { | |
218 | + margin-top: 200rpx; | |
219 | + padding: 0 48rpx; | |
220 | + } | |
221 | + | |
222 | + .wxLogin { | |
223 | + display: flex; | |
224 | + align-items: center; | |
225 | + flex-direction: column; | |
226 | + margin-top: 180rpx; | |
227 | + | |
228 | + button { | |
229 | + background-color: transparent; | |
230 | + } | |
231 | + | |
232 | + button::after { | |
233 | + border: initial | |
234 | + } | |
235 | + | |
236 | + image { | |
237 | + width: 96rpx; | |
238 | + height: 96rpx; | |
239 | + } | |
240 | + | |
241 | + text { | |
242 | + margin-top: 0rpx; | |
243 | + } | |
244 | + } | |
245 | + } | |
246 | + } | |
247 | +</style> | ... | ... |
pages/main/my/mobileLogin/mobileLogin.vue
0 → 100644
1 | +<template> | |
2 | + <view class="login"> | |
3 | + <view class="box"> | |
4 | + <view v-if="changeLogin == '账号密码登录'" class="form"> | |
5 | + <u-form :model="form" ref="uForm"> | |
6 | + <u-form-item prop="mobile" | |
7 | + :leftIconStyle="{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}" | |
8 | + left-icon="/static/img/my/login_mobile.png" borderBottom> | |
9 | + <u-input v-model="form.mobile" border="none" maxlength='11' placeholder="请输入手机号" | |
10 | + :customStyle="{fontSize:'17px'}" /> | |
11 | + </u-form-item> | |
12 | + <u-form-item prop="verifyCode" | |
13 | + :leftIconStyle="{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}" | |
14 | + left-icon="/static/img/my/login_code1.png" borderBottom> | |
15 | + <u-input v-model="form.password" border="none" placeholder="请输入验证码" | |
16 | + :customStyle="{fontSize:'17px'}" /> | |
17 | + <u-button type="default" size="mini" slot="right" :hair-line="false" | |
18 | + :custom-style="{color:'#0CB17A', border:'none',fontSize:'30rpx'}" @click="getCode"> | |
19 | + {{codeText}} | |
20 | + </u-button> | |
21 | + <u-code ref="uCode" @change="codeChange"></u-code> | |
22 | + </u-form-item> | |
23 | + </u-form> | |
24 | + </view> | |
25 | + <view v-else class="form"> | |
26 | + <u-form :model="form" ref="uForm"> | |
27 | + <u-form-item prop="mobile" | |
28 | + :left-icon-style="{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}" | |
29 | + left-icon="/static/img/my/login_mobile.png" borderBottom> | |
30 | + <u-input v-model="form.mobile" border="none" placeholder="请输入账号" | |
31 | + :customStyle="{fontSize:'17px'}" /> | |
32 | + </u-form-item> | |
33 | + <u-form-item prop="verifyCode" | |
34 | + :left-icon-style="{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}" | |
35 | + left-icon="/static/img/my/login_code2.png" borderBottom> | |
36 | + <u-input v-model="form.password" border="none" type='password' placeholder="请输入密码" | |
37 | + :customStyle="{fontSize:'17px'}" /> | |
38 | + </u-form-item> | |
39 | + </u-form> | |
40 | + </view> | |
41 | + | |
42 | + <view class="btn button_warp"> | |
43 | + <c-button type="confirm" shape="circle" | |
44 | + :customStyle="{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}" text="登录" | |
45 | + :disabled="isDisable" @click="phoneLogin"></c-button> | |
46 | + </view> | |
47 | + | |
48 | + <view class="changeLogin" @click="onchangeLogin"> | |
49 | + {{changeLogin}} | |
50 | + </view> | |
51 | + | |
52 | + <view class="agreement"> | |
53 | + <view class="check"> | |
54 | + <u-checkbox-group @change="checkboxChange" v-model="checked"> | |
55 | + <u-checkbox size="28" activeColor="#0CB17A" shape="circle"> | |
56 | + </u-checkbox> | |
57 | + </u-checkbox-group> | |
58 | + </view> | |
59 | + <view class="text"> | |
60 | + <text>您已阅读理解并同意</text> | |
61 | + <text class="span" @click="linkService">《优学乐业服务协议》、</text> | |
62 | + <text class="span" @click="linkPolicy">《优学乐业隐私政策》</text> | |
63 | + </view> | |
64 | + </view> | |
65 | + </view> | |
66 | + <view> | |
67 | + <u-toast ref="uToast" /> | |
68 | + </view> | |
69 | + </view> | |
70 | +</template> | |
71 | + | |
72 | +<script> | |
73 | + import { | |
74 | + mapState, | |
75 | + mapActions | |
76 | + } from 'vuex' | |
77 | + import { | |
78 | + getSmsCodeApi, | |
79 | + } from '@/config/api.js'; | |
80 | + import md5 from '@/common/md5'; | |
81 | + | |
82 | + export default { | |
83 | + data() { | |
84 | + return { | |
85 | + errorType: ['toast'], | |
86 | + isDisable: true, | |
87 | + checked: [], | |
88 | + service: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
89 | + policy: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
90 | + form: { | |
91 | + mobile: '', | |
92 | + password: '', | |
93 | + }, | |
94 | + changeLogin: '账号密码登录', | |
95 | + codeText: '发送验证码', | |
96 | + } | |
97 | + }, | |
98 | + | |
99 | + onLoad() { | |
100 | + const { | |
101 | + dispatch | |
102 | + } = this.$store; | |
103 | + | |
104 | + }, | |
105 | + | |
106 | + onShow() { | |
107 | + | |
108 | + }, | |
109 | + | |
110 | + watch: { | |
111 | + checked: function(newVal, oldVal) { | |
112 | + this.isDisable = newVal.length != 0 ? false : true; | |
113 | + | |
114 | + } | |
115 | + }, | |
116 | + | |
117 | + | |
118 | + computed: { | |
119 | + ...mapState('user', { | |
120 | + // 箭头函数可使代码更简练 | |
121 | + isReg: 'isReg', | |
122 | + | |
123 | + }), | |
124 | + }, | |
125 | + | |
126 | + methods: { | |
127 | + | |
128 | + onchangeLogin() { | |
129 | + if (this.changeLogin == '验证码登录') { | |
130 | + this.changeLogin = '账号密码登录'; | |
131 | + } else { | |
132 | + this.changeLogin = '验证码登录'; | |
133 | + } | |
134 | + }, | |
135 | + | |
136 | + linkService() { | |
137 | + console.log(this) | |
138 | + this.$u.route({ | |
139 | + url: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`, | |
140 | + }) | |
141 | + }, | |
142 | + | |
143 | + linkPolicy() { | |
144 | + this.$u.route({ | |
145 | + url: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`, | |
146 | + }) | |
147 | + }, | |
148 | + | |
149 | + checkboxChange(n) { | |
150 | + // console.log(n) | |
151 | + }, | |
152 | + | |
153 | + getUserProfile() { | |
154 | + // 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认 | |
155 | + // 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗 | |
156 | + wx.getUserProfile({ | |
157 | + desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 | |
158 | + success: (res) => { | |
159 | + console.log('getUserProfile...', res) | |
160 | + // this.$store.commit('setWenxinUserInfo', res); | |
161 | + this.$u.vuex('vuex_weixinUserInfo', res.userInfo); | |
162 | + } | |
163 | + }) | |
164 | + }, | |
165 | + | |
166 | + codeChange(text) { | |
167 | + this.codeText = text; | |
168 | + }, | |
169 | + | |
170 | + getCode() { | |
171 | + const { | |
172 | + mobile = '' | |
173 | + } = this.form; | |
174 | + | |
175 | + if (!(mobile && /^1[0-9]{10}$/.test(mobile))) { | |
176 | + this.$refs.uToast.show({ | |
177 | + message: '请填写正确手机号', | |
178 | + type: 'error', | |
179 | + duration: 1500, | |
180 | + }) | |
181 | + | |
182 | + } else { | |
183 | + if (this.$refs.uCode.canGetCode) { | |
184 | + // 模拟向后端请求验证码 | |
185 | + uni.showLoading({ | |
186 | + title: '正在获取验证码' | |
187 | + }) | |
188 | + setTimeout(() => { | |
189 | + uni.hideLoading(); | |
190 | + // 通知验证码组件内部开始倒计时 | |
191 | + this.$refs.uCode.start(); | |
192 | + | |
193 | + console.log(mobile) | |
194 | + | |
195 | + getSmsCodeApi({ | |
196 | + phone: mobile | |
197 | + }) | |
198 | + | |
199 | + }, 1000); | |
200 | + } else { | |
201 | + this.$u.toast('倒计时结束后再发送'); | |
202 | + } | |
203 | + } | |
204 | + }, | |
205 | + | |
206 | + phoneLogin() { | |
207 | + // this.getUserProfile(); | |
208 | + if (this.changeLogin == '账号密码登录') { | |
209 | + this.$store.dispatch(`user/login`, { | |
210 | + way: 'code', | |
211 | + type: 'student', | |
212 | + phone: this.form.mobile, | |
213 | + code: this.form.password, | |
214 | + }) | |
215 | + } else { | |
216 | + console.log(md5.hex_md5(this.form.password)); | |
217 | + this.$store.dispatch(`user/login`, { | |
218 | + way: 'name', | |
219 | + type: 'student', | |
220 | + username: this.form.mobile, | |
221 | + password: md5.hex_md5(this.form.password), | |
222 | + }) | |
223 | + } | |
224 | + }, | |
225 | + } | |
226 | + | |
227 | + } | |
228 | +</script> | |
229 | + | |
230 | +<style lang="scss" scoped> | |
231 | + .login { | |
232 | + width: 100%; | |
233 | + height: 100%; | |
234 | + position: relative; | |
235 | + | |
236 | + .box { | |
237 | + width: 100%; | |
238 | + height: 100%; | |
239 | + position: absolute; | |
240 | + top: 0; | |
241 | + left: 0; | |
242 | + | |
243 | + .logo { | |
244 | + padding: 156rpx 0 0 0; | |
245 | + width: 120rpx; | |
246 | + margin: 0 auto; | |
247 | + } | |
248 | + | |
249 | + .name { | |
250 | + margin: 32rpx 0 0 0; | |
251 | + text-align: center; | |
252 | + font-size: 48rpx; | |
253 | + line-height: 66rpx; | |
254 | + color: #000000; | |
255 | + font-weight: 600; | |
256 | + } | |
257 | + | |
258 | + .changeLogin { | |
259 | + width: 100%; | |
260 | + text-align: center; | |
261 | + margin: 48rpx 0 0 0; | |
262 | + font-size: 15px; | |
263 | + font-weight: 400; | |
264 | + color: #0CB17A; | |
265 | + } | |
266 | + | |
267 | + .agreement { | |
268 | + position: fixed; | |
269 | + left: 0; | |
270 | + bottom: 34rpx; | |
271 | + display: flex; | |
272 | + flex-direction: row; | |
273 | + justify-content: flex-start; | |
274 | + font-size: 24rpx; | |
275 | + margin: 30rpx 0 32rpx 0; | |
276 | + padding: 0 50rpx; | |
277 | + | |
278 | + .check { | |
279 | + width: 40rpx; | |
280 | + padding: 5rpx 0 0 0; | |
281 | + // display: inline-block; | |
282 | + } | |
283 | + | |
284 | + .text { | |
285 | + // display: inline-block; | |
286 | + color: rgba(0, 0, 0, 0.45); | |
287 | + | |
288 | + .span { | |
289 | + color: #0CB17A; | |
290 | + } | |
291 | + } | |
292 | + } | |
293 | + | |
294 | + .form { | |
295 | + margin: 128rpx 60rpx 0px; | |
296 | + } | |
297 | + | |
298 | + .btn { | |
299 | + margin-top: 128rpx; | |
300 | + padding: 0 48rpx; | |
301 | + } | |
302 | + | |
303 | + .wxLogin { | |
304 | + display: flex; | |
305 | + align-items: center; | |
306 | + flex-direction: column; | |
307 | + margin-top: 180rpx; | |
308 | + | |
309 | + button { | |
310 | + background-color: transparent; | |
311 | + } | |
312 | + | |
313 | + button::after { | |
314 | + border: initial | |
315 | + } | |
316 | + | |
317 | + image { | |
318 | + width: 96rpx; | |
319 | + height: 96rpx; | |
320 | + } | |
321 | + | |
322 | + text { | |
323 | + margin-top: 0rpx; | |
324 | + } | |
325 | + } | |
326 | + } | |
327 | + } | |
328 | +</style> | ... | ... |
... | ... | @@ -5,10 +5,6 @@ |
5 | 5 | </template> |
6 | 6 | |
7 | 7 | <script> |
8 | - import { | |
9 | - postMenu, | |
10 | - getMenu | |
11 | - } from '@/config/api.js'; | |
12 | 8 | |
13 | 9 | export default { |
14 | 10 | data() { |
... | ... | @@ -18,16 +14,7 @@ |
18 | 14 | }, |
19 | 15 | |
20 | 16 | onLoad() { |
21 | - // 发出post,假设需要带上token | |
22 | - postMenu({ | |
23 | - custom: { | |
24 | - auth: true | |
25 | - } | |
26 | - }).then(() => { | |
27 | - | |
28 | - }).catch(() => { | |
29 | - | |
30 | - }) | |
17 | + | |
31 | 18 | }, |
32 | 19 | |
33 | 20 | onShow() { | ... | ... |
pages/tabBar/internship/internship.vue
0 → 100644
1 | +<template> | |
2 | + <view class="internship"> | |
3 | + | |
4 | + </view> | |
5 | +</template> | |
6 | + | |
7 | +<script> | |
8 | + | |
9 | + export default { | |
10 | + data() { | |
11 | + return { | |
12 | + | |
13 | + }; | |
14 | + }, | |
15 | + | |
16 | + onLoad() {}, | |
17 | + | |
18 | + async onShow() { | |
19 | + | |
20 | + }, | |
21 | + | |
22 | + methods: { | |
23 | + | |
24 | + }, | |
25 | + }; | |
26 | +</script> | |
27 | + | |
28 | +<style lang="scss" scoped> | |
29 | + | |
30 | + | |
31 | +</style> | ... | ... |
static/img/common/arrow-down.png
已删除
100644 → 0
254 Bytes
static/img/common/arrow_left.png
已删除
100644 → 0
431 Bytes
static/img/common/arrow_right.png
已删除
100644 → 0
425 Bytes
static/img/common/call-phone.png
已删除
100644 → 0
1.3 KB
static/img/common/chat-white.png
已删除
100644 → 0
1.1 KB
static/img/common/chat.png
已删除
100644 → 0
820 Bytes
static/img/common/delete.png
已删除
100644 → 0
770 Bytes
static/img/common/link.png
已删除
100644 → 0
754 Bytes
static/img/common/location.png
已删除
100644 → 0
1.1 KB
static/img/common/logo.png
已删除
100644 → 0
15.7 KB
static/img/my/login_code1.png
0 → 100644
1.3 KB
static/img/my/login_code2.png
0 → 100644
931 Bytes
static/img/my/login_mobile.png
0 → 100644
1.4 KB
static/img/page/allsel.png
已删除
100644 → 0
838 Bytes
static/img/page/arrow.png
已删除
100644 → 0
271 Bytes
static/img/page/avator.png
已删除
100644 → 0
2.8 KB
static/img/page/delete.png
已删除
100644 → 0
479 Bytes
static/img/page/fbgw.png
已删除
100644 → 0
1.3 KB
static/img/page/fbzyBg.png
已删除
100644 → 0
28.3 KB
static/img/page/fbzyBg1.png
已删除
100644 → 0
2.5 KB
static/img/page/finish.png
已删除
100644 → 0
6.6 KB
static/img/page/focus.png
已删除
100644 → 0
497 Bytes
static/img/page/hbbg.png
已删除
100644 → 0
21.2 KB
static/img/page/hbshare.png
已删除
100644 → 0
1.2 KB
static/img/page/header-bg.png
已删除
100644 → 0
16.1 KB
static/img/page/home-bg.png
已删除
100644 → 0
12.1 KB
static/img/page/home-bg1.png
已删除
100644 → 0
11.5 KB
static/img/page/home-bg2.png
已删除
100644 → 0
3.0 KB
static/img/page/home-chat.png
已删除
100644 → 0
1.7 KB
static/img/page/home-img.png
已删除
100644 → 0
24.0 KB
static/img/page/home-recommend.png
已删除
100644 → 0
1.6 KB
static/img/page/icon-company.png
已删除
100644 → 0
535 Bytes
static/img/page/icon-focus.png
已删除
100644 → 0
328 Bytes
static/img/page/mcardB.png
已删除
100644 → 0
3.4 KB
static/img/page/mycard.png
已删除
100644 → 0
2.8 KB
static/img/page/nosel.png
已删除
100644 → 0
799 Bytes
static/img/page/playbillBg.png
已删除
100644 → 0
1.8 KB
static/img/page/qiye.png
已删除
100644 → 0
673 Bytes
static/img/page/resource-bg.png
已删除
100644 → 0
2.3 KB
static/img/page/setting.png
已删除
100644 → 0
342 Bytes
static/img/page/share.png
已删除
100644 → 0
2.2 KB
static/img/page/share_dowload.png
已删除
100644 → 0
1.7 KB
static/img/page/share_moments.png
已删除
100644 → 0
2.3 KB
static/img/page/share_weixin.png
已删除
100644 → 0
1.8 KB
static/img/page/sharemini.png
已删除
100644 → 0
1.0 KB
static/img/page/studenticon1.png
已删除
100644 → 0
680 Bytes
static/img/page/studenticon2.png
已删除
100644 → 0
890 Bytes
static/img/page/studenticon3.png
已删除
100644 → 0
792 Bytes
static/img/page/tjbg.png
已删除
100644 → 0
19.9 KB
static/img/page/tjbg1.png
已删除
100644 → 0
36.5 KB
static/img/page/tjbgicon.png
已删除
100644 → 0
1.2 KB
static/img/page/tjly_img.png
已删除
100644 → 0
2.5 KB
static/img/page/tjrz.png
已删除
100644 → 0
1.3 KB
static/img/page/tjschool.png
已删除
100644 → 0
15.6 KB
static/img/page/tjsxs.png
已删除
100644 → 0
1.4 KB
static/img/page/tx.png
已删除
100644 → 0
1.1 KB
static/img/page/wallet.png
已删除
100644 → 0
1.3 KB
static/img/page/wdmp.png
已删除
100644 → 0
5.4 KB
static/img/page/weixin.png
已删除
100644 → 0
1.3 KB
static/img/page/wxshare.png
已删除
100644 → 0
1.6 KB
static/img/page/ydy.png
已删除
100644 → 0
649 Bytes
static/img/page/zhgl.png
已删除
100644 → 0
724 Bytes
static/img/tabbar/float-chat.png
已删除
100644 → 0
3.9 KB
static/img/tabbar/float-phone.png
已删除
100644 → 0
4.2 KB
static/img/tabbar/resource.png
已删除
100644 → 0
408 Bytes
static/img/tabbar/resourceHL.png
已删除
100644 → 0
1.4 KB
... | ... | @@ -35,7 +35,7 @@ const store = new Vuex.Store({ |
35 | 35 | position, |
36 | 36 | }, |
37 | 37 | state: { |
38 | - vuex_appId: 'wx5177bff86a427016', | |
38 | + vuex_appId: 'wx84b71301436652ce', | |
39 | 39 | vuex_corpId: 'ww4300c59cb9537f9e',//企业ID |
40 | 40 | // 如果上面从本地获取的lifeData对象下有对应的属性,就赋值给state中对应的变量 |
41 | 41 | // 加上vuex_前缀,是防止变量名冲突,也让人一目了然 |
... | ... | @@ -46,7 +46,7 @@ const store = new Vuex.Store({ |
46 | 46 | // 如果vuex_version无需保存到本地永久存储,无需lifeData.vuex_version方式 |
47 | 47 | vuex_version: '1.0.1', |
48 | 48 | vuex_demo: '绛紫', |
49 | - vuex_baseImgUrl: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/job-sharing", | |
49 | + vuex_baseImgUrl: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/yxly-teacher", | |
50 | 50 | vuex_ossUrl: "https://yxly.oss-cn-beijing.aliyuncs.com", |
51 | 51 | vuex_ossUrlPubilc: "https://yxlypublic.oss-cn-beijing.aliyuncs.com", |
52 | 52 | vuex_customer_chatUrl:"https://work.weixin.qq.com/kfid/kfc04063cd2d1081221",//企业微信客服 | ... | ... |
1 | -const state = () => ({ | |
2 | - openid: '', | |
3 | - isReg: '', | |
4 | - id: '', | |
5 | - name: '', | |
6 | - number: '', | |
7 | - password: '', | |
8 | - phone: '', | |
9 | - status: '', | |
10 | - type: '', | |
11 | - username: '', | |
12 | - userBasicInfo: {}, | |
13 | - | |
14 | -}) | |
15 | - | |
16 | -// getters | |
17 | -const getters = { | |
18 | - // doneOpenid: (state, getters, rootState) => { | |
19 | - // return state.openid | |
20 | - // }, | |
21 | -} | |
22 | - | |
23 | -// actions | |
24 | -const actions = { | |
25 | - | |
26 | - async login({ | |
27 | - commit, | |
28 | - dispatch, | |
29 | - state | |
30 | - }, params) { | |
31 | - const login_result = await uni.$u.api.getLoginApi({ | |
32 | - ...params | |
33 | - }); | |
34 | - | |
35 | - if (login_result) { | |
1 | +import { | |
2 | + postTokenApi, | |
3 | + getUserInfoApi, | |
4 | + } from '@/config/api.js'; | |
5 | + | |
6 | + const state = () => ({ | |
7 | + openid: '', | |
8 | + isReg: '', | |
9 | + id: '', | |
10 | + name: '', | |
11 | + number: '', | |
12 | + password: '', | |
13 | + phone: '', | |
14 | + status: '', | |
15 | + type: '', | |
16 | + username: '', | |
17 | + userBasicInfo: {}, | |
18 | + | |
19 | + }) | |
20 | + | |
21 | + const getters = { | |
22 | + // doneOpenid: (state, getters, rootState) => { | |
23 | + // return state.openid | |
24 | + // }, | |
25 | + } | |
26 | + | |
27 | + // actions | |
28 | + const actions = { | |
29 | + | |
30 | + async login({ | |
31 | + commit, | |
32 | + dispatch, | |
33 | + state | |
34 | + }, params) { | |
35 | + const login_result = await postTokenApi({ | |
36 | + ...params | |
37 | + }, { | |
38 | + custom: { | |
39 | + auth: false | |
40 | + } | |
41 | + }); | |
36 | 42 | |
37 | - let vuex_token = `Bearer ${login_result.access_token}` | |
38 | - await uni.$u.vuex('vuex_token', vuex_token); | |
39 | - await uni.$u.vuex('vuex_phone', login_result.phone); | |
40 | - | |
41 | - switch (login_result.status) { | |
42 | - | |
43 | - case 'not_reg': //未注册 | |
44 | - // uni.$u.route({ | |
45 | - // url: '/pages/student/my/login/login', | |
46 | - // type: 'reLaunch', | |
47 | - // }); | |
48 | - break; | |
49 | - | |
50 | - case 'annulled': //已注销 | |
51 | - // uni.$u.route({ | |
52 | - // url: '/pages/student/my/written-off/written-off', | |
53 | - // type: 'navigateTo', | |
54 | - // }); | |
55 | - break; | |
56 | - | |
57 | - case 'annulling': //注销中 | |
58 | - uni.$u.route({ | |
59 | - url: '/pages/common/login/login', | |
60 | - // type: 'navigateTo', | |
61 | - }); | |
62 | - break; | |
63 | - | |
64 | - case 'active': //已注册 | |
65 | - const userInfo = await dispatch(`getUserInfo`); | |
66 | - | |
67 | - if (userInfo) { | |
68 | - uni.navigateBack({ | |
69 | - delta: 1 | |
70 | - }); | |
71 | - } | |
72 | - | |
73 | - break; | |
74 | - } | |
75 | - | |
76 | - return login_result; | |
77 | - } | |
78 | - | |
79 | - | |
80 | - }, | |
81 | - | |
82 | - async loginOut({ | |
83 | - commit, | |
84 | - dispatch, | |
85 | - state | |
86 | - }, params) { | |
87 | - console.log('loginOut') | |
88 | - await uni.$u.vuex('vuex_user', ''); | |
89 | - await uni.$u.vuex('vuex_token', ''); | |
90 | - await uni.setStorageSync('lifeData', {}); | |
91 | - | |
92 | - uni.$u.route('/pages/common/login/login'); | |
93 | - }, | |
94 | - | |
95 | - async getUserInfo({ | |
96 | - commit, | |
97 | - dispatch, | |
98 | - state | |
99 | - }, params) { | |
100 | - | |
101 | - const userInfo = await uni.$u.api.getUserApi(); | |
102 | - await uni.$u.vuex('vuex_user', userInfo); | |
103 | - | |
104 | - return userInfo; | |
105 | - }, | |
106 | -} | |
107 | - | |
108 | -// mutations | |
109 | -const mutations = { | |
110 | - | |
111 | - setUserInfo(state, userInfo) { | |
112 | - state.id = userInfo.id; | |
113 | - state.name = userInfo.name; | |
114 | - state.phone = userInfo.phone; | |
115 | - state.username = userInfo.username; | |
116 | - state.userBasicInfo = userInfo.userBasicInfo; | |
117 | - }, | |
118 | -} | |
119 | - | |
120 | -export default { | |
121 | - namespaced: true, | |
122 | - state, | |
123 | - getters, | |
124 | - actions, | |
125 | - mutations | |
126 | -} | |
43 | + console.log(login_result) | |
44 | + | |
45 | + if (login_result) { | |
46 | + | |
47 | + let vuex_token = `Bearer ${login_result.access_token}` | |
48 | + await uni.$u.vuex('vuex_token', vuex_token); | |
49 | + await uni.$u.vuex('vuex_phone', login_result.phone); | |
50 | + | |
51 | + switch (login_result.status) { | |
52 | + | |
53 | + case 'not_reg': //未注册 | |
54 | + uni.$u.route({ | |
55 | + url: '/pages/student/my/login/login', | |
56 | + type: 'reLaunch', | |
57 | + }); | |
58 | + break; | |
59 | + | |
60 | + case 'annulled': //已注销 | |
61 | + uni.$u.route({ | |
62 | + url: '/pages/student/my/written-off/written-off', | |
63 | + type: 'navigateTo', | |
64 | + }); | |
65 | + break; | |
66 | + | |
67 | + case 'annulling': //注销中 | |
68 | + uni.$u.route({ | |
69 | + url: '/pages/student/my/freezing/freezing', | |
70 | + type: 'navigateTo', | |
71 | + }); | |
72 | + break; | |
73 | + | |
74 | + case 'active': //已注册 | |
75 | + const userInfo = await dispatch(`getUserInfo`); | |
76 | + | |
77 | + // if (userInfo) { | |
78 | + // const { | |
79 | + // student = {} | |
80 | + // } = userInfo; | |
81 | + // if (student && JSON.stringify(student) != '{}' && student.status == 'verified') { | |
82 | + // uni.$u.route({ | |
83 | + // url: 'pages/student/tabBar/internship/internship', | |
84 | + // type: 'switchTab', | |
85 | + // params: { | |
86 | + | |
87 | + // } | |
88 | + // }) | |
89 | + | |
90 | + // } else { | |
91 | + // uni.$u.route({ | |
92 | + // url: `/pages/student/my/student-status-certification/student-status-certification`, | |
93 | + // type: 'reLaunch', | |
94 | + // params: { | |
95 | + | |
96 | + // } | |
97 | + // }) | |
98 | + // } | |
99 | + // } | |
100 | + | |
101 | + break; | |
102 | + } | |
103 | + | |
104 | + return login_result; | |
105 | + } | |
106 | + | |
107 | + | |
108 | + }, | |
109 | + | |
110 | + async loginOut({ | |
111 | + commit, | |
112 | + dispatch, | |
113 | + state | |
114 | + }, params) { | |
115 | + | |
116 | + await uni.$u.vuex('vuex_user', {}); | |
117 | + await uni.$u.vuex('vuex_token', {}); | |
118 | + await uni.setStorageSync('lifeData', {}); | |
119 | + | |
120 | + uni.$u.route('/pages/student/my/login/login'); | |
121 | + }, | |
122 | + | |
123 | + async getUserInfo({ | |
124 | + commit, | |
125 | + dispatch, | |
126 | + state | |
127 | + }, params) { | |
128 | + | |
129 | + const userInfo = await getUserInfoApi(); | |
130 | + | |
131 | + uni.$u.vuex('vuex_user', userInfo); | |
132 | + | |
133 | + return userInfo; | |
134 | + }, | |
135 | + } | |
136 | + | |
137 | + // mutations | |
138 | + const mutations = { | |
139 | + | |
140 | + setUserInfo(state, userInfo) { | |
141 | + state.id = userInfo.id; | |
142 | + state.name = userInfo.name; | |
143 | + state.phone = userInfo.phone; | |
144 | + state.username = userInfo.username; | |
145 | + state.userBasicInfo = userInfo.userBasicInfo; | |
146 | + }, | |
147 | + } | |
148 | + | |
149 | + export default { | |
150 | + namespaced: true, | |
151 | + state, | |
152 | + getters, | |
153 | + actions, | |
154 | + mutations | |
155 | + } | ... | ... |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?b305","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?1193","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?5605","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?3956","uni-app:///App.vue","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?f66f","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?60da"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","App","mpType","prototype","vuePrototype","use","uView","uni","$u","unit","vuexStore","require","mixin","mpShare","VueI18n","i18n","locale","messages","Chinese","English","_i18n","app","store","validate","$mount"],"mappings":";;;;;;;;;sDAAA;;AAE2D,qEAAgD;AAC3G;;;;;;;;;;AAUA;;;;;;AAMA;;;;;;;;;;;;AAYA;AACA;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,6F,ynCAnEA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B,CAEAC,aAAIC,MAAJ,GAAa,KAAb,C,CAEA;AACAJ,aAAIK,SAAJ,CAAcC,YAAd,GAA6B,IAA7B,C,CAEA;AAEAN,aAAIO,GAAJ,CAAQC,gBAAR,E,CACA;AACAC,GAAG,CAACC,EAAJ,CAAOT,MAAP,CAAcU,IAAd,GAAqB,KAArB,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,iyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACcvzB;AACA;AACA;AACA,gBADA,EAFA;;;AAMA,UANA,sBAMA;;AAEA,GARA;;AAUA,QAVA,oBAUA;AACA;AACA,GAZA;;AAcA,aAdA,E;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAA0+C,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;ACA9/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';import Vue from 'vue';\nimport App from './App';\n\nVue.config.productionTip = false;\n\nApp.mpType = 'app';\n\n// 此处为演示Vue.prototype使用,非uView的功能部分\nVue.prototype.vuePrototype = '枣红';\n\n// 引入全局uView\nimport uView from '@/uni_modules/uview-ui'\nVue.use(uView)\n// 如此配置即可\nuni.$u.config.unit = 'rpx'\n\n// 此处为演示vuex使用,非uView的功能部分\nimport store from '@/store';\n\n// 引入uView提供的对vuex的简写法文件\nlet vuexStore = require('@/store/$u.mixin.js');\nVue.mixin(vuexStore);\n\n// 引入uView对小程序分享的mixin封装\nlet mpShare = require('@/uni_modules/uview-ui/libs/mixin/mpShare.js');\nVue.mixin(mpShare);\n\n// i18n部分的配置\n// 引入语言包,注意路径\nimport Chinese from '@/common/locales/zh.js';\nimport English from '@/common/locales/en.js';\n\n// VueI18n\nimport VueI18n from '@/common/vue-i18n.min.js';\n\n// VueI18n\nVue.use(VueI18n);\n\nconst i18n = new VueI18n({\n\t// 默认语言\n\tlocale: 'zh',\n\t// 引入语言文件\n\tmessages: {\n\t\t'zh': Chinese,\n\t\t'en': English,\n\t}\n});\n\n// 由于微信小程序的运行机制问题,需声明如下一行,H5和APP非必填\nVue.prototype._i18n = i18n;\n\nconst app = new Vue({\n\ti18n,\n\tstore,\n\t...App\n});\n\n// // http拦截器,将此部分放在new Vue()和app.$mount()之间,才能App.vue中正常使用\n// import httpInterceptor from '@/common/http.interceptor.js';\n// Vue.use(httpInterceptor, app);\n\n// // http接口API抽离,免于写url或者一些固定的参数\n// import httpApi from '@/common/http.api.js';\n// Vue.use(httpApi, app);\n\n// 自定义验证规则\nimport validate from '@/common/validate.js';\nVue.use(validate, app);\n\n// 引入请求封装,将app参数传递到配置中\nrequire('@/config/request.js')(app);\n\napp.$mount();","import { render, staticRenderFns, recyclableRender, components } from \"./App.vue?vue&type=template&id=472cff63&\"\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","export * from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=template&id=472cff63&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<!--\r\n * @Descripttion: \r\n * @version: 0.0.0\r\n * @Author: genglw\r\n * @Date: 2022-01-29 16:40:40\r\n * @LastEditors: genglw\r\n * @LastEditTime: 2022-02-18 14:06:28\r\n-->\r\n<template>\r\n\t<view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\t// 此处globalData为了演示其作用,不是uView框架的一部分\r\n\t\tglobalData: {\r\n\t\t\tusername: ''\r\n\t\t},\r\n\r\n\t\tonLaunch() {\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\t\t\tconsole.log(\"App onshow\")\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t},\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"@/uni_modules/uview-ui/index.scss\";\r\n\t@import '@/static/common/css/icon.css';\r\n</style>\n","import mod from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657617031504\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file | ||
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?b305","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?1193","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?5605","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?3956","uni-app:///App.vue","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?f66f","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?60da"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","App","mpType","prototype","vuePrototype","use","uView","uni","$u","unit","vuexStore","require","mixin","mpShare","VueI18n","i18n","locale","messages","Chinese","English","_i18n","app","store","validate","$mount"],"mappings":";;;;;;;;;sDAAA;;AAE2D,qEAAgD;AAC3G;;;;;;;;;;AAUA;;;;;;AAMA;;;;;;;;;;;;AAYA;AACA;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,6F,ynCAnEA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B,CAEAC,aAAIC,MAAJ,GAAa,KAAb,C,CAEA;AACAJ,aAAIK,SAAJ,CAAcC,YAAd,GAA6B,IAA7B,C,CAEA;AAEAN,aAAIO,GAAJ,CAAQC,gBAAR,E,CACA;AACAC,GAAG,CAACC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ACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAmyB,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;ACevzB;AACA;AACA;AACA,gBADA,EAFA;;;AAMA,UANA,sBAMA;;AAEA,GARA;;AAUA,QAVA,oBAUA;AACA;AACA,GAZA;;AAcA,aAdA,E;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAA0+C,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;ACA9/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';import Vue from 'vue';\nimport App from './App';\n\nVue.config.productionTip = false;\n\nApp.mpType = 'app';\n\n// 此处为演示Vue.prototype使用,非uView的功能部分\nVue.prototype.vuePrototype = '枣红';\n\n// 引入全局uView\nimport uView from '@/uni_modules/uview-ui'\nVue.use(uView)\n// 如此配置即可\nuni.$u.config.unit = 'rpx'\n\n// 此处为演示vuex使用,非uView的功能部分\nimport store from '@/store';\n\n// 引入uView提供的对vuex的简写法文件\nlet vuexStore = require('@/store/$u.mixin.js');\nVue.mixin(vuexStore);\n\n// 引入uView对小程序分享的mixin封装\nlet mpShare = require('@/uni_modules/uview-ui/libs/mixin/mpShare.js');\nVue.mixin(mpShare);\n\n// i18n部分的配置\n// 引入语言包,注意路径\nimport Chinese from '@/common/locales/zh.js';\nimport English from '@/common/locales/en.js';\n\n// VueI18n\nimport VueI18n from '@/common/vue-i18n.min.js';\n\n// VueI18n\nVue.use(VueI18n);\n\nconst i18n = new VueI18n({\n\t// 默认语言\n\tlocale: 'zh',\n\t// 引入语言文件\n\tmessages: {\n\t\t'zh': Chinese,\n\t\t'en': English,\n\t}\n});\n\n// 由于微信小程序的运行机制问题,需声明如下一行,H5和APP非必填\nVue.prototype._i18n = i18n;\n\nconst app = new Vue({\n\ti18n,\n\tstore,\n\t...App\n});\n\n// // http拦截器,将此部分放在new Vue()和app.$mount()之间,才能App.vue中正常使用\n// import httpInterceptor from '@/common/http.interceptor.js';\n// Vue.use(httpInterceptor, app);\n\n// // http接口API抽离,免于写url或者一些固定的参数\n// import httpApi from '@/common/http.api.js';\n// Vue.use(httpApi, app);\n\n// 自定义验证规则\nimport validate from '@/common/validate.js';\nVue.use(validate, app);\n\n// 引入请求封装,将app参数传递到配置中\nrequire('@/config/request.js')(app);\n\napp.$mount();","import { render, staticRenderFns, recyclableRender, components } from \"./App.vue?vue&type=template&id=472cff63&\"\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","export * from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=template&id=472cff63&\"","var components\ntry {\n components = {\n uToast: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-toast/u-toast\" */ \"@/uni_modules/uview-ui/components/u-toast/u-toast.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<!--\r\n * @Descripttion: \r\n * @version: 0.0.0\r\n * @Author: genglw\r\n * @Date: 2022-01-29 16:40:40\r\n * @LastEditors: genglw\r\n * @LastEditTime: 2022-02-18 14:06:28\r\n-->\r\n<template>\r\n\t<view>\n\t\t<u-toast ref=\"uToast\" />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\t// 此处globalData为了演示其作用,不是uView框架的一部分\r\n\t\tglobalData: {\r\n\t\t\tusername: ''\r\n\t\t},\r\n\r\n\t\tonLaunch() {\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\t\t\tconsole.log(\"App onshow\")\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t},\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"@/uni_modules/uview-ui/index.scss\";\r\n\t@import '@/static/css/icon.css';\r\n</style>\n","import mod from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657699073852\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | -{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} | |
\ No newline at end of file | ||
1 | +{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,uBAAuB,8nDAA8nD;QACrpD;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"common/runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + chunkId + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"uni_modules/uview-ui/components/u-toast/u-toast\":1,\"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\":1,\"uni_modules/uview-ui/components/u-checkbox/u-checkbox\":1,\"uni_modules/uview-ui/components/u-image/u-image\":1,\"uni_modules/uview-ui/components/u-button/u-button\":1,\"uni_modules/uview-ui/components/u-code/u-code\":1,\"uni_modules/uview-ui/components/u-form-item/u-form-item\":1,\"uni_modules/uview-ui/components/u-input/u-input\":1,\"uni_modules/uview-ui/components/u-gap/u-gap\":1,\"uni_modules/uview-ui/components/u-icon/u-icon\":1,\"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\":1,\"uni_modules/uview-ui/components/u-overlay/u-overlay\":1,\"uni_modules/uview-ui/components/u-transition/u-transition\":1,\"uni_modules/uview-ui/components/u-line/u-line\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"\" + ({\"uni_modules/uview-ui/components/u-toast/u-toast\":\"uni_modules/uview-ui/components/u-toast/u-toast\",\"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\":\"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\",\"uni_modules/uview-ui/components/u-checkbox/u-checkbox\":\"uni_modules/uview-ui/components/u-checkbox/u-checkbox\",\"uni_modules/uview-ui/components/u-image/u-image\":\"uni_modules/uview-ui/components/u-image/u-image\",\"components/c-button/c-button\":\"components/c-button/c-button\",\"uni_modules/uview-ui/components/u-button/u-button\":\"uni_modules/uview-ui/components/u-button/u-button\",\"uni_modules/uview-ui/components/u-code/u-code\":\"uni_modules/uview-ui/components/u-code/u-code\",\"uni_modules/uview-ui/components/u-form-item/u-form-item\":\"uni_modules/uview-ui/components/u-form-item/u-form-item\",\"uni_modules/uview-ui/components/u-form/u-form\":\"uni_modules/uview-ui/components/u-form/u-form\",\"uni_modules/uview-ui/components/u-input/u-input\":\"uni_modules/uview-ui/components/u-input/u-input\",\"uni_modules/uview-ui/components/u-gap/u-gap\":\"uni_modules/uview-ui/components/u-gap/u-gap\",\"uni_modules/uview-ui/components/u-icon/u-icon\":\"uni_modules/uview-ui/components/u-icon/u-icon\",\"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\":\"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\",\"uni_modules/uview-ui/components/u-overlay/u-overlay\":\"uni_modules/uview-ui/components/u-overlay/u-overlay\",\"uni_modules/uview-ui/components/u-transition/u-transition\":\"uni_modules/uview-ui/components/u-transition/u-transition\",\"uni_modules/uview-ui/components/u-line/u-line\":\"uni_modules/uview-ui/components/u-line/u-line\"}[chunkId]||chunkId) + \".wxss\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
此 diff 太大无法显示。
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?c75a","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?0367","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?638e","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?f074","uni-app:///components/c-button/c-button.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA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,EAMA;AACA;AACA,KARA,EA/DA,E","file":"components/c-button/c-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-button.vue?vue&type=template&id=ea46bcf8&\"\nvar renderjs\nimport script from \"./c-button.vue?vue&type=script&lang=js&\"\nexport * from \"./c-button.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/c-button/c-button.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=template&id=ea46bcf8&\"","var components\ntry {\n components = {\n uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-button\">\r\n\t\t<u-button type=\"primary\" :shape=\"shape\" :open-type=\"openType\" @getphonenumber=\"getPhoneNumber\" hover-class=\"none\" :disabled=\"disabled\" :custom-style=\"getCustomStyle\"\r\n\t\t\t@click=\"click\">\r\n\t\t\t{{text}}\r\n\t\t</u-button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: 'u-button',\r\n\t\tprops: {\r\n\t\t\ttext: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'confirm'\r\n\t\t\t},\n\t\t\topenType: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\r\n\t\t\tshape: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'square'\r\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tgetCustomStyle() {\r\n\r\n\t\t\t\tconst {\r\n\t\t\t\t\ttype = ''\r\n\t\t\t\t} = this;\n\n\t\t\t\tlet style = {};\r\n\r\n\t\t\t\tswitch (type) {\r\n\t\t\t\t\tcase 'confirm':\r\n\t\t\t\t\t\treturn Object.assign({}, {\r\n\t\t\t\t\t\t\tbackgroundColor: '#FF001A',\n\t\t\t\t\t\t\tborderRadius: '8rpx',\r\n\t\t\t\t\t\t}, this.customStyle);\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'cancel':\r\n\t\t\t\t\t\treturn Object.assign({}, {\r\n\t\t\t\t\t\t\tbackgroundColor: \"rgba(0,0,0,0.15)\",\n\t\t\t\t\t\t\tborderRadius: '8rpx',\r\n\t\t\t\t\t\t}, this.customStyle);\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'custom':\r\n\t\t\t\t\t\treturn Object.assign({}, this.customStyle);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 按钮点击\r\n\t\t\tclick(e) {\r\n\t\t\t\tthis.$emit('click', e);\r\n\t\t\t},\n\t\t\t\n\t\t\tgetPhoneNumber(e) {\n\t\t\t\tthis.$emit(\"getPhoneNumber\", e)\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\n\t\n</style>\n"],"sourceRoot":""} | |
\ No newline at end of file | ||
1 | +{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?c75a","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?0367","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?638e","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?f074","uni-app:///components/c-button/c-button.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,6SAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAs0B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU11B;AACA,kBADA;AAEA;AACA;AACA,kBADA;AAEA,iBAFA,EADA;;AAKA;AACA,kBADA;AAEA,wBAFA,EALA;;AASA;AACA,kBADA;AAEA,iBAFA,EATA;;AAaA;AACA,mBADA;AAEA,oBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAjBA;;AAuBA;AACA,kBADA;AAEA,iBAFA,EAvBA,EAFA;;;;AA+BA,MA/BA,kBA+BA;AACA;AACA,GAjCA;;AAmCA;AACA;AACA;AACA;AACA;AACA,gBAHA;;AAKA,KAPA,EAnCA;;;AA6CA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AA5BA,GA7CA;AA2EA;AACA;AACA,SAFA,iBAEA,CAFA,EAEA;AACA;AACA,KAJA;;AAMA,kBANA,0BAMA,CANA,EAMA;AACA;AACA,KARA,EA3EA,E","file":"components/c-button/c-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-button.vue?vue&type=template&id=ea46bcf8&\"\nvar renderjs\nimport script from \"./c-button.vue?vue&type=script&lang=js&\"\nexport * from \"./c-button.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/c-button/c-button.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=template&id=ea46bcf8&\"","var components\ntry {\n components = {\n uButton: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-button/u-button\" */ \"@/uni_modules/uview-ui/components/u-button/u-button.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-button\">\r\n\t\t<u-button :text=\"text\" color=\"#0CB17A\" :plain=\"false\" :hairline=\"false\" :disabled=\"disabled\" :throttleTime=\"1500\"\r\n\t\t\ttype=\"info\" shape=\"circle\" :open-type=\"openType\" @getphonenumber=\"getPhoneNumber\"\r\n\t\t\t:custom-style=\"getCustomStyle\" @click=\"click\">\r\n\t\t</u-button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: 'u-button',\r\n\t\tprops: {\r\n\t\t\ttext: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'confirm'\r\n\t\t\t},\r\n\t\t\topenType: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {}\r\n\t\t},\r\n\r\n\t\twatch: {\r\n\t\t\tbuttonType: function(newVal, oldVal) {\r\n\t\t\t\tswitch (this.type) {\r\n\t\t\t\t\tcase 'confirm':\r\n\t\t\t\t\t\tthis.color = \"#0CB17A\";\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t// getCustomStyle() {\r\n\r\n\t\t\t// \tconst {\r\n\t\t\t// \t\ttype = ''\r\n\t\t\t// \t} = this;\r\n\r\n\t\t\t// \tlet style = {};\r\n\r\n\t\t\t// \tswitch (type) {\r\n\t\t\t// \t\tcase 'confirm':\r\n\t\t\t// \t\t\treturn Object.assign({}, {\r\n\t\t\t// \t\t\t\tbackgroundColor: '#FF001A',\r\n\t\t\t// \t\t\t\tborderRadius: '8rpx',\r\n\t\t\t// \t\t\t}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\r\n\t\t\t// \t\tcase 'cancel':\r\n\t\t\t// \t\t\treturn Object.assign({}, {\r\n\t\t\t// \t\t\t\tbackgroundColor: \"rgba(0,0,0,0.15)\",\r\n\t\t\t// \t\t\t\tborderRadius: '8rpx',\r\n\t\t\t// \t\t\t}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\r\n\t\t\t// \t\tcase 'custom':\r\n\t\t\t// \t\t\treturn Object.assign({}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\t\t\t// \t}\r\n\t\t\t// }\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 按钮点击\r\n\t\t\tclick(e) {\r\n\t\t\t\tthis.$emit('click', e);\r\n\t\t\t},\r\n\r\n\t\t\tgetPhoneNumber(e) {\r\n\t\t\t\tthis.$emit(\"getPhoneNumber\", e)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\r\n</style>\n"],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | -{"version":3,"sources":["uni-app:///common/commonUtil.js"],"names":["replaceTextToStar","params","value","String","length","len","medianNumber","Math","floor","console","log","substr","module","exports"],"mappings":";;;;;;;;;;kGAAA;AACO,IAAMA,iBAAiB,GAAG,SAApBA,iBAAoB,GAAiB,KAAhBC,MAAgB,uEAAP,EAAO;;AAEjD,MAAIC,KAAK,GAAGC,MAAM,CAACF,MAAD,CAAlB;;AAEA,MAAI,CAACC,KAAD,IAAU,CAACA,KAAK,CAACE,MAAjB,IAA2BF,KAAK,CAACE,MAAN,IAAgB,CAA/C,EAAkD,OAAO,EAAP;;AAElD,MAAIC,GAAG,GAAGH,KAAK,CAACE,MAAhB;AACA,MAAIE,YAAY,GAAGC,IAAI,CAACC,KAAL,CAAWH,GAAG,GAAG,CAAjB,CAAnB;;AAEAI,SAAO,CAACC,GAAR,CAAYJ,YAAZ;;;;AAIA,mBAAUJ,KAAK,CAACS,MAAN,CAAa,CAAb,EAAgBL,YAAY,GAAC,CAA7B,CAAV,iBAAgDJ,KAAK,CAACS,MAAN,CAAaL,YAAY,GAAG,CAA5B,EAA+BJ,KAAK,CAACE,MAArC,CAAhD;AACA,CAdM,C;;;AAiBPQ,MAAM,CAACC,OAAP,GAAiB;AAChBb,mBAAiB,EAAjBA,iBADgB,EAAjB,C","file":"pages/main/my/common/vendor.js","sourcesContent":["// 把文字中间4个字符换成“*”号\nexport const replaceTextToStar = (params = '') => {\n\n\tlet value = String(params)\n\n\tif (!value || !value.length || value.length <= 0) return '';\n\n\tlet len = value.length;\n\tlet medianNumber = Math.floor(len / 2);\n\n\tconsole.log(medianNumber)\n\n\n\n\treturn `${value.substr(0, medianNumber-2)}****${value.substr(medianNumber + 2, value.length)}`;\n}\n\n\nmodule.exports = {\n\treplaceTextToStar,\n}\n"],"sourceRoot":""} | |
\ No newline at end of file | ||
1 | +{"version":3,"sources":["uni-app:///common/md5.js"],"names":["hexcase","b64pad","chrsz","hex_md5","s","binl2hex","core_md5","str2binl","length","b64_md5","binl2b64","str_md5","binl2str","hex_hmac_md5","key","data","core_hmac_md5","b64_hmac_md5","str_hmac_md5","md5_vm_test","x","len","a","b","c","d","i","olda","oldb","oldc","oldd","md5_ff","md5_gg","md5_hh","md5_ii","safe_add","Array","md5_cmn","q","t","bit_rol","bkey","ipad","opad","hash","concat","y","lsw","msw","num","cnt","str","bin","mask","charCodeAt","String","fromCharCode","binarray","hex_tab","charAt","tab","triplet","j","module","exports"],"mappings":";;;;;;;;;AAAA;;;;;;;;;AASA;;;;AAIA,IAAIA,OAAO,GAAG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,KAAkD,CADnD;AAEG+B,YAAQ,CAAC/B,CAAC,GAAC,CAAF,IAAO,CAAR,CAAR,IAAsB,KAAK,CAACA,CAAC,GAAC,CAAH,IAAM,CAAX,CAAvB,GAAwC,IAFxD;AAGA,SAAI,IAAIoC,CAAC,GAAG,CAAZ,EAAeA,CAAC,GAAG,CAAnB,EAAsBA,CAAC,EAAvB;AACA;AACE,UAAGpC,CAAC,GAAG,CAAJ,GAAQoC,CAAC,GAAG,CAAZ,GAAgBL,QAAQ,CAACjD,MAAT,GAAkB,EAArC,EAAyC2C,GAAG,IAAIlD,MAAP,CAAzC;AACKkD,SAAG,IAAIS,GAAG,CAACD,MAAJ,CAAYE,OAAO,IAAI,KAAG,IAAEC,CAAL,CAAZ,GAAuB,IAAlC,CAAP;AACN;AACF;AACD,SAAOX,GAAP;AACD;;AAEDY,MAAM,CAACC,OAAP,GAAiB;AACb7D,SAAO,EAAPA,OADa,EAAjB,C","file":"pages/main/my/common/vendor.js","sourcesContent":["/*\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\n\n/*\n * Configurable variables. You may need to tweak these to be compatible with\n * the server-side, but the defaults work in most cases.\n */\nvar hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */\nvar b64pad = \"\"; /* base-64 pad character. \"=\" for strict RFC compliance */\nvar chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */\n\n/*\n * These are the functions you'll usually want to call\n * They take string arguments and return either hex or base-64 encoded strings\n */\nfunction hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}\nfunction b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}\nfunction str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}\nfunction hex_hmac_md5(key, data) { return binl2hex(core_hmac_md5(key, data)); }\nfunction b64_hmac_md5(key, data) { return binl2b64(core_hmac_md5(key, data)); }\nfunction str_hmac_md5(key, data) { return binl2str(core_hmac_md5(key, data)); }\n\n/*\n * Perform a simple self-test to see if the VM is working\n */\nfunction md5_vm_test()\n{\n return hex_md5(\"abc\") == \"900150983cd24fb0d6963f7d28e17f72\";\n}\n\n/*\n * Calculate the MD5 of an array of little-endian words, and a bit length\n */\nfunction core_md5(x, len)\n{\n /* append padding */\n x[len >> 5] |= 0x80 << ((len) % 32);\n x[(((len + 64) >>> 9) << 4) + 14] = len;\n\n var a = 1732584193;\n var b = -271733879;\n var c = -1732584194;\n var d = 271733878;\n\n for(var i = 0; i < x.length; i += 16)\n {\n var olda = a;\n var oldb = b;\n var oldc = c;\n var oldd = d;\n\n a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);\n d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);\n c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);\n b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);\n a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);\n d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);\n c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);\n b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);\n a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);\n d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);\n c = md5_ff(c, d, a, b, x[i+10], 17, -42063);\n b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);\n a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);\n d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);\n c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);\n b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);\n\n a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);\n d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);\n c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);\n b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);\n a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);\n d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);\n c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);\n b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);\n a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);\n d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);\n c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);\n b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);\n a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);\n d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);\n c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);\n b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);\n\n a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);\n d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);\n c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);\n b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);\n a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);\n d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);\n c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);\n b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);\n a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);\n d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);\n c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);\n b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);\n a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);\n d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);\n c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);\n b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);\n\n a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);\n d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);\n c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);\n b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);\n a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);\n d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);\n c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);\n b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);\n a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);\n d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);\n c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);\n b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);\n a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);\n d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);\n c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);\n b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);\n\n a = safe_add(a, olda);\n b = safe_add(b, oldb);\n c = safe_add(c, oldc);\n d = safe_add(d, oldd);\n }\n return Array(a, b, c, d);\n\n}\n\n/*\n * These functions implement the four basic operations the algorithm uses.\n */\nfunction md5_cmn(q, a, b, x, s, t)\n{\n return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);\n}\nfunction md5_ff(a, b, c, d, x, s, t)\n{\n return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);\n}\nfunction md5_gg(a, b, c, d, x, s, t)\n{\n return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);\n}\nfunction md5_hh(a, b, c, d, x, s, t)\n{\n return md5_cmn(b ^ c ^ d, a, b, x, s, t);\n}\nfunction md5_ii(a, b, c, d, x, s, t)\n{\n return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);\n}\n\n/*\n * Calculate the HMAC-MD5, of a key and some data\n */\nfunction core_hmac_md5(key, data)\n{\n var bkey = str2binl(key);\n if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);\n\n var ipad = Array(16), opad = Array(16);\n for(var i = 0; i < 16; i++)\n {\n ipad[i] = bkey[i] ^ 0x36363636;\n opad[i] = bkey[i] ^ 0x5C5C5C5C;\n }\n\n var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);\n return core_md5(opad.concat(hash), 512 + 128);\n}\n\n/*\n * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n * to work around bugs in some JS interpreters.\n */\nfunction safe_add(x, y)\n{\n var lsw = (x & 0xFFFF) + (y & 0xFFFF);\n var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n return (msw << 16) | (lsw & 0xFFFF);\n}\n\n/*\n * Bitwise rotate a 32-bit number to the left.\n */\nfunction bit_rol(num, cnt)\n{\n return (num << cnt) | (num >>> (32 - cnt));\n}\n\n/*\n * Convert a string to an array of little-endian words\n * If chrsz is ASCII, characters >255 have their hi-byte silently ignored.\n */\nfunction str2binl(str)\n{\n var bin = Array();\n var mask = (1 << chrsz) - 1;\n for(var i = 0; i < str.length * chrsz; i += chrsz)\n bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);\n return bin;\n}\n\n/*\n * Convert an array of little-endian words to a string\n */\nfunction binl2str(bin)\n{\n var str = \"\";\n var mask = (1 << chrsz) - 1;\n for(var i = 0; i < bin.length * 32; i += chrsz)\n str += String.fromCharCode((bin[i>>5] >>> (i % 32)) & mask);\n return str;\n}\n\n/*\n * Convert an array of little-endian words to a hex string.\n */\nfunction binl2hex(binarray)\n{\n var hex_tab = hexcase ? \"0123456789ABCDEF\" : \"0123456789abcdef\";\n var str = \"\";\n for(var i = 0; i < binarray.length * 4; i++)\n {\n str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +\n hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);\n }\n return str;\n}\n\n/*\n * Convert an array of little-endian words to a base-64 string\n */\nfunction binl2b64(binarray)\n{\n var tab = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n var str = \"\";\n for(var i = 0; i < binarray.length * 4; i += 3)\n {\n var triplet = (((binarray[i >> 2] >> 8 * ( i %4)) & 0xFF) << 16)\n | (((binarray[i+1 >> 2] >> 8 * ((i+1)%4)) & 0xFF) << 8 )\n | ((binarray[i+2 >> 2] >> 8 * ((i+2)%4)) & 0xFF);\n for(var j = 0; j < 4; j++)\n {\n if(i * 8 + j * 6 > binarray.length * 32) str += b64pad;\n else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F);\n }\n }\n return str;\n}\n\nmodule.exports = {\n hex_md5\n}"],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?5783","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?d348","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?5b4a","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?e7b5","uni-app:///pages/main/my/login/login.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?1931","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?355a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,qG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE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A,CAjCA,EAiCA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,8BADA;AAEA,2BAFA;AAGA,4BAHA;AAIA,+BAJA;;AAMA,SAZA;;AAcA,KAlDA;;AAoDA,cApDA,wBAoDA;AACA;AACA,mBADA;AAEA,uBAFA;AAGA,kCAHA;AAIA,oCAJA;;AAMA,KA3DA;;AA6DA,qBA7DA,+BA6DA;AACA;AACA,qDADA;AAEA,kBAFA;;AAIA,KAlEA,EAxCA,E;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAAgnD,CAAgB,07CAAG,EAAC,C;;;;;;;;;;;ACApoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/main/my/login/login.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/main/my/login/login.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./login.vue?vue&type=template&id=3bc2128d&scoped=true&\"\nvar renderjs\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bc2128d\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/login/login.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=template&id=3bc2128d&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-image/u-image\" */ \"@/uni_modules/uview-ui/components/u-image/u-image.vue\"\n )\n },\n cButton: function() {\n return import(\n /* webpackChunkName: \"components/c-button/c-button\" */ \"@/components/c-button/c-button.vue\"\n )\n },\n uCheckboxGroup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"login\">\r\n\t\t<u-image width=\"100%\" height=\"100%\" :src=\"vuex_baseImgUrl+'/logo_bg.png'\" />\r\n\r\n\t\t<view class=\"box\">\r\n\r\n\t\t\t<view class=\"logo\">\r\n\t\t\t\t<u-image width=\"260rpx\" height=\"140rpx\" :src=\"vuex_baseImgUrl+'/logo.png'\" />\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"btn button_warp\">\r\n\t\t\t\t<c-button type=\"confirm\" shape=\"circle\"\r\n\t\t\t\t\t:customStyle=\"{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}\" text=\"微信一键登录\"\r\n\t\t\t\t\t:disabled=\"isDisable\" openType=\"getPhoneNumber\" @getPhoneNumber=\"getPhoneNumber\"\r\n\t\t\t\t\t@click=\"getUserProfile\"></c-button>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"changeLogin\" @click=\"handelMobileLogin\">\r\n\t\t\t\t手机号码登录/注册\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"agreement\">\r\n\t\t\t\t<view class=\"check\">\r\n\t\t\t\t\t<u-checkbox-group @change=\"checkboxChange\" v-model=\"checked\">\r\n\t\t\t\t\t\t<u-checkbox size=\"30\" activeColor=\"#0CB17A\" shape=\"circle\">\r\n\t\t\t\t\t\t</u-checkbox>\r\n\t\t\t\t\t</u-checkbox-group>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t<text>您已阅读理解并同意</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkService\">《优学乐业服务协议》、</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkPolicy\">《优学乐业隐私政策》</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions\r\n\t} from 'vuex'\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\n\t\t\t\tisDisable: true,\r\n\t\t\t\tchecked: [],\r\n\t\t\t\tservice: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tpolicy: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tform: {\r\n\t\t\t\t\tmobile: '',\r\n\t\t\t\t\tpassword: '',\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\n\t\t\n\t\twatch: {\n\t\t\tchecked: function(newVal, oldVal) {\n\t\t\t\tthis.isDisable = newVal.length != 0 ? false : true;\n\t\t\t\t\n\t\t\t}\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState('user', {\r\n\t\t\t\t// 箭头函数可使代码更简练\r\n\t\t\t\tisReg: 'isReg',\r\n\r\n\t\t\t}),\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tlinkService() {\r\n\t\t\t\tconsole.log(this)\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tlinkPolicy() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcheckboxChange(n) {\n\t\t\t\tconsole.log(n)\r\n\r\n\t\t\t},\r\n\r\n\t\t\tgetUserProfile() {\r\n\t\t\t\t// 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认\r\n\t\t\t\t// 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗\r\n\t\t\t\twx.getUserProfile({\r\n\t\t\t\t\tdesc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log('getUserProfile...', res)\r\n\t\t\t\t\t\t// this.$store.commit('setWenxinUserInfo', res);\r\n\t\t\t\t\t\tthis.$u.vuex('vuex_weixinUserInfo', res.userInfo);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tgetPhoneNumber(e) {\r\n\t\t\t\tconsole.log(e)\r\n\r\n\t\t\t\twx.login({\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\r\n\t\t\t\t\t\t// this.getUserProfile();\r\n\r\n\t\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\t\tway: 'wechat_code',\r\n\t\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\t\tjsCode: res.code,\r\n\t\t\t\t\t\t\tcode: e.detail.code,\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tphoneLogin() {\r\n\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\tway: 'name',\r\n\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\tusername: this.form.mobile,\r\n\t\t\t\t\tpassword: this.form.password,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\thandelMobileLogin() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: \"/pages/main/my/mobileLogin/mobileLogin\",\r\n\t\t\t\t\tparams: {}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.login {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\r\n\t\t.box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\r\n\t\t\t.logo {\r\n\t\t\t\tpadding: 156rpx 0 0 0;\r\n\t\t\t\twidth: 260rpx;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t}\r\n\r\n\t\t\t.changeLogin {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin: 48rpx 0 0 0;\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\r\n\t\t\t}\r\n\r\n\t\t\t.agreement {\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tbottom: 34rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: row;\r\n\t\t\t\tjustify-content: flex-start;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin: 30rpx 0 32rpx 0;\r\n\t\t\t\tpadding: 0 50rpx;\r\n\r\n\t\t\t\t.check {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\tpadding: 3rpx 0 0 0;\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\r\n\t\t\t\t\t.span {\r\n\t\t\t\t\t\tcolor: #0CB17A;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.form {\r\n\t\t\t\tmargin: 30rpx 60rpx 0px;\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\tmargin-top: 200rpx;\r\n\t\t\t\tpadding: 0 48rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.wxLogin {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tmargin-top: 180rpx;\r\n\r\n\t\t\t\tbutton {\r\n\t\t\t\t\tbackground-color: transparent;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbutton::after {\r\n\t\t\t\t\tborder: initial\r\n\t\t\t\t}\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 96rpx;\r\n\t\t\t\t\theight: 96rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tmargin-top: 0rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657699073498\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?9176","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?783c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?8cd7","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?56a0","uni-app:///pages/main/my/mobileLogin/mobileLogin.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?dcc9","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?16a6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,uH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACp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1BA;;AA4BA;AACA;AACA;;AAEA,KAJA,EA5BA;;;;AAoCA;AACA;AACA;AACA,kBAFA,GADA,CApCA;;;;;AA4CA;;AAEA,iBAFA,2BAEA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KARA;;AAUA,eAVA,yBAUA;AACA;AACA;AACA,wGADA;;AAGA,KAfA;;AAiBA,cAjBA,wBAiBA;AACA;AACA,uGADA;;AAGA,KArBA;;AAuBA,kBAvBA,0BAuBA,CAvBA,EAuBA;AACA;AACA,KAzBA;;AA2BA,kBA3BA,4BA2BA;AACA;AACA;AACA;AACA,wBADA,EACA;AACA;AACA;AACA;AACA;AACA,SANA;;AAQA,KAtCA;;AAwCA,cAxCA,sBAwCA,IAxCA,EAwCA;AACA;AACA,KA1CA;;AA4CA,WA5CA,qBA4CA;;;AAGA,eAHA,CAEA,MAFA,CAEA,MAFA,kCAEA,EAFA;;AAKA;AACA;AACA,6BADA;AAEA,uBAFA;AAGA,wBAHA;;;AAMA,OAPA,MAOA;AACA;AACA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,2BADA;;;AAIA,WAXA,EAWA,IAXA;AAYA,SAjBA,MAiBA;AACA;AACA;AACA;AACA,KA9EA;;AAgFA,cAhFA,wBAgFA;AACA;AACA;AACA;AACA,qBADA;AAEA,yBAFA;AAGA,iCAHA;AAIA,kCAJA;;AAMA,OAPA,MAOA;AACA;AACA;AACA,qBADA;AAEA,yBAFA;AAGA,oCAHA;AAIA,2DAJA;;AAMA;AACA,KAlGA,EA5CA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAsnD,CAAgB,g8CAAG,EAAC,C;;;;;;;;;;;ACA1oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/main/my/mobileLogin/mobileLogin.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/main/my/mobileLogin/mobileLogin.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true&\"\nvar renderjs\nimport script from \"./mobileLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./mobileLogin.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26ccca09\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/mobileLogin/mobileLogin.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form/u-form\" */ \"@/uni_modules/uview-ui/components/u-form/u-form.vue\"\n )\n },\n uFormItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form-item/u-form-item\" */ \"@/uni_modules/uview-ui/components/u-form-item/u-form-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-input/u-input\" */ \"@/uni_modules/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uButton: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-button/u-button\" */ \"@/uni_modules/uview-ui/components/u-button/u-button.vue\"\n )\n },\n uCode: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-code/u-code\" */ \"@/uni_modules/uview-ui/components/u-code/u-code.vue\"\n )\n },\n cButton: function() {\n return import(\n /* webpackChunkName: \"components/c-button/c-button\" */ \"@/components/c-button/c-button.vue\"\n )\n },\n uCheckboxGroup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue\"\n )\n },\n uToast: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-toast/u-toast\" */ \"@/uni_modules/uview-ui/components/u-toast/u-toast.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"login\">\r\n\t\t<view class=\"box\">\r\n\t\t\t<view v-if=\"changeLogin == '账号密码登录'\" class=\"form\">\r\n\t\t\t\t<u-form :model=\"form\" ref=\"uForm\">\r\n\t\t\t\t\t<u-form-item prop=\"mobile\"\r\n\t\t\t\t\t\t:leftIconStyle=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_mobile.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.mobile\" border=\"none\" maxlength='11' placeholder=\"请输入手机号\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item prop=\"verifyCode\"\r\n\t\t\t\t\t\t:leftIconStyle=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_code1.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.password\" border=\"none\" placeholder=\"请输入验证码\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t\t<u-button type=\"default\" size=\"mini\" slot=\"right\" :hair-line=\"false\"\r\n\t\t\t\t\t\t\t:custom-style=\"{color:'#0CB17A', border:'none',fontSize:'30rpx'}\" @click=\"getCode\">\r\n\t\t\t\t\t\t\t{{codeText}}\r\n\t\t\t\t\t\t</u-button>\r\n\t\t\t\t\t\t<u-code ref=\"uCode\" @change=\"codeChange\"></u-code>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t</view>\r\n\t\t\t<view v-else class=\"form\">\r\n\t\t\t\t<u-form :model=\"form\" ref=\"uForm\">\r\n\t\t\t\t\t<u-form-item prop=\"mobile\"\r\n\t\t\t\t\t\t:left-icon-style=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_mobile.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.mobile\" border=\"none\" placeholder=\"请输入账号\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item prop=\"verifyCode\"\r\n\t\t\t\t\t\t:left-icon-style=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_code2.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.password\" border=\"none\" type='password' placeholder=\"请输入密码\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"btn button_warp\">\r\n\t\t\t\t<c-button type=\"confirm\" shape=\"circle\"\r\n\t\t\t\t\t:customStyle=\"{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}\" text=\"登录\"\r\n\t\t\t\t\t:disabled=\"isDisable\" @click=\"phoneLogin\"></c-button>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"changeLogin\" @click=\"onchangeLogin\">\r\n\t\t\t\t{{changeLogin}}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"agreement\">\r\n\t\t\t\t<view class=\"check\">\r\n\t\t\t\t\t<u-checkbox-group @change=\"checkboxChange\" v-model=\"checked\">\r\n\t\t\t\t\t\t<u-checkbox size=\"28\" activeColor=\"#0CB17A\" shape=\"circle\">\r\n\t\t\t\t\t\t</u-checkbox>\r\n\t\t\t\t\t</u-checkbox-group>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t<text>您已阅读理解并同意</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkService\">《优学乐业服务协议》、</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkPolicy\">《优学乐业隐私政策》</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view>\r\n\t\t\t<u-toast ref=\"uToast\" />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions\r\n\t} from 'vuex'\r\n\timport {\r\n\t\tgetSmsCodeApi,\r\n\t} from '@/config/api.js';\r\n\timport md5 from '@/common/md5';\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\terrorType: ['toast'],\n\t\t\t\tisDisable: true,\r\n\t\t\t\tchecked: [],\r\n\t\t\t\tservice: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tpolicy: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tform: {\r\n\t\t\t\t\tmobile: '',\r\n\t\t\t\t\tpassword: '',\r\n\t\t\t\t},\r\n\t\t\t\tchangeLogin: '账号密码登录',\r\n\t\t\t\tcodeText: '发送验证码',\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\n\t\t\n\t\twatch: {\n\t\t\tchecked: function(newVal, oldVal) {\n\t\t\t\tthis.isDisable = newVal.length != 0 ? false : true;\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\t\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState('user', {\r\n\t\t\t\t// 箭头函数可使代码更简练\r\n\t\t\t\tisReg: 'isReg',\r\n\r\n\t\t\t}),\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tonchangeLogin() {\r\n\t\t\t\tif (this.changeLogin == '验证码登录') {\r\n\t\t\t\t\tthis.changeLogin = '账号密码登录';\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.changeLogin = '验证码登录';\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tlinkService() {\r\n\t\t\t\tconsole.log(this)\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tlinkPolicy() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcheckboxChange(n) {\r\n\t\t\t\t// console.log(n)\r\n\t\t\t},\r\n\r\n\t\t\tgetUserProfile() {\r\n\t\t\t\t// 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认\r\n\t\t\t\t// 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗\r\n\t\t\t\twx.getUserProfile({\r\n\t\t\t\t\tdesc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log('getUserProfile...', res)\r\n\t\t\t\t\t\t// this.$store.commit('setWenxinUserInfo', res);\r\n\t\t\t\t\t\tthis.$u.vuex('vuex_weixinUserInfo', res.userInfo);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcodeChange(text) {\r\n\t\t\t\tthis.codeText = text;\r\n\t\t\t},\r\n\r\n\t\t\tgetCode() {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tmobile = ''\r\n\t\t\t\t} = this.form;\r\n\r\n\t\t\t\tif (!(mobile && /^1[0-9]{10}$/.test(mobile))) {\r\n\t\t\t\t\tthis.$refs.uToast.show({\r\n\t\t\t\t\t\tmessage: '请填写正确手机号',\r\n\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\tduration: 1500,\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (this.$refs.uCode.canGetCode) {\r\n\t\t\t\t\t\t// 模拟向后端请求验证码\r\n\t\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\t\ttitle: '正在获取验证码'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t// 通知验证码组件内部开始倒计时\r\n\t\t\t\t\t\t\tthis.$refs.uCode.start();\r\n\r\n\t\t\t\t\t\t\tconsole.log(mobile)\r\n\r\n\t\t\t\t\t\t\tgetSmsCodeApi({\r\n\t\t\t\t\t\t\t\tphone: mobile\r\n\t\t\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$u.toast('倒计时结束后再发送');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tphoneLogin() {\r\n\t\t\t\t// this.getUserProfile();\r\n\t\t\t\tif (this.changeLogin == '账号密码登录') {\r\n\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\tway: 'code',\r\n\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\tphone: this.form.mobile,\r\n\t\t\t\t\t\tcode: this.form.password,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(md5.hex_md5(this.form.password));\r\n\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\tway: 'name',\r\n\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\tusername: this.form.mobile,\r\n\t\t\t\t\t\tpassword: md5.hex_md5(this.form.password),\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.login {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\r\n\t\t.box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\r\n\t\t\t.logo {\r\n\t\t\t\tpadding: 156rpx 0 0 0;\r\n\t\t\t\twidth: 120rpx;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t}\r\n\r\n\t\t\t.name {\r\n\t\t\t\tmargin: 32rpx 0 0 0;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 48rpx;\r\n\t\t\t\tline-height: 66rpx;\r\n\t\t\t\tcolor: #000000;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t}\r\n\r\n\t\t\t.changeLogin {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin: 48rpx 0 0 0;\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #0CB17A;\r\n\t\t\t}\r\n\r\n\t\t\t.agreement {\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tbottom: 34rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: row;\r\n\t\t\t\tjustify-content: flex-start;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin: 30rpx 0 32rpx 0;\r\n\t\t\t\tpadding: 0 50rpx;\r\n\r\n\t\t\t\t.check {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\tpadding: 5rpx 0 0 0;\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\r\n\t\t\t\t\t.span {\r\n\t\t\t\t\t\tcolor: #0CB17A;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.form {\r\n\t\t\t\tmargin: 128rpx 60rpx 0px;\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\tmargin-top: 128rpx;\r\n\t\t\t\tpadding: 0 48rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.wxLogin {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tmargin-top: 180rpx;\r\n\r\n\t\t\t\tbutton {\r\n\t\t\t\t\tbackground-color: transparent;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbutton::after {\r\n\t\t\t\t\tborder: initial\r\n\t\t\t\t}\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 96rpx;\r\n\t\t\t\t\theight: 96rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tmargin-top: 0rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657699073504\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | +{"version":3,"sources":["uni-app:///main.js"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,gG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C","file":"pages/my/login/login.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/my/login/login.vue'\ncreatePage(Page)"],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | -{"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?696d","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?a2e6","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?c435","uni-app:///pages/tabBar/home/home.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,iG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;;;AAGnD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAi1B,CAAgB,kyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACOr2B,2D;;;;;;eAKA,EACA,IADA,kBACA;AACA;;;AAGA,GALA;;AAOA,QAPA,oBAOA;AACA;AACA;AACA;AACA,kBADA,EADA;;AAIA,QAJA,CAIA;;AAEA,KANA,EAMA,KANA,CAMA;;AAEA,KARA;AASA,GAlBA;;AAoBA,QApBA,oBAoBA;;AAEA,GAtBA;;AAwBA,aAxBA,E","file":"pages/tabBar/home/home.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/tabBar/home/home.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./home.vue?vue&type=template&id=3d3a40f7&scoped=true&\"\nvar renderjs\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d3a40f7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/home/home.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=template&id=3d3a40f7&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"height: 100%;\">\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tpostMenu,\r\n\t\tgetMenu\r\n\t} from '@/config/api.js';\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\t// 发出post,假设需要带上token\r\n\t\t\tpostMenu({\r\n\t\t\t\tcustom: {\r\n\t\t\t\t\tauth: true\r\n\t\t\t\t}\r\n\t\t\t}).then(() => {\r\n\r\n\t\t\t}).catch(() => {\r\n\r\n\t\t\t})\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\n"],"sourceRoot":""} | |
\ No newline at end of file | ||
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?f93d","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?696d","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?a2e6","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?c435","uni-app:///pages/tabBar/home/home.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,iG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;;;AAGnD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAi1B,CAAgB,kyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACQr2B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA,QAPA,oBAOA;;AAEA,GATA;;AAWA,QAXA,oBAWA;;AAEA,GAbA;;AAeA,aAfA,E","file":"pages/tabBar/home/home.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/tabBar/home/home.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./home.vue?vue&type=template&id=3d3a40f7&scoped=true&\"\nvar renderjs\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d3a40f7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/home/home.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=template&id=3d3a40f7&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"height: 100%;\">\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\t\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\n"],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?0fd3","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?7d42","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?6853","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?9f9d","uni-app:///pages/tabBar/internship/internship.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,mH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;;;AAGzD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACQ32B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA,QAPA,oBAOA,EAPA;;AASA,QATA,oBASA;;AAEA,GAXA;;AAaA,aAbA,E","file":"pages/tabBar/internship/internship.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/tabBar/internship/internship.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./internship.vue?vue&type=template&id=b3f92cd2&scoped=true&\"\nvar renderjs\nimport script from \"./internship.vue?vue&type=script&lang=js&\"\nexport * from \"./internship.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3f92cd2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/internship/internship.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=template&id=b3f92cd2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"internship\">\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t};\r\n\t\t},\r\n\r\n\t\tonLoad() {},\r\n\r\n\t\tasync onShow() {\r\n\t\t\t\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\t\r\n\t\t},\r\n\t};\r\n</script>\n\r\n<style lang=\"scss\" scoped>\r\n\r\n\t\r\n</style>\n"],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?3bf8","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?53fb","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?d6f5","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?caf8","uni-app:///uni_modules/uview-ui/components/u-button/u-button.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?3907","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?665a"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iVAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAo2B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+Gx3B;AACA;AACA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA2CA,EACA,gBADA,EAGA,0FAHA,EAQA,IARA,kBAQA,CACA,UACA,CAVA,EAWA,YACA;AACA,YAFA,sBAEA,CACA;AACA,wBACA,gBACA,QADA,EAEA,yBAFA,EAGA,iCAHA,EAKA,CANA,MAMA,CACA;AACA,wBACA,QADA,EAEA,iBAFA,EAGA,iCAHA,EAKA,CACA,CAlBA,EAmBA,YAnBA,0BAmBA,CACA,iBACA;AACA,4BACA,UADA,GAEA,2CAFA,CAGA,CACA,2BACA,iBACA,CACA,4BACA,CA9BA,EA+BA,YA/BA,0BA+BA,CACA;AACA;AACA,gDACA,iBACA,2CACA,CAFA,MAEA,CACA,oDACA,CACA,CAxCA,EAyCA,SAzCA,uBAyCA,CACA,eACA,iBACA;AACA,wDACA,kBACA;AACA,iDACA,CACA,4CACA;AACA;AACA;AACA,mCACA,2BACA,4BACA,0BACA,kBACA,mCACA,CACA,CAXA,MAWA,CACA;AACA,yCACA,0BACA,4BACA,CACA,CACA,aACA,CArEA,EAsEA;AACA,iBAvEA,2BAuEA,CACA,eADA,CAEA;AACA,iCACA,wBACA,CACA,iBACA,gDACA,CACA,sCACA,aACA,CAlFA,EAmFA;AACA,YApFA,sBAoFA,CACA,kBACA,IADA,GACA,IADA,CACA,IADA,CAEA,oCACA,qCACA,oCACA,mCACA,gBACA,CA5FA,EAXA,EAyGA,WACA,YADA,0BACA,mBACA;AACA,4CACA;AACA,qCACA,qBACA,CAFA,EAEA,iBAFA,EAGA,CACA,CATA,EAUA;AACA,kBAXA,0BAWA,GAXA,EAWA,CACA,kCACA,CAbA,EAcA,WAdA,uBAcA,GAdA,EAcA,CACA,+BACA,CAhBA,EAiBA,KAjBA,iBAiBA,GAjBA,EAiBA,CACA,yBACA,CAnBA,EAoBA,WApBA,uBAoBA,GApBA,EAoBA,CACA;AACA,KAtBA;AAuBA,aAvBA,qBAuBA,GAvBA,EAuBA;AACA;AACA,KAzBA,EAzGA,E;;;;;;;;;;;;;AC7JA;AAAA;AAAA;AAAA;AAAmnD,CAAgB,67CAAG,EAAC,C;;;;;;;;;;;ACAvoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-button/u-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-button.vue?vue&type=template&id=2bf0e569&scoped=true&\"\nvar renderjs\nimport script from \"./u-button.vue?vue&type=script&lang=js&\"\nexport * from \"./u-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2bf0e569\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-button/u-button.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=template&id=2bf0e569&scoped=true&\"","var components\ntry {\n components = {\n uLoadingIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\" */ \"@/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.baseColor, _vm.$u.addStyle(_vm.customStyle)])\n\n var m0 = Number(_vm.hoverStartTime)\n var m1 = Number(_vm.hoverStayTime)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n m0: m0,\n m1: m1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=script&lang=js&\"","<template>\n <!-- #ifndef APP-NVUE -->\n <button\n :hover-start-time=\"Number(hoverStartTime)\"\n :hover-stay-time=\"Number(hoverStayTime)\"\n :form-type=\"formType\"\n :open-type=\"openType\"\n :app-parameter=\"appParameter\"\n :hover-stop-propagation=\"hoverStopPropagation\"\n :send-message-title=\"sendMessageTitle\"\n :send-message-path=\"sendMessagePath\"\n :lang=\"lang\"\n :data-name=\"dataName\"\n :session-from=\"sessionFrom\"\n :send-message-img=\"sendMessageImg\"\n :show-message-card=\"showMessageCard\"\n @getphonenumber=\"getphonenumber\"\n @getuserinfo=\"getuserinfo\"\n @error=\"error\"\n @opensetting=\"opensetting\"\n @launchapp=\"launchapp\"\n :hover-class=\"!disabled && !loading ? 'u-button--active' : ''\"\n class=\"u-button u-reset-button\"\n :style=\"[baseColor, $u.addStyle(customStyle)]\"\n @tap=\"clickHandler\"\n :class=\"bemClass\"\n >\n <template v-if=\"loading\">\n <u-loading-icon\n :mode=\"loadingMode\"\n :size=\"loadingSize * 1.15\"\n :color=\"loadingColor\"\n ></u-loading-icon>\n <text\n class=\"u-button__loading-text\"\n :style=\"[{ fontSize: textSize + 'px' }]\"\n >{{ loadingText || text }}</text\n >\n </template>\n <template v-else>\n <u-icon\n v-if=\"icon\"\n :name=\"icon\"\n :color=\"iconColorCom\"\n :size=\"textSize * 1.35\"\n :customStyle=\"{ marginRight: '2px' }\"\n ></u-icon>\n <slot>\n <text\n class=\"u-button__text\"\n :style=\"[{ fontSize: textSize + 'px' }]\"\n >{{ text }}</text\n >\n </slot>\n </template>\n </button>\n <!-- #endif -->\n\n <!-- #ifdef APP-NVUE -->\n <view\n :hover-start-time=\"Number(hoverStartTime)\"\n :hover-stay-time=\"Number(hoverStayTime)\"\n class=\"u-button\"\n :hover-class=\"\n !disabled && !loading && !color && (plain || type === 'info')\n ? 'u-button--active--plain'\n : !disabled && !loading && !plain\n ? 'u-button--active'\n : ''\n \"\n @tap=\"clickHandler\"\n :class=\"bemClass\"\n :style=\"[baseColor, $u.addStyle(customStyle)]\"\n >\n <template v-if=\"loading\">\n <u-loading-icon\n :mode=\"loadingMode\"\n :size=\"loadingSize * 1.15\"\n :color=\"loadingColor\"\n ></u-loading-icon>\n <text\n class=\"u-button__loading-text\"\n :style=\"[nvueTextStyle]\"\n :class=\"[plain && `u-button__text--plain--${type}`]\"\n >{{ loadingText || text }}</text\n >\n </template>\n <template v-else>\n <u-icon\n v-if=\"icon\"\n :name=\"icon\"\n :color=\"iconColorCom\"\n :size=\"textSize * 1.35\"\n ></u-icon>\n <text\n class=\"u-button__text\"\n :style=\"[\n {\n marginLeft: icon ? '2px' : 0,\n },\n nvueTextStyle,\n ]\"\n :class=\"[plain && `u-button__text--plain--${type}`]\"\n >{{ text }}</text\n >\n </template>\n </view>\n <!-- #endif -->\n</template>\n\n<script>\nimport button from \"../../libs/mixin/button.js\";\nimport openType from \"../../libs/mixin/openType.js\";\nimport props from \"./props.js\";\n/**\n * button 按钮\n * @description Button 按钮\n * @tutorial https://www.uviewui.com/components/button.html\n *\n * @property {Boolean}\t\t\thairline\t\t\t\t是否显示按钮的细边框 (默认 true )\n * @property {String}\t\t\ttype\t\t\t\t\t按钮的预置样式,info,primary,error,warning,success (默认 'info' )\n * @property {String}\t\t\tsize\t\t\t\t\t按钮尺寸,large,normal,mini (默认 normal)\n * @property {String}\t\t\tshape\t\t\t\t\t按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )\n * @property {Boolean}\t\t\tplain\t\t\t\t\t按钮是否镂空,背景色透明 (默认 false)\n * @property {Boolean}\t\t\tdisabled\t\t\t\t是否禁用 (默认 false)\n * @property {Boolean}\t\t\tloading\t\t\t\t\t按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) (默认 false)\n * @property {String | Number}\tloadingText\t\t\t\t加载中提示文字\n * @property {String}\t\t\tloadingMode\t\t\t\t加载状态图标类型 (默认 'spinner' )\n * @property {String | Number}\tloadingSize\t\t\t\t加载图标大小 (默认 15 )\n * @property {String}\t\t\topenType\t\t\t\t开放能力,具体请看uniapp稳定关于button组件部分说明\n * @property {String}\t\t\tformType\t\t\t\t用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\n * @property {String}\t\t\tappParameter\t\t\t打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 (注:只微信小程序、QQ小程序有效)\n * @property {Boolean}\t\t\thoverStopPropagation\t指定是否阻止本节点的祖先节点出现点击态,微信小程序有效(默认 true )\n * @property {String}\t\t\tlang\t\t\t\t\t指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文(默认 en )\n * @property {String}\t\t\tsessionFrom\t\t\t\t会话来源,openType=\"contact\"时有效\n * @property {String}\t\t\tsendMessageTitle\t\t会话内消息卡片标题,openType=\"contact\"时有效\n * @property {String}\t\t\tsendMessagePath\t\t\t会话内消息卡片点击跳转小程序路径,openType=\"contact\"时有效\n * @property {String}\t\t\tsendMessageImg\t\t\t会话内消息卡片图片,openType=\"contact\"时有效\n * @property {Boolean}\t\t\tshowMessageCard\t\t\t是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,用户点击后可以快速发送小程序消息,openType=\"contact\"时有效(默认false)\n * @property {String}\t\t\tdataName\t\t\t\t额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\n * @property {String | Number}\tthrottleTime\t\t\t节流,一定时间内只能触发一次 (默认 0 )\n * @property {String | Number}\thoverStartTime\t\t\t按住后多久出现点击态,单位毫秒 (默认 0 )\n * @property {String | Number}\thoverStayTime\t\t\t手指松开后点击态保留时间,单位毫秒 (默认 200 )\n * @property {String | Number}\ttext\t\t\t\t\t按钮文字,之所以通过props传入,是因为slot传入的话(注:nvue中无法控制文字的样式)\n * @property {String}\t\t\ticon\t\t\t\t\t按钮图标\n * @property {String}\t\t\ticonColor\t\t\t\t按钮图标颜色\n * @property {String}\t\t\tcolor\t\t\t\t\t按钮颜色,支持传入linear-gradient渐变色\n * @property {Object}\t\t\tcustomStyle\t\t\t\t定义需要用到的外部样式\n *\n * @event {Function}\tclick\t\t\t非禁止并且非加载中,才能点击\n * @event {Function}\tgetphonenumber\topen-type=\"getPhoneNumber\"时有效\n * @event {Function}\tgetuserinfo\t\t用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo\n * @event {Function}\terror\t\t\t当使用开放能力时,发生错误的回调\n * @event {Function}\topensetting\t\t在打开授权设置页并关闭后回调\n * @event {Function}\tlaunchapp\t\t打开 APP 成功的回调\n * @example <u-button>月落</u-button>\n */\nexport default {\n name: \"u-button\",\n // #ifdef MP\n mixins: [uni.$u.mpMixin, uni.$u.mixin, button, openType, props],\n // #endif\n // #ifndef MP\n mixins: [uni.$u.mpMixin, uni.$u.mixin, props],\n // #endif\n data() {\n return {};\n },\n computed: {\n // 生成bem风格的类名\n bemClass() {\n // this.bem为一个computed变量,在mixin中\n if (!this.color) {\n return this.bem(\n \"button\",\n [\"type\", \"shape\", \"size\"],\n [\"disabled\", \"plain\", \"hairline\"]\n );\n } else {\n // 由于nvue的原因,在有color参数时,不需要传入type,否则会生成type相关的类型,影响最终的样式\n return this.bem(\n \"button\",\n [\"shape\", \"size\"],\n [\"disabled\", \"plain\", \"hairline\"]\n );\n }\n },\n loadingColor() {\n if (this.plain) {\n // 如果有设置color值,则用color值,否则使用type主题颜色\n return this.color\n ? this.color\n : uni.$u.config.color[`u-${this.type}`];\n }\n if (this.type === \"info\") {\n return \"#c9c9c9\";\n }\n return \"rgb(200, 200, 200)\";\n },\n iconColorCom() {\n // 如果是镂空状态,设置了color就用color值,否则使用主题颜色,\n // u-icon的color能接受一个主题颜色的值\n\t\t\tif (this.iconColor) return this.iconColor;\n\t\t\tif (this.plain) {\n return this.color ? this.color : this.type;\n } else {\n return this.type === \"info\" ? \"#000000\" : \"#ffffff\";\n }\n },\n baseColor() {\n let style = {};\n if (this.color) {\n // 针对自定义了color颜色的情况,镂空状态下,就是用自定义的颜色\n style.color = this.plain ? this.color : \"white\";\n if (!this.plain) {\n // 非镂空,背景色使用自定义的颜色\n style[\"background-color\"] = this.color;\n }\n if (this.color.indexOf(\"gradient\") !== -1) {\n // 如果自定义的颜色为渐变色,不显示边框,以及通过backgroundImage设置渐变色\n // weex文档说明可以写borderWidth的形式,为什么这里需要分开写?\n // 因为weex是阿里巴巴为了部门业绩考核而做的你懂的东西,所以需要这么写才有效\n style.borderTopWidth = 0;\n style.borderRightWidth = 0;\n style.borderBottomWidth = 0;\n style.borderLeftWidth = 0;\n if (!this.plain) {\n style.backgroundImage = this.color;\n }\n } else {\n // 非渐变色,则设置边框相关的属性\n style.borderColor = this.color;\n style.borderWidth = \"1px\";\n style.borderStyle = \"solid\";\n }\n }\n return style;\n },\n // nvue版本按钮的字体不会继承父组件的颜色,需要对每一个text组件进行单独的设置\n nvueTextStyle() {\n let style = {};\n // 针对自定义了color颜色的情况,镂空状态下,就是用自定义的颜色\n if (this.type === \"info\") {\n style.color = \"#323233\";\n }\n if (this.color) {\n style.color = this.plain ? this.color : \"white\";\n }\n style.fontSize = this.textSize + \"px\";\n return style;\n },\n // 字体大小\n textSize() {\n let fontSize = 14,\n { size } = this;\n if (size === \"large\") fontSize = 16;\n if (size === \"normal\") fontSize = 14;\n if (size === \"small\") fontSize = 12;\n if (size === \"mini\") fontSize = 10;\n return fontSize;\n },\n },\n methods: {\n clickHandler() {\n // 非禁止并且非加载中,才能点击\n if (!this.disabled && !this.loading) {\n\t\t\t\t// 进行节流控制,每this.throttle毫秒内,只在开始处执行\n\t\t\t\tuni.$u.throttle(() => {\n\t\t\t\t\tthis.$emit(\"click\");\n\t\t\t\t}, this.throttleTime);\n }\n },\n // 下面为对接uniapp官方按钮开放能力事件回调的对接\n getphonenumber(res) {\n this.$emit(\"getphonenumber\", res);\n },\n getuserinfo(res) {\n this.$emit(\"getuserinfo\", res);\n },\n error(res) {\n this.$emit(\"error\", res);\n },\n opensetting(res) {\n this.$emit(\"opensetting\", res);\n },\n launchapp(res) {\n this.$emit(\"launchapp\", res);\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/components.scss\";\n\n/* #ifndef APP-NVUE */\n@import \"./vue.scss\";\n/* #endif */\n\n/* #ifdef APP-NVUE */\n@import \"./nvue.scss\";\n/* #endif */\n\n$u-button-u-button-height: 40px !default;\n$u-button-text-font-size: 15px !default;\n$u-button-loading-text-font-size: 15px !default;\n$u-button-loading-text-margin-left: 4px !default;\n$u-button-large-width: 100% !default;\n$u-button-large-height: 50px !default;\n$u-button-normal-padding: 0 12px !default;\n$u-button-large-padding: 0 15px !default;\n$u-button-normal-font-size: 14px !default;\n$u-button-small-min-width: 60px !default;\n$u-button-small-height: 30px !default;\n$u-button-small-padding: 0px 8px !default;\n$u-button-mini-padding: 0px 8px !default;\n$u-button-small-font-size: 12px !default;\n$u-button-mini-height: 22px !default;\n$u-button-mini-font-size: 10px !default;\n$u-button-mini-min-width: 50px !default;\n$u-button-disabled-opacity: 0.5 !default;\n$u-button-info-color: #323233 !default;\n$u-button-info-background-color: #fff !default;\n$u-button-info-border-color: #ebedf0 !default;\n$u-button-info-border-width: 1px !default;\n$u-button-info-border-style: solid !default;\n$u-button-success-color: #fff !default;\n$u-button-success-background-color: $u-success !default;\n$u-button-success-border-color: $u-button-success-background-color !default;\n$u-button-success-border-width: 1px !default;\n$u-button-success-border-style: solid !default;\n$u-button-primary-color: #fff !default;\n$u-button-primary-background-color: $u-primary !default;\n$u-button-primary-border-color: $u-button-primary-background-color !default;\n$u-button-primary-border-width: 1px !default;\n$u-button-primary-border-style: solid !default;\n$u-button-error-color: #fff !default;\n$u-button-error-background-color: $u-error !default;\n$u-button-error-border-color: $u-button-error-background-color !default;\n$u-button-error-border-width: 1px !default;\n$u-button-error-border-style: solid !default;\n$u-button-warning-color: #fff !default;\n$u-button-warning-background-color: $u-warning !default;\n$u-button-warning-border-color: $u-button-warning-background-color !default;\n$u-button-warning-border-width: 1px !default;\n$u-button-warning-border-style: solid !default;\n$u-button-block-width: 100% !default;\n$u-button-circle-border-top-right-radius: 100px !default;\n$u-button-circle-border-top-left-radius: 100px !default;\n$u-button-circle-border-bottom-left-radius: 100px !default;\n$u-button-circle-border-bottom-right-radius: 100px !default;\n$u-button-square-border-top-right-radius: 3px !default;\n$u-button-square-border-top-left-radius: 3px !default;\n$u-button-square-border-bottom-left-radius: 3px !default;\n$u-button-square-border-bottom-right-radius: 3px !default;\n$u-button-icon-min-width: 1em !default;\n$u-button-plain-background-color: #fff !default;\n$u-button-hairline-border-width: 0.5px !default;\n\n.u-button {\n height: $u-button-u-button-height;\n position: relative;\n align-items: center;\n justify-content: center;\n @include flex;\n /* #ifndef APP-NVUE */\n box-sizing: border-box;\n /* #endif */\n flex-direction: row;\n\n &__text {\n font-size: $u-button-text-font-size;\n }\n\n &__loading-text {\n font-size: $u-button-loading-text-font-size;\n margin-left: $u-button-loading-text-margin-left;\n }\n\n &--large {\n /* #ifndef APP-NVUE */\n width: $u-button-large-width;\n /* #endif */\n height: $u-button-large-height;\n padding: $u-button-large-padding;\n }\n\n &--normal {\n padding: $u-button-normal-padding;\n font-size: $u-button-normal-font-size;\n }\n\n &--small {\n /* #ifndef APP-NVUE */\n min-width: $u-button-small-min-width;\n /* #endif */\n height: $u-button-small-height;\n padding: $u-button-small-padding;\n font-size: $u-button-small-font-size;\n }\n\n &--mini {\n height: $u-button-mini-height;\n font-size: $u-button-mini-font-size;\n /* #ifndef APP-NVUE */\n min-width: $u-button-mini-min-width;\n /* #endif */\n padding: $u-button-mini-padding;\n }\n\n &--disabled {\n opacity: $u-button-disabled-opacity;\n }\n\n &--info {\n color: $u-button-info-color;\n background-color: $u-button-info-background-color;\n border-color: $u-button-info-border-color;\n border-width: $u-button-info-border-width;\n border-style: $u-button-info-border-style;\n }\n\n &--success {\n color: $u-button-success-color;\n background-color: $u-button-success-background-color;\n border-color: $u-button-success-border-color;\n border-width: $u-button-success-border-width;\n border-style: $u-button-success-border-style;\n }\n\n &--primary {\n color: $u-button-primary-color;\n background-color: $u-button-primary-background-color;\n border-color: $u-button-primary-border-color;\n border-width: $u-button-primary-border-width;\n border-style: $u-button-primary-border-style;\n }\n\n &--error {\n color: $u-button-error-color;\n background-color: $u-button-error-background-color;\n border-color: $u-button-error-border-color;\n border-width: $u-button-error-border-width;\n border-style: $u-button-error-border-style;\n }\n\n &--warning {\n color: $u-button-warning-color;\n background-color: $u-button-warning-background-color;\n border-color: $u-button-warning-border-color;\n border-width: $u-button-warning-border-width;\n border-style: $u-button-warning-border-style;\n }\n\n &--block {\n @include flex;\n width: $u-button-block-width;\n }\n\n &--circle {\n border-top-right-radius: $u-button-circle-border-top-right-radius;\n border-top-left-radius: $u-button-circle-border-top-left-radius;\n border-bottom-left-radius: $u-button-circle-border-bottom-left-radius;\n border-bottom-right-radius: $u-button-circle-border-bottom-right-radius;\n }\n\n &--square {\n border-bottom-left-radius: $u-button-square-border-top-right-radius;\n border-bottom-right-radius: $u-button-square-border-top-left-radius;\n border-top-left-radius: $u-button-square-border-bottom-left-radius;\n border-top-right-radius: $u-button-square-border-bottom-right-radius;\n }\n\n &__icon {\n /* #ifndef APP-NVUE */\n min-width: $u-button-icon-min-width;\n line-height: inherit !important;\n vertical-align: top;\n /* #endif */\n }\n\n &--plain {\n background-color: $u-button-plain-background-color;\n }\n\n &--hairline {\n border-width: $u-button-hairline-border-width !important;\n }\n}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657699073729\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
1 | +{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?7ffd","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?3015","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?0acd","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?074b","uni-app:///uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?b783","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?76cb"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA42B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUh4B,gF;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;kBAuBA,EACA,wBADA,EAEA,sDAFA,EAGA,YACA;AACA;AACA;AACA,cAJA,wBAIA,CACA,oHACA,aADA,EACA,iBADA,EACA,cADA;AAGA,KARA;AASA,YATA,sBASA;AACA;AACA;AACA,KAZA,EAHA;;AAiBA;AACA;AACA,cAFA,wBAEA;AACA;AACA;AACA;AACA;AACA,SAHA;AAIA;AACA,KATA,EAjBA;;AA4BA,MA5BA,kBA4BA;AACA;;;AAGA,GAhCA;AAiCA,SAjCA,qBAiCA;AACA;AACA,GAnCA;AAoCA;AACA;AACA,kBAFA,0BAEA,aAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA;AACA;AACA;AACA;AACA,KAdA,EApCA,E;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAA2nD,CAAgB,q8CAAG,EAAC,C;;;;;;;;;;;ACA/oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true&\"\nvar renderjs\nimport script from \"./u-checkbox-group.vue?vue&type=script&lang=js&\"\nexport * from \"./u-checkbox-group.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ef8bac9\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t class=\"u-checkbox-group\"\n\t :class=\"bemClass\"\n\t>\n\t\t<slot></slot>\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * checkboxGroup 复选框组\n\t * @description 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便\n\t * @tutorial https://www.uviewui.com/components/checkbox.html\n\t * @property {String}\t\t\tname\t\t\t标识符 \n\t * @property {Array}\t\t\tvalue\t\t\t绑定的值\n\t * @property {String}\t\t\tshape\t\t\t形状,circle-圆形,square-方形 (默认 'square' )\n\t * @property {Boolean}\t\t\tdisabled\t\t是否禁用全部checkbox (默认 false )\n\t * @property {String}\t\t\tactiveColor\t\t选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 (默认 '#2979ff' )\n\t * @property {String}\t\t\tinactiveColor\t未选中的颜色 (默认 '#c8c9cc' )\n\t * @property {String | Number}\tsize\t\t\t整个组件的尺寸 单位px (默认 18 )\n\t * @property {String}\t\t\tplacement\t\t布局方式,row-横向,column-纵向 (默认 'row' )\n\t * @property {String | Number}\tlabelSize\t\tlabel的字体大小,px单位 (默认 14 )\n\t * @property {String}\t\t\tlabelColor\t\tlabel的字体颜色 (默认 '#303133' )\n\t * @property {Boolean}\t\t\tlabelDisabled\t是否禁止点击文本操作 (默认 false )\n\t * @property {String}\t\t\ticonColor\t\t图标颜色 (默认 '#ffffff' )\n\t * @property {String | Number}\ticonSize\t\t图标的大小,单位px (默认 12 )\n\t * @property {String}\t\t\ticonPlacement\t勾选图标的对齐方式,left-左边,right-右边 (默认 'left' )\n\t * @property {Boolean}\t\t\tborderBottom\tplacement为row时,是否显示下边框 (默认 false )\n\t * @event {Function}\tchange\t任一个checkbox状态发生变化时触发,回调为一个对象\n\t * @event {Function}\tinput\t修改通过v-model绑定的值时触发,回调为一个对象\n\t * @example <u-checkbox-group></u-checkbox-group>\n\t */\n\texport default {\n\t\tname: 'u-checkbox-group',\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tcomputed: {\n\t\t\t// 这里computed的变量,都是子组件u-checkbox需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化\n\t\t\t// 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-checkbox-group)\n\t\t\t// 拉取父组件新的变化后的参数\n\t\t\tparentData() {\n\t\t\t\treturn [this.value, this.disabled, this.inactiveColor, this.activeColor, this.size, this.labelDisabled, this.shape,\n\t\t\t\t\tthis.iconSize, this.borderBottom, this.placement\n\t\t\t\t]\n\t\t\t},\n\t\t\tbemClass() {\n\t\t\t\t// this.bem为一个computed变量,在mixin中\n\t\t\t\treturn this.bem('checkbox-group', ['placement'])\n\t\t\t},\n\t\t},\n\t\twatch: {\n\t\t\t// 当父组件需要子组件需要共享的参数发生了变化,手动通知子组件\n\t\t\tparentData() {\n\t\t\t\tif (this.children.length) {\n\t\t\t\t\tthis.children.map(child => {\n\t\t\t\t\t\t// 判断子组件(u-checkbox)如果有init方法的话,就就执行(执行的结果是子组件重新从父组件拉取了最新的值)\n\t\t\t\t\t\ttypeof(child.init) === 'function' && child.init()\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tthis.children = []\n\t\t},\n\t\tmethods: {\n\t\t\t// 将其他的checkbox设置为未选中的状态\n\t\t\tunCheckedOther(childInstance) {\n\t\t\t\tconst values = []\n\t\t\t\tthis.children.map(child => {\n\t\t\t\t\t// 将被选中的checkbox,放到数组中返回\n\t\t\t\t\tif (child.isChecked) {\n\t\t\t\t\t\tvalues.push(child.name)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t// 发出事件\n\t\t\t\tthis.$emit('change', values)\n\t\t\t\t// 修改通过v-model绑定的值\n\t\t\t\tthis.$emit('input', values)\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t.u-checkbox-group {\n\n\t\t&--row {\n\t\t\t@include flex;\n\t\t}\n\n\t\t&--column {\n\t\t\t@include flex(column);\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657699073643\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file | ... | ... |
请
注册
或
登录
后发表评论