question_info.html
5.6 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{$title}</title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta http-equiv="Access-Control-Allow-Origin" content="*" />
<link rel="stylesheet" href="__CDN__/assets/share/js/jquery.min.js" />
<script src="__CDN__/assets/share/js/base.js"></script>
<style>
body,
html {
margin: 0;
}
.quesbox {
padding: 0.5rem 0.32rem;
box-sizing: border-box;
width: 6.86rem;
background: #ffffff;
border-radius: 0.24rem;
box-shadow: 0 0.12rem 0.24rem 0.06rem rgba(0, 0, 0, 0.05);
margin: 0.4rem auto 0;
}
.questitle {
color: #06121f;
font-size: 0.32rem;
font-weight: bold;
}
.qieskey {
width: 0.48rem;
height: 0.48rem;
border: 0.02rem solid #979797;
color: 0.28rem;
text-align: center;
line-height: 0.48rem;
margin-right: 0.24rem;
font-size: 0.32rem;
border-radius: 50%;
}
.queskeytitle {
color: #06121f;
font-size: 0.32rem;
}
.quesitembox {
margin-top: 1.5rem;
}
.quesitem {
display: flex;
align-items: center;
margin-top: 0.48rem;
}
.questype {
display: flex;
align-items: center;
color: #06121f;
font-size: 0.32rem;
padding: 0.32rem;
box-sizing: border-box;
font-weight: bold;
}
.selectimg {
width: 0.48rem;
height: 0.48rem;
margin-right: 0.12rem;
}
.topbox {
width: 100%;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0px 0.04rem 0.08rem 0px rgba(0, 0, 0, 0.13);
display: flex;
padding: 0.25rem 0.32rem;
box-sizing: border-box;
}
.logoimg {
width: 1.28rem;
height: 1.28rem;
font-size: 0;
margin-bottom: 0.14rem;
margin-right: 0.28rem;
}
.logoimg img {
width: 100%;
height: 100%;
}
.appintro {
color: #06121f;
font-size: 0.28rem;
}
.topboxright {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
}
.openapp {
width: 1.78rem;
height: 0.6rem;
background: #fd7a3e;
border-radius: 0.42rem;
color: #fff;
font-size: 0.28rem;
text-align: center;
line-height: 0.6rem;
}
.logoname {
color: #06121f;
font-size: 0.24rem;
text-align: center;
width: 1.28rem;
}
</style>
</head>
<body>
<div class="topbox">
<div class="topboxleft">
<div class="logoimg">
<img src="__CDN__/assets/share/images/app_icon.png" alt="" />
</div>
<div class="logoname">精工筑匠</div>
</div>
<div class="topboxright">
<div class="appintro">
此处为APP简介,文案待客户确定,此处为APP简介,文案待客户确定,
</div>
<div class="openapp">打开APP</div>
</div>
</div>
<!-- <div class="questype">
<img src="images/qiandao.png" alt="" class="selectimg" /> 单选题
</div> -->
<div class="quesbox">
<div class="questitle">
下面项目目标动态控制措施中,属于管理措施的是( )
</div>
<div class="quesitembox">
<div class="quesitem">
<div class="qieskey">A</div>
<div class="queskeytitle">强化合同管理</div>
</div>
<div class="quesitem">
<div class="qieskey">B</div>
<div class="queskeytitle">调整职能分工</div>
</div>
<div class="quesitem">
<div class="qieskey">C</div>
<div class="queskeytitle">优化组织结构</div>
</div>
<div class="quesitem">
<div class="qieskey">D</div>
<div class="queskeytitle">改进施工工艺</div>
</div>
</div>
</div>
</body>
<script src="__CDN__/assets/share/js/jquery.min.js"></script>
<script>
var question_id = getQueryVariable("question_id");
var type = getQueryVariable("type");
function getdetail() {
var url = "/almighty/questionInfo";
var params = {
question_id: 88,
};
ajaxsend(url, params, function(res) {
/*console.log(JSON.stringify(res))*/
console.log(res);
});
}
getdetail();
// var xhr = new XMLHttpRequest();
// xhr.open(
// "GET",
// "http://enterprise.t.brotop.cn/mobile?question_id=88",
// true
// );
// xhr.withCredentials = true;
// xhr.onload = function() {
// alert(xhr.response); //reposHTML;
// };
// xhr.onerror = function() {
// alert("error making the request.");
// };
// xhr.send();
</script>
</html>