Commit 2d1b246f by 李嘉林

自定义列表点击事件

parent 2e7189c8
......@@ -21,6 +21,7 @@ function compiler(str, data) {
}
import Vue from "vue";
import index from "@/api/index";
const app = getApp()
export default {
name: "custom-list",
props: {
......@@ -77,6 +78,17 @@ export default {
mounted() {},
methods:{
itemClick(item,index){
// let paper = {
// bid : item.bid
// }
// let link = 'https://dk.taokor.cn/wchat/?token=${token}&scene=sso&toAppid=qOAhsauSaagQlxYdGbJL#/appraisalTwo?paper='+ encodeURIComponent(JSON.stringify(paper));
// console.log(link,'---link')
// app.$themeToLink({
// link : link,
// key: "1.5",
// name: link,
// type: 1.2,
// });
eval(this.datas.componentData.comMethods)
},
getList(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment