├── components ├── footer.wxss ├── message.wxss ├── report.wxss ├── tab_a.wxss ├── tab_b.wxss ├── tab_c.wxss ├── business_a.wxss ├── business_b.wxss ├── collection_a.wxss ├── collection_b.wxss ├── loading_more.wxss ├── shop_pay.wxss ├── shop_tab_a.wxss ├── shop_tab_b.wxss ├── shop_tab_c.wxss ├── .DS_Store ├── footer.wxml ├── login.wxml ├── loading_more.wxml ├── shop_pay.wxml ├── business_b.wxml ├── collection_a.wxml ├── tab_c.wxml ├── business_a.wxml ├── shop_tab_c.wxml ├── shop_tab_b.wxml ├── message.wxml ├── report.wxml ├── tab_a.wxml ├── shop_tab_a.wxml ├── tab_b.wxml ├── login.wxss ├── collection_b.wxml └── collection_c.wxml ├── api0351_user ├── import │ ├── import.wxss │ ├── loading_more.wxss │ ├── import.wxml │ └── loading_more.wxml ├── pages │ ├── test │ │ ├── test.wxss │ │ ├── test.json │ │ ├── test.wxml │ │ └── test.js │ ├── shopView │ │ ├── shopView.json │ │ ├── shopView.wxml │ │ ├── shopView.js │ │ └── shopView.wxss │ ├── templates │ │ ├── footer.wxss │ │ └── footer.wxml │ ├── index │ │ └── index.json │ ├── basics │ │ ├── basics.json │ │ ├── basics.wxss │ │ └── basics.wxml │ ├── contact │ │ ├── contact.json │ │ ├── contact.wxml │ │ └── contact.wxss │ ├── cover │ │ ├── index │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── upload │ │ │ ├── upload.json │ │ │ ├── upload.wxml │ │ │ ├── upload.wxss │ │ │ └── upload.js │ ├── .DS_Store │ ├── about │ │ ├── about.wxml │ │ ├── about.json │ │ ├── about.wxss │ │ └── about.js │ ├── share │ │ ├── share.json │ │ ├── share.wxml │ │ └── share.wxss │ ├── shop │ │ ├── shop.json │ │ └── shop.wxml │ ├── shops │ │ ├── shops.json │ │ ├── shops.wxml │ │ ├── shops.wxss │ │ └── shops.js │ ├── trade │ │ ├── trade.json │ │ └── trade.wxml │ ├── user │ │ └── user.json │ ├── addserv │ │ ├── addserv.json │ │ ├── addserv.wxml │ │ └── addserv.wxss │ ├── advice │ │ ├── advice.json │ │ ├── advice.wxml │ │ ├── advice.wxss │ │ └── advice.js │ ├── backgro │ │ ├── backgro.json │ │ ├── backgro.wxss │ │ ├── backgro.js │ │ └── backgro.wxml │ ├── business │ │ ├── business.json │ │ └── business.wxml │ ├── coll_zv │ │ ├── coll_zv.json │ │ ├── coll_zv.wxss │ │ ├── coll_zv.js │ │ └── coll_zv.wxml │ ├── edserv │ │ ├── edserv.json │ │ ├── edserv.wxml │ │ └── edserv.wxss │ ├── message │ │ ├── message.json │ │ └── message.wxml │ ├── private │ │ ├── private.json │ │ ├── private.js │ │ ├── private.wxml │ │ └── private.wxss │ ├── reward │ │ ├── reward.json │ │ ├── reward.wxml │ │ ├── reward.wxss │ │ └── reward.js │ ├── serlist │ │ ├── serlist.json │ │ ├── serlist.wxml │ │ ├── serlist.wxss │ │ └── serlist.js │ ├── serview │ │ ├── serview.json │ │ ├── serview.wxml │ │ ├── serview.wxss │ │ └── serview.js │ ├── classlist │ │ ├── classlist.json │ │ ├── classlist.wxml │ │ ├── classlist.js │ │ └── classlist.wxss │ ├── ification │ │ ├── ification.json │ │ ├── ification.wxml │ │ ├── ification.js │ │ └── ification.wxss │ ├── malllist │ │ ├── malllist.json │ │ ├── malllist.js │ │ ├── malllist.wxml │ │ └── malllist.wxss │ ├── newsView │ │ ├── newsView.json │ │ ├── newsView.wxml │ │ ├── newsView.js │ │ └── newsView.wxss │ ├── rewardlog │ │ ├── rewardlog.json │ │ ├── rewardlog.js │ │ ├── rewardlog.wxml │ │ └── rewardlog.wxss │ └── collection │ │ ├── collection.json │ │ └── collection.wxml ├── we-cropper │ ├── we-cropper.wxss │ └── we-cropper.wxml ├── resource │ ├── js │ │ ├── lanch.js │ │ ├── webview.js │ │ ├── base64.js │ │ └── qiniuUploader.js │ ├── icon │ │ ├── home.png │ │ ├── shop.png │ │ ├── user.png │ │ ├── category.png │ │ ├── home-selected.png │ │ ├── shop-selected.png │ │ ├── user-selected.png │ │ └── category-selected.png │ └── wxParse │ │ ├── wxParse.js │ │ ├── htmlparser.js │ │ └── wxParse.wxss ├── .DS_Store └── image │ ├── add.png │ ├── bg_0.jpg │ ├── bg_1.jpg │ ├── bg_2.jpg │ ├── bg_3.jpg │ ├── bg_4.jpg │ ├── bg_5.jpg │ ├── bg_6.jpg │ ├── bg_7.jpg │ ├── bg_8.jpg │ ├── c_1.png │ ├── c_2.png │ ├── c_3.png │ ├── c_4.png │ ├── c_5.png │ ├── c_6.png │ ├── c_7.png │ ├── c_8.png │ ├── c_9.png │ ├── ds_0.png │ ├── ds_1.png │ ├── ds_2.png │ ├── fio.png │ ├── good.png │ ├── load.gif │ ├── more.png │ ├── msn.png │ ├── tool.png │ ├── top.jpg │ ├── u_gs.png │ ├── u_wx.png │ ├── vip.png │ ├── code_bg.jpg │ ├── fio_k.png │ ├── imore.png │ ├── loading.gif │ ├── login.png │ ├── mobile.png │ ├── nodata.png │ ├── nouser.png │ ├── photo.png │ ├── release.png │ ├── upload.png │ ├── user_rd.png │ ├── user_zj.png │ ├── u_addres.png │ ├── u_mobile.png │ └── preservation.png ├── we7 ├── pages │ ├── templates │ │ ├── footer.wxss │ │ ├── news.wxss │ │ ├── news.wxml │ │ └── footer.wxml │ ├── component │ │ └── footer │ │ │ ├── footer.js │ │ │ ├── footer.wxss │ │ │ └── footer.wxml │ ├── user │ │ └── index │ │ │ ├── index.wxml │ │ │ ├── index.js │ │ │ └── index.wxss │ ├── newsDetail │ │ ├── newsDetail.wxml │ │ ├── newsDetail.js │ │ └── newsDetail.wxss │ ├── selectarea │ │ ├── selectarea.wxss │ │ ├── selectarea.wxml │ │ └── selectarea.js │ └── index │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss └── resource │ ├── icon │ ├── pay.png │ ├── home.png │ ├── hotel.png │ ├── img_1.png │ ├── img_2.png │ ├── img_3.png │ ├── img_4.png │ ├── order.png │ ├── todo.png │ ├── user.png │ ├── homeselect.png │ ├── payselect.png │ ├── todoselect.png │ ├── userselect.png │ ├── hotelselect.png │ └── orderselect.png │ ├── images │ ├── home.png │ ├── hotel.png │ ├── user.png │ ├── homeselect.png │ ├── hotelselect.png │ └── userselect.png │ └── js │ ├── webview.js │ └── base64.js ├── siteinfo.js ├── README.md ├── project.config.json └── app.json /components/footer.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/message.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/report.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/tab_a.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/tab_b.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/tab_c.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/business_a.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/business_b.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/collection_a.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/collection_b.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/loading_more.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/shop_pay.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/shop_tab_a.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/shop_tab_b.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/shop_tab_c.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api0351_user/import/import.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api0351_user/pages/test/test.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /we7/pages/templates/footer.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /we7/pages/templates/news.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api0351_user/import/loading_more.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api0351_user/pages/test/test.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /api0351_user/pages/shopView/shopView.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /api0351_user/pages/templates/footer.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api0351_user/we-cropper/we-cropper.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api0351_user/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false 3 | } -------------------------------------------------------------------------------- /api0351_user/pages/basics/basics.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "基础信息" 3 | } -------------------------------------------------------------------------------- /api0351_user/pages/contact/contact.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "个人介绍" 3 | } -------------------------------------------------------------------------------- /api0351_user/pages/test/test.wxml: -------------------------------------------------------------------------------- 1 | api0351_user/pages/test/test.wxml 2 | -------------------------------------------------------------------------------- /api0351_user/resource/js/lanch.js: -------------------------------------------------------------------------------- 1 | function lanch() {} 2 | 3 | module.exports = lanch; -------------------------------------------------------------------------------- /components/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/components/.DS_Store -------------------------------------------------------------------------------- /components/footer.wxml: -------------------------------------------------------------------------------- 1 | 2 | @2018 互联创想 版权所有 3 | 4 | -------------------------------------------------------------------------------- /api0351_user/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/.DS_Store -------------------------------------------------------------------------------- /api0351_user/pages/cover/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "封面头像" 3 | } -------------------------------------------------------------------------------- /api0351_user/pages/cover/upload/upload.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "固定裁剪" 3 | } -------------------------------------------------------------------------------- /we7/resource/icon/pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/pay.png -------------------------------------------------------------------------------- /api0351_user/image/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/add.png -------------------------------------------------------------------------------- /api0351_user/image/bg_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_0.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_1.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_2.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_3.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_4.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_5.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_6.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_7.jpg -------------------------------------------------------------------------------- /api0351_user/image/bg_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/bg_8.jpg -------------------------------------------------------------------------------- /api0351_user/image/c_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_1.png -------------------------------------------------------------------------------- /api0351_user/image/c_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_2.png -------------------------------------------------------------------------------- /api0351_user/image/c_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_3.png -------------------------------------------------------------------------------- /api0351_user/image/c_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_4.png -------------------------------------------------------------------------------- /api0351_user/image/c_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_5.png -------------------------------------------------------------------------------- /api0351_user/image/c_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_6.png -------------------------------------------------------------------------------- /api0351_user/image/c_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_7.png -------------------------------------------------------------------------------- /api0351_user/image/c_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_8.png -------------------------------------------------------------------------------- /api0351_user/image/c_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/c_9.png -------------------------------------------------------------------------------- /api0351_user/image/ds_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/ds_0.png -------------------------------------------------------------------------------- /api0351_user/image/ds_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/ds_1.png -------------------------------------------------------------------------------- /api0351_user/image/ds_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/ds_2.png -------------------------------------------------------------------------------- /api0351_user/image/fio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/fio.png -------------------------------------------------------------------------------- /api0351_user/image/good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/good.png -------------------------------------------------------------------------------- /api0351_user/image/load.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/load.gif -------------------------------------------------------------------------------- /api0351_user/image/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/more.png -------------------------------------------------------------------------------- /api0351_user/image/msn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/msn.png -------------------------------------------------------------------------------- /api0351_user/image/tool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/tool.png -------------------------------------------------------------------------------- /api0351_user/image/top.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/top.jpg -------------------------------------------------------------------------------- /api0351_user/image/u_gs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/u_gs.png -------------------------------------------------------------------------------- /api0351_user/image/u_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/u_wx.png -------------------------------------------------------------------------------- /api0351_user/image/vip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/vip.png -------------------------------------------------------------------------------- /we7/resource/icon/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/home.png -------------------------------------------------------------------------------- /we7/resource/icon/hotel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/hotel.png -------------------------------------------------------------------------------- /we7/resource/icon/img_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/img_1.png -------------------------------------------------------------------------------- /we7/resource/icon/img_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/img_2.png -------------------------------------------------------------------------------- /we7/resource/icon/img_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/img_3.png -------------------------------------------------------------------------------- /we7/resource/icon/img_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/img_4.png -------------------------------------------------------------------------------- /we7/resource/icon/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/order.png -------------------------------------------------------------------------------- /we7/resource/icon/todo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/todo.png -------------------------------------------------------------------------------- /we7/resource/icon/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/user.png -------------------------------------------------------------------------------- /api0351_user/image/code_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/code_bg.jpg -------------------------------------------------------------------------------- /api0351_user/image/fio_k.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/fio_k.png -------------------------------------------------------------------------------- /api0351_user/image/imore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/imore.png -------------------------------------------------------------------------------- /api0351_user/image/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/loading.gif -------------------------------------------------------------------------------- /api0351_user/image/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/login.png -------------------------------------------------------------------------------- /api0351_user/image/mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/mobile.png -------------------------------------------------------------------------------- /api0351_user/image/nodata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/nodata.png -------------------------------------------------------------------------------- /api0351_user/image/nouser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/nouser.png -------------------------------------------------------------------------------- /api0351_user/image/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/photo.png -------------------------------------------------------------------------------- /api0351_user/image/release.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/release.png -------------------------------------------------------------------------------- /api0351_user/image/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/upload.png -------------------------------------------------------------------------------- /api0351_user/image/user_rd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/user_rd.png -------------------------------------------------------------------------------- /api0351_user/image/user_zj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/user_zj.png -------------------------------------------------------------------------------- /api0351_user/pages/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/pages/.DS_Store -------------------------------------------------------------------------------- /we7/resource/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/images/home.png -------------------------------------------------------------------------------- /we7/resource/images/hotel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/images/hotel.png -------------------------------------------------------------------------------- /we7/resource/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/images/user.png -------------------------------------------------------------------------------- /api0351_user/image/u_addres.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/u_addres.png -------------------------------------------------------------------------------- /api0351_user/image/u_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/u_mobile.png -------------------------------------------------------------------------------- /we7/resource/icon/homeselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/homeselect.png -------------------------------------------------------------------------------- /we7/resource/icon/payselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/payselect.png -------------------------------------------------------------------------------- /we7/resource/icon/todoselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/todoselect.png -------------------------------------------------------------------------------- /we7/resource/icon/userselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/userselect.png -------------------------------------------------------------------------------- /api0351_user/image/preservation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/image/preservation.png -------------------------------------------------------------------------------- /api0351_user/pages/about/about.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{content}} 4 | 5 | 6 | -------------------------------------------------------------------------------- /api0351_user/resource/icon/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/home.png -------------------------------------------------------------------------------- /api0351_user/resource/icon/shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/shop.png -------------------------------------------------------------------------------- /api0351_user/resource/icon/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/user.png -------------------------------------------------------------------------------- /we7/resource/icon/hotelselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/hotelselect.png -------------------------------------------------------------------------------- /we7/resource/icon/orderselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/icon/orderselect.png -------------------------------------------------------------------------------- /we7/resource/images/homeselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/images/homeselect.png -------------------------------------------------------------------------------- /we7/resource/images/hotelselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/images/hotelselect.png -------------------------------------------------------------------------------- /we7/resource/images/userselect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/we7/resource/images/userselect.png -------------------------------------------------------------------------------- /api0351_user/pages/about/about.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "关于我们" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/share/share.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "分享名片" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/shop/shop.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "旺铺租用协议" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/shops/shops.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "服务展示" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/trade/trade.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "合作" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/user/user.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "个人" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/addserv/addserv.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "信息发布" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/advice/advice.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "意见建议" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/backgro/backgro.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "更换主题" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/business/business.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "人脉" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/coll_zv/coll_zv.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "名片详情" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/edserv/edserv.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "编辑信息" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/message/message.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "问答管理" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/private/private.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "我的私信" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/reward/reward.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "热度传递" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/serlist/serlist.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "服务列表" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/serview/serview.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "内容展示" 4 | } -------------------------------------------------------------------------------- /api0351_user/resource/icon/category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/category.png -------------------------------------------------------------------------------- /api0351_user/pages/classlist/classlist.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "行业名片" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/ification/ification.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "行业分类" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/malllist/malllist.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "搜索结果" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/newsView/newsView.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "内容正文" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/rewardlog/rewardlog.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "热度记录" 4 | } -------------------------------------------------------------------------------- /api0351_user/pages/collection/collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false, 3 | "navigationBarTitleText": "我的名片夹" 4 | } -------------------------------------------------------------------------------- /api0351_user/resource/icon/home-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/home-selected.png -------------------------------------------------------------------------------- /api0351_user/resource/icon/shop-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/shop-selected.png -------------------------------------------------------------------------------- /api0351_user/resource/icon/user-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/user-selected.png -------------------------------------------------------------------------------- /api0351_user/resource/icon/category-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roobe/jiatui/HEAD/api0351_user/resource/icon/category-selected.png -------------------------------------------------------------------------------- /api0351_user/import/import.wxml: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /siteinfo.js: -------------------------------------------------------------------------------- 1 | var i = { 2 | uniacid: "21230", 3 | acid: "21230", 4 | multiid: "0", 5 | version: "1.0.1", 6 | siteroot: "https://u5.9026.com/app/index.php", 7 | design_method: "3" 8 | }; 9 | 10 | module.exports = i; -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # jiatui 2 | 仿加推人工智能AI / 递名片,名片全能王,智能名片,SCRM,小程序搜索 《凡云AI》。合作联系微信/电话 18782952947 演示 3 | 4 | 案例 5 | ![RUNOOB 图标](https://xcxcdn.9026.com/upload/temp_qrcode/20190313/bc01b27b92d02c1934ab3e3d1ba7ffe9.png) 6 | 7 | 详细介绍 8 | https://www.9026.com/web/Template/shopSingle?id=400&cate_id=&status=1 9 | -------------------------------------------------------------------------------- /we7/pages/component/footer/footer.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Component({ 4 | properties: { 5 | tabBar: { 6 | type: Object, 7 | value: app.tabBar 8 | } 9 | }, 10 | data: {}, 11 | methods: {}, 12 | created: function() {} 13 | }); -------------------------------------------------------------------------------- /we7/pages/user/index/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{text}} 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /api0351_user/we-cropper/we-cropper.wxml: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /we7/pages/user/index/index.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | text: "微擎我的" 6 | }, 7 | onLoad: function(n) { 8 | app.util.footer(this); 9 | }, 10 | onReady: function() {}, 11 | onShow: function() {}, 12 | onHide: function() {}, 13 | onUnload: function() {} 14 | }); -------------------------------------------------------------------------------- /api0351_user/pages/test/test.js: -------------------------------------------------------------------------------- 1 | Page({ 2 | data: {}, 3 | onLoad: function(n) {}, 4 | onReady: function() {}, 5 | onShow: function() { 6 | this.onLoad(); 7 | }, 8 | onHide: function() {}, 9 | onUnload: function() {}, 10 | onPullDownRefresh: function() {}, 11 | onReachBottom: function() {}, 12 | onShareAppMessage: function() {} 13 | }); -------------------------------------------------------------------------------- /api0351_user/pages/about/about.wxss: -------------------------------------------------------------------------------- 1 | .viewNr { 2 | width: 90%; 3 | padding: 0 5% 5% 5%; 4 | color: #333; 5 | background: #fff; 6 | } 7 | 8 | .viewNr .h2 { 9 | width: 100%; 10 | text-align: center; 11 | padding-top: 30px; 12 | } 13 | 14 | .viewNr .h2 image { 15 | width: 70%; 16 | } 17 | 18 | .viewNr text { 19 | width: 100%; 20 | display: inline-block; 21 | } -------------------------------------------------------------------------------- /api0351_user/pages/serview/serview.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{viewData.title}} 4 | 5 | 6 | {{viewData.content}} 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /we7/pages/user/index/index.wxss: -------------------------------------------------------------------------------- 1 | .container { 2 | height: 100%; 3 | display: flex; 4 | flex-direction: column; 5 | align-items: center; 6 | justify-content: space-between; 7 | padding: 200rpx 0; 8 | box-sizing: border-box; 9 | } 10 | 11 | .textStyle { 12 | display: flex; 13 | flex-direction: column; 14 | align-items: center; 15 | } 16 | 17 | .textContainer { 18 | margin-top: 200px; 19 | } -------------------------------------------------------------------------------- /api0351_user/pages/cover/upload/upload.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 重新选择 8 | 9 | 10 | 确定 11 | 12 | 13 | -------------------------------------------------------------------------------- /api0351_user/pages/cover/index/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 确认保存 6 | 上传完图片后,记得点击确认保存按钮 7 | 8 | 9 | -------------------------------------------------------------------------------- /api0351_user/pages/share/share.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /api0351_user/pages/newsView/newsView.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{NewsView.title}} 3 | 4 | 5 | 【温馨提示】如果内容好的话麻烦大家帮忙分享 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /api0351_user/pages/ification/ification.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{item.csname}} 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /api0351_user/pages/cover/upload/upload.wxss: -------------------------------------------------------------------------------- 1 | .cropper { 2 | position: absolute; 3 | top: 0; 4 | left: 0; 5 | z-index: 998; 6 | } 7 | 8 | .cropper-buttons { 9 | position: absolute; 10 | bottom: 0; 11 | left: 0; 12 | z-index: 999; 13 | width: 100%; 14 | display: flex; 15 | height: 50px; 16 | line-height: 50px; 17 | } 18 | 19 | .cropper-buttons .getCropperImage { 20 | text-align: center; 21 | flex: 1; 22 | background: #E2E2E2; 23 | } 24 | 25 | .cropper-buttons .upload { 26 | text-align: center; 27 | flex: 1; 28 | } -------------------------------------------------------------------------------- /api0351_user/pages/coll_zv/coll_zv.wxss: -------------------------------------------------------------------------------- 1 | .img { 2 | width: 100%; 3 | text-align: center; 4 | border-bottom: 1px #F1F1F1 solid; 5 | } 6 | 7 | .containers { 8 | background: #fff; 9 | padding: 0 2%; 10 | } 11 | 12 | .row { 13 | display: flex; 14 | border-bottom: 1px #F1F1F1 solid; 15 | height: 45px; 16 | line-height: 45px; 17 | font-size: 14px; 18 | position: relative; 19 | } 20 | 21 | .row text { 22 | flex: 2; 23 | text-align: left; 24 | color: #999; 25 | padding-left: 15px; 26 | } 27 | 28 | .row label { 29 | flex: 10; 30 | text-align: right; 31 | color: #333; 32 | padding-right: 15px; 33 | } -------------------------------------------------------------------------------- /components/login.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | X 6 | 7 | 8 | 9 | 首次使用需允许授权 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /api0351_user/pages/cover/index/index.wxss: -------------------------------------------------------------------------------- 1 | .avatarIndex { 2 | width: 100%; 3 | height: 100%; 4 | text-align: center; 5 | background: #fff; 6 | padding-bottom: 15px; 7 | } 8 | 9 | .avatar-container { 10 | position: relative; 11 | text-align: center; 12 | padding-top: 50%; 13 | } 14 | 15 | .avatar { 16 | width: 94%; 17 | height: 360px; 18 | margin: 3%; 19 | background: #F5F5F5; 20 | } 21 | 22 | .item { 23 | line-height: 2.5rem; 24 | background: #00AA80; 25 | color: #fff; 26 | margin: 0 5%; 27 | border-radius: 50px; 28 | } 29 | 30 | .tixing { 31 | width: 100%; 32 | padding: 10px 0 0 0; 33 | color: #666; 34 | } -------------------------------------------------------------------------------- /api0351_user/pages/serlist/serlist.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | {{item.title}} 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /api0351_user/import/loading_more.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 正在加载 4 | 5 | 6 | 上拉加载 7 | 8 | 9 | 已经到底了 10 | 11 | 12 | 啥都没有了 13 | 14 | -------------------------------------------------------------------------------- /components/loading_more.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 正在加载 4 | 5 | 6 | 点击加载更多 7 | 8 | 9 | 已经到底了 10 | 11 | 12 | 暂无任何数据 13 | 14 | -------------------------------------------------------------------------------- /we7/pages/newsDetail/newsDetail.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{newsData.sTitle}} 4 | 5 | {{newsData.sFrom}} 6 | {{newsData.time}} 7 | 8 | 9 | 10 | {{newsData.sDescription}} 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "项目配置文件。", 3 | "packOptions": { 4 | "ignore": [] 5 | }, 6 | "setting": { 7 | "urlCheck": false, 8 | "es6": true, 9 | "postcss": true, 10 | "minified": true, 11 | "newFeature": true 12 | }, 13 | "compileType": "miniprogram", 14 | "libVersion": "2.2.0", 15 | "appid": "wxe2be7e18beed31da", 16 | "projectname": "%E8%BF%99%E6%98%AF%E6%88%91%E7%9A%84%E5%90%8D%E7%89%87", 17 | "isGameTourist": false, 18 | "condition": { 19 | "search": { 20 | "current": -1, 21 | "list": [] 22 | }, 23 | "conversation": { 24 | "current": -1, 25 | "list": [] 26 | }, 27 | "game": { 28 | "currentL": -1, 29 | "list": [] 30 | }, 31 | "miniprogram": { 32 | "current": -1, 33 | "list": [] 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /components/shop_pay.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{userBye.nickname}} 8 | 9 | 10 | 11 | 店铺名称:{{userBye.dtitle}} 12 | 平米数:{{userBye.dnumber}}㎡ 13 | 支付租金:{{payNum}} 14 | 店铺介绍:{{userBye.dcontent}} 15 | 签订时间:{{userBye.ctime}} 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /api0351_user/pages/rewardlog/rewardlog.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | infoList: [], 6 | noData: 0 7 | }, 8 | onLoad: function(a) { 9 | this.getDataIndex(a.op); 10 | }, 11 | getDataIndex: function(a) { 12 | var t = this; 13 | app.util.request({ 14 | url: "entry/wxapp/GetShang", 15 | data: { 16 | openid: a 17 | }, 18 | cachetime: 0, 19 | success: function(a) { 20 | 0 == a.data.data.length ? t.setData({ 21 | noData: 0 22 | }) : t.setData({ 23 | noData: 1, 24 | infoList: a.data.data 25 | }); 26 | } 27 | }); 28 | } 29 | }); -------------------------------------------------------------------------------- /components/business_b.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{item.nickName}} [ {{item.user_zc}} ] 9 | 10 | 11 | {{item.user_gs}} 12 | 拥有热度 {{item.heat}}点 13 | 14 | 15 | 查看 16 | 17 | 18 | -------------------------------------------------------------------------------- /api0351_user/pages/collection/collection.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 电子名片 4 | 纸质名片 5 | 6 | 7 | 10 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /api0351_user/pages/serlist/serlist.wxss: -------------------------------------------------------------------------------- 1 | @import "../../../__wuBaseWxss__/0.wxss"; 2 | 3 | page { 4 | background: #fff; 5 | } 6 | 7 | .serlist { 8 | width: 100%; 9 | display: inline-block; 10 | } 11 | 12 | .Te { 13 | width: 100%; 14 | } 15 | 16 | .Te_a { 17 | overflow: hidden; 18 | width: 50%; 19 | float: left; 20 | text-align: center; 21 | background: #fff; 22 | padding-top: 18px; 23 | border-bottom: 1px #FAFAFA solid; 24 | } 25 | 26 | .Te_a .Te_a_author { 27 | width: 100%; 28 | display: inline-block; 29 | margin-bottom: 5px; 30 | height: 110px; 31 | overflow: hidden; 32 | } 33 | 34 | .Te_a .Te_a_author image { 35 | width: 80%; 36 | height: 110px; 37 | } 38 | 39 | .Te_a .Te_a_content { 40 | width: 100%; 41 | padding-bottom: 10px; 42 | color: #666; 43 | } -------------------------------------------------------------------------------- /components/collection_a.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.nickName}} [ {{item.user_zc}} ] 10 | 11 | {{item.user_gs}} 12 | 13 | 14 | 移除 15 | 16 | 17 | -------------------------------------------------------------------------------- /components/tab_c.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 尚未添加服务内容 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{s.title}} 15 | 16 | 17 | 查看更多 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /api0351_user/pages/serview/serview.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #fff; 3 | } 4 | 5 | .serview { 6 | width: 100%; 7 | } 8 | 9 | .serview .h2 { 10 | width: 90%; 11 | border-bottom: 1px #f2f2f2 solid; 12 | padding: 3% 5%; 13 | border-top: 1px #F1F1F1 solid; 14 | } 15 | 16 | .serview .ul { 17 | width: 90%; 18 | padding: 3% 5%; 19 | } 20 | 21 | .serview .pic { 22 | width: 100%; 23 | text-align: center; 24 | padding: 2% 0; 25 | } 26 | 27 | .serview .pic image { 28 | width: 90%; 29 | } 30 | 31 | .goHome { 32 | width: 90%; 33 | padding: 0 5%; 34 | position: fixed; 35 | bottom: 15px; 36 | } 37 | 38 | .goHome button { 39 | border: none; 40 | padding: 4px 0; 41 | border-radius: 50px; 42 | background: #FEA489; 43 | color: #fff; 44 | font-size: 14px; 45 | } 46 | 47 | .goHome button::after { 48 | border: none; 49 | } -------------------------------------------------------------------------------- /api0351_user/pages/ification/ification.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | classMav: [] 6 | }, 7 | onLoad: function(a) { 8 | this.openid = wx.getStorageSync("openid"), this.getClass(); 9 | }, 10 | getClass: function() { 11 | var i = this; 12 | wx.showNavigationBarLoading(), app.util.request({ 13 | url: "entry/wxapp/GetClass", 14 | cachetime: 0, 15 | success: function(a) { 16 | for (var t = a.data.data, s = [], e = 0; e < t.length; e++) 1 != t[e].id && s.push(t[e]); 17 | i.setData({ 18 | classMav: s 19 | }); 20 | } 21 | }); 22 | }, 23 | channelRendered: function(a) { 24 | var t = a.currentTarget.dataset.id; 25 | wx.navigateTo({ 26 | url: "../classlist/classlist?id=" + t 27 | }); 28 | } 29 | }); -------------------------------------------------------------------------------- /we7/pages/component/footer/footer.wxss: -------------------------------------------------------------------------------- 1 | .we7-bottom-placeholder { 2 | width: 100%; 3 | height: 134rpx; 4 | position: relative; 5 | bottom: 0; 6 | z-index: -1; 7 | } 8 | 9 | .we7-bottom { 10 | display: flex; 11 | overflow: hidden; 12 | position: fixed; 13 | left: 0; 14 | right: 0; 15 | bottom: 0; 16 | padding: 10rpx 0; 17 | border-top: 1px solid #000; 18 | background-color: #fff; 19 | } 20 | 21 | .we7-bottom.active { 22 | background-color: #fff; 23 | } 24 | 25 | .we7-bottom.active navigatorurl { 26 | background-color: #fff; 27 | } 28 | 29 | .we7-bottom .we7-bottom-item { 30 | flex: 1; 31 | padding: 10rpx; 32 | text-align: center; 33 | } 34 | 35 | .we7-bottom .item-img { 36 | width: 50rpx; 37 | height: 50rpx; 38 | display: inline-block; 39 | } 40 | 41 | .we7-bottom .item-text { 42 | display: block; 43 | font-size: 12px; 44 | line-height: 1; 45 | } -------------------------------------------------------------------------------- /we7/pages/templates/news.wxml: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /api0351_user/pages/about/about.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | footer: "", 6 | content: "" 7 | }, 8 | onLoad: function(t) { 9 | var a = this; 10 | a.setData({ 11 | loadingHide: !1 12 | }), setTimeout(function() { 13 | a.setData({ 14 | loadingHide: !0 15 | }); 16 | }, 1e3), this.getFooter(); 17 | }, 18 | getFooter: function() { 19 | var a = this; 20 | app.util.request({ 21 | url: "entry/wxapp/Footer", 22 | data: { 23 | m: "api0351_user" 24 | }, 25 | cachetime: 0, 26 | success: function(t) { 27 | console.log(t.data.data), a.setData({ 28 | footer: t.data.data.copyt, 29 | content: t.data.data.content 30 | }); 31 | } 32 | }); 33 | } 34 | }); -------------------------------------------------------------------------------- /api0351_user/pages/shops/shops.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /api0351_user/pages/backgro/backgro.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | } 3 | 4 | .content { 5 | width: 86%; 6 | margin: 3%; 7 | background: #fff; 8 | display: inline-block; 9 | padding: 5% 4% 0 4%; 10 | } 11 | 12 | .content .h2 { 13 | width: 100%; 14 | border-bottom: 1px #f1f1f1 solid; 15 | padding-bottom: 10px; 16 | margin-bottom: 10px; 17 | color: #FD8060; 18 | } 19 | 20 | .bgImg { 21 | width: 50%; 22 | height: 90px; 23 | float: left; 24 | text-align: center; 25 | display: block; 26 | background: #fff; 27 | margin-bottom: 15px; 28 | border-bottom: 1px #f1f1f1 solid; 29 | margin-top: 10px; 30 | overflow: hidden; 31 | } 32 | 33 | .bgImg text { 34 | width: 100%; 35 | color: #666; 36 | } 37 | 38 | .bgImg label { 39 | width: 90%; 40 | height: 38px; 41 | overflow: hidden; 42 | display: inline-block; 43 | border-radius: 5px; 44 | margin: 0 5%; 45 | } 46 | 47 | .bgImg label image { 48 | width: 100%; 49 | } -------------------------------------------------------------------------------- /components/business_a.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.nickName}} [ {{item.user_zc}} ] 10 | 11 | {{item.user_gs}} 12 | 拥有热度 {{item.heat}} 点 13 | 14 | 查看 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /api0351_user/pages/backgro/backgro.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: {}, 5 | onLoad: function(t) { 6 | console.log(t.op), this.setData({ 7 | openid: t.op 8 | }); 9 | }, 10 | imgBind: function(t) { 11 | var a = t.currentTarget.dataset.id, e = this.data.openid; 12 | app.util.request({ 13 | url: "entry/wxapp/BackGro", 14 | data: { 15 | openid: e, 16 | backgro: a 17 | }, 18 | cachetime: 0, 19 | success: function(t) { 20 | console.log(t.data), wx.showToast({ 21 | title: "设置成功", 22 | icon: "success", 23 | duration: 1200 24 | }), setTimeout(function() { 25 | wx.reLaunch({ 26 | url: "../index/index" 27 | }); 28 | }, 1200); 29 | } 30 | }); 31 | } 32 | }); -------------------------------------------------------------------------------- /components/shop_tab_c.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 暂无任何内容 6 | 7 | 8 | 9 | 10 | 11 | 12 | {{item.nickName}} 13 | 14 | 15 | {{item.time}} 16 | 17 | 18 | {{item.title}} 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /api0351_user/pages/coll_zv/coll_zv.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | getCdrList: [] 6 | }, 7 | onLoad: function(t) { 8 | this.openid = wx.getStorageSync("openid"), this.uid = t.uid, this.openid ? this.getCdrList(this.uid) : wx.redirectTo({ 9 | url: "../index/index" 10 | }); 11 | }, 12 | callPhoto: function(t) { 13 | wx.makePhoneCall({ 14 | phoneNumber: t.currentTarget.dataset.mobile 15 | }); 16 | }, 17 | getCdrList: function(t) { 18 | var e = this, i = this.openid; 19 | app.util.request({ 20 | url: "entry/wxapp/GetViewCdr", 21 | data: { 22 | openid: i, 23 | uid: t 24 | }, 25 | cachetime: 0, 26 | success: function(t) { 27 | console.log(t.data.data), e.setData({ 28 | getCdrList: t.data.data 29 | }); 30 | } 31 | }); 32 | } 33 | }); -------------------------------------------------------------------------------- /components/shop_tab_b.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 暂无任何内容 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 服务型 16 | 产品型】{{item.dtitle}} 17 | 18 | 19 | 20 | 21 | {{item.dcontent}} 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /api0351_user/pages/malllist/malllist.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | listData: [], 6 | listDisplay: !0 7 | }, 8 | onLoad: function(a) { 9 | console.log(a), this.searchList(a.keywords, a.searchid); 10 | }, 11 | goTo: function() { 12 | wx.navigateBack({ 13 | url: "../business/business" 14 | }); 15 | }, 16 | searchList: function(a, t) { 17 | var s = this; 18 | app.util.request({ 19 | url: "entry/wxapp/Kewords", 20 | data: { 21 | keyword: a, 22 | searchid: t 23 | }, 24 | cachetime: 0, 25 | success: function(a) { 26 | console.log(a.data.data), 0 == a.data.data.length ? s.setData({ 27 | listDisplay: !0 28 | }) : s.setData({ 29 | listData: a.data.data, 30 | listDisplay: !1 31 | }); 32 | } 33 | }); 34 | } 35 | }); -------------------------------------------------------------------------------- /api0351_user/pages/classlist/classlist.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.nickName}} [ {{item.user_zc}} ] 10 | 11 | {{item.user_gs}} 12 | 拥有热度 {{item.heat}} 点 13 | 14 | 查看 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /api0351_user/pages/share/share.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #F2F2F2; 3 | } 4 | 5 | .containers { 6 | text-align: center; 7 | } 8 | 9 | .img { 10 | width: 90%; 11 | height: 100%; 12 | text-align: center; 13 | padding: 5%; 14 | } 15 | 16 | .img canvas { 17 | width: 327px; 18 | height: 486px; 19 | margin: 0 auto; 20 | background: #fff; 21 | } 22 | 23 | .row_btn { 24 | padding: 0 5% 5% 5%; 25 | width: 90%; 26 | } 27 | 28 | .row_btn button { 29 | border-radius: 50px; 30 | background: #00AA80; 31 | font-size: 14px; 32 | padding: 4px 0; 33 | color: #fff; 34 | border: none; 35 | } 36 | 37 | .row_btn button::after { 38 | border: none; 39 | } 40 | 41 | .row_btn button.button-hover { 42 | color: #fff; 43 | background-color: #00C493; 44 | } 45 | 46 | .row_btn button.btn2 { 47 | mborder-radius: 50px; 48 | background: #FFF; 49 | font-size: 14px; 50 | padding: 4px 0; 51 | color: #999; 52 | border: 1px #E3E3E3 solid; 53 | margin-top: 10px; 54 | } -------------------------------------------------------------------------------- /api0351_user/pages/malllist/malllist.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | - 什么也没找到 - 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | {{item.nickName}} [ {{item.user_zc}} ] 14 | 15 | 16 | {{item.user_gs}} 17 | 拥有热度 {{item.heat}}点 18 | 19 | 20 | 查看 21 | 22 | 23 | -------------------------------------------------------------------------------- /we7/pages/selectarea/selectarea.wxss: -------------------------------------------------------------------------------- 1 | .shade { 2 | background-color: #ccc; 3 | opacity: .6; 4 | position: absolute; 5 | display: none; 6 | left: 0; 7 | top: 0; 8 | width: 100%; 9 | height: 100%; 10 | } 11 | 12 | .show { 13 | display: block; 14 | } 15 | 16 | .handle-bar { 17 | padding: 0 15px; 18 | height: 80rpx; 19 | background-color: #eee; 20 | } 21 | 22 | .confirm { 23 | text-align: right; 24 | } 25 | 26 | .selector-area { 27 | height: 600rpx; 28 | width: 100%; 29 | background-color: #e6ebf3; 30 | position: absolute; 31 | bottom: 0; 32 | } 33 | 34 | .selector { 35 | text-align: center; 36 | } 37 | 38 | .picker { 39 | font-size: 32rpx; 40 | height: 60rpx; 41 | line-height: 60rpx; 42 | } 43 | 44 | .actived { 45 | color: blue; 46 | } 47 | 48 | .area-selector { 49 | height: 520rpx; 50 | } 51 | 52 | .white-shade { 53 | position: absolute; 54 | width: 100%; 55 | height: 60rpx; 56 | background-color: #fff; 57 | left: 0; 58 | margin-top: 240rpx; 59 | } -------------------------------------------------------------------------------- /components/message.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | X 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | 17 |
18 | -------------------------------------------------------------------------------- /we7/pages/component/footer/footer.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{item.text}} 7 | 8 | 9 | 10 | 11 | 12 | {{item.text}} 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /api0351_user/pages/coll_zv/coll_zv.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 姓 名 7 | 8 | 9 | 10 | 手 机 11 | 12 | 13 | 14 | 职 位 15 | 16 | 17 | 18 | 邮 箱 19 | 20 | 21 | 22 | 单 位 23 | 24 | 25 | 26 | 微 信 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /api0351_user/pages/addserv/addserv.wxml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 【提醒】请勿发布违法信息,将会被系统永久封闭 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 | -------------------------------------------------------------------------------- /api0351_user/pages/advice/advice.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{nickName}} 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /we7/resource/js/webview.js: -------------------------------------------------------------------------------- 1 | var app = getApp(), backApp = function(e) { 2 | if (e) try { 3 | wx.setStorageSync("we7_webview", e); 4 | } catch (e) { 5 | console.log(e); 6 | } 7 | var t = getCurrentPages(); 8 | if (1 < t.length) for (var r in t) "wn_storex/pages/view/index" === t[r].__route__ && wx.navigateBack({ 9 | data: t.length - r + 1 10 | }); 11 | }, urlAddCode = function(n) { 12 | var e = wx.getStorageSync("userInfo"), t = function(e) { 13 | var t = getQueryString(n, "state"); 14 | n.indexOf("http") || t || (n = n.replace(/index.php\?/, "index.php?from=wxapp&state=we7sid-" + e.sessionid + "&")); 15 | var r = getCurrentPages(); 16 | r && (r = r[getCurrentPages().length - 1]), r.setData({ 17 | url: n 18 | }); 19 | }; 20 | e.sessionid ? t(e) : app.util.getUserInfo(t); 21 | }; 22 | 23 | function getQueryString(e, t) { 24 | e = e.replace(/(#\/)(.*)/, ""); 25 | var r = new RegExp("(^|&)" + t + "=([^&]*)(&|$)", "i"), n = e.match(r); 26 | return null !== n ? unescape(n[2]) : null; 27 | } 28 | 29 | module.exports = { 30 | backApp: backApp, 31 | urlAddCode: urlAddCode 32 | }; -------------------------------------------------------------------------------- /api0351_user/pages/newsView/newsView.js: -------------------------------------------------------------------------------- 1 | var app = getApp(), WxParse = require("../../resource/wxParse/wxParse.js"); 2 | 3 | Page({ 4 | data: {}, 5 | onLoad: function(e) { 6 | console.log(e.id), this.getViewNew(e.id); 7 | }, 8 | getViewNew: function(e) { 9 | var t = this; 10 | app.util.request({ 11 | url: "entry/wxapp/GetViewNew", 12 | data: { 13 | id: e, 14 | m: "api0351_user" 15 | }, 16 | cachetime: 0, 17 | success: function(e) { 18 | console.log(e.data.data); 19 | var a = e.data.data.content; 20 | WxParse.wxParse("article", "html", a, t, 5), t.setData({ 21 | NewsView: e.data.data 22 | }); 23 | } 24 | }); 25 | }, 26 | goHome: function() { 27 | wx.navigateTo({ 28 | url: "../index/index" 29 | }); 30 | }, 31 | onShareAppMessage: function() { 32 | return { 33 | title: this.data.NewsView.title, 34 | path: "/api0351_user/pages/newsView/newsView?id=" + this.data.NewsView.nid 35 | }; 36 | } 37 | }); -------------------------------------------------------------------------------- /api0351_user/resource/js/webview.js: -------------------------------------------------------------------------------- 1 | var app = getApp(), backApp = function(e) { 2 | if (e) try { 3 | wx.setStorageSync("we7_webview", e); 4 | } catch (e) { 5 | console.log(e); 6 | } 7 | var t = getCurrentPages(); 8 | if (1 < t.length) for (var r in t) "wn_storex/pages/view/index" === t[r].__route__ && wx.navigateBack({ 9 | data: t.length - r + 1 10 | }); 11 | }, urlAddCode = function(n) { 12 | var e = wx.getStorageSync("userInfo"), t = function(e) { 13 | var t = getQueryString(n, "state"); 14 | n.indexOf("http") || t || (n = n.replace(/index.php\?/, "index.php?from=wxapp&state=we7sid-" + e.sessionid + "&")); 15 | var r = getCurrentPages(); 16 | r && (r = r[getCurrentPages().length - 1]), r.setData({ 17 | url: n 18 | }); 19 | }; 20 | e.sessionid ? t(e) : app.util.getUserInfo(t); 21 | }; 22 | 23 | function getQueryString(e, t) { 24 | e = e.replace(/(#\/)(.*)/, ""); 25 | var r = new RegExp("(^|&)" + t + "=([^&]*)(&|$)", "i"), n = e.match(r); 26 | return null !== n ? unescape(n[2]) : null; 27 | } 28 | 29 | module.exports = { 30 | backApp: backApp, 31 | urlAddCode: urlAddCode 32 | }; -------------------------------------------------------------------------------- /we7/pages/index/index.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | navs: [], 6 | slide: [], 7 | commend: [], 8 | userInfo: {} 9 | }, 10 | onLoad: function() { 11 | var a = this; 12 | app.util.footer(a), app.util.request({ 13 | url: "wxapp/home/nav", 14 | cachetime: "30", 15 | success: function(e) { 16 | e.data.message.errno || (console.log(e.data.message.message), a.setData({ 17 | navs: e.data.message.message 18 | })); 19 | } 20 | }), app.util.request({ 21 | url: "wxapp/home/slide", 22 | cachetime: "30", 23 | success: function(e) { 24 | e.data.message.errno || a.setData({ 25 | slide: e.data.message.message 26 | }); 27 | } 28 | }), app.util.request({ 29 | url: "wxapp/home/commend", 30 | cachetime: "30", 31 | success: function(e) { 32 | e.data.message.errno || a.setData({ 33 | commend: e.data.message.message 34 | }); 35 | } 36 | }); 37 | } 38 | }); -------------------------------------------------------------------------------- /api0351_user/pages/serview/serview.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | viewData: [] 6 | }, 7 | onLoad: function(t) { 8 | this.id = t.id, this.getSerData(this.id); 9 | }, 10 | goHome: function() { 11 | wx.navigateTo({ 12 | url: "../index/index" 13 | }); 14 | }, 15 | getSerData: function(t) { 16 | var a = this; 17 | app.util.request({ 18 | url: "entry/wxapp/GetShop", 19 | data: { 20 | id: t 21 | }, 22 | cachetime: 0, 23 | success: function(t) { 24 | console.log(t.data.data), wx.showToast({ 25 | title: "加载中", 26 | icon: "loading", 27 | duration: 5e3 28 | }), a.setData({ 29 | viewData: t.data.data[0] 30 | }); 31 | }, 32 | complete: function() { 33 | wx.hideToast(); 34 | } 35 | }); 36 | }, 37 | onShareAppMessage: function(t) { 38 | var a = this.id; 39 | return { 40 | title: this.data.viewData.title, 41 | path: "/api0351_user/pages/serview/serview?id=" + a 42 | }; 43 | } 44 | }); -------------------------------------------------------------------------------- /components/report.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | X 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 |
20 | -------------------------------------------------------------------------------- /api0351_user/pages/advice/advice.wxss: -------------------------------------------------------------------------------- 1 | .userinfo { 2 | background: #fff; 3 | width: 80%; 4 | padding: 20px 10% 10px 10%; 5 | overflow: hidden; 6 | border-bottom: 1px #EEE solid; 7 | text-align: center; 8 | } 9 | 10 | .userinfo .author { 11 | width: 100%; 12 | } 13 | 14 | .userinfo .author image.av { 15 | width: 60px; 16 | height: 60px; 17 | overflow: hidden; 18 | border-radius: 50px; 19 | border: 2px #EEE solid; 20 | z-index: 10; 21 | } 22 | 23 | .userinfo .autxt { 24 | width: 100%; 25 | height: 30px; 26 | } 27 | 28 | .userinfo .autxt text { 29 | color: #999; 30 | display: inline-block; 31 | width: 100%; 32 | } 33 | 34 | .mbInput { 35 | background: #fff; 36 | width: 90%; 37 | padding: 0 5%; 38 | } 39 | 40 | .section { 41 | padding: 25rpx 0 10rpx 0; 42 | width: 100%; 43 | } 44 | 45 | .mbBtn { 46 | width: 90%; 47 | margin: 40rpx auto 0; 48 | } 49 | 50 | .mbBtn button::after { 51 | border: 0; 52 | } 53 | 54 | .mbBtn .vBtn_ok { 55 | border-radius: 50px; 56 | background: #00AA80; 57 | font-size: 14px; 58 | padding: 4px 0; 59 | color: #fff; 60 | border: none; 61 | } 62 | 63 | .miaoshu { 64 | padding-bottom: 20rpx; 65 | } 66 | 67 | .miaoshu textarea { 68 | font-size: 14PX; 69 | } -------------------------------------------------------------------------------- /api0351_user/pages/rewardlog/rewardlog.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 暂无任何打赏记录 4 | 5 | 6 | 7 | 8 | 热度记录 9 | {{item.srtime}} 10 | 11 | 12 | 13 | 14 | 15 | 16 | {{item.title}} 17 | 18 | 19 | 20 | 21 | 22 | {{item.username}} 23 | 24 | 25 | 26 | 使用时请出示给管理员 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /api0351_user/pages/edserv/edserv.wxml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 【提醒】请勿发布违法信息,将会被系统永久封闭 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
31 | -------------------------------------------------------------------------------- /api0351_user/pages/contact/contact.wxml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | {{item.upload_percent}}% 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 | -------------------------------------------------------------------------------- /api0351_user/pages/reward/reward.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 对方 16 | 17 | 18 | 19 | 20 | 热度有什么用? 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | {{item.title}} 30 | 增加对方热度 31 | 32 | 33 | 34 | 35 | 36 | 37 | 说明:{{item.content}} 38 | 39 | 40 | -------------------------------------------------------------------------------- /we7/pages/templates/footer.wxml: -------------------------------------------------------------------------------- 1 | 6 | 25 | -------------------------------------------------------------------------------- /we7/pages/index/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | {{item.name}} 13 | 14 | 15 | 16 | 17 | {{item.name}} 18 | 19 | 20 | 21 | {{subItem.title}} 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /api0351_user/pages/templates/footer.wxml: -------------------------------------------------------------------------------- 1 | 6 | 25 | -------------------------------------------------------------------------------- /we7/pages/selectarea/selectarea.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 取消 5 | 确定 6 | 7 | 8 | 9 | {{item.fullNameDot}} 10 | 11 | 12 | {{item.fullNameDot}} 13 | 14 | 15 | {{item.fullNameDot}} 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /components/tab_a.wxml: -------------------------------------------------------------------------------- 1 | 2 | 相关简介尚未填写... 3 | 4 | {{userInfo.signature}} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | -------------------------------------------------------------------------------- /components/shop_tab_a.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 暂无任何内容 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 暂无任何内容 31 | 32 | 33 | 34 | 35 | {{item.title}} 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /api0351_user/pages/advice/advice.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | loading: !1, 6 | disabled: !1, 7 | footer: "" 8 | }, 9 | onLoad: function(a) { 10 | var t = wx.getStorageSync("footer"), e = wx.getStorageSync("openid"), n = wx.getStorageSync("userInfo"); 11 | this.setData({ 12 | footer: t, 13 | openid: e, 14 | nickName: n.wxInfo.nickName, 15 | avatarUrl: n.wxInfo.avatarUrl 16 | }); 17 | }, 18 | formSubmit: function(a) { 19 | var t = a.detail.value.content, e = a.detail.value; 20 | this.uid; 21 | if (0 === t.length) return wx.showToast({ 22 | title: "内容不能为空", 23 | icon: "loading", 24 | duration: 1500 25 | }), !1; 26 | app.util.request({ 27 | url: "entry/wxapp/PsOpinion", 28 | data: { 29 | content: t, 30 | openid: e.openid, 31 | nickName: e.nickName, 32 | avatarUrl: e.avatarUrl, 33 | m: "api0351_user" 34 | }, 35 | success: function(a) { 36 | wx.showModal({ 37 | content: "感谢您的信息反馈", 38 | showCancel: !1, 39 | success: function(a) { 40 | a.confirm && wx.redirectTo({ 41 | url: "../index/index" 42 | }); 43 | } 44 | }); 45 | } 46 | }); 47 | } 48 | }); -------------------------------------------------------------------------------- /api0351_user/pages/shops/shops.wxss: -------------------------------------------------------------------------------- 1 | @import "../../../__wuBaseWxss__/0.wxss"; 2 | 3 | page { 4 | background: #fff; 5 | } 6 | 7 | .serlist { 8 | width: 100%; 9 | display: inline-block; 10 | border-top: 1px #F1F1F1 solid; 11 | } 12 | 13 | .Te { 14 | width: 100%; 15 | } 16 | 17 | .Te_a { 18 | overflow: hidden; 19 | width: 50%; 20 | float: left; 21 | text-align: center; 22 | background: #fff; 23 | padding-top: 18px; 24 | border-bottom: 1px #FAFAFA solid; 25 | } 26 | 27 | .Te_a .Te_a_author { 28 | width: 100%; 29 | display: inline-block; 30 | margin-bottom: 5px; 31 | height: 110px; 32 | overflow: hidden; 33 | } 34 | 35 | .Te_a .Te_a_author image { 36 | width: 80%; 37 | height: 110px; 38 | } 39 | 40 | .Te_a .Te_a_content { 41 | width: 100%; 42 | padding-bottom: 10px; 43 | color: #666; 44 | } 45 | 46 | .Te_a_content button { 47 | border: 1px #F2F2F2 solid; 48 | background: #fff; 49 | font-size: 12px; 50 | border-radius: 0; 51 | } 52 | 53 | .Te_a_content button::after { 54 | border: none; 55 | } 56 | 57 | .Te_a_content button.button-hover { 58 | background: #FAFAFA; 59 | color: #00AA80; 60 | } 61 | 62 | .service { 63 | padding-bottom: 50px; 64 | } 65 | 66 | .add { 67 | position: fixed; 68 | bottom: 0px; 69 | left: 0px; 70 | width: 100%; 71 | z-index: 9999999; 72 | } 73 | 74 | .add button { 75 | border-top: 1px #F2F2F2 solid; 76 | background: #FAFAFA; 77 | font-size: 14px; 78 | border-radius: 0; 79 | padding: 5px 0; 80 | } 81 | 82 | .add button::after { 83 | border: none; 84 | } -------------------------------------------------------------------------------- /api0351_user/pages/serlist/serlist.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | conmment_list: [], 6 | noMoreData: !1, 7 | loadingMore: !1, 8 | currentPageNumber: 1 9 | }, 10 | onLoad: function(a) { 11 | this.openid = a.op, this.pullUpLoad(); 12 | }, 13 | onShow: function() {}, 14 | pullUpLoad: function() { 15 | var o = this; 16 | this.setData({ 17 | loadingMore: !0 18 | }), wx.showNavigationBarLoading(); 19 | var a = this.openid; 20 | app.util.request({ 21 | url: "entry/wxapp/GetShop", 22 | data: { 23 | openid: a, 24 | page: o.data.currentPageNumber 25 | }, 26 | cachetime: 0, 27 | success: function(a) { 28 | var t = a.data.data, e = a.data.message; 29 | 0 == e ? o.setData({ 30 | noMoreData: 3 31 | }) : (o.setData({ 32 | conmment_list: o.data.conmment_list.concat(t) 33 | }), o.data.conmment_list.length == e && o.setData({ 34 | noMoreData: 2 35 | })); 36 | }, 37 | complete: function() { 38 | o.setData({ 39 | loadingMore: !1 40 | }), wx.hideNavigationBarLoading(); 41 | } 42 | }); 43 | }, 44 | onReachBottom: function() { 45 | 2 != this.data.noMoreData && (this.setData({ 46 | currentPageNumber: this.data.currentPageNumber + 1 47 | }), this.pullUpLoad()); 48 | } 49 | }); -------------------------------------------------------------------------------- /components/tab_b.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 剩余 {{currentNoteLen|0}}/120个字 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 | {{item.nickname}} 24 | {{item.addtime}} 25 | 26 | 27 | {{item.content}} 28 | 29 | 30 | 31 | 32 | {{userInfo.nickName}} 回复 33 | 34 | 35 | 36 | {{item.r_content}} 37 | 38 | 39 | 40 | 41 |
42 | -------------------------------------------------------------------------------- /we7/pages/newsDetail/newsDetail.js: -------------------------------------------------------------------------------- 1 | var appInstance = getApp(), R_htmlToWxml = require("../../resource/js/htmlToWxml.js"); 2 | 3 | Page({ 4 | data: { 5 | scrollHeight: 0, 6 | newsData: {} 7 | }, 8 | getNewsDetail: function() { 9 | var t = this; 10 | wx.request({ 11 | url: "https://wedengta.com/wxnews/getNews?action=DiscNewsContent&type=4&id=1478677877_1406730_1_9", 12 | headers: { 13 | "Content-Type": "application/json" 14 | }, 15 | success: function(e) { 16 | var o = e.data; 17 | if (0 == o.ret) { 18 | var n = JSON.parse(o.content); 19 | n.content = R_htmlToWxml.html2json(n.sContent), n.time = appInstance.util.formatTime(1e3 * n.iTime), 20 | t.setData({ 21 | newsData: n 22 | }); 23 | } else console.log("数据拉取失败"); 24 | }, 25 | fail: function(e) { 26 | console.log("数据拉取失败"); 27 | } 28 | }); 29 | }, 30 | stockClick: function(e) { 31 | var o = e.currentTarget.dataset.seccode, n = e.currentTarget.dataset.secname; 32 | console.log("stockClick:" + o + ";secName:" + n); 33 | }, 34 | onLoad: function(e) { 35 | this.getNewsDetail(), console.log("onLoad"); 36 | }, 37 | onShow: function() { 38 | console.log("onShow"); 39 | }, 40 | onReady: function() { 41 | console.log("onReady"); 42 | }, 43 | onHide: function() { 44 | console.log("onHide"); 45 | }, 46 | onUnload: function() { 47 | console.log("onUnload"); 48 | } 49 | }); -------------------------------------------------------------------------------- /we7/pages/index/index.wxss: -------------------------------------------------------------------------------- 1 | .container { 2 | background: #e6e6e6; 3 | } 4 | 5 | .nav { 6 | display: flex; 7 | flex-direction: row; 8 | flex-wrap: wrap; 9 | background-color: #fff; 10 | width: 100%; 11 | } 12 | 13 | .nav-item { 14 | width: 248rpx; 15 | height: 237rpx; 16 | border: #c9c9c9 solid 1px; 17 | color: #fff; 18 | flex-direction: column; 19 | text-align: center; 20 | border-left: none; 21 | border-top: none; 22 | } 23 | 24 | .nav-item.nav-item-no-border { 25 | border-right: none; 26 | } 27 | 28 | .nav-item .nav-icon { 29 | width: 118rpx; 30 | height: 118rpx; 31 | align-items: center; 32 | margin-top: 38rpx; 33 | } 34 | 35 | .nav-item .nav-title,.commend-item .commend-title { 36 | color: #000; 37 | margin-top: 20rpx; 38 | font-size: 24rpx; 39 | } 40 | 41 | .swiper { 42 | width: 100%; 43 | height: 350rpx; 44 | } 45 | 46 | .swiper swiper { 47 | width: 100%; 48 | height: 100%; 49 | } 50 | 51 | .swiper image { 52 | width: 100%; 53 | height: 100%; 54 | } 55 | 56 | .commend { 57 | width: 100%; 58 | text-align: center; 59 | flex-wrap: wrap; 60 | margin-top: 20rpx; 61 | background: #fff; 62 | } 63 | 64 | .commend .commend-column { 65 | display: flex; 66 | } 67 | 68 | .commend .commend-header-title { 69 | text-align: left; 70 | line-height: 98rpx; 71 | font-size: 30rpx; 72 | padding-left: 15rpx; 73 | } 74 | 75 | .commend .commend-item { 76 | display: flex; 77 | flex-direction: column; 78 | border-right: #c9c9c9 solid 1px; 79 | padding-bottom: 60rpx; 80 | width: 372rpx; 81 | } 82 | 83 | .commend .commend-item image { 84 | width: 100%; 85 | height: 210rpx; 86 | } -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | "api0351_user/pages/index/index", 4 | "api0351_user/pages/user/user", 5 | "api0351_user/pages/basics/basics", 6 | "api0351_user/pages/cover/index/index", 7 | "api0351_user/pages/cover/upload/upload", 8 | "api0351_user/pages/contact/contact", 9 | "api0351_user/pages/message/message", 10 | "api0351_user/pages/advice/advice", 11 | "api0351_user/pages/about/about", 12 | "api0351_user/pages/business/business", 13 | "api0351_user/pages/collection/collection", 14 | "api0351_user/pages/share/share", 15 | "api0351_user/pages/shops/shops", 16 | "api0351_user/pages/addserv/addserv", 17 | "api0351_user/pages/edserv/edserv", 18 | "api0351_user/pages/serview/serview", 19 | "api0351_user/pages/serlist/serlist", 20 | "api0351_user/pages/shop/shop", 21 | "api0351_user/pages/shopView/shopView", 22 | "api0351_user/pages/trade/trade", 23 | "api0351_user/pages/private/private", 24 | "api0351_user/pages/newsView/newsView", 25 | "api0351_user/pages/reward/reward", 26 | "api0351_user/pages/rewardlog/rewardlog", 27 | "api0351_user/pages/test/test", 28 | "api0351_user/pages/coll_zv/coll_zv", 29 | "api0351_user/pages/malllist/malllist", 30 | "api0351_user/pages/ification/ification", 31 | "api0351_user/pages/classlist/classlist", 32 | "api0351_user/pages/backgro/backgro" 33 | ], 34 | "window": { 35 | "backgroundTextStyle": "light", 36 | "navigationBarBackgroundColor": "#FAFAFA", 37 | "navigationBarTitleText": "加载中", 38 | "navigationBarTextStyle": "black" 39 | } 40 | } -------------------------------------------------------------------------------- /api0351_user/pages/shopView/shopView.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{shop.dtitle}} 8 | 10 | 11 | 12 | 13 | {{shop.dcontent}} 14 | 15 | 16 | 17 | 18 | 19 | 更多 20 | 21 | 22 | 23 | 24 | 25 | 26 | 尚未添加服务内容 27 | 28 | 29 | 30 | 31 | 32 | {{s.title}} 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /api0351_user/pages/edserv/edserv.wxss: -------------------------------------------------------------------------------- 1 | .mbInput { 2 | background: #fff; 3 | width: 90%; 4 | padding: 0 5%; 5 | } 6 | 7 | .checkimg { 8 | width: 90%; 9 | background: #fff; 10 | border-top: 2rpx #F5F5F5 dashed; 11 | height: 140rpx; 12 | overflow: hidden; 13 | padding: 3% 5%; 14 | } 15 | 16 | .section { 17 | padding: 25rpx 0 10rpx 0; 18 | width: 100%; 19 | } 20 | 21 | .mbBtn { 22 | width: 90%; 23 | margin: 40rpx auto 0; 24 | } 25 | 26 | .mbBtn button::after { 27 | border: 0; 28 | } 29 | 30 | .mbBtn .vBtn_ok { 31 | border: 0; 32 | background: #00AA80; 33 | color: #fff; 34 | margin-top: 30rpx; 35 | margin-bottom: 20rpx; 36 | border-radius: 100rpx; 37 | font-size: 14px; 38 | padding: 4px 0; 39 | } 40 | 41 | .mbTxing { 42 | width: 90%; 43 | background: #FFF5EC; 44 | padding: 3% 5%; 45 | margin-bottom: 30rpx; 46 | border-bottom: 2rpx #FFE2C8 solid; 47 | color: #FF8E28; 48 | font-size: 10pt; 49 | } 50 | 51 | .mbTxing text { 52 | width: 100%; 53 | display: block; 54 | } 55 | 56 | .uploadPic { 57 | width: 20%; 58 | margin-right: 20rpx; 59 | } 60 | 61 | .uploadPics { 62 | width: 20%; 63 | height: 135rpx; 64 | margin-right: 20rpx; 65 | } 66 | 67 | .miaoshu { 68 | padding-bottom: 20rpx; 69 | } 70 | 71 | .duixiang { 72 | width: 90%; 73 | background: #fff; 74 | border-bottom: 2rpx #F2F2F2 solid; 75 | padding: 16rpx 5% 8rpx 5%; 76 | position: relative; 77 | } 78 | 79 | .duixiang label { 80 | display: inline-block; 81 | position: absolute; 82 | left: 20px; 83 | bottom: 16px; 84 | } 85 | 86 | .duixiang input { 87 | width: 85%; 88 | margin-left: 15%; 89 | display: inline-block; 90 | padding: 5px 0; 91 | } -------------------------------------------------------------------------------- /api0351_user/pages/addserv/addserv.wxss: -------------------------------------------------------------------------------- 1 | .mbInput { 2 | background: #fff; 3 | width: 90%; 4 | padding: 0 5%; 5 | } 6 | 7 | .checkimg { 8 | width: 90%; 9 | background: #fff; 10 | border-top: 2rpx #F5F5F5 dashed; 11 | height: 140rpx; 12 | overflow: hidden; 13 | padding: 3% 5%; 14 | } 15 | 16 | .section { 17 | padding: 25rpx 0 10rpx 0; 18 | width: 100%; 19 | } 20 | 21 | .mbBtn { 22 | width: 90%; 23 | margin: 40rpx auto 0; 24 | } 25 | 26 | .mbBtn button::after { 27 | border: 0; 28 | } 29 | 30 | .mbBtn .vBtn_ok { 31 | border: 0; 32 | background: #00AA80; 33 | color: #fff; 34 | margin-top: 30rpx; 35 | margin-bottom: 20rpx; 36 | border-radius: 100rpx; 37 | font-size: 14px; 38 | padding: 4px 0; 39 | } 40 | 41 | .mbTxing { 42 | width: 90%; 43 | background: #FFF5EC; 44 | padding: 3% 5%; 45 | margin-bottom: 30rpx; 46 | border-bottom: 2rpx #FFE2C8 solid; 47 | color: #FF8E28; 48 | font-size: 10pt; 49 | } 50 | 51 | .mbTxing text { 52 | width: 100%; 53 | display: block; 54 | } 55 | 56 | .uploadPic { 57 | width: 20%; 58 | margin-right: 20rpx; 59 | } 60 | 61 | .uploadPics { 62 | width: 20%; 63 | height: 135rpx; 64 | margin-right: 20rpx; 65 | } 66 | 67 | .miaoshu { 68 | padding-bottom: 20rpx; 69 | } 70 | 71 | .duixiang { 72 | width: 90%; 73 | background: #fff; 74 | border-bottom: 2rpx #F2F2F2 solid; 75 | padding: 16rpx 5% 8rpx 5%; 76 | position: relative; 77 | } 78 | 79 | .duixiang label { 80 | display: inline-block; 81 | position: absolute; 82 | left: 20px; 83 | bottom: 16px; 84 | } 85 | 86 | .duixiang input { 87 | width: 85%; 88 | margin-left: 15%; 89 | display: inline-block; 90 | padding: 5px 0; 91 | } -------------------------------------------------------------------------------- /api0351_user/pages/newsView/newsView.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #FFF; 3 | } 4 | 5 | .mbTxing { 6 | width: 92%; 7 | background: #FFF5EC; 8 | padding: 3% 4%; 9 | color: #FF8E28; 10 | font-size: 10pt; 11 | border-bottom: 2rpx dashed #FFE0C4; 12 | } 13 | 14 | .mbTxing text { 15 | width: 100%; 16 | display: block; 17 | } 18 | 19 | .titles { 20 | width: 92%; 21 | padding: 10px 4%; 22 | background: #FFFBF7; 23 | color: #666; 24 | font-size: 10pt; 25 | text-align: center; 26 | border-bottom: 2rpx dashed #FFE0C4; 27 | } 28 | 29 | .titles text { 30 | width: 100%; 31 | display: block; 32 | } 33 | 34 | .viewMain { 35 | width: 100%; 36 | background: #fff; 37 | } 38 | 39 | .content { 40 | width: 92%; 41 | margin: 30rpx auto 0; 42 | } 43 | 44 | .content .wxParse-inline { 45 | font-size: 14px; 46 | color: #333; 47 | } 48 | 49 | .content .wxParse-img { 50 | width: 50%; 51 | overflow: hidden; 52 | border: 2rpx #E1E1E1 solid; 53 | padding: 2rpx; 54 | margin: 15rpx auto; 55 | } 56 | 57 | .zhuan { 58 | width: 90%; 59 | padding: 3% 5% 100px 5%; 60 | border-top: 1px #F1F1F1 solid; 61 | margin-top: 15px; 62 | } 63 | 64 | .zhuan button { 65 | border-radius: 50px; 66 | background: #fff; 67 | font-size: 15px; 68 | color: #999; 69 | border: 2rpx #F1F1F1 solid; 70 | } 71 | 72 | .zhuan button::after { 73 | border: 0; 74 | } 75 | 76 | .goHome { 77 | width: 90%; 78 | padding: 0 5%; 79 | position: fixed; 80 | bottom: 15px; 81 | } 82 | 83 | .goHome button { 84 | border: none; 85 | padding: 4px 0; 86 | border-radius: 50px; 87 | background: #FEA489; 88 | color: #fff; 89 | font-size: 14px; 90 | } 91 | 92 | .goHome button::after { 93 | border: none; 94 | } -------------------------------------------------------------------------------- /components/login.wxss: -------------------------------------------------------------------------------- 1 | .go-reply,.go-login { 2 | z-index: 999999; 3 | } 4 | 5 | #gologin { 6 | background: #fff; 7 | } 8 | 9 | .go-login .txt { 10 | width: 100%; 11 | text-align: center; 12 | } 13 | 14 | .go-login .txt image { 15 | width: 60px; 16 | height: 60px; 17 | margin: 10px 0 0 0; 18 | } 19 | 20 | .go-login .txt text { 21 | display: inline-block; 22 | width: 100%; 23 | text-align: center; 24 | margin-bottom: 25px; 25 | color: #999; 26 | } 27 | 28 | .go-login .txt button { 29 | background: #00AA80; 30 | color: #fff; 31 | border-top-left-radius: 0px; 32 | border-top-right-radius: 0px; 33 | height: 40px; 34 | line-height: 40px; 35 | font-size: 14px; 36 | } 37 | 38 | .go-login .txt button::after { 39 | border: none; 40 | } 41 | 42 | .go-login .layout { 43 | width: 50%; 44 | background: #FFF; 45 | margin: 0 25%; 46 | z-index: 999999; 47 | border-radius: 5px; 48 | } 49 | 50 | .go-login .layout .h2 { 51 | width: 90%; 52 | padding: 0 5%; 53 | height: 40px; 54 | line-height: 40px; 55 | } 56 | 57 | .go-login .layout .h2 label { 58 | width: 80%; 59 | color: #fff; 60 | float: left; 61 | opacity: 0.5; 62 | } 63 | 64 | .go-login .layout .h2 text { 65 | float: right; 66 | } 67 | 68 | .go-login .wxAvatarUrl { 69 | width: 65px; 70 | height: 65px; 71 | display: block; 72 | margin: 0 auto 10px; 73 | border-radius: 50px; 74 | overflow: hidden; 75 | border: 3px #e3e3e3 solid; 76 | } 77 | 78 | .go-login .icon-close { 79 | width: 20px; 80 | height: 20px; 81 | border-radius: 20px; 82 | border: 1px solid #999; 83 | line-height: 20px; 84 | text-align: center; 85 | display: inline-block; 86 | color: #999; 87 | margin-top: 8px; 88 | opacity: 0.5; 89 | } -------------------------------------------------------------------------------- /api0351_user/pages/classlist/classlist.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | currentPageNumber: 1, 6 | listData: [], 7 | loadingMore: !1, 8 | noMoreData: 1, 9 | cid: 0 10 | }, 11 | onLoad: function(a) { 12 | console.log(a.id), this.setData({ 13 | cid: a.id 14 | }), this.getData(a.id); 15 | }, 16 | getData: function(a) { 17 | var o = this; 18 | this.setData({ 19 | loadingMore: !0 20 | }), wx.showNavigationBarLoading(), app.util.request({ 21 | url: "entry/wxapp/GetDataClas", 22 | data: { 23 | page: o.data.currentPageNumber, 24 | cid: a 25 | }, 26 | cachetime: 0, 27 | success: function(a) { 28 | console.log(a); 29 | var t = a.data.data; 30 | console.log(t); 31 | var e = a.data.message; 32 | 0 == e || 0 == t.length ? o.setData({ 33 | noMoreData: 3, 34 | loadingMore: !1 35 | }) : (o.setData({ 36 | listData: o.data.listData.concat(t) 37 | }), o.data.listData.length >= e && o.setData({ 38 | noMoreData: 2, 39 | loadingMore: !1 40 | })); 41 | }, 42 | complete: function() { 43 | wx.hideNavigationBarLoading(); 44 | } 45 | }); 46 | }, 47 | onReachBottom: function() { 48 | if (2 != this.data.noMoreData) { 49 | this.setData({ 50 | currentPageNumber: this.data.currentPageNumber + 1 51 | }); 52 | var a = this.data.cid; 53 | console.log("下拉后获取的CID = " + a), this.getData(a); 54 | } 55 | } 56 | }); -------------------------------------------------------------------------------- /api0351_user/pages/backgro/backgro.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 【提示】直接点选自己喜欢的主题即可 4 | 5 | 6 | 9 | 雨花石 10 | 11 | 12 | 15 | 蓝色星空 16 | 17 | 18 | 21 | 彩色铅笔 22 | 23 | 24 | 27 | 晨起露珠 28 | 29 | 30 | 33 | 美丽樱花 34 | 35 | 36 | 39 | 青青草地 40 | 41 | 42 | 45 | 中国古建 46 | 47 | 48 | 51 | 五色天空 52 | 53 | 54 | -------------------------------------------------------------------------------- /api0351_user/pages/contact/contact.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #EEEDF2; 3 | } 4 | 5 | .containers { 6 | background: #fff; 7 | border-top: 1px #F1F1F1 solid; 8 | } 9 | 10 | .row button { 11 | position: absolute; 12 | right: 10px; 13 | bottom: 10px; 14 | font-size: 12px; 15 | border-radius: 0; 16 | color: #00AA80; 17 | height: 25px; 18 | line-height: 25px; 19 | z-index: 999999; 20 | } 21 | 22 | .row button { 23 | border: none; 24 | } 25 | 26 | .row_area { 27 | width: 100%; 28 | } 29 | 30 | .row_area textarea { 31 | font-size: 14px; 32 | padding: 10px 3%; 33 | width: 94%; 34 | min-height: 180px; 35 | background: #fff; 36 | } 37 | 38 | .row_btn { 39 | padding: 5%; 40 | width: 90%; 41 | position: fixed; 42 | bottom: 0px; 43 | left: 0px; 44 | } 45 | 46 | .row_btn button { 47 | border-radius: 50px; 48 | background: #00AA80; 49 | font-size: 14px; 50 | padding: 4px 0; 51 | color: #fff; 52 | border: none; 53 | } 54 | 55 | .row_btn button::after { 56 | border: none; 57 | } 58 | 59 | .row_btn button.button-hover { 60 | color: #008262; 61 | background-color: #00C493; 62 | } 63 | 64 | .picture_list { 65 | display: flex; 66 | flex-direction: row; 67 | flex-wrap: wrap; 68 | justify-content: flex-start; 69 | align-items: flex-start; 70 | align-content: flex-start; 71 | background: #FAFAFA; 72 | width: 94%; 73 | margin: 0 3%; 74 | } 75 | 76 | .upload_progress { 77 | position: absolute; 78 | top: 0; 79 | left: 0; 80 | opacity: 0.7; 81 | background-color: #000; 82 | color: #fff; 83 | width: 120rpx; 84 | height: 120rpx; 85 | text-align: center; 86 | line-height: 120rpx; 87 | font-size: 12px; 88 | } 89 | 90 | .picture_item { 91 | position: relative; 92 | width: 120rpx; 93 | height: 120rpx; 94 | margin: 10px; 95 | } 96 | 97 | .picture_item image { 98 | width: 120rpx; 99 | height: 120rpx; 100 | } -------------------------------------------------------------------------------- /api0351_user/pages/classlist/classlist.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #fff; 3 | } 4 | 5 | .searchLis { 6 | width: 100%; 7 | text-align: center; 8 | padding-top: 30%; 9 | } 10 | 11 | .searchLis image { 12 | width: 20%; 13 | padding: 0 40%; 14 | } 15 | 16 | .searchLis text { 17 | color: #999; 18 | } 19 | 20 | .searchLis button { 21 | width: 28%; 22 | margin: 15px 36%; 23 | font-size: 12px; 24 | background: #00AA80; 25 | color: #fff; 26 | border-radius: 50px; 27 | } 28 | 29 | .searchLis button::after { 30 | border: none; 31 | } 32 | 33 | .item-ans { 34 | width: 94%; 35 | height: 120rpx; 36 | display: flex; 37 | padding: 3%; 38 | border-bottom: 1px solid #F2F2F2; 39 | overflow: hidden; 40 | position: relative; 41 | } 42 | 43 | .avatar { 44 | position: relative; 45 | padding-right: 30rpx; 46 | flex: 1; 47 | } 48 | 49 | .avatar .img { 50 | width: 120rpx; 51 | height: 120rpx; 52 | } 53 | 54 | .avatar .doyen { 55 | width: 40rpx; 56 | height: 40rpx; 57 | position: absolute; 58 | bottom: -2px; 59 | right: 20rpx; 60 | } 61 | 62 | .expertInfo { 63 | color: #B0B0B0; 64 | overflow: hidden; 65 | flex: 8; 66 | } 67 | 68 | .expertInfo .name { 69 | font-size: 14px; 70 | color: #000; 71 | } 72 | 73 | .expertInfo .tag { 74 | font-size: 12px; 75 | height: 20px; 76 | overflow: hidden; 77 | } 78 | 79 | .askBtn { 80 | text-align: center; 81 | font-size: 12px; 82 | padding: 2px 10px; 83 | border-radius: 50rpx; 84 | border: 1px solid #00AA80; 85 | color: #00AA80; 86 | flex: 1; 87 | position: absolute; 88 | right: 15px; 89 | top: 28px; 90 | } 91 | 92 | .tab-content { 93 | background: #fff; 94 | } 95 | 96 | .scoll-h { 97 | height: 100%; 98 | } 99 | 100 | .expertInfo .answerHistory { 101 | width: 90%; 102 | overflow: hidden; 103 | } 104 | 105 | .expertInfo .answerHistory text { 106 | font-size: 12px; 107 | width: 100%; 108 | display: block; 109 | height: 18px; 110 | overflow: hidden; 111 | } -------------------------------------------------------------------------------- /api0351_user/pages/malllist/malllist.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #fff; 3 | } 4 | 5 | .searchLis { 6 | width: 100%; 7 | text-align: center; 8 | padding-top: 30%; 9 | } 10 | 11 | .searchLis image { 12 | width: 20%; 13 | padding: 0 40%; 14 | } 15 | 16 | .searchLis text { 17 | color: #999; 18 | } 19 | 20 | .searchLis button { 21 | width: 28%; 22 | margin: 15px 36%; 23 | font-size: 12px; 24 | background: #00AA80; 25 | color: #fff; 26 | border-radius: 50px; 27 | } 28 | 29 | .searchLis button::after { 30 | border: none; 31 | } 32 | 33 | .item-ans { 34 | width: 94%; 35 | height: 120rpx; 36 | display: flex; 37 | padding: 3%; 38 | border-bottom: 1px solid #F2F2F2; 39 | overflow: hidden; 40 | position: relative; 41 | } 42 | 43 | .avatar { 44 | position: relative; 45 | padding-right: 30rpx; 46 | flex: 1; 47 | } 48 | 49 | .avatar .img { 50 | width: 120rpx; 51 | height: 120rpx; 52 | } 53 | 54 | .avatar .doyen { 55 | width: 40rpx; 56 | height: 40rpx; 57 | position: absolute; 58 | bottom: -2px; 59 | right: 20rpx; 60 | } 61 | 62 | .expertInfo { 63 | color: #B0B0B0; 64 | overflow: hidden; 65 | flex: 8; 66 | } 67 | 68 | .expertInfo .name { 69 | font-size: 14px; 70 | color: #000; 71 | } 72 | 73 | .expertInfo .tag { 74 | font-size: 12px; 75 | height: 20px; 76 | overflow: hidden; 77 | } 78 | 79 | .askBtn { 80 | text-align: center; 81 | font-size: 12px; 82 | padding: 2px 10px; 83 | border-radius: 50rpx; 84 | border: 1px solid #00AA80; 85 | color: #00AA80; 86 | flex: 1; 87 | position: absolute; 88 | right: 15px; 89 | top: 28px; 90 | } 91 | 92 | .tab-content { 93 | background: #fff; 94 | } 95 | 96 | .scoll-h { 97 | height: 100%; 98 | } 99 | 100 | .expertInfo .answerHistory { 101 | width: 90%; 102 | overflow: hidden; 103 | } 104 | 105 | .expertInfo .answerHistory text { 106 | font-size: 12px; 107 | width: 100%; 108 | display: block; 109 | height: 18px; 110 | overflow: hidden; 111 | } -------------------------------------------------------------------------------- /api0351_user/pages/rewardlog/rewardlog.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #EEEDF2; 3 | } 4 | 5 | .container { 6 | padding: 12px 0; 7 | } 8 | 9 | .item { 10 | width: 94%; 11 | height: auto; 12 | background: #fff; 13 | margin: 0 3% 20rpx 3%; 14 | overflow: hidden; 15 | } 16 | 17 | .item .h2 { 18 | width: 94%; 19 | text-align: center; 20 | color: #999; 21 | border-bottom: 1px #f2f2f2 solid; 22 | padding: 10px 3%; 23 | display: flex; 24 | } 25 | 26 | .item .h2 text { 27 | flex: 1; 28 | } 29 | 30 | .datetime { 31 | font-size: 26rpx; 32 | color: #999; 33 | width: 90%; 34 | display: flex; 35 | padding: 3% 5%; 36 | } 37 | 38 | .datetime .tm { 39 | flex: 1; 40 | text-align: right; 41 | overflow: hidden; 42 | position: relative; 43 | padding-left: 15px; 44 | } 45 | 46 | .datetime .pl text { 47 | float: left; 48 | } 49 | 50 | .datetime .tm text { 51 | float: right; 52 | } 53 | 54 | .datatxt { 55 | width: 100%; 56 | height: 55px; 57 | border-bottom: 1px #f2f2f2 dashed; 58 | padding: 10px 10px; 59 | color: #333; 60 | display: flex; 61 | } 62 | 63 | .datatxt .img { 64 | flex: 1; 65 | } 66 | 67 | .datatxt .img image { 68 | width: 55px; 69 | height: 55px; 70 | border-radius: 50px; 71 | } 72 | 73 | .datatxt .txt { 74 | flex: 11; 75 | padding-left: 10px; 76 | } 77 | 78 | .datatxt .txt text { 79 | width: 100%; 80 | display: block; 81 | font-weight: bold; 82 | padding-top: 8px; 83 | } 84 | 85 | .datatxt .txt label { 86 | width: 100%; 87 | display: block; 88 | color: #666; 89 | } 90 | 91 | .noData { 92 | width: 100%; 93 | text-align: center; 94 | padding-top: 50px; 95 | color: #666; 96 | } 97 | 98 | .code { 99 | width: 100%; 100 | border-top: 1px #f2f2f2 solid; 101 | text-align: center; 102 | padding-bottom: 20px; 103 | } 104 | 105 | .code text { 106 | width: 100%; 107 | display: inline-block; 108 | padding: 10px 0; 109 | } 110 | 111 | .code image { 112 | width: 240px; 113 | height: 240px; 114 | } -------------------------------------------------------------------------------- /api0351_user/pages/trade/trade.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 贸易街好店收录 4 | 5 | 6 | 7 | 8 | 17 | 18 | 19 | 20 | 贸易街报 21 | 最新入驻 22 | 新品自荐 23 | 24 | 27 | 31 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /we7/resource/js/base64.js: -------------------------------------------------------------------------------- 1 | function base64_encode(r) { 2 | for (var e, a, t, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", c = 0, h = r.length, d = ""; c < h; ) { 3 | if (e = 255 & r.charCodeAt(c++), c == h) { 4 | d += o.charAt(e >> 2), d += o.charAt((3 & e) << 4), d += "=="; 5 | break; 6 | } 7 | if (a = r.charCodeAt(c++), c == h) { 8 | d += o.charAt(e >> 2), d += o.charAt((3 & e) << 4 | (240 & a) >> 4), d += o.charAt((15 & a) << 2), 9 | d += "="; 10 | break; 11 | } 12 | t = r.charCodeAt(c++), d += o.charAt(e >> 2), d += o.charAt((3 & e) << 4 | (240 & a) >> 4), 13 | d += o.charAt((15 & a) << 2 | (192 & t) >> 6), d += o.charAt(63 & t); 14 | } 15 | return d; 16 | } 17 | 18 | function base64_decode(r) { 19 | for (var e, a, t, o, c = new Array(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1), h = 0, d = r.length, f = ""; h < d; ) { 20 | for (;e = c[255 & r.charCodeAt(h++)], h < d && -1 == e; ) ; 21 | if (-1 == e) break; 22 | for (;a = c[255 & r.charCodeAt(h++)], h < d && -1 == a; ) ; 23 | if (-1 == a) break; 24 | f += String.fromCharCode(e << 2 | (48 & a) >> 4); 25 | do { 26 | if (61 == (t = 255 & r.charCodeAt(h++))) return f; 27 | t = c[t]; 28 | } while (h < d && -1 == t); 29 | if (-1 == t) break; 30 | f += String.fromCharCode((15 & a) << 4 | (60 & t) >> 2); 31 | do { 32 | if (61 == (o = 255 & r.charCodeAt(h++))) return f; 33 | o = c[o]; 34 | } while (h < d && -1 == o); 35 | if (-1 == o) break; 36 | f += String.fromCharCode((3 & t) << 6 | o); 37 | } 38 | return f; 39 | } 40 | 41 | module.exports = { 42 | base64_encode: base64_encode, 43 | base64_decode: base64_decode 44 | }; -------------------------------------------------------------------------------- /we7/pages/newsDetail/newsDetail.wxss: -------------------------------------------------------------------------------- 1 | .page_gap { 2 | padding: 16px 15px; 3 | } 4 | 5 | .page_news { 6 | background-color: #fff; 7 | } 8 | 9 | .page_news a { 10 | color: #106fbc; 11 | } 12 | 13 | .page_news .h1 { 14 | font-size: 21px; 15 | margin-bottom: 11px; 16 | line-height: 1.3; 17 | color: #373737; 18 | font-weight: bold; 19 | letter-spacing: 0.5px; 20 | display: block; 21 | } 22 | 23 | .news_info { 24 | float: left; 25 | font-size: 12px; 26 | margin-bottom: 15px; 27 | color: rgba(89,89,89,0.6); 28 | } 29 | 30 | .news_info .span { 31 | margin-right: 8px; 32 | display: inline-block; 33 | } 34 | 35 | .summary_block { 36 | background-color: #ececec; 37 | font-size: 14px; 38 | line-height: 1.8; 39 | text-indent: 30px; 40 | box-sizing: border-box; 41 | padding: 10px; 42 | position: relative; 43 | margin-bottom: 20px; 44 | word-break: break-all; 45 | border-radius: 0 3px 3px 3px; 46 | text-align: justify; 47 | } 48 | 49 | .summary_block:before { 50 | content: "摘要"; 51 | display: inline-block; 52 | position: absolute; 53 | left: 0; 54 | top: 0; 55 | border-radius: 0 3px 3px 0; 56 | background-color: #f79464; 57 | color: #fff; 58 | z-index: 10; 59 | text-indent: 0; 60 | font-size: 12px; 61 | padding: 0 4px; 62 | line-height: 1.6; 63 | } 64 | 65 | .news_relative { 66 | font-size: 12px; 67 | margin-bottom: 13px; 68 | clear: both; 69 | } 70 | 71 | .news_relative p { 72 | line-height: 1.7; 73 | } 74 | 75 | .news_relative p span { 76 | color: rgba(89,89,89,0.6); 77 | } 78 | 79 | .news_relative p a { 80 | margin-right: 10px; 81 | } 82 | 83 | .news_txt { 84 | font-size: 16px; 85 | line-height: 1.8; 86 | word-break: break-all; 87 | padding-bottom: 30px; 88 | color: rgb(37,37,37); 89 | } 90 | 91 | .news_txt .div { 92 | margin-bottom: 12px; 93 | text-align: justify; 94 | } 95 | 96 | .news_txt .a { 97 | color: #106fbc; 98 | position: relative; 99 | } 100 | 101 | .news_txt .b { 102 | font-weight: bold; 103 | } 104 | 105 | .news_txt .img { 106 | width: 100%; 107 | display: block; 108 | padding: 5px; 109 | } -------------------------------------------------------------------------------- /api0351_user/resource/js/base64.js: -------------------------------------------------------------------------------- 1 | function base64_encode(r) { 2 | for (var e, a, t, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", c = 0, h = r.length, d = ""; c < h; ) { 3 | if (e = 255 & r.charCodeAt(c++), c == h) { 4 | d += o.charAt(e >> 2), d += o.charAt((3 & e) << 4), d += "=="; 5 | break; 6 | } 7 | if (a = r.charCodeAt(c++), c == h) { 8 | d += o.charAt(e >> 2), d += o.charAt((3 & e) << 4 | (240 & a) >> 4), d += o.charAt((15 & a) << 2), 9 | d += "="; 10 | break; 11 | } 12 | t = r.charCodeAt(c++), d += o.charAt(e >> 2), d += o.charAt((3 & e) << 4 | (240 & a) >> 4), 13 | d += o.charAt((15 & a) << 2 | (192 & t) >> 6), d += o.charAt(63 & t); 14 | } 15 | return d; 16 | } 17 | 18 | function base64_decode(r) { 19 | for (var e, a, t, o, c = new Array(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1), h = 0, d = r.length, f = ""; h < d; ) { 20 | for (;e = c[255 & r.charCodeAt(h++)], h < d && -1 == e; ) ; 21 | if (-1 == e) break; 22 | for (;a = c[255 & r.charCodeAt(h++)], h < d && -1 == a; ) ; 23 | if (-1 == a) break; 24 | f += String.fromCharCode(e << 2 | (48 & a) >> 4); 25 | do { 26 | if (61 == (t = 255 & r.charCodeAt(h++))) return f; 27 | t = c[t]; 28 | } while (h < d && -1 == t); 29 | if (-1 == t) break; 30 | f += String.fromCharCode((15 & a) << 4 | (60 & t) >> 2); 31 | do { 32 | if (61 == (o = 255 & r.charCodeAt(h++))) return f; 33 | o = c[o]; 34 | } while (h < d && -1 == o); 35 | if (-1 == o) break; 36 | f += String.fromCharCode((3 & t) << 6 | o); 37 | } 38 | return f; 39 | } 40 | 41 | module.exports = { 42 | base64_encode: base64_encode, 43 | base64_decode: base64_decode 44 | }; -------------------------------------------------------------------------------- /api0351_user/pages/ification/ification.wxss: -------------------------------------------------------------------------------- 1 | .container,page { 2 | background: #fff; 3 | } 4 | 5 | .weui-grids { 6 | position: relative; 7 | overflow: hidden; 8 | border-top: none; 9 | } 10 | 11 | .weui-grids:before { 12 | content: " "; 13 | position: absolute; 14 | left: 0; 15 | top: 0; 16 | right: 0; 17 | height: 1px; 18 | color: #D9D9D9; 19 | transform-origin: 0 0; 20 | transform: scaleY(0.5); 21 | border-top: 1rpx solid #FAFAFA; 22 | border-left: 1rpx solid #FAFAFA; 23 | } 24 | 25 | .weui-grids:after { 26 | content: " "; 27 | position: absolute; 28 | left: 0; 29 | top: 0; 30 | width: 1px; 31 | bottom: 0; 32 | border-left: 1px solid #F2F2F2; 33 | color: #D9D9D9; 34 | transform-origin: 0 0; 35 | transform: scaleX(0.5); 36 | } 37 | 38 | .weui-grid { 39 | position: relative; 40 | float: left; 41 | padding: 20px 10px; 42 | width: 33.33333333%; 43 | box-sizing: border-box; 44 | border-right: 1rpx solid #FAFAFA; 45 | border-bottom: 1rpx solid #FAFAFA; 46 | } 47 | 48 | .weui-grid:before { 49 | content: " "; 50 | position: absolute; 51 | right: 0; 52 | top: 0; 53 | width: 1px; 54 | bottom: 0; 55 | border-right: 1px solid #F2F2F2; 56 | color: #D9D9D9; 57 | transform-origin: 100% 0; 58 | transform: scaleX(0.5); 59 | } 60 | 61 | .weui-grid:after { 62 | content: " "; 63 | position: absolute; 64 | left: 0; 65 | bottom: 0; 66 | right: 0; 67 | height: 1px; 68 | border-bottom: 1px solid #F2F2F2; 69 | color: #D9D9D9; 70 | transform-origin: 0 100%; 71 | transform: scaleY(0.5); 72 | } 73 | 74 | .weui-grid:active { 75 | background-color: #FAFAFA; 76 | } 77 | 78 | .weui-grid__icon { 79 | width: 42px; 80 | height: 42px; 81 | margin: 0 auto; 82 | } 83 | 84 | .weui-grid__icon image { 85 | display: block; 86 | width: 100%; 87 | height: 100%; 88 | } 89 | 90 | .weui-grid__icon+.weui-grid__label { 91 | margin-top: 5px; 92 | } 93 | 94 | .weui-grid__label { 95 | display: block; 96 | text-align: center; 97 | color: #333; 98 | font-size: 14px; 99 | white-space: nowrap; 100 | text-overflow: ellipsis; 101 | overflow: hidden; 102 | } -------------------------------------------------------------------------------- /api0351_user/pages/basics/basics.wxss: -------------------------------------------------------------------------------- 1 | .containers { 2 | background: #fff; 3 | padding: 1% 2%; 4 | border-top: 1px #F1F1F1 solid; 5 | } 6 | 7 | .row { 8 | display: flex; 9 | border-bottom: 1px #F1F1F1 solid; 10 | height: 45px; 11 | line-height: 45px; 12 | font-size: 14px; 13 | position: relative; 14 | } 15 | 16 | .row text { 17 | flex: 2; 18 | text-align: left; 19 | color: #999; 20 | padding-left: 15px; 21 | } 22 | 23 | .row-picker { 24 | display: flex; 25 | border-bottom: 1px #F1F1F1 solid; 26 | height: 45px; 27 | line-height: 45px; 28 | font-size: 14px; 29 | position: relative; 30 | } 31 | 32 | .row-picker text { 33 | flex: 2; 34 | text-align: left; 35 | color: #999; 36 | padding-left: 15px; 37 | } 38 | 39 | .row-picker picker { 40 | font-size: 14px; 41 | color: #333; 42 | flex: 10; 43 | border: none; 44 | display: inline-block; 45 | padding: 0 0; 46 | } 47 | 48 | .row input { 49 | font-size: 14px; 50 | color: #333; 51 | flex: 10; 52 | border: none; 53 | display: inline-block; 54 | padding: 10px 0; 55 | } 56 | 57 | .row button { 58 | position: absolute; 59 | right: 10px; 60 | bottom: 10px; 61 | font-size: 12px; 62 | border-radius: 0; 63 | color: #00AA80; 64 | height: 25px; 65 | line-height: 25px; 66 | z-index: 999999; 67 | } 68 | 69 | .row button { 70 | border: none; 71 | } 72 | 73 | .row_area { 74 | width: 100%; 75 | border-bottom: 1px #F1F1F1 solid; 76 | padding-bottom: 10px; 77 | } 78 | 79 | .row_area textarea { 80 | font-size: 14px; 81 | padding: 10px 3%; 82 | width: 94%; 83 | min-height: 50px; 84 | background: #F5F5F5; 85 | margin-top: 10px; 86 | } 87 | 88 | .row_btn { 89 | padding: 5%; 90 | width: 90%; 91 | } 92 | 93 | .row_btn button { 94 | border-radius: 50px; 95 | background: #00AA80; 96 | font-size: 14px; 97 | padding: 4px 0; 98 | color: #fff; 99 | border: none; 100 | } 101 | 102 | .row_btn button::after { 103 | border: none; 104 | } 105 | 106 | .row_btn button.button-hover { 107 | color: #008262; 108 | background-color: #00C493; 109 | } 110 | 111 | .weui-input { 112 | line-height: 3.3em; 113 | } -------------------------------------------------------------------------------- /api0351_user/pages/cover/upload/upload.js: -------------------------------------------------------------------------------- 1 | var _weCropper = require("/../../../we-cropper/we-cropper.js"), _weCropper2 = _interopRequireDefault(_weCropper); 2 | 3 | function _interopRequireDefault(e) { 4 | return e && e.__esModule ? e : { 5 | default: e 6 | }; 7 | } 8 | 9 | var device = wx.getSystemInfoSync(), width = device.windowWidth, height = device.windowHeight - 50; 10 | 11 | Page({ 12 | data: { 13 | cropperOpt: { 14 | id: "cropper", 15 | width: width, 16 | height: height, 17 | scale: 2.5, 18 | zoom: 8, 19 | cut: { 20 | x: (width - 348) / 2, 21 | y: (height - 360) / 2, 22 | width: 348, 23 | height: 360 24 | } 25 | } 26 | }, 27 | touchStart: function(e) { 28 | this.wecropper.touchStart(e); 29 | }, 30 | touchMove: function(e) { 31 | this.wecropper.touchMove(e); 32 | }, 33 | touchEnd: function(e) { 34 | this.wecropper.touchEnd(e); 35 | }, 36 | getCropperImage: function() { 37 | var o = this; 38 | this.wecropper.getCropperImage(function(e) { 39 | e ? wx.redirectTo({ 40 | url: "../index/index?avatar=" + e + "&op=" + o.uid 41 | }) : console.log("获取图片失败,请稍后重试"); 42 | }); 43 | }, 44 | uploadTap: function() { 45 | var t = this; 46 | wx.chooseImage({ 47 | count: 1, 48 | sizeType: [ "original", "compressed" ], 49 | sourceType: [ "album", "camera" ], 50 | success: function(e) { 51 | var o = e.tempFilePaths[0]; 52 | t.wecropper.pushOrign(o); 53 | } 54 | }); 55 | }, 56 | onLoad: function(e) { 57 | this.uid = e.op; 58 | var o = this.data.cropperOpt; 59 | e.src && (o.src = e.src, new _weCropper2.default(o).on("ready", function(e) { 60 | console.log("wecropper is ready for work!"); 61 | }).on("beforeImageLoad", function(e) { 62 | wx.showToast({ 63 | title: "上传中", 64 | icon: "loading", 65 | duration: 2e4 66 | }); 67 | }).on("imageLoad", function(e) { 68 | wx.hideToast(); 69 | }).on("beforeDraw", function(e, o) {}).updateCanvas()); 70 | } 71 | }); -------------------------------------------------------------------------------- /api0351_user/pages/shopView/shopView.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | noServ: 0, 6 | latitude: 0, 7 | longitude: 0, 8 | markers: [] 9 | }, 10 | onLoad: function(a) { 11 | this.getShop(a.id); 12 | }, 13 | serviceUrl: function(a) { 14 | var t = a.currentTarget.dataset.op; 15 | wx.navigateTo({ 16 | url: "../serlist/serlist?op=" + t 17 | }); 18 | }, 19 | getShop: function(a) { 20 | var d = this; 21 | app.util.request({ 22 | url: "entry/wxapp/ShopList", 23 | data: { 24 | did: a, 25 | s: 2, 26 | m: "api0351_user" 27 | }, 28 | cachetime: 0, 29 | success: function(a) { 30 | console.log(a.data); 31 | var t = [], e = { 32 | maps: a.data.data 33 | }; 34 | for (var i in console.log(e), e) e[i].latitude = a.data.data.y, e[i].longitude = a.data.data.x, 35 | e[i].name = a.data.data.dtitle, t.push(e[i]); 36 | d.setData({ 37 | shop: a.data.data, 38 | latitude: a.data.data.y, 39 | longitude: a.data.data.x, 40 | markers: t 41 | }), wx.setNavigationBarTitle({ 42 | title: a.data.data.dtitle 43 | }), d.getService(a.data.data.openid); 44 | } 45 | }); 46 | }, 47 | getService: function(a) { 48 | var t = this; 49 | app.util.request({ 50 | url: "entry/wxapp/GetShop", 51 | data: { 52 | openid: a, 53 | k: 2 54 | }, 55 | cachetime: 30, 56 | success: function(a) { 57 | console.log(a.data.data), "null" != a.data.data && (0 == a.data.data.length ? t.setData({ 58 | service_list: 0, 59 | noServ: 1 60 | }) : t.setData({ 61 | service_list: a.data.data, 62 | noServ: 2 63 | })); 64 | } 65 | }); 66 | }, 67 | onShareAppMessage: function() { 68 | return { 69 | title: this.data.shop.dtitle, 70 | path: "/api0351_user/pages/shopView/shopView?id=" + this.data.shop.did 71 | }; 72 | } 73 | }); -------------------------------------------------------------------------------- /api0351_user/pages/reward/reward.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #fff; 3 | padding-bottom: 40px; 4 | } 5 | 6 | .user { 7 | display: flex; 8 | width: 100%; 9 | border-bottom: 1px #EEE solid; 10 | background: #FAFAFA; 11 | padding-top: 20px; 12 | border-top: 1px #F1F1F1 solid; 13 | } 14 | 15 | .userinfo { 16 | overflow: hidden; 17 | text-align: center; 18 | flex: 1; 19 | } 20 | 21 | .userinfo .author { 22 | width: 100%; 23 | } 24 | 25 | .userinfo .author image.av { 26 | width: 60px; 27 | height: 60px; 28 | overflow: hidden; 29 | border-radius: 50px; 30 | border: 2px #EEE solid; 31 | z-index: 10; 32 | } 33 | 34 | .userinfo .autxt { 35 | width: 100%; 36 | height: 30px; 37 | } 38 | 39 | .userinfo .autxt text { 40 | color: #999; 41 | display: inline-block; 42 | width: 100%; 43 | } 44 | 45 | .RewardList { 46 | width: 90%; 47 | height: 55px; 48 | display: flex; 49 | border-bottom: 1px #F1F1F1 solid; 50 | padding: 3% 5%; 51 | } 52 | 53 | .RewardList .p { 54 | flex: 1; 55 | } 56 | 57 | .RewardList .p image { 58 | width: 55px; 59 | height: 55px; 60 | } 61 | 62 | .RewardList .t { 63 | flex: 7; 64 | padding-left: 10px; 65 | padding-top: 5px; 66 | } 67 | 68 | .RewardList .t text { 69 | width: 100%; 70 | display: block; 71 | } 72 | 73 | .RewardList .t view { 74 | color: #666; 75 | } 76 | 77 | .RewardList .t label { 78 | color: #CC0000; 79 | } 80 | 81 | .RewardList .zt { 82 | flex: 4; 83 | text-align: right; 84 | position: relative; 85 | } 86 | 87 | .RewardList .zt button { 88 | border: 1px #00AA80 solid; 89 | font-size: 12px; 90 | padding: 0px 12px; 91 | border-radius: 50px; 92 | color: #00AA80; 93 | position: absolute; 94 | right: 0px; 95 | bottom: 14px; 96 | background: #fff; 97 | } 98 | 99 | .RewardList .zt button::after { 100 | border: none; 101 | } 102 | 103 | .content { 104 | border-bottom: 1px #F1F1F1 solid; 105 | width: 90%; 106 | padding: 3% 5%; 107 | color: #666; 108 | } 109 | 110 | .tx { 111 | width: 90%; 112 | padding: 3% 5%; 113 | border-bottom: 1px #F1F1F1 solid; 114 | } 115 | 116 | .tx text { 117 | width: 100%; 118 | display: block; 119 | font-weight: bold; 120 | color: #333; 121 | } 122 | 123 | .tx label { 124 | color: #666; 125 | } -------------------------------------------------------------------------------- /api0351_user/pages/message/message.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 【提示】留言回复后才可以显示在首页 6 | 【提示】点击对应的问答内容即可进行回复 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{item.nickname}} 15 | 16 | 19 | 20 | 21 | 22 | {{item.content}} 23 | 24 | 25 | 26 | 27 | 我 回复 28 | 29 | 30 | 31 | {{item.r_content}} 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | X 46 | 47 |
48 | 49 | 50 |
51 |
52 | 53 |
54 | -------------------------------------------------------------------------------- /api0351_user/pages/basics/basics.wxml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 行 业 11 | 12 | {{brands[brandindex]}} 13 | 14 | 15 | 16 | 姓 名 17 | 18 | 19 | 20 | 头 衔 21 | 22 | 23 | 24 | 单 位 25 | 26 | 27 | 28 | 定 位 29 | 30 | 31 | 32 | 33 | 电 话 34 | 35 | 36 | 37 | 38 | 39 | 微 号 40 | 41 | 42 | 43 | 44 | 45 |
46 |
47 | -------------------------------------------------------------------------------- /api0351_user/pages/business/business.wxml: -------------------------------------------------------------------------------- 1 | 2 | 选择分类进行检索 3 | 4 | 介绍信息 5 | 个人姓名 6 | 公司名称 7 | 8 | 9 | 10 | 11 | {{searchCltxt}} 12 | 13 | 16 | 17 | 18 | 30 | 31 | 32 | 35 | {{item.csname}} 36 | 37 | 38 | 41 | 更多 42 | 43 | 44 | 45 | 46 | 最新加入 47 | 热度曝光 48 | 49 | 52 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /api0351_user/pages/shopView/shopView.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #fff; 3 | } 4 | 5 | .ls { 6 | width: 94%; 7 | border-bottom: 1px #F1F1F1 solid; 8 | padding: 3%; 9 | margin-bottom: 10px; 10 | } 11 | 12 | .ls .vi { 13 | width: 100%; 14 | height: 50px; 15 | display: flex; 16 | border-radius: 50px; 17 | } 18 | 19 | .ls .content { 20 | width: 100%; 21 | display: inline-block; 22 | color: #666; 23 | background: #fff; 24 | padding: 10px 0 0 0; 25 | } 26 | 27 | .ls .vi .img { 28 | flex: 1; 29 | padding: 5px; 30 | } 31 | 32 | .ls .vi .img image { 33 | width: 45px; 34 | } 35 | 36 | .ls .vi .title { 37 | flex: 10; 38 | padding-left: 5px; 39 | padding-top: 3px; 40 | } 41 | 42 | .ls .vi .title text { 43 | width: 100%; 44 | display: inline-block; 45 | font-size: 15px; 46 | font-weight: bold; 47 | color: #333; 48 | } 49 | 50 | .ls .vi .title label { 51 | width: 100%; 52 | display: inline-block; 53 | color: #8B8B8B; 54 | } 55 | 56 | .service { 57 | width: 100%; 58 | background: #fff; 59 | margin: 0; 60 | overflow: hidden; 61 | border-bottom: 1px #F1F1F1 solid; 62 | } 63 | 64 | .service .h2 { 65 | width: 94%; 66 | padding: 2% 3%; 67 | display: flex; 68 | } 69 | 70 | .service .h2 label { 71 | flex: 1; 72 | color: #666; 73 | border-left: 2px #00AA80 solid; 74 | padding-left: 10px; 75 | } 76 | 77 | .service .h2 text { 78 | color: #999; 79 | font-size: 12px; 80 | line-height: 22px; 81 | } 82 | 83 | .service-ul { 84 | padding: 10px; 85 | overflow: hidden; 86 | } 87 | 88 | .service-li { 89 | text-align: center; 90 | width: 50%; 91 | height: 130px; 92 | overflow: hidden; 93 | float: left; 94 | margin-bottom: 10px; 95 | position: relative; 96 | } 97 | 98 | .service-li image { 99 | width: 90%; 100 | margin: 0 5% 0 5%; 101 | height: 130px; 102 | position: relative; 103 | z-index: 1; 104 | } 105 | 106 | .service-li text { 107 | width: 90%; 108 | margin: 0 5% 0 5%; 109 | overflow: hidden; 110 | text-overflow: ellipsis; 111 | white-space: nowrap; 112 | position: absolute; 113 | bottom: 0px; 114 | left: 0px; 115 | z-index: 10; 116 | color: #fff; 117 | } 118 | 119 | .service-li label { 120 | background: #333; 121 | width: 90%; 122 | height: 22px; 123 | margin: 0 5% 0 5%; 124 | position: absolute; 125 | left: 0px; 126 | bottom: 0px; 127 | z-index: 9; 128 | display: inline-block; 129 | opacity: 0.8; 130 | } 131 | 132 | .map { 133 | width: 92%; 134 | margin: 3%; 135 | background: #f8f8f8; 136 | padding: 1%; 137 | } 138 | 139 | .map .h2 { 140 | width: 94%; 141 | padding: 2% 3%; 142 | display: flex; 143 | } 144 | 145 | .map .h2 label { 146 | flex: 1; 147 | color: #666; 148 | text-align: center; 149 | } -------------------------------------------------------------------------------- /components/collection_b.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.xingming}} [ {{item.zhiwei}} ] 10 | 11 | {{item.gongsi}} 12 | 13 | 14 | 移除 15 | 16 | 17 | 18 | 19 | 20 | 21 | X 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
60 |
61 | 62 |
63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /components/collection_c.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{item.xingming}} [ {{item.zhiwei}} ] 10 | 11 | {{item.gongsi}} 12 | 13 | 14 | 移除 15 | 16 | 17 | 18 | 19 | 20 | 21 | X 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
60 |
61 | 62 |
63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /api0351_user/resource/wxParse/wxParse.js: -------------------------------------------------------------------------------- 1 | var _showdown = require("./showdown.js"), _showdown2 = _interopRequireDefault(_showdown), _html2json = require("./html2json.js"), _html2json2 = _interopRequireDefault(_html2json); 2 | 3 | function _interopRequireDefault(e) { 4 | return e && e.__esModule ? e : { 5 | default: e 6 | }; 7 | } 8 | 9 | var realWindowWidth = 0, realWindowHeight = 0; 10 | 11 | function wxParse() { 12 | var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : "wxParseData", a = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "html", t = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : '
数据不能为空
', i = arguments[3], r = arguments[4], o = i, n = {}; 13 | if ("html" == a) n = _html2json2.default.html2json(t, e); else if ("md" == a || "markdown" == a) { 14 | var d = new _showdown2.default.Converter().makeHtml(t); 15 | n = _html2json2.default.html2json(d, e); 16 | } 17 | n.view = {}, void (n.view.imagePadding = 0) !== r && (n.view.imagePadding = r); 18 | var s = {}; 19 | s[e] = n, o.setData(s), o.wxParseImgLoad = wxParseImgLoad, o.wxParseImgTap = wxParseImgTap; 20 | } 21 | 22 | function wxParseImgTap(e) { 23 | var a = e.target.dataset.src, t = e.target.dataset.from; 24 | void 0 !== t && 0 < t.length && wx.previewImage({ 25 | current: a, 26 | urls: this.data[t].imageUrls 27 | }); 28 | } 29 | 30 | function wxParseImgLoad(e) { 31 | var a = e.target.dataset.from, t = e.target.dataset.idx; 32 | void 0 !== a && 0 < a.length && calMoreImageInfo(e, t, this, a); 33 | } 34 | 35 | function calMoreImageInfo(e, a, t, i) { 36 | var r = t.data[i]; 37 | if (r && 0 != r.images.length) { 38 | var o = r.images, n = (wxAutoImageCal(e.detail.width, e.detail.height, t, i), o[a].index), d = !0, s = !1, l = void 0; 39 | try { 40 | for (var m, w = n.split(".")[Symbol.iterator](); !(d = (m = w.next()).done); d = !0) { 41 | ".nodes[" + m.value + "]"; 42 | } 43 | } catch (e) { 44 | s = !0, l = e; 45 | } finally { 46 | try { 47 | !d && w.return && w.return(); 48 | } finally { 49 | if (s) throw l; 50 | } 51 | } 52 | } 53 | } 54 | 55 | function wxAutoImageCal(e, a, t, i) { 56 | var r, o = 0, n = 0, d = {}, s = t.data[i].view.imagePadding; 57 | return realWindowHeight, (r = realWindowWidth - 2 * s) < e ? (n = (o = r) * a / e, 58 | d.imageWidth = o, d.imageheight = n) : (d.imageWidth = e, d.imageheight = a), d; 59 | } 60 | 61 | function wxParseTemArray(e, a, t, i) { 62 | for (var r = [], o = i.data, n = null, d = 0; d < t; d++) { 63 | var s = o[a + d].nodes; 64 | r.push(s); 65 | } 66 | e = e || "wxParseTemArray", (n = JSON.parse('{"' + e + '":""}'))[e] = r, i.setData(n); 67 | } 68 | 69 | function emojisInit() { 70 | var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : "", a = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "/wxParse/emojis/", t = arguments[2]; 71 | _html2json2.default.emojisInit(e, a, t); 72 | } 73 | 74 | wx.getSystemInfo({ 75 | success: function(e) { 76 | realWindowWidth = e.windowWidth, realWindowHeight = e.windowHeight; 77 | } 78 | }), module.exports = { 79 | wxParse: wxParse, 80 | wxParseTemArray: wxParseTemArray, 81 | emojisInit: emojisInit 82 | }; -------------------------------------------------------------------------------- /api0351_user/pages/shops/shops.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | conmment_list: [], 6 | noMoreData: !1, 7 | loadingMore: !1, 8 | currentPageNumber: 1 9 | }, 10 | onLoad: function() { 11 | this.openid = wx.getStorageSync("openid"), this.openid ? (this.pullUpLoad(), app.pageConfig(this)) : wx.redirectTo({ 12 | url: "../index/index" 13 | }); 14 | }, 15 | onShow: function() {}, 16 | addServ: function() { 17 | wx.navigateTo({ 18 | url: "../addserv/addserv?op=" + this.openid 19 | }); 20 | }, 21 | editServ: function(t) { 22 | var e = t.currentTarget.dataset.id; 23 | wx.navigateTo({ 24 | url: "../edserv/edserv?op=" + this.openid + "&id=" + e 25 | }); 26 | }, 27 | delServ: function(t) { 28 | var e = this, a = t.currentTarget.dataset.id; 29 | console.log(a), app.util.request({ 30 | url: "entry/wxapp/DelShop", 31 | data: { 32 | id: a 33 | }, 34 | cachetime: 0, 35 | success: function(t) { 36 | wx.showToast({ 37 | title: "删除成功", 38 | icon: "success", 39 | duration: 1500 40 | }), setTimeout(function() { 41 | e.getPullRefresh(); 42 | }, 1e3); 43 | } 44 | }); 45 | }, 46 | pullUpLoad: function() { 47 | var n = this; 48 | this.setData({ 49 | loadingMore: !0 50 | }), wx.showNavigationBarLoading(); 51 | var t = this.openid; 52 | app.util.request({ 53 | url: "entry/wxapp/GetShop", 54 | data: { 55 | openid: t, 56 | page: n.data.currentPageNumber 57 | }, 58 | cachetime: 0, 59 | success: function(t) { 60 | var e = t.data.data, a = t.data.message; 61 | 0 == a ? n.setData({ 62 | noMoreData: 3 63 | }) : (n.setData({ 64 | conmment_list: n.data.conmment_list.concat(e) 65 | }), n.data.conmment_list.length == a && n.setData({ 66 | noMoreData: 2 67 | })); 68 | }, 69 | complete: function() { 70 | n.setData({ 71 | loadingMore: !1 72 | }), wx.hideNavigationBarLoading(); 73 | } 74 | }); 75 | }, 76 | getPullRefresh: function() { 77 | this.currentPageNumber = 1, this.setData({ 78 | noMoreData: !1, 79 | noData: !1, 80 | conmment_list: [] 81 | }); 82 | var a = this, t = this.openid; 83 | app.util.request({ 84 | url: "entry/wxapp/GetShop", 85 | data: { 86 | openid: t 87 | }, 88 | success: function(t) { 89 | var e = t.data.data; 90 | null != e && (a.setData({ 91 | conmment_list: e 92 | }), 0 < e.length ? a.currentPageNumber++ : a.setData({ 93 | noMoreData: !0 94 | }), wx.stopPullDownRefresh()); 95 | } 96 | }); 97 | }, 98 | onReachBottom: function() { 99 | 2 != this.data.noMoreData && (this.setData({ 100 | currentPageNumber: this.data.currentPageNumber + 1 101 | }), this.pullUpLoad()); 102 | } 103 | }); -------------------------------------------------------------------------------- /api0351_user/pages/private/private.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | menuTapCurrent: 0, 6 | msNlist: [ { 7 | hidden: !0 8 | } ], 9 | msNumber: 0 10 | }, 11 | onLoad: function(t) { 12 | this.openid = wx.getStorageSync("openid"); 13 | var a = wx.getStorageSync("userInfo"); 14 | this.setData({ 15 | userInfo: a.wxInfo 16 | }), this.getMsn(0, this.openid); 17 | }, 18 | delMsn: function(t) { 19 | var a = this, e = t.currentTarget.dataset.id; 20 | app.util.request({ 21 | url: "entry/wxapp/DelMessage", 22 | data: { 23 | mid: e 24 | }, 25 | cachetime: 0, 26 | success: function(t) { 27 | 1 == t.data.data && (wx.showToast({ 28 | title: "删除成功", 29 | icon: "success", 30 | duration: 1200 31 | }), setTimeout(function() { 32 | a.onLoad({ 33 | op: a.openid 34 | }); 35 | }, 1200)); 36 | } 37 | }); 38 | }, 39 | formSubmit: function(t) { 40 | var a = this, e = t.detail.value.content; 41 | t.detail.value; 42 | if (0 === e.length) return wx.showToast({ 43 | title: "说点什么?", 44 | icon: "loading", 45 | duration: 1500 46 | }), !1; 47 | app.util.request({ 48 | url: "entry/wxapp/Message", 49 | data: t.detail.value, 50 | cachetime: 0, 51 | success: function(t) { 52 | 1 == t.data.data && (wx.showToast({ 53 | title: "回复成功", 54 | icon: "success", 55 | duration: 1200 56 | }), setTimeout(function() { 57 | a.onLoad({ 58 | op: a.openid 59 | }); 60 | }, 1200)); 61 | } 62 | }); 63 | }, 64 | menuTap: function(t) { 65 | var a = t.currentTarget.dataset.current; 66 | this.setData({ 67 | menuTapCurrent: a, 68 | msNlist: [] 69 | }), this.getMsn(a, this.openid); 70 | }, 71 | getMsn: function(t, a) { 72 | var e = this; 73 | app.util.request({ 74 | url: "entry/wxapp/GetMesage", 75 | data: { 76 | openid: a, 77 | display: t 78 | }, 79 | cachetime: 0, 80 | success: function(t) { 81 | console.log(t.data.data), e.setData({ 82 | msNlist: t.data.data, 83 | msNumber: t.data.data.length 84 | }); 85 | } 86 | }); 87 | }, 88 | displayDu: function(t) { 89 | var a = this, e = t.currentTarget.dataset.index, s = t.currentTarget.dataset.id; 90 | a.data.msNlist[e].hidden = !a.data.msNlist[e].hidden, 0 == a.data.msNlist[e].hidden && setTimeout(function() { 91 | a.onLoad({ 92 | op: a.openid 93 | }); 94 | }, 1200), app.util.request({ 95 | url: "entry/wxapp/EdMesage", 96 | data: { 97 | mid: s, 98 | display: 1 99 | }, 100 | cachetime: 0, 101 | success: function(t) { 102 | a.setData({ 103 | msNlist: a.data.msNlist 104 | }); 105 | } 106 | }); 107 | } 108 | }); -------------------------------------------------------------------------------- /api0351_user/resource/wxParse/htmlparser.js: -------------------------------------------------------------------------------- 1 | var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/, endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/, attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g, empty = makeMap("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"), block = makeMap("a,address,code,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"), inline = makeMap("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"), closeSelf = makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"), fillAttrs = makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"), special = makeMap("wxxxcode-style,script,style,view,scroll-view,block"); 2 | 3 | function HTMLParser(e, n) { 4 | var t, a, r, i = [], s = e; 5 | for (i.last = function() { 6 | return this[this.length - 1]; 7 | }; e; ) { 8 | if (a = !0, i.last() && special[i.last()]) e = e.replace(new RegExp("([\\s\\S]*?)]*>"), function(e, t) { 9 | return t = t.replace(/|/g, "$1$2"), n.chars && n.chars(t), 10 | ""; 11 | }), c("", i.last()); else if (0 == e.indexOf("\x3c!--") ? 0 <= (t = e.indexOf("--\x3e")) && (n.comment && n.comment(e.substring(4, t)), 12 | e = e.substring(t + 3), a = !1) : 0 == e.indexOf(" 2 | 3 | 未读信息 4 | 已读信息 5 | 6 | 38 | 70 | 71 | -------------------------------------------------------------------------------- /api0351_user/pages/reward/reward.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | sopenid: "" 6 | }, 7 | onLoad: function(t) { 8 | this.openid = wx.getStorageSync("openid"), this.userInfo = wx.getStorageSync("userInfo"), 9 | this.openid ? (console.log(t.op), console.log(this.openid), this.setData({ 10 | userInfo: this.userInfo.wxInfo, 11 | sopenid: t.op 12 | }), this.getReward(), this.getUser(t.op)) : wx.redirectTo({ 13 | url: "../index/index" 14 | }); 15 | }, 16 | getReward: function() { 17 | var e = this; 18 | app.util.request({ 19 | url: "entry/wxapp/GetReward", 20 | data: { 21 | m: "api0351_user" 22 | }, 23 | cachetime: 0, 24 | success: function(t) { 25 | e.setData({ 26 | RewardList: t.data.data 27 | }); 28 | } 29 | }); 30 | }, 31 | getUser: function(t) { 32 | var e = this; 33 | app.util.request({ 34 | url: "entry/wxapp/GetUser", 35 | data: { 36 | mod: 1, 37 | openid: t, 38 | m: "api0351_user" 39 | }, 40 | cachetime: 0, 41 | success: function(t) { 42 | e.setData({ 43 | userOther: t.data.data 44 | }); 45 | } 46 | }); 47 | }, 48 | pay: function(t) { 49 | var e = this, a = Math.random(), n = e.data.userInfo.nickName, s = Number(t.currentTarget.dataset.pay), o = t.currentTarget.dataset.title, r = t.currentTarget.dataset.sid, i = t.currentTarget.dataset.img, c = t.currentTarget.dataset.hotnum, d = e.data.sopenid; 50 | console.log(d), app.util.request({ 51 | url: "entry/wxapp/pay", 52 | data: { 53 | orderid: a, 54 | openid: e.openid, 55 | username: n, 56 | shopNum: 2, 57 | price: s, 58 | sopenid: d, 59 | hotnum: c, 60 | stitle: o, 61 | sid: r, 62 | img: i 63 | }, 64 | cachetime: "0", 65 | success: function(t) { 66 | t.data && t.data.data && !t.data.errno && wx.requestPayment({ 67 | timeStamp: t.data.data.timeStamp, 68 | nonceStr: t.data.data.nonceStr, 69 | package: t.data.data.package, 70 | signType: "MD5", 71 | paySign: t.data.data.paySign, 72 | success: function(t) { 73 | "requestPayment:ok" == t.errMsg && wx.showModal({ 74 | title: "提示", 75 | content: "打赏成功,确认跳转", 76 | showCancel: !1, 77 | success: function(t) { 78 | "showModal:ok" == t.errMsg && (wx.reLaunch({ 79 | url: "../index/index?op=" + d 80 | }), e.postShang(d, c)); 81 | } 82 | }); 83 | }, 84 | fail: function() { 85 | wx.showModal({ 86 | title: "提示", 87 | content: "确定要放弃打赏吗?", 88 | cancel: !1, 89 | success: function(t) { 90 | 1 != t.cancel && 0 != t.cancel || wx.reLaunch({ 91 | url: "../index/index?op=" + d 92 | }); 93 | } 94 | }); 95 | } 96 | }); 97 | } 98 | }); 99 | }, 100 | postShang: function(t, e) { 101 | app.util.request({ 102 | url: "entry/wxapp/AddShang", 103 | data: { 104 | openid: t, 105 | hotnum: e, 106 | m: "api0351_user" 107 | }, 108 | cachetime: 0, 109 | success: function(t) { 110 | console.log(t.data.data); 111 | } 112 | }); 113 | } 114 | }); -------------------------------------------------------------------------------- /api0351_user/pages/private/private.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #fff; 3 | } 4 | 5 | .navMenu { 6 | width: 100%; 7 | background: #FDFDFD; 8 | } 9 | 10 | .active { 11 | color: #333; 12 | background: #FAFAFA; 13 | } 14 | 15 | .menu_box { 16 | width: 90%; 17 | border: 1rpx solid #F1F1F1; 18 | text-align: center; 19 | height: 60rpx; 20 | line-height: 60rpx; 21 | display: flex; 22 | background: #fff; 23 | margin: 10px 5% 0 5%; 24 | border-top-left-radius: 20px; 25 | border-bottom-left-radius: 20px; 26 | border-top-right-radius: 20px; 27 | border-bottom-right-radius: 20px; 28 | } 29 | 30 | .menu1 { 31 | color: #999; 32 | flex: 1; 33 | border-right: 1px #F1F1F1 solid; 34 | border-top-left-radius: 20px; 35 | border-bottom-left-radius: 20px; 36 | } 37 | 38 | .menu2 { 39 | color: #999; 40 | flex: 1; 41 | border-right: 1px #F1F1F1 solid; 42 | border-top-right-radius: 20px; 43 | border-bottom-right-radius: 20px; 44 | } 45 | 46 | .borders { 47 | color: #333; 48 | background: #F6F6F6; 49 | } 50 | 51 | .tab1,.tab2 { 52 | background: #fff; 53 | width: 100%; 54 | border-top: 1rpx solid #F1F1F1; 55 | margin-top: 10px; 56 | padding-bottom: 20px; 57 | } 58 | 59 | .tab1 .ms { 60 | width: 90%; 61 | height: 50px; 62 | border-bottom: 1px #F4F4F4 solid; 63 | display: flex; 64 | padding: 3% 5%; 65 | overflow: hidden; 66 | } 67 | 68 | .tab1 .ms .img { 69 | flex: 1; 70 | } 71 | 72 | .tab1 .ms .img image { 73 | width: 40px; 74 | height: 40px; 75 | border-radius: 50%; 76 | margin-top: 5px; 77 | } 78 | 79 | .tab1 .ms .tx { 80 | flex: 9; 81 | padding-left: 10px; 82 | } 83 | 84 | .tab1 .ms .tx text { 85 | width: 100%; 86 | display: inline-block; 87 | padding-top: 4px; 88 | color: #333; 89 | } 90 | 91 | .tab1 .ms .tx label { 92 | width: 100%; 93 | display: inline-block; 94 | color: #999; 95 | } 96 | 97 | .tab1 .ms .zt { 98 | flex: 2; 99 | background: #FFF; 100 | color: #666; 101 | height: 22px; 102 | padding: 2px 0px; 103 | text-align: center; 104 | margin-top: 13px; 105 | border: 1px #F1F1F1 solid; 106 | border-radius: 50px; 107 | } 108 | 109 | .tab1 .content { 110 | width: 90%; 111 | border-bottom: 1px #F4F4F4 solid; 112 | padding: 3% 5%; 113 | } 114 | 115 | .contents { 116 | width: 100%; 117 | height: auto; 118 | display: block; 119 | padding-bottom: 3%; 120 | } 121 | 122 | .content_hf { 123 | width: 100%; 124 | height: 35px; 125 | display: block; 126 | position: relative; 127 | } 128 | 129 | .section { 130 | width: 98%; 131 | height: 35px; 132 | background: #F1F1F1; 133 | position: absolute; 134 | right: 0px; 135 | bottom: 0px; 136 | z-index: 100; 137 | padding-left: 2%; 138 | } 139 | 140 | .vBtn_ok { 141 | width: 60px; 142 | height: 35px; 143 | background: #FEA489; 144 | color: #fff; 145 | border-radius: 0; 146 | font-size: 14px; 147 | position: absolute; 148 | right: 0px; 149 | bottom: 0px; 150 | z-index: 999; 151 | } 152 | 153 | .vBtn_ok::after { 154 | border: none; 155 | } 156 | 157 | .hide { 158 | display: block; 159 | } 160 | 161 | .show { 162 | display: none; 163 | } 164 | 165 | .tab2 .ms { 166 | width: 90%; 167 | height: 50px; 168 | border-bottom: 1px #F4F4F4 solid; 169 | display: flex; 170 | padding: 3% 5%; 171 | overflow: hidden; 172 | } 173 | 174 | .tab2 .ms .img { 175 | flex: 1; 176 | } 177 | 178 | .tab2 .ms .img image { 179 | width: 40px; 180 | height: 40px; 181 | border-radius: 50%; 182 | margin-top: 5px; 183 | } 184 | 185 | .tab2 .ms .tx { 186 | flex: 9; 187 | padding-left: 10px; 188 | } 189 | 190 | .tab2 .ms .tx text { 191 | width: 100%; 192 | display: inline-block; 193 | padding-top: 4px; 194 | color: #333; 195 | } 196 | 197 | .tab2 .ms .tx label { 198 | width: 100%; 199 | display: inline-block; 200 | color: #999; 201 | } 202 | 203 | .tab2 .ms .zt { 204 | flex: 2; 205 | background: #FFF; 206 | color: #666; 207 | height: 22px; 208 | padding: 2px 0px; 209 | text-align: center; 210 | margin-top: 13px; 211 | border: 1px #F1F1F1 solid; 212 | border-radius: 50px; 213 | } 214 | 215 | .tab2 .content { 216 | width: 90%; 217 | border-bottom: 1px #F4F4F4 solid; 218 | padding: 3% 5%; 219 | } 220 | 221 | .noData { 222 | width: 100%; 223 | text-align: center; 224 | padding-top: 20%; 225 | color: #999; 226 | } -------------------------------------------------------------------------------- /api0351_user/pages/shop/shop.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 开店租凭申请协议 15 | 16 |
17 | 18 | 19 | 20 | 已售出㎡ 21 | 22 | 23 | 当前剩余开盘总面积㎡ 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 【提示】您可在总面积中划入一定数量的平米数,划入平米数越大店铺位置越靠前。 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 租赁方式:日租 56 | 租赁方式:月租 57 | 租赁方式:年租 58 | 59 | 60 | 每日租金:{{shoPay}}{{Currency}}/㎡ 61 | 每月租金:{{shoPay}}{{Currency}}/㎡ 62 | 每年租金:{{shoPay}}{{Currency}}/㎡ 63 | 64 | 审批后,您的产品就可进入自由贸易街展示啦 65 | 66 | 67 | 68 | 被拒理由:{{userBye.noliyou}} 69 | 70 | 71 | 审批通过时间:{{userBye.sptime}} 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 |
80 |
81 |
82 | -------------------------------------------------------------------------------- /api0351_user/resource/js/qiniuUploader.js: -------------------------------------------------------------------------------- 1 | !function() { 2 | var s = { 3 | qiniuRegion: "", 4 | qiniuImageURLPrefix: "", 5 | qiniuUploadToken: "", 6 | qiniuUploadTokenURL: "", 7 | qiniuUploadTokenFunction: null, 8 | qiniuShouldUseQiniuFileName: !1 9 | }; 10 | function r(e) { 11 | e.region ? s.qiniuRegion = e.region : console.error("qiniu uploader need your bucket region"), 12 | e.uptoken ? s.qiniuUploadToken = e.uptoken : e.uptokenURL ? s.qiniuUploadTokenURL = e.uptokenURL : e.uptokenFunc && (s.qiniuUploadTokenFunction = e.uptokenFunc), 13 | e.domain && (s.qiniuImageURLPrefix = e.domain), s.qiniuShouldUseQiniuFileName = e.shouldUseQiniuFileName; 14 | } 15 | function t(e, u, a, n, i, o) { 16 | if (null == s.qiniuUploadToken && 0 < s.qiniuUploadToken.length) console.error("qiniu UploadToken is null, please check the init config or networking"); else { 17 | var l = function(e) { 18 | var n = null; 19 | switch (e) { 20 | case "ECN": 21 | n = "https://up.qbox.me"; 22 | break; 23 | 24 | case "NCN": 25 | n = "https://up-z1.qbox.me"; 26 | break; 27 | 28 | case "SCN": 29 | n = "https://up-z2.qbox.me"; 30 | break; 31 | 32 | case "NA": 33 | n = "https://up-na0.qbox.me"; 34 | break; 35 | 36 | case "ASG": 37 | n = "https://up-as0.qbox.me"; 38 | break; 39 | 40 | default: 41 | console.error("please make the region is with one of [ECN, SCN, NCN, NA, ASG]"); 42 | } 43 | return n; 44 | }(s.qiniuRegion), r = e.split("//")[1]; 45 | n && n.key && (r = n.key); 46 | var t = { 47 | token: s.qiniuUploadToken 48 | }; 49 | s.qiniuShouldUseQiniuFileName || (t.key = r); 50 | var p = wx.uploadFile({ 51 | url: l, 52 | filePath: e, 53 | name: "file", 54 | formData: t, 55 | success: function(e) { 56 | var n = e.data; 57 | e.data.hasOwnProperty("type") && "Buffer" === e.data.type && (n = String.fromCharCode.apply(null, e.data.data)); 58 | try { 59 | var i = JSON.parse(n), o = s.qiniuImageURLPrefix + "/" + i.key; 60 | i.imageURL = o, console.log(i), u && u(i); 61 | } catch (e) { 62 | console.log("parse JSON failed, origin String is: " + n), a && a(e); 63 | } 64 | }, 65 | fail: function(e) { 66 | console.error(e), a && a(e); 67 | } 68 | }); 69 | p.onProgressUpdate(function(e) { 70 | i && i(e); 71 | }), o && o(function() { 72 | p.abort(); 73 | }); 74 | } 75 | } 76 | module.exports = { 77 | init: function(e) { 78 | s = { 79 | qiniuRegion: "", 80 | qiniuImageURLPrefix: "", 81 | qiniuUploadToken: "", 82 | qiniuUploadTokenURL: "", 83 | qiniuUploadTokenFunction: null, 84 | qiniuShouldUseQiniuFileName: !1 85 | }, r(e); 86 | }, 87 | upload: function(e, n, i, o, u, a) { 88 | if (null == e) return void console.error("qiniu uploader need filePath to upload"); 89 | o && r(o); 90 | if (s.qiniuUploadToken) t(e, n, i, o, u, a); else if (s.qiniuUploadTokenURL) l = function() { 91 | t(e, n, i, o, u, a); 92 | }, wx.request({ 93 | url: s.qiniuUploadTokenURL, 94 | success: function(e) { 95 | var n = e.data.uptoken; 96 | n && 0 < n.length ? (s.qiniuUploadToken = n, l && l()) : console.error("qiniuUploader cannot get your token, please check the uptokenURL or server"); 97 | }, 98 | fail: function(e) { 99 | console.error("qiniu UploadToken is null, please check the init config or networking: " + e); 100 | } 101 | }); else { 102 | if (!s.qiniuUploadTokenFunction) return void console.error("qiniu uploader need one of [uptoken, uptokenURL, uptokenFunc]"); 103 | if (s.qiniuUploadToken = s.qiniuUploadTokenFunction(), null == s.qiniuUploadToken && 0 < s.qiniuUploadToken.length) return void console.error("qiniu UploadTokenFunction result is null, please check the return value"); 104 | t(e, n, i, o, u, a); 105 | } 106 | var l; 107 | } 108 | }; 109 | }(); -------------------------------------------------------------------------------- /api0351_user/resource/wxParse/wxParse.wxss: -------------------------------------------------------------------------------- 1 | .wxParse { 2 | margin: 0 5px; 3 | font-family: Helvetica,sans-serif; 4 | font-size: 28rpx; 5 | color: #666; 6 | line-height: 1.8; 7 | } 8 | 9 | view { 10 | word-break: break-all; 11 | overflow: auto; 12 | } 13 | 14 | .wxParse-inline { 15 | display: inline; 16 | margin: 0; 17 | padding: 0; 18 | } 19 | 20 | .wxParse-div { 21 | margin: 0; 22 | padding: 0; 23 | } 24 | 25 | .wxParse-h1 { 26 | font-size: 2em; 27 | margin: .67em 0; 28 | } 29 | 30 | .wxParse-h2 { 31 | font-size: 1.5em; 32 | margin: .75em 0; 33 | } 34 | 35 | .wxParse-h3 { 36 | font-size: 1.17em; 37 | margin: .83em 0; 38 | } 39 | 40 | .wxParse-h4 { 41 | margin: 1.12em 0; 42 | } 43 | 44 | .wxParse-h5 { 45 | font-size: .83em; 46 | margin: 1.5em 0; 47 | } 48 | 49 | .wxParse-h6 { 50 | font-size: .75em; 51 | margin: 1.67em 0; 52 | } 53 | 54 | .wxParse-h1 { 55 | font-size: 18px; 56 | font-weight: 400; 57 | margin-bottom: .9em; 58 | } 59 | 60 | .wxParse-h2 { 61 | font-size: 16px; 62 | font-weight: 400; 63 | margin-bottom: .34em; 64 | } 65 | 66 | .wxParse-h3 { 67 | font-weight: 400; 68 | font-size: 15px; 69 | margin-bottom: .34em; 70 | } 71 | 72 | .wxParse-h4 { 73 | font-weight: 400; 74 | font-size: 14px; 75 | margin-bottom: .24em; 76 | } 77 | 78 | .wxParse-h5 { 79 | font-weight: 400; 80 | font-size: 13px; 81 | margin-bottom: .14em; 82 | } 83 | 84 | .wxParse-h6 { 85 | font-weight: 400; 86 | font-size: 12px; 87 | margin-bottom: .04em; 88 | } 89 | 90 | .wxParse-h1,.wxParse-h2,.wxParse-h3,.wxParse-h4,.wxParse-h5,.wxParse-h6,.wxParse-b,.wxParse-strong { 91 | font-weight: bolder; 92 | } 93 | 94 | .wxParse-i,.wxParse-cite,.wxParse-em,.wxParse-var,.wxParse-address { 95 | font-style: italic; 96 | } 97 | 98 | .wxParse-pre,.wxParse-tt,.wxParse-code,.wxParse-kbd,.wxParse-samp { 99 | font-family: monospace; 100 | } 101 | 102 | .wxParse-pre { 103 | white-space: pre; 104 | } 105 | 106 | .wxParse-big { 107 | font-size: 1.17em; 108 | } 109 | 110 | .wxParse-small,.wxParse-sub,.wxParse-sup { 111 | font-size: .83em; 112 | } 113 | 114 | .wxParse-sub { 115 | vertical-align: sub; 116 | } 117 | 118 | .wxParse-sup { 119 | vertical-align: super; 120 | } 121 | 122 | .wxParse-s,.wxParse-strike,.wxParse-del { 123 | text-decoration: line-through; 124 | } 125 | 126 | .wxParse-strong,.wxParse-s { 127 | display: inline; 128 | } 129 | 130 | .wxParse-a { 131 | color: deepskyblue; 132 | word-break: break-all; 133 | overflow: auto; 134 | } 135 | 136 | .wxParse-video { 137 | text-align: center; 138 | margin: 10px 0; 139 | } 140 | 141 | .wxParse-video-video { 142 | width: 100%; 143 | } 144 | 145 | .wxParse-img { 146 | overflow: hidden; 147 | } 148 | 149 | .wxParse-blockquote { 150 | margin: 0; 151 | padding: 10px 0 10px 5px; 152 | font-family: Courier,Calibri,"宋体"; 153 | background: #f5f5f5; 154 | border-left: 3px solid #dbdbdb; 155 | } 156 | 157 | .wxParse-code,.wxParse-wxxxcode-style { 158 | display: inline; 159 | background: #f5f5f5; 160 | } 161 | 162 | .wxParse-ul { 163 | margin: 20rpx 10rpx; 164 | } 165 | 166 | .wxParse-li,.wxParse-li-inner { 167 | display: flex; 168 | align-items: baseline; 169 | margin: 10rpx 0; 170 | } 171 | 172 | .wxParse-li-text { 173 | align-items: center; 174 | line-height: 20px; 175 | } 176 | 177 | .wxParse-li-circle { 178 | display: inline-flex; 179 | width: 5px; 180 | height: 5px; 181 | background-color: #333; 182 | margin-right: 5px; 183 | } 184 | 185 | .wxParse-li-square { 186 | display: inline-flex; 187 | width: 10rpx; 188 | height: 10rpx; 189 | background-color: #333; 190 | margin-right: 5px; 191 | } 192 | 193 | .wxParse-li-ring { 194 | display: inline-flex; 195 | width: 10rpx; 196 | height: 10rpx; 197 | border: 2rpx solid #333; 198 | border-radius: 50%; 199 | background-color: #fff; 200 | margin-right: 5px; 201 | } 202 | 203 | .wxParse-u { 204 | text-decoration: underline; 205 | } 206 | 207 | .wxParse-hide { 208 | display: none; 209 | } 210 | 211 | .WxEmojiView { 212 | align-items: center; 213 | } 214 | 215 | .wxEmoji { 216 | width: 16px; 217 | height: 16px; 218 | } 219 | 220 | .wxParse-tr { 221 | display: flex; 222 | border-right: 1px solid #e0e0e0; 223 | border-bottom: 1px solid #e0e0e0; 224 | border-top: 1px solid #e0e0e0; 225 | } 226 | 227 | .wxParse-th,.wxParse-td { 228 | flex: 1; 229 | padding: 5px; 230 | font-size: 28rpx; 231 | border-left: 1px solid #e0e0e0; 232 | word-break: break-all; 233 | } 234 | 235 | .wxParse-td:last { 236 | border-top: 1px solid #e0e0e0; 237 | } 238 | 239 | .wxParse-th { 240 | background: #f0f0f0; 241 | border-top: 1px solid #e0e0e0; 242 | } 243 | 244 | .wxParse-del { 245 | display: inline; 246 | } 247 | 248 | .wxParse-figure { 249 | overflow: hidden; 250 | } -------------------------------------------------------------------------------- /we7/pages/selectarea/selectarea.js: -------------------------------------------------------------------------------- 1 | var _util = require("../utils/util"), API = "http://japi.zto.cn/zto/api_utf8/baseArea?msg_type=GET_AREA&data=", selectArea = { 2 | addDot: function(e) { 3 | e instanceof Array && e.map(function(e) { 4 | return 4 < e.fullName.length ? e.fullNameDot = e.fullName.slice(0, 4) + "..." : e.fullNameDot = e.fullName, 5 | e; 6 | }); 7 | }, 8 | load: function(a) { 9 | a.setData({ 10 | isShow: !1 11 | }), (0, _util.Promise)(wx.request, { 12 | url: API + "0", 13 | method: "GET" 14 | }).then(function(e) { 15 | var t = e.data.result[0]; 16 | return selectArea.addDot(e.data.result), a.setData({ 17 | proviceData: e.data.result, 18 | "selectedProvince.index": 0, 19 | "selectedProvince.code": t.code, 20 | "selectedProvince.fullName": t.fullName 21 | }), (0, _util.Promise)(wx.request, { 22 | url: API + t.code, 23 | method: "GET" 24 | }); 25 | }).then(function(e) { 26 | var t = e.data.result[0]; 27 | return selectArea.addDot(e.data.result), a.setData({ 28 | cityData: e.data.result, 29 | "selectedCity.index": 0, 30 | "selectedCity.code": t.code, 31 | "selectedCity.fullName": t.fullName 32 | }), (0, _util.Promise)(wx.request, { 33 | url: API + t.code, 34 | method: "GET" 35 | }); 36 | }).then(function(e) { 37 | var t = e.data.result[0]; 38 | selectArea.addDot(e.data.result), a.setData({ 39 | districtData: e.data.result, 40 | "selectedDistrict.index": 0, 41 | "selectedDistrict.code": t.code, 42 | "selectedDistrict.fullName": t.fullName 43 | }); 44 | }).catch(function(e) { 45 | console.log(e); 46 | }); 47 | }, 48 | tapProvince: function(t, a) { 49 | var l = t.currentTarget.dataset; 50 | (0, _util.Promise)(wx.request, { 51 | url: API + l.code, 52 | method: "GET" 53 | }).then(function(e) { 54 | return selectArea.addDot(e.data.result), a.setData({ 55 | cityData: e.data.result, 56 | "selectedProvince.code": l.code, 57 | "selectedProvince.fullName": l.fullName, 58 | "selectedCity.code": e.data.result[0].code, 59 | "selectedCity.fullName": e.data.result[0].fullName 60 | }), (0, _util.Promise)(wx.request, { 61 | url: API + e.data.result[0].code, 62 | method: "GET" 63 | }); 64 | }).then(function(e) { 65 | selectArea.addDot(e.data.result), a.setData({ 66 | districtData: e.data.result, 67 | "selectedProvince.index": t.currentTarget.dataset.index, 68 | "selectedCity.index": 0, 69 | "selectedDistrict.index": 0, 70 | "selectedDistrict.code": e.data.result[0].code, 71 | "selectedDistrict.fullName": e.data.result[0].fullName 72 | }); 73 | }).catch(function(e) { 74 | console.log(e); 75 | }); 76 | }, 77 | tapCity: function(t, a) { 78 | var l = t.currentTarget.dataset; 79 | (0, _util.Promise)(wx.request, { 80 | url: API + l.code, 81 | method: "GET" 82 | }).then(function(e) { 83 | selectArea.addDot(e.data.result), a.setData({ 84 | districtData: e.data.result, 85 | "selectedCity.index": t.currentTarget.dataset.index, 86 | "selectedCity.code": l.code, 87 | "selectedCity.fullName": l.fullName, 88 | "selectedDistrict.index": 0, 89 | "selectedDistrict.code": e.data.result[0].code, 90 | "selectedDistrict.fullName": e.data.result[0].fullName 91 | }); 92 | }).catch(function(e) { 93 | console.log(e); 94 | }); 95 | }, 96 | tapDistrict: function(e, t) { 97 | var a = e.currentTarget.dataset; 98 | t.setData({ 99 | "selectedDistrict.index": e.currentTarget.dataset.index, 100 | "selectedDistrict.code": a.code, 101 | "selectedDistrict.fullName": a.fullName 102 | }); 103 | }, 104 | confirm: function(e, t) { 105 | t.setData({ 106 | address: t.data.selectedProvince.fullName + " " + t.data.selectedCity.fullName + " " + t.data.selectedDistrict.fullName, 107 | isShow: !1 108 | }); 109 | }, 110 | cancel: function(e) { 111 | e.setData({ 112 | isShow: !1 113 | }); 114 | }, 115 | choosearea: function(e) { 116 | e.setData({ 117 | isShow: !0 118 | }); 119 | } 120 | }; 121 | 122 | module.exports = { 123 | SA: selectArea 124 | }; --------------------------------------------------------------------------------