提交 23c38fcf 编写于 作者: NoSubject's avatar NoSubject 提交者: NoSubject

修复应用市场vip应用按钮显示不正确的问题


(cherry picked from commit bae3c58b)
上级 220b71fc
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
text-align: center; text-align: center;
display: flex; display: flex;
justify-content: center; justify-content: center;
word-break: keep-all;
} }
.category-item{ .category-item{
height: 40px; height: 40px;
...@@ -69,7 +70,7 @@ export default { ...@@ -69,7 +70,7 @@ export default {
} }
.search-area{ .search-area{
height: 32px; height: 32px;
width: 268px; min-width: 228px;
border-radius: 20px; border-radius: 20px;
border: 1px solid #999999; border: 1px solid #999999;
margin: 5px 0 0 20px; margin: 5px 0 0 20px;
...@@ -78,7 +79,7 @@ export default { ...@@ -78,7 +79,7 @@ export default {
height: 30px; height: 30px;
border: 0; border: 0;
background: transparent; background: transparent;
width: 180px; min-width: 100px;
} }
.category-search-icon{ .category-search-icon{
height: 32px; height: 32px;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Category/> <Category/>
</div> </div>
<div class="applications-content"> <div class="applications-content">
<Applications ref="applications" isVip="isVip"/> <Applications ref="applications" :isVip="isVip"/>
</div> </div>
</div> </div>
<div v-else-if="isAdmin" class="appstore-content"> <div v-else-if="isAdmin" class="appstore-content">
......
...@@ -1133,7 +1133,10 @@ library.defineProperties(response, { ...@@ -1133,7 +1133,10 @@ library.defineProperties(response, {
}); });
function _get(key, java_data){
if (!bind["o"+key]) bind["o"+key] = JSON.parse(java_data);
return bind["o"+key];
}
var o= { var o= {
"entityManager": { "configurable": true, "get": function(){return null;} }, "entityManager": { "configurable": true, "get": function(){return null;} },
...@@ -1187,7 +1190,7 @@ var o= { ...@@ -1187,7 +1190,7 @@ var o= {
* var startTime = (new Date(this.parameters.startTime)).format("db"); //格式化为yyyy-mm-dd hh:mm:ss * var startTime = (new Date(this.parameters.startTime)).format("db"); //格式化为yyyy-mm-dd hh:mm:ss
* return "SELECT o FROM Task o WHERE o.person='"+user+"' AND o.startTime>{ts '"+startTime+"'}" * return "SELECT o FROM Task o WHERE o.person='"+user+"' AND o.startTime>{ts '"+startTime+"'}"
*/ */
"parameters": { "configurable": true, "get": function(){return ((bind.java_parameters) ? JSON.parse(bind.java_parameters) : null)} }, "parameters": { "configurable": true, "get": function(){return ((bind.java_parameters) ? _get("parameters", bind.java_parameters) : null)} },
/** /**
* 调用接口时传入的请求消息体的文本内容。 * 调用接口时传入的请求消息体的文本内容。
* @o2range 服务管理-接口 * @o2range 服务管理-接口
...@@ -1205,7 +1208,7 @@ var o= { ...@@ -1205,7 +1208,7 @@ var o= {
"request": { "configurable": true, "get": function(){return bind.java_request || null; } }, "request": { "configurable": true, "get": function(){return bind.java_request || null; } },
"resources": { "configurable": true, "get": function(){return (bind.java_resources || null)} }, "resources": { "configurable": true, "get": function(){return (bind.java_resources || null)} },
"customResponse": { "configurable": true, "get": function(){return (bind.java_customResponse || null)} }, "customResponse": { "configurable": true, "get": function(){return (bind.java_customResponse || null)} },
"message": { "configurable": true, "get": function(){return (bind.java_message) ? JSON.parse(bind.java_message) : null;} } "message": { "configurable": true, "get": function(){return (bind.java_message) ? _get("message", bind.java_message) : null;} }
} }
library.defineProperties(bind, o); library.defineProperties(bind, o);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册