Browse Source

开放锦水档案模块;

master
ZhaoTongYao 5 years ago
parent
commit
66d266e57f
  1. 3
      app.json
  2. 2
      project.config.json
  3. 8
      subpages/understandJs/pages/archives/archives.js
  4. 6
      subpages/understandJs/pages/archives/archives.wxml
  5. 14
      subpages/understandJs/pages/index/index.js

3
app.json

@ -67,7 +67,8 @@
"pages/gOfficialsList/gOfficialsList", "pages/gOfficialsList/gOfficialsList",
"pages/talklist/talklist", "pages/talklist/talklist",
"pages/eventlist/eventlist", "pages/eventlist/eventlist",
"pages/addTopic/addTopic" "pages/addTopic/addTopic",
"pages/guideInfo/guideInfo"
] ]
}, },
{ {

2
project.config.json

@ -22,7 +22,7 @@
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useCompilerModule": false, "useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false, "userConfirmedUseCompilerModuleSwitch": false,
"useIsolateContext": true "useIsolateContext": true
}, },

8
subpages/understandJs/pages/archives/archives.js

@ -62,5 +62,13 @@ Page({
*/ */
onShareAppMessage: function () { onShareAppMessage: function () {
},
searchFile () {
wx.showToast({
title: '未查询到相关档案',
icon: 'none',
duration: 2000
})
} }
}) })

6
subpages/understandJs/pages/archives/archives.wxml

@ -5,7 +5,7 @@
<image src="../../images/search.png"></image> <image src="../../images/search.png"></image>
<input placeholder-class="placeholder-style" placeholder="输入档案关键字"></input> <input placeholder-class="placeholder-style" placeholder="输入档案关键字"></input>
</view> </view>
<button class="item-right">搜索</button> <button class="item-right" bindtap="searchFile">搜索</button>
</view> </view>
</view> </view>
</view> </view>
@ -13,7 +13,7 @@
<view class="list-item"> <!-- <view class="list-item">
<view class="list-name">玫瑰街道医疗物质采购档案</view> <view class="list-name">玫瑰街道医疗物质采购档案</view>
<view class="list-position"> <view class="list-position">
<image src="../../images/wenjian.png"></image> <image src="../../images/wenjian.png"></image>
@ -26,4 +26,4 @@
<image src="../../images/wenjian.png"></image> <image src="../../images/wenjian.png"></image>
<view class="list-position-name">存放位置:玫瑰街道档案室</view> <view class="list-position-name">存放位置:玫瑰街道档案室</view>
</view> </view>
</view> </view> -->

14
subpages/understandJs/pages/index/index.js

@ -85,14 +85,14 @@ Page({
url: `../sclerotia/sclerotia?modulecode=${e.currentTarget.dataset.modulecode}` url: `../sclerotia/sclerotia?modulecode=${e.currentTarget.dataset.modulecode}`
}) })
} else if (e.currentTarget.dataset.modulecode == 'module_file') {//档案 } else if (e.currentTarget.dataset.modulecode == 'module_file') {//档案
wx.showToast({ // wx.showToast({
title: '敬请期待', // title: '敬请期待',
icon: 'none', // icon: 'none',
duration: 1000 // duration: 1000
})
// wx.navigateTo({
// url: '../archives/archives'
// }) // })
wx.navigateTo({
url: '../archives/archives'
})
} }
} }
}) })
Loading…
Cancel
Save