export function getInvitePatientPoster(name, qrcode) {
  return {
    css: {
      width: "750rpx",
      paddingTop: '40rpx',
      paddingBottom: "160rpx",
      background: "white"
    },
    views: [
      {
        css: {
          marginLeft: "40rpx",
          marginTop: "30rpx",
          padding: "32rpx",
          boxSizing: "border-box",
          background: "#fff",
          borderRadius: "16rpx",
          width: "670rpx",
          boxShadow: "0 20rpx 58rpx rgba(0,0,0,.15)",
          paddingBottom: "120rpx",
          paddingTop: '40rpx',
        },
        views: [
          {
            text: name,
            type: "text",
            css: {
              width: "440rpx",
              paddingRight: "30rpx",
              marginLeft: "100rpx",
              boxSizing: "border-box",
              lineClamp: 3,
              color: "#333333",
              lineHeight: "1.5em",
              fontSize: "36rpx",
              fontWeight: "bold",
              textAlign: 'center'
            },
          },
          {
            text: qrcode,
            type: "qrcode",
            css: {
              marginTop: '30rpx',
              marginLeft: '70rpx',
              width: "480rpx",
              height: "480rpx"
            },
          },
          {
            text: " 微信扫一扫上面的二维码",
            type: "text",
            css: {
              marginTop: '60rpx',
              width: "440rpx",
              paddingRight: "30rpx",
              marginLeft: "100rpx",
              boxSizing: "border-box",
              color: "#666",
              lineHeight: "1.5em",
              fontSize: "28rpx",
              textAlign: 'center'
            },
          },
        ],
        type: "view"
      }
    ]
  }

}

export function getInviteMatePoster(name, qrcode) {
  return {
    css: {
      width: "750rpx",
      paddingTop: '40rpx',
      paddingBottom: "160rpx",
      background: "white"
    },
    views: [
      {
        css: {
          marginLeft: "40rpx",
          marginTop: "30rpx",
          padding: "32rpx",
          boxSizing: "border-box",
          background: "#fff",
          borderRadius: "16rpx",
          width: "670rpx",
          boxShadow: "0 20rpx 58rpx rgba(0,0,0,.15)",
          paddingBottom: "120rpx",
          paddingTop: '40rpx',
        },
        views: [
          {
            text: name,
            type: "text",
            css: {
              width: "440rpx",
              paddingRight: "30rpx",
              marginLeft: "100rpx",
              boxSizing: "border-box",
              lineClamp: 3,
              color: "#333333",
              lineHeight: "1.5em",
              fontSize: "36rpx",
              fontWeight: "bold",
              textAlign: 'center'
            },
          },
          {
            text: '成员邀请码',
            type: "text",
            css: {
              width: "440rpx",
              paddingRight: "30rpx",
              marginLeft: "100rpx",
              marginTop: '30rpx',
              boxSizing: "border-box",
              lineClamp: 1,
              color: "#333333",
              lineHeight: "1.5em",
              fontSize: "36rpx",
              fontWeight: "bold",
              textAlign: 'center'
            },
          },
          {
            text: qrcode,
            type: "qrcode",
            css: {
              marginTop: '30rpx',
              marginLeft: '70rpx',
              width: "480rpx",
              height: "480rpx"
            },
          },
          {
            text: " 微信扫一扫上面的二维码",
            type: "text",
            css: {
              marginTop: '60rpx',
              width: "440rpx",
              paddingRight: "30rpx",
              marginLeft: "100rpx",
              boxSizing: "border-box",
              color: "#666",
              lineHeight: "1.5em",
              fontSize: "28rpx",
              textAlign: 'center'
            },
          },
          {
            text: " 加入我的团队，协同开展患者管理服务",
            type: "text",
            css: {
              marginTop: '20rpx',
              width: "440rpx",
              paddingRight: "30rpx",
              marginLeft: "100rpx",
              boxSizing: "border-box",
              color: "#666",
              lineHeight: "1.5em",
              fontSize: "28rpx",
              textAlign: 'center'
            },
          },
        ],
        type: "view"
      }
    ]
  }

}