|
@@ -47,6 +47,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 按钮 -->
|
|
<!-- 按钮 -->
|
|
|
<div class="app-footer">
|
|
<div class="app-footer">
|
|
|
|
|
+ <text style="color:#3385FF;margin-right:80rpx;" @click="getPCAddress()" >PC端后台网址</text>
|
|
|
<div class="admin-button-com middle blue" @click="pageTo({url: '/admin/staff/add'})">添加员工</div>
|
|
<div class="admin-button-com middle blue" @click="pageTo({url: '/admin/staff/add'})">添加员工</div>
|
|
|
</div>
|
|
</div>
|
|
|
</block>
|
|
</block>
|
|
@@ -185,9 +186,27 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad: function() {
|
|
onLoad: function() {
|
|
|
- // this.init()
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getPCAddress(){
|
|
|
|
|
+ let self = this;
|
|
|
|
|
+ uni.showModal({
|
|
|
|
|
+ title: "PC端后台网址",
|
|
|
|
|
+ content: "https://shop.wixhb.com/",
|
|
|
|
|
+ cancelText: "取消",
|
|
|
|
|
+ confirmText: "复制",
|
|
|
|
|
+ success: function (res) {
|
|
|
|
|
+ if (res.confirm) {
|
|
|
|
|
+ uni.setClipboardData({
|
|
|
|
|
+ data: "https://shop.wixhb.com/",
|
|
|
|
|
+ success: function() {
|
|
|
|
|
+ self.$msg("已复制")
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
async init() {
|
|
async init() {
|
|
|
this._list()
|
|
this._list()
|
|
|
},
|
|
},
|