增加跳转师傅小程序功能

This commit is contained in:
TOP糯米 2023-03-31 17:11:10 +08:00
parent 2eb297ade6
commit 0ff7096ffd
1 changed files with 10 additions and 1 deletions

View File

@ -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>