1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
| <template>
| <view class="pages-my-instruction">
| <view class="content">
| <view class="title">视频说明</view>
| <view class="vidio">
| <video></video>
|
| </view>
| </view>
|
| </view>
| </template>
| <script>
| import {
| showToast,
| showModal
| } from "@/comm/utils.js"
| import jvideo from '@/components/j-video.vue'
| export default {
| name: "PagesMyInstruction",
| components:{jvideo},
| data() {
| return {
|
|
| }
| },
| onLoad() {
|
| },
|
| methods: {
| setData(obj) {
| let that = this;
| let keys = [];
| let val, data;
|
| Object.keys(obj).forEach(function(key) {
| keys = key.split(".");
| val = obj[key];
| data = that.$data;
| keys.forEach(function(key2, index) {
| if (index + 1 == keys.length) {
| that.$set(data, key2, val);
| } else {
| if (!data[key2]) {
| that.$set(data, key2, {});
| }
| }
| data = data[key2];
| });
| });
| },
| clickRemoteAssistance() {
|
| },
| clickUploadLog() {
|
| },
| clickViewInstruction() {
|
| },
|
|
| }
| }
| </script>
|
| <style lang="scss">
| .pages-my-instruction {
| display: flex;
| width: 750rpx;
| height: 100vh;
| flex-direction: column;
|
| .content {
|
| .title {
| font-size: 30rpx;
| margin: 20rpx 20rpx 20rpx 80rpx;
|
| }
|
| .vidio {
| margin: auto;
| width: 600rpx;
| height: 400rpx;
| background-color: #fff;
| }
| }
|
|
|
|
| }
| </style>
|
|