setmpopenid.vue 690 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <view>
  3. <web-view :src="webscr"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. const app = getApp();
  8. export default {
  9. data() {
  10. return {
  11. user: [],
  12. webscr:'',
  13. };
  14. },
  15. onLoad: function(e) {
  16. },
  17. onShow: function() {
  18. let _this = this;
  19. _this.$request.get('member.getsetmpurl').then(res => {
  20. if (res.errno == 0) {
  21. _this.webscr = res.data.url;
  22. }
  23. });
  24. },
  25. methods: {
  26. },
  27. /**
  28. * 页面相关事件处理函数--监听用户下拉动作
  29. */
  30. onPullDownRefresh: function() {
  31. setTimeout(() => {
  32. uni.stopPullDownRefresh()
  33. }, 200);
  34. },
  35. };
  36. </script>
  37. <style>
  38. page {
  39. background-color: #fafafa;
  40. font-size: 32rpx;
  41. }
  42. </style>