|
@@ -2,11 +2,12 @@ import OHeader from '@/components/o-header'
|
|
|
import { defineComponent, onMounted, reactive, ref } from 'vue'
|
|
|
import iconStudent from '@common/images/icon_student.png'
|
|
|
import styles from './apply-withdrawal.module.less'
|
|
|
-import { Button, Dialog, Field, Image, showToast } from 'vant'
|
|
|
+import { Button, Field, Image, showToast } from 'vant'
|
|
|
import OSticky from '@/components/o-sticky'
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
import request from '@/helpers/request'
|
|
|
-import { state } from '@/state'
|
|
|
+import { postMessage } from '@/helpers/native-message'
|
|
|
+import ODialog from '@/components/o-dialog'
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'apply-withdrawal',
|
|
@@ -68,6 +69,7 @@ export default defineComponent({
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
+ postMessage({ api: 'setStatusBarTextColor', content: { statusBarTextColor: true } })
|
|
|
getDetails()
|
|
|
})
|
|
|
return () => (
|
|
@@ -115,24 +117,16 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</OSticky>
|
|
|
|
|
|
- <Dialog
|
|
|
+ <ODialog
|
|
|
v-model:show={forms.status}
|
|
|
+ title="提示"
|
|
|
message={'确定要提交退团申请吗?'}
|
|
|
messageAlign="left"
|
|
|
confirmButtonText="确定"
|
|
|
cancelButtonText="取消"
|
|
|
showCancelButton
|
|
|
onConfirm={() => onConfirm()}
|
|
|
- >
|
|
|
- {{
|
|
|
- title: () => (
|
|
|
- <div class={styles.dialogTitle}>
|
|
|
- <i></i>
|
|
|
- 提示
|
|
|
- </div>
|
|
|
- )
|
|
|
- }}
|
|
|
- </Dialog>
|
|
|
+ ></ODialog>
|
|
|
</div>
|
|
|
)
|
|
|
}
|