@10yun/cv-mobile-ui 0.5.9 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extend/permission.js +1 -2
- package/package.json +1 -1
- package/plugins/uni-richText.js +1 -1
- package/plugins/uni-socket.js +6 -8
- package/ui-cv/cv-geo-local/cv-geo-local.vue +0 -1
- package/ui-cv/cv-layout-topbar/cv-layout-topbar.vue +238 -0
- package/ui-cv/cv-markdown-show/lib/highlight/uni-highlight.min.js +9001 -5133
- package/ui-sdks/sdk-app-update/img/logo.png +0 -0
- package/ui-sdks/sdk-app-update/img/update_bg.png +0 -0
- package/ui-sdks/sdk-app-update/img/update_bg_top.png +0 -0
- package/{ui-cv/cv-update-app/cv-update-app.vue → ui-sdks/sdk-app-update/sdk-app-update.vue} +2 -2
- package/ui-sdks/sdk-app-update/xxxx +62 -0
- package/ui-sdks/sdk-privacy-policy/sdk-privacy-policy.vue +113 -0
- package/ui-sdks/sdk-u-charts/app-echarts.min.js +23 -0
- package/ui-sdks/sdk-u-charts/config-echarts.js +420 -0
- package/ui-sdks/sdk-u-charts/config-ucharts.js +630 -0
- package/ui-sdks/sdk-u-charts/h5-echarts.min.js +23 -0
- package/ui-sdks/sdk-u-charts/u-charts.js +7398 -0
- package/ui-sdks/sdk-u-charts/u-charts.min.js +1 -0
- package/ui-sdks/sdk-webview-main/WebViewMain.vue +1 -0
- package/ui-sdks/sdk-webview-main/main.js +0 -0
- package/ui-sdks/sdk-webview-main/mixin.js +0 -0
- package/ui-uni/uParse/src/components/wxParseAudio.vue +26 -0
- package/ui-uni/uParse/src/components/wxParseImg.vue +94 -0
- package/ui-uni/uParse/src/components/wxParseTable.vue +55 -0
- package/ui-uni/uParse/src/components/wxParseTemplate0.vue +103 -0
- package/ui-uni/uParse/src/components/wxParseTemplate1.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate10.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate11.vue +86 -0
- package/ui-uni/uParse/src/components/wxParseTemplate2.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate3.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate4.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate5.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate6.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate7.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate8.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseTemplate9.vue +88 -0
- package/ui-uni/uParse/src/components/wxParseVideo.vue +15 -0
- package/ui-uni/uParse/src/editor.css +495 -0
- package/ui-uni/uParse/src/libs/html2json.js +261 -0
- package/ui-uni/uParse/src/libs/htmlparser.js +156 -0
- package/ui-uni/uParse/src/libs/wxDiscode.js +195 -0
- package/ui-uni/uParse/src/wxParse.css +270 -0
- package/ui-uni/uParse/src/wxParse.vue +206 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<view class="update-app-area" v-if="update">
|
|
3
3
|
<view class="update-app-main" v-bind:style="'top:' + layer_top + 'px;opacity:' + layer_opacity + ';'">
|
|
4
4
|
<image
|
|
5
|
-
src="
|
|
5
|
+
src="./img/update_bg_top.png"
|
|
6
6
|
v-bind:style="'height:' + bg_top_height + 'px;'"
|
|
7
7
|
@load="imageLoad"
|
|
8
8
|
mode="aspectFit"
|
|
@@ -90,7 +90,7 @@ export default {
|
|
|
90
90
|
return {
|
|
91
91
|
update: false,
|
|
92
92
|
layer_opacity: 0,
|
|
93
|
-
bg_top_img: '
|
|
93
|
+
bg_top_img: './img/update_bg_top.png',
|
|
94
94
|
new_version: {},
|
|
95
95
|
bg_top_height: 0,
|
|
96
96
|
window_width: 0,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<div class="index-sys-totice-wrap" v-show="showNotice">
|
|
2
|
+
<div class="totice-box">
|
|
3
|
+
<div class="title">系统公告</div>
|
|
4
|
+
<div class="close" @click="sysToticeClose(this)">x</div>
|
|
5
|
+
<div class="content">
|
|
6
|
+
<p>尊敬的用户:</p>
|
|
7
|
+
<!-- <p>  您好,十云人工智能应用服务平台</p> -->
|
|
8
|
+
<!-- <p>在 2017-06-23 19:30 进行系统更新维护</p> -->
|
|
9
|
+
<!-- <p>  届时系统将会以更好的体验给您带来服务;</p> -->
|
|
10
|
+
<!-- <p>  这个过程可能需要10-20分钟~</p> -->
|
|
11
|
+
<!-- <p>  给您带来的不便还请谅解。</p> -->
|
|
12
|
+
<p> </p>
|
|
13
|
+
<p>本次更新:</p>
|
|
14
|
+
<p> 1.会员模块合并统一</p>
|
|
15
|
+
<p> 2.优化性能</p>
|
|
16
|
+
<p> 3.完善已知问题~</p>
|
|
17
|
+
<p> 4.微信公众号升级~</p>
|
|
18
|
+
<p></p>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/*系统公告*/
|
|
26
|
+
.index-sys-totice-wrap {
|
|
27
|
+
background-color: rgba(216, 201, 201, 0.6);
|
|
28
|
+
position: fixed;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
z-index: 1000;
|
|
32
|
+
top: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.index-sys-totice-wrap .totice-box {
|
|
37
|
+
background: #fff;
|
|
38
|
+
color: #333;
|
|
39
|
+
padding: 0 15px 15px 15px;
|
|
40
|
+
margin: 15px;
|
|
41
|
+
box-shadow: 0px 0px 8px #000;
|
|
42
|
+
position: relative;
|
|
43
|
+
top: 15%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.index-sys-totice-wrap .title {
|
|
47
|
+
text-align: center;
|
|
48
|
+
font-size: 20px;
|
|
49
|
+
padding: 5px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.index-sys-totice-wrap .close {
|
|
53
|
+
font-size: 30px;
|
|
54
|
+
color: #333;
|
|
55
|
+
position: absolute;
|
|
56
|
+
right: 5px;
|
|
57
|
+
top: 5px;
|
|
58
|
+
width: 30px;
|
|
59
|
+
height: 30px;
|
|
60
|
+
line-height: 30px;
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="privacy-policy" v-if="privacy_policy !== true">
|
|
3
|
+
<view class="privacy-policy-item" v-bind:style="'bottom:' + layer_bottom + 'px'">
|
|
4
|
+
<view class="privacy-policy-item-title">协议与隐私</view>
|
|
5
|
+
<view class="privacy-policy-item-content">
|
|
6
|
+
<text>
|
|
7
|
+
请您务必审慎阅读、充分理解“
|
|
8
|
+
<navigator :url="url">《用户协议》</navigator>
|
|
9
|
+
”与“
|
|
10
|
+
<navigator :url="url">《隐私政策》</navigator>
|
|
11
|
+
”各条款,包括但不限于:为了给您提供更好的服务,我们需要收集您的设备信息、操作日志等个人信息。您可以在设置中查看、变更、删除个人信息并管理您的授权。
|
|
12
|
+
您可以阅读了解详细信息。如您同意,请点击“同意”开始接收我们的服务
|
|
13
|
+
</text>
|
|
14
|
+
</view>
|
|
15
|
+
<view class="privacy-policy-item-button">
|
|
16
|
+
<view class="privacy-policy-item-button-reject" @tap="reject">暂不使用</view>
|
|
17
|
+
<view class="privacy-policy-item-button-accept" @tap="accept">同意</view>
|
|
18
|
+
</view>
|
|
19
|
+
</view>
|
|
20
|
+
</view>
|
|
21
|
+
</template>
|
|
22
|
+
<script>
|
|
23
|
+
import StorageObj from '@/plugins/storage.js';
|
|
24
|
+
export default {
|
|
25
|
+
name: 'PrivacyPolicy',
|
|
26
|
+
props: {
|
|
27
|
+
url: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ''
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
data() {
|
|
33
|
+
return {
|
|
34
|
+
privacy_policy: false,
|
|
35
|
+
layer_bottom: 160
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
created() {
|
|
39
|
+
this.initLayer();
|
|
40
|
+
},
|
|
41
|
+
methods: {
|
|
42
|
+
initLayer() {
|
|
43
|
+
if (StorageObj.getSync('PrivacyPolicy')) {
|
|
44
|
+
this.privacy_policy = true;
|
|
45
|
+
} else {
|
|
46
|
+
this.privacy_policy = false;
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
/* 计算弹窗整体高度 、 matop*/
|
|
50
|
+
reject() {
|
|
51
|
+
plus.runtime.quit();
|
|
52
|
+
this.$emit('reject');
|
|
53
|
+
},
|
|
54
|
+
accept() {
|
|
55
|
+
StorageObj.setAsync('PrivacyPolicy', true);
|
|
56
|
+
this.privacy_policy = true;
|
|
57
|
+
this.$forceUpdate();
|
|
58
|
+
this.$emit('accept');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
</script>
|
|
63
|
+
<style>
|
|
64
|
+
.privacy-policy {
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
z-index: 99;
|
|
71
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
72
|
+
}
|
|
73
|
+
.privacy-policy-item {
|
|
74
|
+
background-color: #ffffff;
|
|
75
|
+
border-radius: 5px;
|
|
76
|
+
width: 80%;
|
|
77
|
+
position: absolute;
|
|
78
|
+
left: 10%;
|
|
79
|
+
margin-top: 50px;
|
|
80
|
+
}
|
|
81
|
+
.privacy-policy-item-title {
|
|
82
|
+
font-size: 18px;
|
|
83
|
+
text-align: center;
|
|
84
|
+
margin-top: 20px;
|
|
85
|
+
}
|
|
86
|
+
.privacy-policy-item-content {
|
|
87
|
+
margin-top: 20px;
|
|
88
|
+
line-height: 1.5em;
|
|
89
|
+
font-size: 16px;
|
|
90
|
+
padding: 0 20px;
|
|
91
|
+
}
|
|
92
|
+
navigator {
|
|
93
|
+
display: contents;
|
|
94
|
+
color: cornflowerblue;
|
|
95
|
+
}
|
|
96
|
+
.privacy-policy-item-button {
|
|
97
|
+
height: 45px;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-wrap: wrap;
|
|
100
|
+
margin-top: 20px;
|
|
101
|
+
border-top: solid 1px rgba(0, 0, 0, 0.1);
|
|
102
|
+
line-height: 45px;
|
|
103
|
+
font-size: 16px;
|
|
104
|
+
}
|
|
105
|
+
.privacy-policy-item-button-reject,
|
|
106
|
+
.privacy-policy-item-button-accept {
|
|
107
|
+
text-align: center;
|
|
108
|
+
width: 50%;
|
|
109
|
+
}
|
|
110
|
+
.privacy-policy-item-button-accept {
|
|
111
|
+
color: cornflowerblue;
|
|
112
|
+
}
|
|
113
|
+
</style>
|