Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
b574efee
Commit
b574efee
authored
Feb 26, 2016
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19267 vtour対応
parent
d7561b03
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
186 additions
and
37 deletions
+186
-37
abvw/common/js/common.js
+12
-8
abvw/js/contentview.js
+168
-26
abvw/js/contentview_Events.js
+3
-3
abvw/js/contentview_General.js
+3
-0
No files found.
abvw/common/js/common.js
View file @
b574efee
...
...
@@ -2395,10 +2395,11 @@ COMMON.SetStartLog = function(strContentId) {
log
.
longitude
=
ClientData
.
longitude
();
// PageLog 1ページ目セット(1レコードは必須)
var
pageLog
=
new
PageLogEntity
();
pageLog
.
contentid
=
strContentId
;
log
.
pageLogArray
.
push
(
pageLog
);
if
(
CONTENTVIEW_GENERAL
.
contentType
!=
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
!=
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
){
var
pageLog
=
new
PageLogEntity
();
pageLog
.
contentid
=
strContentId
;
log
.
pageLogArray
.
push
(
pageLog
);
}
// Add to storage
arrContentLogs
.
push
(
log
);
}
...
...
@@ -2450,7 +2451,6 @@ COMMON.SetEndLog = function(strContentId) {
// 1ページ分のページ閲覧ログを作成
COMMON
.
SetPageLog
=
function
(
strContentId
,
strPageNo
)
{
var
arrContentLogs
=
ClientData
.
ContentLogData
();
for
(
var
nIndex
=
0
;
nIndex
<
arrContentLogs
.
length
;
nIndex
++
)
{
...
...
@@ -2459,7 +2459,11 @@ COMMON.SetPageLog = function(strContentId, strPageNo) {
// PageLog追加
var
pageLog
=
new
PageLogEntity
();
pageLog
.
contentid
=
strContentId
;
pageLog
.
pageNo
=
strPageNo
+
1
;
// 0始まりのページ番号
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
){
pageLog
.
pageNo
=
strPageNo
;
}
else
{
pageLog
.
pageNo
=
strPageNo
+
1
;
// 0始まりのページ番号
}
arrContentLogs
[
nIndex
].
pageLogArray
.
push
(
pageLog
);
}
...
...
@@ -2560,13 +2564,13 @@ COMMON.RegisterLog = function(is) {
var
pageLogArray
=
arrContentLogs
[
nIndex
].
pageLogArray
;
// 詳細ログオプションが有効ならページ閲覧ログデータ作成
if
(
pageLogArray
!=
null
&&
pageLogArray
.
length
>
0
)
{
console
.
log
(
"pageLogArray.length:"
+
pageLogArray
.
length
)
var
lines
=
[];
// 終了時間と閲覧時間の設定
var
pageLogStart
;
var
pageLogEnd
;
// 2レコード目からチェック
for
(
var
nIndex2
=
1
;
nIndex2
<
pageLogArray
.
length
;
nIndex2
++
)
{
for
(
var
nIndex2
=
1
;
nIndex2
<
pageLogArray
.
length
;
nIndex2
++
)
{
console
.
log
(
"pageLog:"
+
pageLogArray
[
nIndex2
-
1
].
pageNo
);
// 一つ前のログの終了日時がnullなら次のレコードの開始日時をセット
if
(
pageLogArray
[
nIndex2
-
1
].
readingEndDate
==
null
)
{
pageLogArray
[
nIndex2
-
1
].
readingEndDate
=
pageLogArray
[
nIndex2
].
readingStartDate
;
...
...
abvw/js/contentview.js
View file @
b574efee
This diff is collapsed.
Click to expand it.
abvw/js/contentview_Events.js
View file @
b574efee
...
...
@@ -1299,12 +1299,13 @@ CONTENTVIEW_EVENTS.imgBack_click = function() {
CONTENTVIEW_INITOBJECT
.
clearViewerComponent
();
if
(
ClientData
.
JumpQueue
())
{
var
oldDataBack
=
ClientData
.
JumpQueue
();
if
(
oldDataBack
.
length
>
0
)
{
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
ClientData
.
IsJumpBack
(
true
);
CONTENTVIEW
.
screenMove
();
ClientData
.
IsJumpBack
(
true
);
}
else
{
/*check back */
//if (ClientData.BookmarkScreen()) {
...
...
@@ -1323,7 +1324,6 @@ CONTENTVIEW_EVENTS.imgBack_click = function() {
//} else {
// window.history.back();
//}
//元の画面に戻って画面復帰
CONTENTVIEW
.
screenBack
();
...
...
abvw/js/contentview_General.js
View file @
b574efee
...
...
@@ -555,6 +555,9 @@ CONTENTVIEW_GENERAL.ready = function(initContentId){
//Start Function : No.9
CONTENTVIEW_GENERAL
.
_object3DImageArr
=
[];
//panoPageNo
CONTENTVIEW_GENERAL
.
panoPageNo
=
null
;
//オーサリングプレビュー対応
if
(
initContentId
!=
null
&&
initContentId
!=
undefined
){
CONTENTVIEW_GENERAL
.
pid
=
initContentId
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment