|
@@ -73,7 +73,7 @@ fun tryConnectSocket(host: String, port: String, id: String): UTSPromise<SocketT
|
|
|
fun initRuntimeSocketService(): UTSPromise<Boolean> {
|
|
fun initRuntimeSocketService(): UTSPromise<Boolean> {
|
|
|
val hosts: String = "192.168.0.20,127.0.0.1"
|
|
val hosts: String = "192.168.0.20,127.0.0.1"
|
|
|
val port: String = "8090"
|
|
val port: String = "8090"
|
|
|
- val id: String = "app-android_Q11oN8"
|
|
|
|
|
|
|
+ val id: String = "app-android_XpkOHc"
|
|
|
if (hosts == "" || port == "" || id == "") {
|
|
if (hosts == "" || port == "" || id == "") {
|
|
|
return UTSPromise.resolve(false)
|
|
return UTSPromise.resolve(false)
|
|
|
}
|
|
}
|
|
@@ -156,6 +156,122 @@ val GenAppClass = CreateVueAppComponent(GenApp::class.java, fun(): VueComponentO
|
|
|
return GenApp(instance)
|
|
return GenApp(instance)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
|
|
+val iconMap: UTSJSONObject = object : UTSJSONObject(UTSSourceMapPosition("iconMap", "common/icon-map.uts", 2, 14)) {
|
|
|
|
|
+ var alipay = "/static/icons/alipay.svg"
|
|
|
|
|
+ var arrow_down = "/static/icons/arrow_down.svg"
|
|
|
|
|
+ var arrow_left = "/static/icons/arrow_left.svg"
|
|
|
|
|
+ var arrow_right = "/static/icons/arrow_right.svg"
|
|
|
|
|
+ var arrow_up = "/static/icons/arrow_up.svg"
|
|
|
|
|
+ var calculator = "/static/icons/calculator.svg"
|
|
|
|
|
+ var cart = "/static/icons/cart.svg"
|
|
|
|
|
+ var cart_empty = "/static/icons/cart_empty.svg"
|
|
|
|
|
+ var caution = "/static/icons/caution.svg"
|
|
|
|
|
+ var caution_filled = "/static/icons/caution_filled.svg"
|
|
|
|
|
+ var check = "/static/icons/check.svg"
|
|
|
|
|
+ var check_filled = "/static/icons/check_filled.svg"
|
|
|
|
|
+ var close = "/static/icons/close.svg"
|
|
|
|
|
+ var close_filled = "/static/icons/close_filled.svg"
|
|
|
|
|
+ var copy = "/static/icons/copy.svg"
|
|
|
|
|
+ var `customer-interests` = "/static/icons/customer-interests.svg"
|
|
|
|
|
+ var customer_service = "/static/icons/customer_service.svg"
|
|
|
|
|
+ var discount = "/static/icons/discount.svg"
|
|
|
|
|
+ var download = "/static/icons/download.svg"
|
|
|
|
|
+ var down_to_bottom = "/static/icons/down_to_bottom.svg"
|
|
|
|
|
+ var edit = "/static/icons/edit.svg"
|
|
|
|
|
+ var email = "/static/icons/email.svg"
|
|
|
|
|
+ var ET = "/static/icons/ET.svg"
|
|
|
|
|
+ var filter = "/static/icons/filter.svg"
|
|
|
|
|
+ var flow = "/static/icons/flow.svg"
|
|
|
|
|
+ var forbidden = "/static/icons/forbidden.svg"
|
|
|
|
|
+ var forbidden_filled = "/static/icons/forbidden_filled.svg"
|
|
|
|
|
+ var help = "/static/icons/help.svg"
|
|
|
|
|
+ var help_filled = "/static/icons/help_filled.svg"
|
|
|
|
|
+ var image = "/static/icons/image.svg"
|
|
|
|
|
+ var info = "/static/icons/info.svg"
|
|
|
|
|
+ var info_filled = "/static/icons/info_filled.svg"
|
|
|
|
|
+ var international = "/static/icons/international.svg"
|
|
|
|
|
+ var like = "/static/icons/like.svg"
|
|
|
|
|
+ var like_filled = "/static/icons/like_filled.svg"
|
|
|
|
|
+ var link = "/static/icons/link.svg"
|
|
|
|
|
+ var list = "/static/icons/list.svg"
|
|
|
|
|
+ var lock = "/static/icons/lock.svg"
|
|
|
|
|
+ var message = "/static/icons/message.svg"
|
|
|
|
|
+ var message_unread = "/static/icons/message_unread.svg"
|
|
|
|
|
+ var navigation = "/static/icons/navigation.svg"
|
|
|
|
|
+ var notification = "/static/icons/notification.svg"
|
|
|
|
|
+ var notification_off = "/static/icons/notification_off.svg"
|
|
|
|
|
+ var order_unread = "/static/icons/order_unread.svg"
|
|
|
|
|
+ var page_first = "/static/icons/page_first.svg"
|
|
|
|
|
+ var page_last = "/static/icons/page_last.svg"
|
|
|
|
|
+ var page_turning_left = "/static/icons/page_turning_left.svg"
|
|
|
|
|
+ var page_turning_right = "/static/icons/page_turning_right.svg"
|
|
|
|
|
+ var partner = "/static/icons/partner.svg"
|
|
|
|
|
+ var phonecall = "/static/icons/phonecall.svg"
|
|
|
|
|
+ var phonecall_off = "/static/icons/phonecall_off.svg"
|
|
|
|
|
+ var play = "/static/icons/play.svg"
|
|
|
|
|
+ var record = "/static/icons/record.svg"
|
|
|
|
|
+ var refresh = "/static/icons/refresh.svg"
|
|
|
|
|
+ var region = "/static/icons/region.svg"
|
|
|
|
|
+ var search = "/static/icons/search.svg"
|
|
|
|
|
+ var setting = "/static/icons/setting.svg"
|
|
|
|
|
+ var share = "/static/icons/share.svg"
|
|
|
|
|
+ var show_less = "/static/icons/show_less.svg"
|
|
|
|
|
+ var show_more = "/static/icons/show_more.svg"
|
|
|
|
|
+ var social_wechat = "/static/icons/social_wechat.svg"
|
|
|
|
|
+ var star = "/static/icons/star.svg"
|
|
|
|
|
+ var star_filled = "/static/icons/star_filled.svg"
|
|
|
|
|
+ var store = "/static/icons/store.svg"
|
|
|
|
|
+ var sub_account = "/static/icons/sub_account.svg"
|
|
|
|
|
+ var time = "/static/icons/time.svg"
|
|
|
|
|
+ var unlock = "/static/icons/unlock.svg"
|
|
|
|
|
+ var upload = "/static/icons/upload.svg"
|
|
|
|
|
+ var up_to_top = "/static/icons/up_to_top.svg"
|
|
|
|
|
+ var user = "/static/icons/user.svg"
|
|
|
|
|
+ var view = "/static/icons/view.svg"
|
|
|
|
|
+ var view_off = "/static/icons/view_off.svg"
|
|
|
|
|
+}
|
|
|
|
|
+val GenComponentsUIconUIconClass = CreateVueComponent(GenComponentsUIconUIcon::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "component", name = "", inheritAttrs = GenComponentsUIconUIcon.inheritAttrs, inject = GenComponentsUIconUIcon.inject, props = GenComponentsUIconUIcon.props, propsNeedCastKeys = GenComponentsUIconUIcon.propsNeedCastKeys, emits = GenComponentsUIconUIcon.emits, components = GenComponentsUIconUIcon.components, styles = GenComponentsUIconUIcon.styles)
|
|
|
|
|
+}
|
|
|
|
|
+, fun(instance, renderer): GenComponentsUIconUIcon {
|
|
|
|
|
+ return GenComponentsUIconUIcon(instance)
|
|
|
|
|
+}
|
|
|
|
|
+)
|
|
|
|
|
+val GenComponentsUSwitchUSwitchClass = CreateVueComponent(GenComponentsUSwitchUSwitch::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "component", name = "", inheritAttrs = GenComponentsUSwitchUSwitch.inheritAttrs, inject = GenComponentsUSwitchUSwitch.inject, props = GenComponentsUSwitchUSwitch.props, propsNeedCastKeys = GenComponentsUSwitchUSwitch.propsNeedCastKeys, emits = GenComponentsUSwitchUSwitch.emits, components = GenComponentsUSwitchUSwitch.components, styles = GenComponentsUSwitchUSwitch.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenComponentsUSwitchUSwitch.setup(props as GenComponentsUSwitchUSwitch)
|
|
|
|
|
+ }
|
|
|
|
|
+ )
|
|
|
|
|
+}
|
|
|
|
|
+, fun(instance, renderer): GenComponentsUSwitchUSwitch {
|
|
|
|
|
+ return GenComponentsUSwitchUSwitch(instance)
|
|
|
|
|
+}
|
|
|
|
|
+)
|
|
|
|
|
+open class TouchItem (
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var clientX: Number,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var clientY: Number,
|
|
|
|
|
+) : UTSObject(), IUTSSourceMap {
|
|
|
|
|
+ override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
|
|
+ return UTSSourceMapPosition("TouchItem", "components/u-floating/u-floating.vue", 9, 7)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+open class TouchEvent (
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var touches: UTSArray<TouchItem>,
|
|
|
|
|
+) : UTSObject(), IUTSSourceMap {
|
|
|
|
|
+ override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
|
|
+ return UTSSourceMapPosition("TouchEvent", "components/u-floating/u-floating.vue", 13, 7)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+val GenComponentsUFloatingUFloatingClass = CreateVueComponent(GenComponentsUFloatingUFloating::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "component", name = GenComponentsUFloatingUFloating.name, inheritAttrs = GenComponentsUFloatingUFloating.inheritAttrs, inject = GenComponentsUFloatingUFloating.inject, props = GenComponentsUFloatingUFloating.props, propsNeedCastKeys = GenComponentsUFloatingUFloating.propsNeedCastKeys, emits = GenComponentsUFloatingUFloating.emits, components = GenComponentsUFloatingUFloating.components, styles = GenComponentsUFloatingUFloating.styles)
|
|
|
|
|
+}
|
|
|
|
|
+, fun(instance, renderer): GenComponentsUFloatingUFloating {
|
|
|
|
|
+ return GenComponentsUFloatingUFloating(instance)
|
|
|
|
|
+}
|
|
|
|
|
+)
|
|
|
val `default` = "/static/imagesInfo/bg-color.png"
|
|
val `default` = "/static/imagesInfo/bg-color.png"
|
|
|
val default__1 = "/static/imagesInfo/bg-icon.png"
|
|
val default__1 = "/static/imagesInfo/bg-icon.png"
|
|
|
open class AvatarUrl (
|
|
open class AvatarUrl (
|
|
@@ -163,7 +279,7 @@ open class AvatarUrl (
|
|
|
open var url: String,
|
|
open var url: String,
|
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("AvatarUrl", "src/pages/index/console.uvue", 206, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("AvatarUrl", "pages/index/console.uvue", 207, 7)
|
|
|
}
|
|
}
|
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
return AvatarUrlReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
return AvatarUrlReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
@@ -201,7 +317,7 @@ open class CoachInfo (
|
|
|
open var avatar_url: AvatarUrl? = null,
|
|
open var avatar_url: AvatarUrl? = null,
|
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("CoachInfo", "src/pages/index/console.uvue", 210, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("CoachInfo", "pages/index/console.uvue", 212, 7)
|
|
|
}
|
|
}
|
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
return CoachInfoReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
return CoachInfoReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
@@ -253,17 +369,17 @@ open class EvalTag (
|
|
|
open var count: Number,
|
|
open var count: Number,
|
|
|
) : UTSObject(), IUTSSourceMap {
|
|
) : UTSObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("EvalTag", "src/pages/index/console.uvue", 265, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("EvalTag", "pages/index/console.uvue", 285, 7)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-val GenSrcPagesIndexConsoleClass = CreateVueComponent(GenSrcPagesIndexConsole::class.java, fun(): VueComponentOptions {
|
|
|
|
|
- return VueComponentOptions(type = "page", name = "", inheritAttrs = GenSrcPagesIndexConsole.inheritAttrs, inject = GenSrcPagesIndexConsole.inject, props = GenSrcPagesIndexConsole.props, propsNeedCastKeys = GenSrcPagesIndexConsole.propsNeedCastKeys, emits = GenSrcPagesIndexConsole.emits, components = GenSrcPagesIndexConsole.components, styles = GenSrcPagesIndexConsole.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
- return GenSrcPagesIndexConsole.setup(props as GenSrcPagesIndexConsole)
|
|
|
|
|
|
|
+val GenPagesIndexConsoleClass = CreateVueComponent(GenPagesIndexConsole::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesIndexConsole.inheritAttrs, inject = GenPagesIndexConsole.inject, props = GenPagesIndexConsole.props, propsNeedCastKeys = GenPagesIndexConsole.propsNeedCastKeys, emits = GenPagesIndexConsole.emits, components = GenPagesIndexConsole.components, styles = GenPagesIndexConsole.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesIndexConsole.setup(props as GenPagesIndexConsole)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-, fun(instance, renderer): GenSrcPagesIndexConsole {
|
|
|
|
|
- return GenSrcPagesIndexConsole(instance, renderer)
|
|
|
|
|
|
|
+, fun(instance, renderer): GenPagesIndexConsole {
|
|
|
|
|
+ return GenPagesIndexConsole(instance, renderer)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
open class UserInfo (
|
|
open class UserInfo (
|
|
@@ -283,7 +399,7 @@ open class UserInfo (
|
|
|
open var progressPercent: Number,
|
|
open var progressPercent: Number,
|
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("UserInfo", "src/pages/index/my.uvue", 179, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("UserInfo", "pages/index/my.uvue", 179, 7)
|
|
|
}
|
|
}
|
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
return UserInfoReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
return UserInfoReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
@@ -397,7 +513,7 @@ open class ToolItem (
|
|
|
open var color: String,
|
|
open var color: String,
|
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("ToolItem", "src/pages/index/my.uvue", 204, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("ToolItem", "pages/index/my.uvue", 204, 7)
|
|
|
}
|
|
}
|
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
return ToolItemReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
return ToolItemReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
@@ -454,14 +570,14 @@ class ToolItemReactiveObject : ToolItem, IUTSReactive<ToolItem> {
|
|
|
_tRS(__v_raw, "color", oldValue, value)
|
|
_tRS(__v_raw, "color", oldValue, value)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-val GenSrcPagesIndexMyClass = CreateVueComponent(GenSrcPagesIndexMy::class.java, fun(): VueComponentOptions {
|
|
|
|
|
- return VueComponentOptions(type = "page", name = "", inheritAttrs = GenSrcPagesIndexMy.inheritAttrs, inject = GenSrcPagesIndexMy.inject, props = GenSrcPagesIndexMy.props, propsNeedCastKeys = GenSrcPagesIndexMy.propsNeedCastKeys, emits = GenSrcPagesIndexMy.emits, components = GenSrcPagesIndexMy.components, styles = GenSrcPagesIndexMy.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
- return GenSrcPagesIndexMy.setup(props as GenSrcPagesIndexMy)
|
|
|
|
|
|
|
+val GenPagesIndexMyClass = CreateVueComponent(GenPagesIndexMy::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesIndexMy.inheritAttrs, inject = GenPagesIndexMy.inject, props = GenPagesIndexMy.props, propsNeedCastKeys = GenPagesIndexMy.propsNeedCastKeys, emits = GenPagesIndexMy.emits, components = GenPagesIndexMy.components, styles = GenPagesIndexMy.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesIndexMy.setup(props as GenPagesIndexMy)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-, fun(instance, renderer): GenSrcPagesIndexMy {
|
|
|
|
|
- return GenSrcPagesIndexMy(instance, renderer)
|
|
|
|
|
|
|
+, fun(instance, renderer): GenPagesIndexMy {
|
|
|
|
|
+ return GenPagesIndexMy(instance, renderer)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
open class OrderTag (
|
|
open class OrderTag (
|
|
@@ -471,7 +587,7 @@ open class OrderTag (
|
|
|
open var type: String,
|
|
open var type: String,
|
|
|
) : UTSObject(), IUTSSourceMap {
|
|
) : UTSObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("OrderTag", "src/pages/index/order.uvue", 120, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("OrderTag", "pages/index/order.uvue", 120, 7)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
open class OrderItem (
|
|
open class OrderItem (
|
|
@@ -497,17 +613,17 @@ open class OrderItem (
|
|
|
open var image: String,
|
|
open var image: String,
|
|
|
) : UTSObject(), IUTSSourceMap {
|
|
) : UTSObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("OrderItem", "src/pages/index/order.uvue", 125, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("OrderItem", "pages/index/order.uvue", 125, 7)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-val GenSrcPagesIndexOrderClass = CreateVueComponent(GenSrcPagesIndexOrder::class.java, fun(): VueComponentOptions {
|
|
|
|
|
- return VueComponentOptions(type = "page", name = "", inheritAttrs = GenSrcPagesIndexOrder.inheritAttrs, inject = GenSrcPagesIndexOrder.inject, props = GenSrcPagesIndexOrder.props, propsNeedCastKeys = GenSrcPagesIndexOrder.propsNeedCastKeys, emits = GenSrcPagesIndexOrder.emits, components = GenSrcPagesIndexOrder.components, styles = GenSrcPagesIndexOrder.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
- return GenSrcPagesIndexOrder.setup(props as GenSrcPagesIndexOrder)
|
|
|
|
|
|
|
+val GenPagesIndexOrderClass = CreateVueComponent(GenPagesIndexOrder::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesIndexOrder.inheritAttrs, inject = GenPagesIndexOrder.inject, props = GenPagesIndexOrder.props, propsNeedCastKeys = GenPagesIndexOrder.propsNeedCastKeys, emits = GenPagesIndexOrder.emits, components = GenPagesIndexOrder.components, styles = GenPagesIndexOrder.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesIndexOrder.setup(props as GenPagesIndexOrder)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-, fun(instance, renderer): GenSrcPagesIndexOrder {
|
|
|
|
|
- return GenSrcPagesIndexOrder(instance, renderer)
|
|
|
|
|
|
|
+, fun(instance, renderer): GenPagesIndexOrder {
|
|
|
|
|
+ return GenPagesIndexOrder(instance, renderer)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
open class BillItem (
|
|
open class BillItem (
|
|
@@ -525,7 +641,7 @@ open class BillItem (
|
|
|
open var recordTime: String,
|
|
open var recordTime: String,
|
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
- return UTSSourceMapPosition("BillItem", "src/pages/index/account.uvue", 195, 7)
|
|
|
|
|
|
|
+ return UTSSourceMapPosition("BillItem", "pages/index/account.uvue", 195, 7)
|
|
|
}
|
|
}
|
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
return BillItemReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
return BillItemReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
@@ -618,14 +734,14 @@ class BillItemReactiveObject : BillItem, IUTSReactive<BillItem> {
|
|
|
_tRS(__v_raw, "recordTime", oldValue, value)
|
|
_tRS(__v_raw, "recordTime", oldValue, value)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-val GenSrcPagesIndexAccountClass = CreateVueComponent(GenSrcPagesIndexAccount::class.java, fun(): VueComponentOptions {
|
|
|
|
|
- return VueComponentOptions(type = "page", name = "", inheritAttrs = GenSrcPagesIndexAccount.inheritAttrs, inject = GenSrcPagesIndexAccount.inject, props = GenSrcPagesIndexAccount.props, propsNeedCastKeys = GenSrcPagesIndexAccount.propsNeedCastKeys, emits = GenSrcPagesIndexAccount.emits, components = GenSrcPagesIndexAccount.components, styles = GenSrcPagesIndexAccount.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
- return GenSrcPagesIndexAccount.setup(props as GenSrcPagesIndexAccount)
|
|
|
|
|
|
|
+val GenPagesIndexAccountClass = CreateVueComponent(GenPagesIndexAccount::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesIndexAccount.inheritAttrs, inject = GenPagesIndexAccount.inject, props = GenPagesIndexAccount.props, propsNeedCastKeys = GenPagesIndexAccount.propsNeedCastKeys, emits = GenPagesIndexAccount.emits, components = GenPagesIndexAccount.components, styles = GenPagesIndexAccount.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesIndexAccount.setup(props as GenPagesIndexAccount)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-, fun(instance, renderer): GenSrcPagesIndexAccount {
|
|
|
|
|
- return GenSrcPagesIndexAccount(instance, renderer)
|
|
|
|
|
|
|
+, fun(instance, renderer): GenPagesIndexAccount {
|
|
|
|
|
+ return GenPagesIndexAccount(instance, renderer)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
fun toUTSJSONObject(obj: Any?): UTSJSONObject? {
|
|
fun toUTSJSONObject(obj: Any?): UTSJSONObject? {
|
|
@@ -635,7 +751,7 @@ fun toUTSJSONObject(obj: Any?): UTSJSONObject? {
|
|
|
if (obj is UTSJSONObject) {
|
|
if (obj is UTSJSONObject) {
|
|
|
return obj as UTSJSONObject
|
|
return obj as UTSJSONObject
|
|
|
}
|
|
}
|
|
|
- val result = UTSJSONObject(UTSSourceMapPosition("result", "src/utils/request.uts", 17, 11))
|
|
|
|
|
|
|
+ val result = UTSJSONObject(UTSSourceMapPosition("result", "utils/request.uts", 17, 11))
|
|
|
val keys = UTSJSONObject.keys(obj as UTSJSONObject)
|
|
val keys = UTSJSONObject.keys(obj as UTSJSONObject)
|
|
|
run {
|
|
run {
|
|
|
var i: Number = 0
|
|
var i: Number = 0
|
|
@@ -651,12 +767,11 @@ fun toUTSJSONObject(obj: Any?): UTSJSONObject? {
|
|
|
return result
|
|
return result
|
|
|
}
|
|
}
|
|
|
fun mapToUTSJSONObject(map: Map<String, String>): UTSJSONObject {
|
|
fun mapToUTSJSONObject(map: Map<String, String>): UTSJSONObject {
|
|
|
- val obj = UTSJSONObject(UTSSourceMapPosition("obj", "src/utils/request.uts", 30, 11))
|
|
|
|
|
- val iter = map.iterator()
|
|
|
|
|
- while(iter.hasNext()){
|
|
|
|
|
- val entry = iter.next()
|
|
|
|
|
- obj.set(entry.key, entry.value)
|
|
|
|
|
|
|
+ val obj = UTSJSONObject(UTSSourceMapPosition("obj", "utils/request.uts", 30, 11))
|
|
|
|
|
+ map.forEach(fun(value: String, key: String){
|
|
|
|
|
+ obj.set(key, value)
|
|
|
}
|
|
}
|
|
|
|
|
+ )
|
|
|
return obj
|
|
return obj
|
|
|
}
|
|
}
|
|
|
fun buildQueryString(params: Any?): String {
|
|
fun buildQueryString(params: Any?): String {
|
|
@@ -678,7 +793,7 @@ fun buildQueryString(params: Any?): String {
|
|
|
if (query.length > 0) {
|
|
if (query.length > 0) {
|
|
|
query += "&"
|
|
query += "&"
|
|
|
}
|
|
}
|
|
|
- query += key + "=" + UTSAndroid.consoleDebugError(encodeURIComponent(kVal.toString()), " at src/utils/request.uts:53")
|
|
|
|
|
|
|
+ query += key + "=" + UTSAndroid.consoleDebugError(encodeURIComponent(kVal.toString()), " at utils/request.uts:51")
|
|
|
}
|
|
}
|
|
|
i++
|
|
i++
|
|
|
}
|
|
}
|
|
@@ -696,18 +811,19 @@ fun request(options: Any?): UTSPromise<Any> {
|
|
|
reject(UTSError("请求参数格式错误"))
|
|
reject(UTSError("请求参数格式错误"))
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+ val baseURL = "/"
|
|
|
val url = opts.getString("url") ?: ""
|
|
val url = opts.getString("url") ?: ""
|
|
|
val method = opts.getString("method") ?: "GET"
|
|
val method = opts.getString("method") ?: "GET"
|
|
|
val params = opts.get("params")
|
|
val params = opts.get("params")
|
|
|
val data = opts.get("data")
|
|
val data = opts.get("data")
|
|
|
val showLoading = opts.getBoolean("showLoading") ?: true
|
|
val showLoading = opts.getBoolean("showLoading") ?: true
|
|
|
val loadingMsg = opts.getString("loadingMsg") ?: "加载中"
|
|
val loadingMsg = opts.getString("loadingMsg") ?: "加载中"
|
|
|
- var finalUrl = url
|
|
|
|
|
|
|
+ var finalUrl = baseURL + url.replace(UTSRegExp("^\\/", ""), "")
|
|
|
val upperMethod = method.toUpperCase()
|
|
val upperMethod = method.toUpperCase()
|
|
|
if (upperMethod === "GET" && params != null) {
|
|
if (upperMethod === "GET" && params != null) {
|
|
|
val query = buildQueryString(params)
|
|
val query = buildQueryString(params)
|
|
|
if (query.length > 0) {
|
|
if (query.length > 0) {
|
|
|
- finalUrl = url + "?" + query
|
|
|
|
|
|
|
+ finalUrl += "?" + query
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
val headerMap = Map<String, String>()
|
|
val headerMap = Map<String, String>()
|
|
@@ -743,38 +859,221 @@ fun request(options: Any?): UTSPromise<Any> {
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-val workbenchesInfoApi: UTSJSONObject = object : UTSJSONObject(UTSSourceMapPosition("workbenchesInfoApi", "src/utils/api/workbenches.uts", 4, 7)) {
|
|
|
|
|
- var getAllData = fun(params: Any): UTSPromise<Any> {
|
|
|
|
|
- return request(_uO("url" to "/coach/v3/orders/statistics", "method" to "GET", "params" to params))
|
|
|
|
|
|
|
+fun editWorkTimeSetting(data: Any): UTSPromise<Any> {
|
|
|
|
|
+ return request(_uO("url" to "/api/coach/v3/account/schedule", "method" to "POST", "data" to data))
|
|
|
|
|
+}
|
|
|
|
|
+open class TimeItem (
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var start_time: String,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var end_time: String,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var isSelect: Boolean = false,
|
|
|
|
|
+) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
|
|
+ override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
|
|
+ return UTSSourceMapPosition("TimeItem", "pages/console/setOrderTime.uvue", 44, 7)
|
|
|
|
|
+ }
|
|
|
|
|
+ override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
|
|
+ return TimeItemReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+class TimeItemReactiveObject : TimeItem, IUTSReactive<TimeItem> {
|
|
|
|
|
+ override var __v_raw: TimeItem
|
|
|
|
|
+ override var __v_isReadonly: Boolean
|
|
|
|
|
+ override var __v_isShallow: Boolean
|
|
|
|
|
+ override var __v_skip: Boolean
|
|
|
|
|
+ constructor(__v_raw: TimeItem, __v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean) : super(start_time = __v_raw.start_time, end_time = __v_raw.end_time, isSelect = __v_raw.isSelect) {
|
|
|
|
|
+ this.__v_raw = __v_raw
|
|
|
|
|
+ this.__v_isReadonly = __v_isReadonly
|
|
|
|
|
+ this.__v_isShallow = __v_isShallow
|
|
|
|
|
+ this.__v_skip = __v_skip
|
|
|
|
|
+ }
|
|
|
|
|
+ override fun __v_clone(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): TimeItemReactiveObject {
|
|
|
|
|
+ return TimeItemReactiveObject(this.__v_raw, __v_isReadonly, __v_isShallow, __v_skip)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var start_time: String
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "start_time", __v_raw.start_time, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("start_time")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.start_time
|
|
|
|
|
+ __v_raw.start_time = value
|
|
|
|
|
+ _tRS(__v_raw, "start_time", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var end_time: String
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "end_time", __v_raw.end_time, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("end_time")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.end_time
|
|
|
|
|
+ __v_raw.end_time = value
|
|
|
|
|
+ _tRS(__v_raw, "end_time", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var isSelect: Boolean
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "isSelect", __v_raw.isSelect, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("isSelect")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.isSelect
|
|
|
|
|
+ __v_raw.isSelect = value
|
|
|
|
|
+ _tRS(__v_raw, "isSelect", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+val GenPagesConsoleSetOrderTimeClass = CreateVueComponent(GenPagesConsoleSetOrderTime::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesConsoleSetOrderTime.inheritAttrs, inject = GenPagesConsoleSetOrderTime.inject, props = GenPagesConsoleSetOrderTime.props, propsNeedCastKeys = GenPagesConsoleSetOrderTime.propsNeedCastKeys, emits = GenPagesConsoleSetOrderTime.emits, components = GenPagesConsoleSetOrderTime.components, styles = GenPagesConsoleSetOrderTime.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesConsoleSetOrderTime.setup(props as GenPagesConsoleSetOrderTime)
|
|
|
|
|
+ }
|
|
|
|
|
+ )
|
|
|
|
|
+}
|
|
|
|
|
+, fun(instance, renderer): GenPagesConsoleSetOrderTime {
|
|
|
|
|
+ return GenPagesConsoleSetOrderTime(instance, renderer)
|
|
|
|
|
+}
|
|
|
|
|
+)
|
|
|
|
|
+val GenPagesLoginLoginClass = CreateVueComponent(GenPagesLoginLogin::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesLoginLogin.inheritAttrs, inject = GenPagesLoginLogin.inject, props = GenPagesLoginLogin.props, propsNeedCastKeys = GenPagesLoginLogin.propsNeedCastKeys, emits = GenPagesLoginLogin.emits, components = GenPagesLoginLogin.components, styles = GenPagesLoginLogin.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesLoginLogin.setup(props as GenPagesLoginLogin)
|
|
|
|
|
+ }
|
|
|
|
|
+ )
|
|
|
|
|
+}
|
|
|
|
|
+, fun(instance, renderer): GenPagesLoginLogin {
|
|
|
|
|
+ return GenPagesLoginLogin(instance, renderer)
|
|
|
|
|
+}
|
|
|
|
|
+)
|
|
|
|
|
+open class ServiceItem (
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var id: Number,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var title: String,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var desc: String,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var price: Number,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var img: String,
|
|
|
|
|
+ @JsonNotNull
|
|
|
|
|
+ open var hasFare: Boolean = false,
|
|
|
|
|
+) : UTSReactiveObject(), IUTSSourceMap {
|
|
|
|
|
+ override fun `__$getOriginalPosition`(): UTSSourceMapPosition? {
|
|
|
|
|
+ return UTSSourceMapPosition("ServiceItem", "pages/console/serviceProject.uvue", 64, 7)
|
|
|
}
|
|
}
|
|
|
- var editCoachWorkState = fun(data: Any): UTSPromise<Any> {
|
|
|
|
|
- return request(_uO("url" to "/coach/v3/account/work-status", "method" to "POST", "data" to data))
|
|
|
|
|
|
|
+ override fun __v_create(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): UTSReactiveObject {
|
|
|
|
|
+ return ServiceItemReactiveObject(this, __v_isReadonly, __v_isShallow, __v_skip)
|
|
|
}
|
|
}
|
|
|
- var editWorkTimeSetting = fun(data: Any): UTSPromise<Any> {
|
|
|
|
|
- return request(_uO("url" to "/coach/v3/account/schedule", "method" to "POST", "data" to data))
|
|
|
|
|
|
|
+}
|
|
|
|
|
+class ServiceItemReactiveObject : ServiceItem, IUTSReactive<ServiceItem> {
|
|
|
|
|
+ override var __v_raw: ServiceItem
|
|
|
|
|
+ override var __v_isReadonly: Boolean
|
|
|
|
|
+ override var __v_isShallow: Boolean
|
|
|
|
|
+ override var __v_skip: Boolean
|
|
|
|
|
+ constructor(__v_raw: ServiceItem, __v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean) : super(id = __v_raw.id, title = __v_raw.title, desc = __v_raw.desc, price = __v_raw.price, img = __v_raw.img, hasFare = __v_raw.hasFare) {
|
|
|
|
|
+ this.__v_raw = __v_raw
|
|
|
|
|
+ this.__v_isReadonly = __v_isReadonly
|
|
|
|
|
+ this.__v_isShallow = __v_isShallow
|
|
|
|
|
+ this.__v_skip = __v_skip
|
|
|
}
|
|
}
|
|
|
- var toggleProject = fun(data: Any): UTSPromise<Any> {
|
|
|
|
|
- return request(_uO("url" to "/coach/v3/projects/open", "method" to "POST", "data" to data))
|
|
|
|
|
|
|
+ override fun __v_clone(__v_isReadonly: Boolean, __v_isShallow: Boolean, __v_skip: Boolean): ServiceItemReactiveObject {
|
|
|
|
|
+ return ServiceItemReactiveObject(this.__v_raw, __v_isReadonly, __v_isShallow, __v_skip)
|
|
|
}
|
|
}
|
|
|
|
|
+ override var id: Number
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "id", __v_raw.id, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("id")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.id
|
|
|
|
|
+ __v_raw.id = value
|
|
|
|
|
+ _tRS(__v_raw, "id", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var title: String
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "title", __v_raw.title, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("title")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.title
|
|
|
|
|
+ __v_raw.title = value
|
|
|
|
|
+ _tRS(__v_raw, "title", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var desc: String
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "desc", __v_raw.desc, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("desc")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.desc
|
|
|
|
|
+ __v_raw.desc = value
|
|
|
|
|
+ _tRS(__v_raw, "desc", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var price: Number
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "price", __v_raw.price, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("price")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.price
|
|
|
|
|
+ __v_raw.price = value
|
|
|
|
|
+ _tRS(__v_raw, "price", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var img: String
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "img", __v_raw.img, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("img")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.img
|
|
|
|
|
+ __v_raw.img = value
|
|
|
|
|
+ _tRS(__v_raw, "img", oldValue, value)
|
|
|
|
|
+ }
|
|
|
|
|
+ override var hasFare: Boolean
|
|
|
|
|
+ get() {
|
|
|
|
|
+ return _tRG(__v_raw, "hasFare", __v_raw.hasFare, __v_isReadonly, __v_isShallow)
|
|
|
|
|
+ }
|
|
|
|
|
+ set(value) {
|
|
|
|
|
+ if (!__v_canSet("hasFare")) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ val oldValue = __v_raw.hasFare
|
|
|
|
|
+ __v_raw.hasFare = value
|
|
|
|
|
+ _tRS(__v_raw, "hasFare", oldValue, value)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
-val GenSrcPagesConsoleSetOrderTimeClass = CreateVueComponent(GenSrcPagesConsoleSetOrderTime::class.java, fun(): VueComponentOptions {
|
|
|
|
|
- return VueComponentOptions(type = "page", name = "", inheritAttrs = GenSrcPagesConsoleSetOrderTime.inheritAttrs, inject = GenSrcPagesConsoleSetOrderTime.inject, props = GenSrcPagesConsoleSetOrderTime.props, propsNeedCastKeys = GenSrcPagesConsoleSetOrderTime.propsNeedCastKeys, emits = GenSrcPagesConsoleSetOrderTime.emits, components = GenSrcPagesConsoleSetOrderTime.components, styles = GenSrcPagesConsoleSetOrderTime.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
- return GenSrcPagesConsoleSetOrderTime.setup(props as GenSrcPagesConsoleSetOrderTime)
|
|
|
|
|
|
|
+val GenPagesConsoleServiceProjectClass = CreateVueComponent(GenPagesConsoleServiceProject::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesConsoleServiceProject.inheritAttrs, inject = GenPagesConsoleServiceProject.inject, props = GenPagesConsoleServiceProject.props, propsNeedCastKeys = GenPagesConsoleServiceProject.propsNeedCastKeys, emits = GenPagesConsoleServiceProject.emits, components = GenPagesConsoleServiceProject.components, styles = GenPagesConsoleServiceProject.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesConsoleServiceProject.setup(props as GenPagesConsoleServiceProject)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-, fun(instance, renderer): GenSrcPagesConsoleSetOrderTime {
|
|
|
|
|
- return GenSrcPagesConsoleSetOrderTime(instance, renderer)
|
|
|
|
|
|
|
+, fun(instance, renderer): GenPagesConsoleServiceProject {
|
|
|
|
|
+ return GenPagesConsoleServiceProject(instance, renderer)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
-val GenSrcPagesLoginLoginClass = CreateVueComponent(GenSrcPagesLoginLogin::class.java, fun(): VueComponentOptions {
|
|
|
|
|
- return VueComponentOptions(type = "page", name = "", inheritAttrs = GenSrcPagesLoginLogin.inheritAttrs, inject = GenSrcPagesLoginLogin.inject, props = GenSrcPagesLoginLogin.props, propsNeedCastKeys = GenSrcPagesLoginLogin.propsNeedCastKeys, emits = GenSrcPagesLoginLogin.emits, components = GenSrcPagesLoginLogin.components, styles = GenSrcPagesLoginLogin.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
- return GenSrcPagesLoginLogin.setup(props as GenSrcPagesLoginLogin)
|
|
|
|
|
|
|
+val GenPagesMyEditMyEditClass = CreateVueComponent(GenPagesMyEditMyEdit::class.java, fun(): VueComponentOptions {
|
|
|
|
|
+ return VueComponentOptions(type = "page", name = "", inheritAttrs = GenPagesMyEditMyEdit.inheritAttrs, inject = GenPagesMyEditMyEdit.inject, props = GenPagesMyEditMyEdit.props, propsNeedCastKeys = GenPagesMyEditMyEdit.propsNeedCastKeys, emits = GenPagesMyEditMyEdit.emits, components = GenPagesMyEditMyEdit.components, styles = GenPagesMyEditMyEdit.styles, setup = fun(props: ComponentPublicInstance): Any? {
|
|
|
|
|
+ return GenPagesMyEditMyEdit.setup(props as GenPagesMyEditMyEdit)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-, fun(instance, renderer): GenSrcPagesLoginLogin {
|
|
|
|
|
- return GenSrcPagesLoginLogin(instance, renderer)
|
|
|
|
|
|
|
+, fun(instance, renderer): GenPagesMyEditMyEdit {
|
|
|
|
|
+ return GenPagesMyEditMyEdit(instance, renderer)
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
fun createApp(): UTSJSONObject {
|
|
fun createApp(): UTSJSONObject {
|
|
@@ -795,12 +1094,14 @@ open class UniAppConfig : io.dcloud.uniapp.appframe.AppConfig {
|
|
|
constructor() : super() {}
|
|
constructor() : super() {}
|
|
|
}
|
|
}
|
|
|
fun definePageRoutes() {
|
|
fun definePageRoutes() {
|
|
|
- __uniRoutes.push(UniPageRoute(path = "src/pages/index/console", component = GenSrcPagesIndexConsoleClass, meta = UniPageMeta(isQuit = true), style = _uM("navigationBarTitleText" to "控制台")))
|
|
|
|
|
- __uniRoutes.push(UniPageRoute(path = "src/pages/index/my", component = GenSrcPagesIndexMyClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "我的")))
|
|
|
|
|
- __uniRoutes.push(UniPageRoute(path = "src/pages/index/order", component = GenSrcPagesIndexOrderClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "订单")))
|
|
|
|
|
- __uniRoutes.push(UniPageRoute(path = "src/pages/index/account", component = GenSrcPagesIndexAccountClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "账户")))
|
|
|
|
|
- __uniRoutes.push(UniPageRoute(path = "src/pages/console/setOrderTime", component = GenSrcPagesConsoleSetOrderTimeClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "接单时间")))
|
|
|
|
|
- __uniRoutes.push(UniPageRoute(path = "src/pages/login/login", component = GenSrcPagesLoginLoginClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "")))
|
|
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/index/console", component = GenPagesIndexConsoleClass, meta = UniPageMeta(isQuit = true), style = _uM("navigationBarTitleText" to "控制台")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/index/my", component = GenPagesIndexMyClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "我的")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/index/order", component = GenPagesIndexOrderClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "订单")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/index/account", component = GenPagesIndexAccountClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "账户")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/console/setOrderTime", component = GenPagesConsoleSetOrderTimeClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "接单时间")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/login/login", component = GenPagesLoginLoginClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/console/serviceProject", component = GenPagesConsoleServiceProjectClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "服务项目")))
|
|
|
|
|
+ __uniRoutes.push(UniPageRoute(path = "pages/myEdit/myEdit", component = GenPagesMyEditMyEditClass, meta = UniPageMeta(isQuit = false), style = _uM("navigationBarTitleText" to "个人信息")))
|
|
|
}
|
|
}
|
|
|
val __uniTabBar: Map<String, Any?>? = _uM("selectedColor" to "#000000", "backgroundColor" to "#ffffff", "list" to _uA(
|
|
val __uniTabBar: Map<String, Any?>? = _uM("selectedColor" to "#000000", "backgroundColor" to "#ffffff", "list" to _uA(
|
|
|
_uM("pagePath" to "pages/index/console", "iconPath" to "static/iconInfo/noactive/homepage.png", "selectedIconPath" to "static/iconInfo/active/homepage.png", "text" to "控制台"),
|
|
_uM("pagePath" to "pages/index/console", "iconPath" to "static/iconInfo/noactive/homepage.png", "selectedIconPath" to "static/iconInfo/active/homepage.png", "text" to "控制台"),
|
|
@@ -808,9 +1109,9 @@ val __uniTabBar: Map<String, Any?>? = _uM("selectedColor" to "#000000", "backgro
|
|
|
_uM("pagePath" to "pages/index/account", "iconPath" to "static/iconInfo/noactive/account.png", "selectedIconPath" to "static/iconInfo/active/account.png", "text" to "账户"),
|
|
_uM("pagePath" to "pages/index/account", "iconPath" to "static/iconInfo/noactive/account.png", "selectedIconPath" to "static/iconInfo/active/account.png", "text" to "账户"),
|
|
|
_uM("pagePath" to "pages/index/my", "iconPath" to "static/iconInfo/noactive/myhome.png", "selectedIconPath" to "static/iconInfo/active/myhome.png", "text" to "我的")
|
|
_uM("pagePath" to "pages/index/my", "iconPath" to "static/iconInfo/noactive/myhome.png", "selectedIconPath" to "static/iconInfo/active/myhome.png", "text" to "我的")
|
|
|
))
|
|
))
|
|
|
-val __uniLaunchPage: Map<String, Any?> = _uM("url" to "src/pages/index/console", "style" to _uM("navigationBarTitleText" to "控制台"))
|
|
|
|
|
|
|
+val __uniLaunchPage: Map<String, Any?> = _uM("url" to "pages/index/console", "style" to _uM("navigationBarTitleText" to "控制台"))
|
|
|
fun defineAppConfig() {
|
|
fun defineAppConfig() {
|
|
|
- __uniConfig.entryPagePath = "/src/pages/index/console"
|
|
|
|
|
|
|
+ __uniConfig.entryPagePath = "/pages/index/console"
|
|
|
__uniConfig.globalStyle = _uM("navigationBarTextStyle" to "black", "navigationBarTitleText" to "小丁到家--上门按摩", "navigationBarBackgroundColor" to "#F8F8F8", "backgroundColor" to "#F8F8F8")
|
|
__uniConfig.globalStyle = _uM("navigationBarTextStyle" to "black", "navigationBarTitleText" to "小丁到家--上门按摩", "navigationBarBackgroundColor" to "#F8F8F8", "backgroundColor" to "#F8F8F8")
|
|
|
__uniConfig.getTabBarConfig = fun(): Map<String, Any>? {
|
|
__uniConfig.getTabBarConfig = fun(): Map<String, Any>? {
|
|
|
return _uM("selectedColor" to "#000000", "backgroundColor" to "#ffffff", "list" to _uA(
|
|
return _uM("selectedColor" to "#000000", "backgroundColor" to "#ffffff", "list" to _uA(
|