image.uvue 2.9 KB
Newer Older
Y
init  
yurj26 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77






























    export default {
        data() {
            return {
                title: 'image'
            }
        }
    }


const GenPagesComponentImageImageStyles = [new Map<string, Map<string, Map<string, any>>>([["common-page-head", new Map<string, any>([["", new Map<string, any>([["paddingTop", "35rpx"], ["paddingRight", "35rpx"], ["paddingBottom", "35rpx"], ["paddingLeft", "35rpx"], ["flexDirection", "row"], ["justifyContent", "center"]])]])], ["common-page-head-title-box", new Map<string, any>([["", new Map<string, any>([["paddingTop", 0], ["paddingRight", "40rpx"], ["paddingBottom", 0], ["paddingLeft", "40rpx"], ["height", "88rpx"], ["borderBottomWidth", "2rpx"], ["borderBottomStyle", "solid"], ["borderBottomColor", "#D8D8D8"]])]])], ["common-page-head-title", new Map<string, any>([["", new Map<string, any>([["lineHeight", "88rpx"], ["fontSize", "30rpx"], ["color", "#BEBEBE"]])]])], ["image", new Map<string, any>([["", new Map<string, any>([["marginTop", "40rpx"], ["marginRight", "auto"], ["marginBottom", "40rpx"], ["marginLeft", "auto"], ["width", "200rpx"]])]])]])]
@Suppress("UNUSED_PARAMETER") function GenPagesComponentImageImageRender(_ctx: GenPagesComponentImageImage): VNode | null {
const _component_page_head = resolveComponent("page-head")

  return createElementVNode("view", null, [
    createVNode(_component_page_head, new Map<string, any | null>([["title", _ctx.title]]), null, 8 /* PROPS */, ["title"]),
    createElementVNode("view", new Map<string, any | null>([["class", "uni-padding-wrap uni-common-mt"]]), [
      createElementVNode("view", new Map<string, any | null>([["class", "uni-title"]]), [
        createElementVNode("text", new Map<string, any | null>([["class", "uni-title-text"]]), " 示例1 "),
        createElementVNode("text", new Map<string, any | null>([["class", "uni-subtitle-text"]]), " 本地图片 ")
      ]),
      createElementVNode("view", new Map<string, any | null>([
        ["class", "uni-center"],
        ["style", "background:#FFFFFF; font-size:0;"]
      ]), [
        createElementVNode("image", new Map<string, any | null>([
          ["class", "image"],
          ["mode", "widthFix"],
          ["src", "/static/uni.png"]
        ]))
      ]),
      createElementVNode("view", new Map<string, any | null>([["class", "uni-title"]]), [
        createElementVNode("text", new Map<string, any | null>([["class", "uni-title-text"]]), " 示例2 "),
        createElementVNode("text", new Map<string, any | null>([["class", "uni-subtitle-text"]]), " 网络图片 ")
      ]),
      createElementVNode("view", new Map<string, any | null>([
        ["class", "uni-center"],
        ["style", "background:#FFFFFF; font-size:0;"]
      ]), [
        createElementVNode("image", new Map<string, any | null>([
          ["class", "image"],
          ["mode", "widthFix"],
          ["src", "https://web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png"]
        ]))
      ])
    ])
  ])
}