index.js 534 B

12345678910111213141516171819202122232425262728
  1. import {
  2. imgServerUrl
  3. } from '../../config/config.js'
  4. Page({
  5. /**
  6. * 页面的初始数据
  7. */
  8. data: {
  9. imgServerUrl: imgServerUrl,
  10. items: [
  11. { name: '0', value: '0' },
  12. { name: '1', value: '1' },
  13. { name: '2', value: '2' },
  14. ],
  15. realName:'lifei',
  16. idCardNumber:1123233221434
  17. },
  18. /**
  19. * 生命周期函数--监听页面加载
  20. */
  21. onLoad: function (options) {
  22. },
  23. radioChange: function (e) {
  24. console.log('radio发生change事件,携带value值为:', e.detail.value)
  25. }
  26. })