增加跳转师傅小程序功能
This commit is contained in:
parent
2eb297ade6
commit
0ff7096ffd
|
@ -51,7 +51,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="common-form-widget-group">
|
<view class="common-form-widget-group">
|
||||||
<view class="widget-item">
|
<view class="widget-item" @click="toWorkerApp">
|
||||||
<text class="iconfont icon-gongren icon"></text>
|
<text class="iconfont icon-gongren icon"></text>
|
||||||
<text class="title">我是师傅</text>
|
<text class="title">我是师傅</text>
|
||||||
<text class="iconfont icon-jinru more"></text>
|
<text class="iconfont icon-jinru more"></text>
|
||||||
|
@ -197,6 +197,15 @@ export default {
|
||||||
this.$utils.toast(msg);
|
this.$utils.toast(msg);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 跳转师傅小程序
|
||||||
|
*/
|
||||||
|
toWorkerApp() {
|
||||||
|
uni.navigateToMiniProgram({
|
||||||
|
appId: "wx2401c65b68a6c9b5",
|
||||||
|
path: "/pages/index/index",
|
||||||
|
});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue