예제 #1
0
 def diary_page_description_time(self):
     """
         Summary:
             故事描述的时间
     :return:
     """
     return text_field.UIATextField(self._layout_view, type='UIATextField')
예제 #2
0
    def account_field(self):
        """
        Summary:
            帐号输入框

        """
        return text_field.UIATextField(self.parent, type='UIATextField')
예제 #3
0
 def diary_cover_location(self):
     """
         Summary:
             故事地点
     :return:
     """
     xpath_ = '//UIACollectionView[1]/UIACollectionCell[2]/UIATextField[3]'
     return text_field.UIATextField(self.base_parent, xpath=xpath_)
예제 #4
0
 def diary_name_edit_box(self):
     """
         Summary:
             故事名称编辑框
     :return:
     """
     xpath_ = '//UIACollectionView[1]/UIACollectionCell[2]/UIATextField[1]'
     return text_field.UIATextField(self.base_parent, xpath=xpath_)
예제 #5
0
    def edit_box(self):
        """
            Summary:
                文本输入框
        :return:
        """

        return text_field.UIATextField(self.parent, type='UIATextView')
예제 #6
0
 def in_id_edit_box(self):
     """
         Summary:
             in号输入框
     :return:
     """
     name_ = 'in号'
     cell_ = table_cell.UIATableCell(self.parent, name=name_)
     return text_field.UIATextField(cell_, type='UIATextField')
예제 #7
0
 def nickname_edit_box(self):
     """
         Summary:
             昵称修改文本输入框
     :return:
     """
     name_ = '昵称'
     cell_ = table_cell.UIATableCell(self.parent, name=name_)
     return text_field.UIATextField(cell_, type='UIATextField')