diff --git a/test_mini/pages/candidate/index.js b/test_mini/pages/candidate/index.js index 2ee25aa..e39961b 100644 --- a/test_mini/pages/candidate/index.js +++ b/test_mini/pages/candidate/index.js @@ -78,6 +78,17 @@ Page({ bindinput2: function(e){ this.data.ID_number = e.detail.value }, + copyUrl: function(e){ + wx.setClipboardData({ + data: e.currentTarget.dataset.url, + success: function (res) { + wx.showToast({ + title: '复制成功,可前往自带浏览器粘贴访问', + icon: 'none' + }) + } + }) + }, search: function() { if(this.data.realname && this.data.ID_number){ var data = { diff --git a/test_mini/pages/candidate/index.wxml b/test_mini/pages/candidate/index.wxml index 8f3eaf6..15e6eb1 100644 --- a/test_mini/pages/candidate/index.wxml +++ b/test_mini/pages/candidate/index.wxml @@ -1,39 +1,39 @@ - - 查询信息 - - - - - - - - - - - - - +查询信息 + + + + + - - 查询 + + + + + - 查询结果 - - - - - - 单号:{{item.report_number}} + + + + 查询 + +查询结果 + + + + + + 单号:{{item.report_number}} 发证日期:{{item.issue_date}} - - - 通过考核 - - - + + + 通过考核 + 长按复制地址去浏览器打开 + - 暂无证书信息 \ No newline at end of file + + +暂无证书信息 \ No newline at end of file diff --git a/test_mini/project.config.json b/test_mini/project.config.json index ba4292c..51d0e35 100644 --- a/test_mini/project.config.json +++ b/test_mini/project.config.json @@ -1,65 +1,65 @@ { - "description": "项目配置文件", - "packOptions": { - "ignore": [] - }, - "setting": { - "urlCheck": false, - "es6": true, - "enhance": true, - "postcss": true, - "preloadBackgroundData": false, - "minified": true, - "newFeature": true, - "coverView": true, - "nodeModules": true, - "autoAudits": false, - "showShadowRootInWxmlPanel": true, - "scopeDataCheck": false, - "uglifyFileName": false, - "checkInvalidKey": true, - "checkSiteMap": true, - "uploadWithSourceMap": true, - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" - }, - "useCompilerModule": false, - "userConfirmedUseCompilerModuleSwitch": false, - "compileHotReLoad": false, - "useMultiFrameRuntime": false, - "useApiHook": true, - "useIsolateContext": true, - "packNpmManually": false, - "packNpmRelationList": [] - }, - "compileType": "miniprogram", - "libVersion": "2.10.3", - "appid": "wxf1e9471c93f05ad6", - "projectname": "test_mini", - "debugOptions": { - "hidedInDevtools": [] - }, - "isGameTourist": false, - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": { - "search": { - "current": -1, - "list": [] - }, - "conversation": { - "current": -1, - "list": [] - }, - "game": { - "currentL": -1, - "list": [] - }, - "miniprogram": { - "current": -1, - "list": [] - } - } + "description": "项目配置文件", + "packOptions": { + "ignore": [] + }, + "setting": { + "urlCheck": false, + "es6": true, + "enhance": true, + "postcss": true, + "preloadBackgroundData": false, + "minified": true, + "newFeature": true, + "coverView": true, + "nodeModules": true, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "scopeDataCheck": false, + "uglifyFileName": false, + "checkInvalidKey": true, + "checkSiteMap": true, + "uploadWithSourceMap": true, + "compileHotReLoad": false, + "useMultiFrameRuntime": false, + "useApiHook": true, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "useIsolateContext": true, + "useCompilerModule": true, + "userConfirmedUseCompilerModuleSwitch": false, + "userConfirmedBundleSwitch": false, + "packNpmManually": false, + "packNpmRelationList": [], + "minifyWXSS": true, + "bundle": false + }, + "compileType": "miniprogram", + "libVersion": "2.14.1", + "appid": "wxf1e9471c93f05ad6", + "projectname": "test_mini", + "debugOptions": { + "hidedInDevtools": [] + }, + "isGameTourist": false, + "simulatorType": "wechat", + "simulatorPluginLibVersion": {}, + "condition": { + "search": { + "list": [] + }, + "conversation": { + "list": [] + }, + "game": { + "currentL": -1, + "list": [] + }, + "miniprogram": { + "list": [] + } + } } \ No newline at end of file