• R/O
  • SSH
  • HTTPS

autocodeforsql: 提交


Commit MetaInfo

修订版406 (tree)
时间2020-11-06 16:46:07
作者hilinwei

Log Message

更改概述

差异

--- AutoEpub3/cEpub6.vb (revision 405)
+++ AutoEpub3/cEpub6.vb (revision 406)
@@ -1103,10 +1103,6 @@
11031103
11041104 Dim sScr As String = "Img/" & sText
11051105
1106- If kbnDEP = emEpub6.emDep.Dep0 Then
1107- sScr = "" & sScr
1108- End If
1109-
11101106 If kbnDEP = emEpub6.emDep.Dep1 Then
11111107 sScr = "../" & sScr
11121108 End If
@@ -1115,6 +1111,10 @@
11151111 sScr = "../../" & sScr
11161112 End If
11171113
1114+ If kbnDEP = emEpub6.emDep.Dep3 Then
1115+ sScr = "../../../" & sScr
1116+ End If
1117+
11181118 Dim sImg = "<img alt="""" src=""" & sScr & """/>"
11191119
11201120
@@ -1146,9 +1146,6 @@
11461146
11471147 Dim sScr As String = "Img/" & sImgName
11481148
1149- If kbnDEP = emEpub6.emDep.Dep0 Then
1150- sScr = "" & sScr
1151- End If
11521149
11531150 If kbnDEP = emEpub6.emDep.Dep1 Then
11541151 sScr = "../" & sScr
@@ -1158,6 +1155,10 @@
11581155 sScr = "../../" & sScr
11591156 End If
11601157
1158+ If kbnDEP = emEpub6.emDep.Dep3 Then
1159+ sScr = "../../../" & sScr
1160+ End If
1161+
11611162 Dim sImg = "<img alt="""" src=""" & sScr & """/>"
11621163
11631164
@@ -1400,7 +1401,6 @@
14001401 End Enum
14011402
14021403 Enum emDep As Integer
1403- Dep0
14041404 Dep1
14051405 Dep2
14061406 Dep3
--- AutoEpub3/cTools.vb (revision 405)
+++ AutoEpub3/cTools.vb (revision 406)
@@ -1343,16 +1343,16 @@
13431343 Dim listTemp As List(Of String) = sScr.Split("/").ToList()
13441344 sScr = "Img/" & listTemp(listTemp.Count - 1)
13451345
1346- If iDep = emEpub6.emDep.Dep0 Then
1347- sScr = "../../../" & sScr
1346+ If iDep = emEpub6.emDep.Dep1 Then
1347+ sScr = "../" & sScr
13481348 End If
13491349
1350- If iDep = emEpub6.emDep.Dep1 Then
1350+ If iDep = emEpub6.emDep.Dep2 Then
13511351 sScr = "../../" & sScr
13521352 End If
13531353
1354- If iDep = emEpub6.emDep.Dep2 Then
1355- sScr = "../" & sScr
1354+ If iDep = emEpub6.emDep.Dep3 Then
1355+ sScr = "../../../" & sScr
13561356 End If
13571357
13581358 sGaiji = "<img class=""mobiImgChar_inline"" alt="""" src=""" & sScr & """/>"
@@ -1366,15 +1366,15 @@
13661366 Dim listTemp As List(Of String) = sScr.Split("/").ToList()
13671367 sScr = "Img/" & listTemp(listTemp.Count - 1)
13681368
1369- If iDep = emEpub6.emDep.Dep0 Then
1369+ If iDep = emEpub6.emDep.Dep1 Then
13701370 sScr = "../" & sScr
13711371 End If
13721372
1373- If iDep = emEpub6.emDep.Dep1 Then
1373+ If iDep = emEpub6.emDep.Dep2 Then
13741374 sScr = "../../" & sScr
13751375 End If
13761376
1377- If iDep = emEpub6.emDep.Dep2 Then
1377+ If iDep = emEpub6.emDep.Dep3 Then
13781378 sScr = "../../../" & sScr
13791379 End If
13801380
Show on old repository browser