graphicDetail.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. const app = getApp()
  2. const util = require("../../../utils/util");
  3. const api = require('../../../api/api.js');
  4. const user = require('../../../utils/user.js');
  5. import moment from 'moment'
  6. var WxParse = require('../../../lib/wxParse/wxParse.js');
  7. Page({
  8. data: {
  9. },
  10. /**
  11. * 生命周期函数--监听页面加载
  12. */
  13. onLoad: function (options) {
  14. let detail='<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/zvf4rthf65diawgywbjz.jpg" alt="" width="750" height="1183" /></p>↵<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/dlprffuyos96jxozlrvb.jpg" alt="" width="750" height="3809" /></p>↵<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/ag77n81gactrrsyi72ye.jpg" alt="" width="750" height="2741" /></p>↵<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/xfprcls1x91f6yv5x56k.jpg" alt="" width="750" height="1734" /></p>↵<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/rsfkt2ub50lbhs0kiqva.jpg" alt="" width="750" height="560" /></p>↵<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/efzyxtjwd4wh63im5394.jpg" alt="" width="750" height="1487" /></p>↵<p>&nbsp;</p>↵<p><img src="https://mall.zhaijieshi.cc/file/jzmall/storage/nqk4eexzbaggt1dgr4ei.jpg" alt="" width="750" height="2580" /></p>';
  15. WxParse.wxParse('goodsDetail', 'html', detail, this);
  16. },
  17. /**
  18. * 生命周期函数--监听页面初次渲染完成
  19. */
  20. onReady: function () {
  21. },
  22. /**
  23. * 生命周期函数--监听页面显示
  24. */
  25. onShow: function () {
  26. },
  27. onHide: function () {
  28. },
  29. onUnload: function () {
  30. },
  31. /**
  32. * 页面相关事件处理函数--监听用户下拉动作
  33. */
  34. onPullDownRefresh: function () {
  35. },
  36. /**
  37. * 页面上拉触底事件的处理函数
  38. */
  39. onReachBottom: function () {
  40. },
  41. /**
  42. * 用户点击右上角分享
  43. */
  44. onShareAppMessage: function () {
  45. },
  46. })