* Remove , at the end of row in the lastest children in store.

This commit is contained in:
liumengyi
2023-11-14 15:29:02 +08:00
parent 544ded7208
commit da1bcc2ffa
2 changed files with 17 additions and 17 deletions
+7 -7
View File
@@ -26,7 +26,7 @@ foreach($screenshots as $screenshot)
set::src($screenshot),
setClass('state'),
on::click('window.open("' . $screenshot . '")')
) : null,
) : null
);
}
@@ -67,7 +67,7 @@ detailHeader(
set::icon('info-sign'),
$lang->store->support,
),
set::items($dropMenus),
set::items($dropMenus)
),
backBtn
(
@@ -75,7 +75,7 @@ detailHeader(
setClass('primary btn install-btn w-20'),
set::type('primary'),
set::url($this->createLink('space', 'createApplication', "id={$cloudApp->id}")),
setData('toggle', 'modal'),
setData('toggle', 'modal')
)
)
)
@@ -91,7 +91,7 @@ detailBody
setClass('flex'),
img(set::src($cloudApp->logo), setStyle(array('width' => '50px', 'height' => '50px'))),
div(setClass('app-name-container'),div($cloudApp->alias, setClass('app-name')))
),
)
),
section
(
@@ -107,14 +107,14 @@ detailBody
h::th($lang->store->appVersion),
h::th($lang->store->appType),
h::th($lang->store->author),
h::th($lang->store->releaseDate),
h::th($lang->store->releaseDate)
),
h::tr
(
h::td($cloudApp->app_version),
h::td(trim(implode('/', helper::arrayColumn($cloudApp->categories, 'alias')), '/')),
h::td($cloudApp->author),
h::td((new \DateTime($cloudApp->publish_time))->format('Y-m-d')),
h::td((new \DateTime($cloudApp->publish_time))->format('Y-m-d'))
)
)
),
@@ -141,7 +141,7 @@ detailBody
setClass('table borderless table-hover mb-3'),
...$dynamicArticlesWd,
),
pager(set::props(array('id' => 'dynamicPager'))),
pager(set::props(array('id' => 'dynamicPager')))
)
)
)
+10 -10
View File
@@ -19,7 +19,7 @@ foreach($categories as $id => $category)
'id' => $id,
'parent' => 0,
'name' => $category,
'key' => 'storeTree-' . $id,
'key' => 'storeTree-' . $id
);
}
jsVar('tree', $tree);
@@ -75,7 +75,7 @@ foreach ($cloudApps as $group)
setData('size', 'sm'),
in_array($cloudApp->id, $installedApps) ? setData('confirm', $lang->store->alreadyInstalled) : null,
setData('url', $this->createLink('space', 'createApplication', "id={$cloudApp->id}")),
on::click('installApp', array('stop' => true)),
on::click('installApp', array('stop' => true))
)
)
);
@@ -99,7 +99,7 @@ div
featureBar
(
set::current($sortType),
set::linkParams("sortType={key}"),
set::linkParams("sortType={key}")
),
toolbar
@@ -112,10 +112,10 @@ div
'type' => 'inputControl',
'prefixWidth' => 'icon',
'placeholder' => $lang->store->searchApp,
'value' => $keyword,
)),
),
),
'value' => $keyword
))
)
)
),
div(...$groups),
@@ -126,8 +126,8 @@ div
set::recPerPage($setting['recPerPage']),
set::linkCreator($setting['linkCreator']),
set::items($setting['items']),
set::gap($setting['gap']),
) : null,
set::gap($setting['gap'])
) : null
);
count($cloudApps) ? sidebar
@@ -137,6 +137,6 @@ count($cloudApps) ? sidebar
setID('storeTree'),
set::items($tree),
set::canSplit(false),
set::onClickItem(jsRaw('window.treeClick')),
set::onClickItem(jsRaw('window.treeClick'))
)
) : null;