1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- const app = getApp();
- Page({
- data: {
- initial:'',
- },
-
- onLoad: function (options) {
- var that = this;
-
- let initial_url = 'my/authentication/ididentitychange';
- let initial_data = {
- };
- app.postRequest(initial_url, initial_data, function (res) {
- if (res.code == 201) {
- console.log(res.data);
- console.log(res.data.hold);
- that.setData({
- initial: res.data,
-
- name: res.data.name,
- number: res.data.number,
- })
- }
- })
- },
-
-
- enlarge: function (e) {
- var that = this;
-
-
- wx.previewImage({
- current: e.currentTarget.dataset.src,
- urls: [e.currentTarget.dataset.src],
- })
- },
- })
|