diff --git a/lua_probject/base_project/Game/View/MainView.lua b/lua_probject/base_project/Game/View/MainView.lua index c4e6f849..d187102f 100644 --- a/lua_probject/base_project/Game/View/MainView.lua +++ b/lua_probject/base_project/Game/View/MainView.lua @@ -216,7 +216,7 @@ function M:InitView(url, isHideIpAdds) self.ctr_record_ban = self._btn_record:GetController('ban') self.ctr_record_ban.selectedIndex = record_baned self._record_time = 0 - --[[self._btn_record.onTouchBegin:Set(function() + self._btn_record.onTouchBegin:Set(function() if record_baned == 1 then self:__SetRecordEnable() else @@ -228,7 +228,7 @@ function M:InitView(url, isHideIpAdds) self.__runwait_record = nil self.__runwait_record = coroutine.start(self.__WaitRecord, self) end - end)--]] + end) end local chatText = _view:GetChild('btn_sendText') @@ -257,7 +257,7 @@ function M:InitView(url, isHideIpAdds) self._record_time = 0 GameApplication.Instance.StopMusic = GameApplication.Instance.StopMusic + 1 self._chat_Talk.onTouchEnd:Set(self.__RecordTouchEnd, self) - -- Voice.BeginRecord() + Voice.BeginRecord() self._ctr_voice.selectedIndex = 1 self.__runwait_record = nil self.__runwait_record = coroutine.start(self.__WaitRecord, self) diff --git a/wb_new_ui/assets/Common/component/oneChoose/btn_oneChoose.xml b/wb_new_ui/assets/Common/component/oneChoose/btn_oneChoose.xml new file mode 100644 index 00000000..fc6477e0 --- /dev/null +++ b/wb_new_ui/assets/Common/component/oneChoose/btn_oneChoose.xml @@ -0,0 +1,8 @@ + + + + + + +