|
@@ -56,14 +56,23 @@ const getList = async () => {
|
|
|
} catch {}
|
|
|
}
|
|
|
|
|
|
+// 预览图片
|
|
|
+const previewImage = (url, i) => {
|
|
|
+ uni.previewImage({
|
|
|
+ current: i,
|
|
|
+ urls: url,
|
|
|
+ longPressActions : {
|
|
|
+ itemList: ['发送给朋友', '保存图片', '收藏']
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
onShow(() => {
|
|
|
- console.log('onShow:', 789)
|
|
|
getCompanyList()
|
|
|
getList()
|
|
|
})
|
|
|
|
|
|
onLoad((options) => {
|
|
|
- console.log('onLoad:', 789)
|
|
|
if (options.enterpriseId) {
|
|
|
enterpriseId.value = options.enterpriseId
|
|
|
getList()
|