2023/5/23调试医院列表

This commit is contained in:
2023-05-28 12:17:26 +08:00
parent 4e567309fd
commit b0b0bd656a
21 changed files with 877 additions and 1030 deletions

View File

@@ -1,63 +1,66 @@
// index.js
// 获取应用实例
const app = getApp()
// pages/tuiguang/extensionInfor.js
Page({
data: {
sku_pic:'/pages/image/tuiguang_bj.png',
beijing:'/pages/image/tuiguang_i.png',
motto: 'Hello World',
title: '你好,\n欢迎来到蜜芽商户端',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo'),
canIUseGetUserProfile: false,
canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName') ,// 如需尝试获取用户信息可改为false
regFlag:false,
input_phone: '13511112222',
// input_phone: '18133922183',
input_password: '123456',
name:'',
phone:'',
hangye:''
},
back(){
wx.navigateBack()
},
/**
* 推广用户的二维码和赏金数据
* 页面的初始数据
*/
onLoad: function (options) {
this.applyExtension()
data: {
},
applyExtension: function () {
var that = this;
wx.request({
url: app.buildUrl("/app/Goddesswechat/getExtensionInfor"),
header: app.getRequestHeader(),
method:'POST',
data: {
version_number: app.globalData.version_number,
uid:wx.getStorageSync('uid'),
token:wx.getStorageSync('token'),
},
success: function (res) {
var resp = res.data;
console.log(resp+"=================dddddddddddddddddddddddddddddddddddddddddddd")
if(resp.erro==0){
that.setData({
infro:resp.infro
})
}
}
});
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
// 事件处理函数
bindViewTap() {
wx.navigateTo({
url: '../logs/logs'
})
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
})
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@@ -1,8 +0,0 @@
{
"usingComponents": {
"van-overlay": "/miniprogram/miniprogram_npm/@vant/weapp/nav-bar/index"
},
"navigationBarTitleText": "推广"
}

View File

@@ -1,55 +1,2 @@
<view style="padding-top: 200rpx; width: 100%;height: 100%; background: url({{sku_pic}}) no-repeat center / cover">
<view style="width: 100%; height: 280rpx;">
<image style="width: 100%; height: 280rpx;"></image>
</view>
<view class="containerrr">
<image style="width: 669rpx;height: 400rpx;margin-left: 41rpx;" src='/pages/image/tuiguang_i.png'></image>
<image class="imagee_left" style="margin-left: 18rpx;z-index: 3;display: flex;margin-top: -60rpx;" src='/pages/image/image_left.png'></image>
<image class="imagee_right" style="margin-left: 490rpx;z-index: 3;display: flex;margin-top: -112rpx;" src='/pages/image/image_right.png'></image>
</view>
<view class="goods-list">
<view style="display: flex;flex-direction: row;justify-content: center;padding-top: 50rpx;">
<image style="width: 303rpx;height: 303rpx; z-index: 1;" src="{{infro.qrcode_img}}"></image>
</view>
<view style="display: flex;display: flex;flex-direction: row;justify-content: center;margin-top: 20rpx;">
<view style="color: #D1D1D1;font-size: 28rpx;z-index: 1;" >将二维码分享给好友赚钱</view>
</view>
</view>
<view class="goods-listtwo" style="margin-top: 50rpx;">
<view style="display: flex;display: flex;flex-direction: row;justify-content: center;margin-top: 20rpx;padding-top: 20rpx;">
<image style="width: 39rpx;height: 26rpx;margin-top: 10rpx;" src="/pages/image/caitiao.png"></image>
<view style="color: #333333;font-size: 32rpx;font-weight: bold;margin-left: 72rpx;" >数据</view>
<image style="width: 39rpx;height: 26rpx;margin-left: 72rpx;margin-top: 10rpx;" src="/pages/image/caitiao.png"></image>
</view>
<view style="display:flex;background-color: #FFFFFF;justify-content: center;margin-top: 20rpx; border-radius: 20rpx;">
<view class="home-item-box1">
<view>
<view class="home-item-tv3" >{{infro.day_money}}</view>
<view class="home-item-tv4">今日赏金(元)</view>
</view>
</view>
<view class="home-item-box1" style="border: 0.5px solid #DBDBDB;width: 1rpx;margin-top: 20rpx;height: 80rpx;background-color: #DBDBDB;">
</view>
<view class="home-item-box2">
<view>
<view class="home-item-tv3" >{{infro.money_reward}}</view>
<view class="home-item-tv4">累计赏金(元)</view>
</view>
</view>
</view>
</view>
</view>
<!--pages/tuiguang/extensionInfor.wxml-->
<text>pages/tuiguang/extensionInfor.wxml</text>

View File

@@ -1,204 +0,0 @@
/**index.wxss**/
page {
height: 100%;
}
.goods-listtwo{
width:631rpx;
height: 200rpx;
background-color: #fff;
border-radius: 15px;
margin-left: 62rpx;
}
.input-content{
font-size: 28rpx;
color: #000;
padding: 10rpx 0 0rpx 0rpx;
}
.peisong-way{
width: 100%;
background-color: #fff;
}
.peisong-way .row-box{
margin-left: 80rpx;
margin-inline-end: 80rpx;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
border-bottom: 1rpx solid #eee;
}
.copyright {
width: 100%;
font-size: 28rpx;
color: #B2B2B2;
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 30rpx 0 50rpx 0rpx;
text-align: center;
}
.copyrightt {
width: 100%;
font-size: 28rpx;
color: #999;
position: fixed;
left: 0;
right: 0;
padding: 30rpx 0 25rpx 0rpx;
text-align: center;
width: 485rpx;
background: rgb(240, 102, 102);
display: flex;
flex-direction: row;
justify-content: center;
}
.zc-text{
color: #999;
font-size: 28rpx;
margin-right: 80rpx;
padding: 30rpx 0 25rpx 0rpx;
}
.wj-text{
color: #999;
margin-left: 80rpx;
font-size: 28rpx;
}
.confirm-btn {
font-size: 10pt;
line-height: 85rpx;
width: 485rpx;
height: 85rpx;
background: rgb(240, 102, 102);
color: #fff;
text-align: center;
border-radius: 100rpx;
}
.bd {
position: relative;
flex: 1;
display: flex;
flex-direction: column;
align-items: stretch;
animation: bd-rise 2s cubic-bezier(0.23,1,0.32,1) .75s forwards;
opacity: 0;
}
.sdsdf{
display: flex;
width: 0rpx;
height: 56rpx;
background-color: white;
}
.yaotext{
font-size: 34rpx;
color: #3E3E3E;
font-weight: bold;
display: flex;
position: relative;
justify-content: center;
padding-top: 50rpx;
}
.row-wrap{
width: 303rpx;
height: 303rpx;
display: flex;
font-size: 28rpx;
display: flex;
position: relative;
justify-content: center;
padding-top: 50rpx;
}
.row-wrap .label{
width: 200rpx;
color: #000;
margin-left: 33rpx;
}
.row-wrap .label-right{
width: 100%;
height: 88rpx;
line-height: 88rpx;
text-align: right;
}
.row-wrap .label-right input{
height: 100%;
font-size: 28rpx;
padding-right: 30rpx;
}
.home-item-box1{
display:flex;
width: 340rpx;
height: 133rpx;
border-radius: 20rpx;
display:flex;background-color: white;margin-right: 10rpx;display: flex;flex-direction: row;justify-content: center;
}
.home-item-box2{
display:flex;
width: 340rpx;
height: 133rpx;
border-radius: 20rpx;
display:flex;background-color: white;margin-left: 10rpx;display: flex;flex-direction: row;justify-content: center;
}
.home-item-tv3{
display: flex;flex-direction: row;justify-content: center;color: #FF5042;font-size: 44rpx;margin-top: 21rpx;
}
.home-item-tv4{
display: flex;flex-direction: row;justify-content: center;font-size: 24rpx;color: #404040;
}
.containerrr{
width:100%;
height: 400rpx;
border-radius: 15px;
position: relative;
}
.imagee_left{
width:170rpx;
height: 90rpx;
}
.imagee_right{
width:250rpx;
height: 133rpx;
}
.goods-list{
width:631rpx;
height: 430rpx;
background-color: #fff;
border-radius: 15px;
margin-left: 60rpx;
margin-top: -400rpx;
}

View File

@@ -1,60 +0,0 @@
// index.js
// 获取应用实例
const app = getApp()
Page({
data: {
motto: 'Hello World',
title: '你好,\n欢迎来到蜜芽商户端',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo'),
canIUseGetUserProfile: false,
canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName') ,// 如需尝试获取用户信息可改为false
regFlag:false,
input_phone: '13511112222',
// input_phone: '18133922183',
input_password: '123456',
name:'',
phone:'',
hangye:''
},
back(){
wx.navigateBack()
},
goToIndex: function () {
var that = this;
wx.request({
url: app.buildUrl("/app/Goddesswechat/applyExtension"),
header: app.getRequestHeader(),
method:'POST',
data: {
version_number: app.globalData.version_number,
uid:wx.getStorageSync('uid'),
token:wx.getStorageSync('token'),
name:that.data.name,
phone:that.data.phone,
industry:that.data.hangye
},
success: function (res) {
var resp = res.data;
console.log(resp+"=================dddddddddddddddddddddddddddddddddddddddddddd")
if(resp.erro==0){
wx.showToast({ title: resp.msg, icon: 'none' });
that.setData({
});
}
}
});
},
// 事件处理函数
bindViewTap() {
wx.navigateTo({
url: '../logs/logs'
})
},
})

View File

@@ -1,8 +0,0 @@
{
"usingComponents": {
"van-overlay": "/miniprogram/miniprogram_npm/@vant/weapp/nav-bar/index"
},
"navigationBarTitleText": "推广"
}

View File

@@ -1,50 +0,0 @@
<view>
<view style="width: 100%; height: 280rpx;">
<image style="width: 100%; height: 280rpx;" src="/pages/image/tuiguang_bg.jpg"></image>
</view>
<view class="goods-list">
<view class="yaotext">请填写相关信息</view>
<view class="row-wrap">
<view class="label">姓名</view>
<view class="label-right">
<input model:value="{{name}}" class="input" type="text" placeholder="请输入您的姓名"/>
</view>
</view>
<view class="row-wrap">
<view class="label">电话</view>
<view class="label-right">
<input model:value="{{phone}}" class="input" type="text" placeholder="请输入您的电话"/>
</view>
</view>
<view class="row-wrap">
<view class="label">行业</view>
<view class="label-right">
<input model:value="{{hangye}}" class="input" type="text" placeholder="请输入行业"/>
</view>
</view>
<view style="display: flex;display: flex;flex-direction: row;justify-content: center;margin-top: 60rpx;">
<view class="confirm-btn" bindtap='goToIndex'>立即申请</view>
<text class="copyright">提交审核后,工作人员将在1-3个工作日内审核</text>
</view>
</view>
</view>

View File

@@ -1,176 +0,0 @@
/**index.wxss**/
page {
background-color: #FF4C00;
height: 100%;
}
.titletext {
width:100%;
margin-top: 100rpx;
font-size: 45rpx;
}
.title-text{
padding: 30rpx 0 25rpx 80rpx;
font-size: 45rpx;
font-weight:bold
}
.goods-list{
width:701rpx;
height: 880rpx;
background-color: #fff;
border-radius: 15px;
margin-left: 25rpx;
}
.goods-list .list-title{
font-size: 28rpx;
color: #000;
padding: 30rpx 0 0rpx 80rpx;
}
.goods-list .mima{
font-size: 28rpx;
color: #000;
padding: 0rpx 0 0rpx 80rpx;
}
.goods-list .erro{
font-size: 28rpx;
color: rgb(230, 74, 74);
padding: 10rpx 0 10rpx 80rpx;
}
.input-content{
font-size: 28rpx;
color: #000;
padding: 10rpx 0 0rpx 0rpx;
}
.peisong-way{
width: 100%;
background-color: #fff;
}
.peisong-way .row-box{
margin-left: 80rpx;
margin-inline-end: 80rpx;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
border-bottom: 1rpx solid #eee;
}
.copyright {
width: 100%;
font-size: 28rpx;
color: #B2B2B2;
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 30rpx 0 50rpx 0rpx;
text-align: center;
}
.copyrightt {
width: 100%;
font-size: 28rpx;
color: #999;
position: fixed;
left: 0;
right: 0;
padding: 30rpx 0 25rpx 0rpx;
text-align: center;
width: 485rpx;
background: rgb(240, 102, 102);
display: flex;
flex-direction: row;
justify-content: center;
}
.zc-text{
color: #999;
font-size: 28rpx;
margin-right: 80rpx;
padding: 30rpx 0 25rpx 0rpx;
}
.wj-text{
color: #999;
margin-left: 80rpx;
font-size: 28rpx;
}
.confirm-btn {
font-size: 10pt;
line-height: 85rpx;
width: 485rpx;
height: 85rpx;
background: rgb(240, 102, 102);
color: #fff;
text-align: center;
border-radius: 100rpx;
}
.bd {
position: relative;
flex: 1;
display: flex;
flex-direction: column;
align-items: stretch;
animation: bd-rise 2s cubic-bezier(0.23,1,0.32,1) .75s forwards;
opacity: 0;
}
.sdsdf{
display: flex;
width: 0rpx;
height: 56rpx;
background-color: white;
}
.yaotext{
font-size: 34rpx;
color: #3E3E3E;
font-weight: bold;
display: flex;
position: relative;
justify-content: center;
padding-top: 50rpx;
}
.row-wrap{
width: 100%;
height: 100rpx;
line-height: 88rpx;
margin-left: 0rpx;
border-bottom: 1rpx solid #eee;
display: flex;
font-size: 28rpx;
/*justify-content: space-between;*/
}
.row-wrap .label{
width: 200rpx;
color: #000;
margin-left: 33rpx;
}
.row-wrap .label-right{
width: 100%;
height: 88rpx;
line-height: 88rpx;
text-align: right;
}
.row-wrap .label-right input{
height: 100%;
font-size: 28rpx;
padding-right: 30rpx;
}