Browse Source

fix party subpackage

master
赵明涛 9 months ago
parent
commit
3f1be52dde
  1. 2
      src/manifest.json
  2. 17
      src/subpackage/party/pages/index/index.vue
  3. 3
      src/subpackage/party/pages/index/web_view.vue
  4. BIN
      src/subpackage/party/static/index/icon-copy.png

2
src/manifest.json

@ -73,7 +73,7 @@
// }
// },
/* wxf1294b279ad1b845 */
"appid" : "wx7106e84614cf0060",
"appid" : "wxf1294b279ad1b845",
"setting" : {
"urlCheck" : false,
"minified" : true

17
src/subpackage/party/pages/index/index.vue

@ -14,6 +14,7 @@
<text class="b-t-white b-t-24 p-index-2">复制到电脑端打开</text>
<text class="b-t-white b-t-24 p-index-2 b-ellipsis-1">{{getManagerUrl.show}}</text>
<image class="pb-bg" src="../../static/index/p-bg-1.png"></image>
<image class="pb-icon-copy" src="../../static/index/icon-copy.png"></image>
</view>
</view>
@ -34,6 +35,7 @@
<text class="b-t-white b-t-24 p-index-2">复制到电脑端打开</text>
<text class="b-t-white b-t-24 p-index-2">{{getShouyingUrl.show}}</text>
<image class="pb-bg" src="../../static/index/p-bg-1.png"></image>
<image class="pb-icon-copy" src="../../static/index/icon-copy.png"></image>
</view>
</view>
<view class="p-tip">可在后台设置教练账户</view>
@ -244,6 +246,10 @@
data: url,
success: function () {
util.showNone('复制成功')
},
fail:function(e){
console.error("剪切板调用失败:",e)
util.showNone(e)
}
});
},
@ -292,7 +298,7 @@
font-size: 24rpx;
color: #9A9A9D;
margin-top: 25rpx;
padding-left: 60rpx;
padding-left: 30rpx;
width: 100%;
}
.p-box-title-2{
@ -304,6 +310,7 @@
.p-box{
width: 670rpx;
overflow: hidden;
position: relative;
>view{
width: 320rpx;
height: 176rpx;
@ -325,6 +332,14 @@
width: 47.76rpx;
height: 48.08rpx;
}
.pb-icon-copy{
width: 24rpx;
height: 24rpx;
z-index:5;
position:absolute;
top:18rpx;
right:18rpx;
}
}
}
}

3
src/subpackage/party/pages/index/web_view.vue

@ -7,14 +7,13 @@ import { API,ORIGIN } from '@/js/api';
export default {
data() {
return {
url: 'https://testadmin.ouxuanzhineng.cn/'
url: ''
}
},
onLoad(opt){
console.log('web_view',opt,ORIGIN)
this.url = opt.url
}
}

BIN
src/subpackage/party/static/index/icon-copy.png

After

Width: 48  |  Height: 52  |  Size: 724 B

Loading…
Cancel
Save