diff --git a/app.js b/app.js
index 3814e19..547f861 100644
--- a/app.js
+++ b/app.js
@@ -22,7 +22,7 @@ App({
unique_key: "wechatxcx"
}).then(res => {
let data = JSON.parse(res.data);
- data.isTest = data.isTest5?true:false;
+ data.isTest = data.isTest7?true:false;
this.globalData.configJson = data
})
diff --git a/app.json b/app.json
index 6b58555..e22e3d3 100644
--- a/app.json
+++ b/app.json
@@ -73,6 +73,9 @@
"pages/user/nickname/index",
"pages/user/likes/index",
"pages/user/email/index",
+ "pages/supplier/index",
+ "pages/supplier/apply/index",
+ "pages/supplier/good/index",
"pages/list/mayday/index",
"pages/list/feiyi/index",
"pages/list/haoxing/index",
diff --git a/app.wxss b/app.wxss
index 4f55e40..48fc08d 100644
--- a/app.wxss
+++ b/app.wxss
@@ -127,4 +127,8 @@ page{
color: #fff;
font-size: 36rpx;
z-index: 1;
+}
+.com-flex {
+ display: flex;
+ align-items: center;
}
\ No newline at end of file
diff --git a/pages/list/museum/index.js b/pages/list/museum/index.js
index bbb98e8..80def5a 100644
--- a/pages/list/museum/index.js
+++ b/pages/list/museum/index.js
@@ -20,13 +20,7 @@ Page({
},
gotoDetail:function(e){
let item = e.currentTarget.dataset.item;
- if(item.title.indexOf('博物馆西馆')!=-1){
- wx.navigateToMiniProgram({
- appId: 'wxfef80ee1ab7e58a2',
- path:'pages/inners/main'
- })
- return;
- }
+
util.gotoDetail(item);
},
search:function(e){
diff --git a/pages/order/components/date/index.js b/pages/order/components/date/index.js
index 4a46db2..7f8b37f 100644
--- a/pages/order/components/date/index.js
+++ b/pages/order/components/date/index.js
@@ -111,7 +111,6 @@ Component({
this.setData({
moreFlag: index != -1
})
- console.log(res)
})
}
})
diff --git a/pages/order/components/date/index.wxml b/pages/order/components/date/index.wxml
index 924cc7a..85a2a7a 100644
--- a/pages/order/components/date/index.wxml
+++ b/pages/order/components/date/index.wxml
@@ -9,7 +9,7 @@
{{item.tipText?item.tipText:'售罄'}}
-
+
更多
diff --git a/pages/pbService/feiyi/info/index.js b/pages/pbService/feiyi/info/index.js
index 0d216bd..3cecf29 100644
--- a/pages/pbService/feiyi/info/index.js
+++ b/pages/pbService/feiyi/info/index.js
@@ -25,10 +25,8 @@ Page({
commonApi._post("pbservice/Feiyi/getDetail",{
id:id
}).then(res=>{
- let htmls = res.data.content?res.data.content.split('
'):[]
this.setData({
- info:res.data,
- htmls:htmls
+ info:res.data
})
})
},
diff --git a/pages/pbService/feiyi/info/index.wxml b/pages/pbService/feiyi/info/index.wxml
index 1fcec62..49681ad 100644
--- a/pages/pbService/feiyi/info/index.wxml
+++ b/pages/pbService/feiyi/info/index.wxml
@@ -1,34 +1,18 @@
-
-
+
+ 地址:{{info.protect_office || "暂无"}}
- -->
-
-
-
- {{info.title}}
-
-
- 地址:{{info.protect_office}}
-
-
-
-
-
-
-
- {{info.title}}
-
-
-
-
-
-
-
+
+ 非遗介绍:
+
+
+
+
\ No newline at end of file
diff --git a/pages/pbService/feiyi/info/index.wxss b/pages/pbService/feiyi/info/index.wxss
index 81024fb..f53c9a0 100644
--- a/pages/pbService/feiyi/info/index.wxss
+++ b/pages/pbService/feiyi/info/index.wxss
@@ -1,95 +1,78 @@
/* pages/pbService/museum/info/index.wxss */
-/* .info {
- margin: 30rpx;
- color: #333;
- font-size: 26rpx;
+.main-img {
+ display: block;
+ width: 100%;
+
}
-.title {
- font-size: 30rpx;
- margin-bottom: 22rpx;
-} */
-page {
+.subtitle {
+ display: flex;
+ align-items: center;
+ color: #333;
font-size: 28rpx;
+ height: 70rpx;
}
-.bg {
- background: url(https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/infobg.png);
- background-size: 100% 100%;
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
+.subtitle image {
+ display: block;
+ width: 30rpx;
+ margin-right: 18rpx;
+ flex-shrink: 0;
}
-.title {
- display: flex;
- align-items: flex-end;
- height: 190rpx;
+.top-info {
+ position: relative;
+ z-index: 1;
+ margin-top: -20rpx;
+ border-radius: 20rpx 20rpx 0 0;
+ background: white;
+ padding: 30rpx;
+}
+.top-info .title {
color: #0B898E;
font-size: 48rpx;
font-weight: bold;
- margin-left: 40rpx;
- margin-bottom: 20rpx;
+ margin-bottom: 40rpx;
}
-.infoline1 {
- display: block;
- width: 720rpx;
+.logo {
position: absolute;
- left: 0;
- top: 190rpx;
+ right: 20rpx;
+ bottom: 19rpx;
+ width: 204rpx;
+ display: block;
}
-.page {
- width: 100%;
- height: 100%;
+.content {
+ position: relative;
+ background: #0B898E;
+ padding: 30rpx;
+ padding-bottom: 50rpx;
}
-.address {
- display: flex;
- align-items: center;
- font-size: 28rpx;
- color: #333333;
- padding: 18rpx 0;
+.content .tip {
+ color: #fff;
+ font-size: 32rpx;
+ font-weight: bold;
+ line-height: 80rpx;
}
-.address image {
+.content .detail {
+ padding: 20rpx;
+ border-radius: 10rpx;
+ background: white;
display: block;
- flex-shrink: 0;
- margin-left: 38rpx;
- width: 30rpx;
- height: 30rpx;
- margin-right: 16rpx;
+ margin-top: 20rpx;
}
-.infoline3,.infoline2,.infoarrow {
+.titleimg {
position: absolute;
- width: 250rpx;
- bottom: 47rpx;
+ left: 0;
display: block;
+ width: 100%;
+ top: 20rpx;
}
-.infoline3 {
- right: 0;
-}
-.infoline2 {
+.bottomimg {
+ position: absolute;
left: 0;
-}
-.infoarrow {
- width: 60rpx;
- bottom: 26rpx;
- left: 50%;
- margin-left: -30rpx;
-
-}
-.infoarrow.ani {
- -webkit-animation: bounce-down 1.6s linear infinite;animation: bounce-down 1.6s linear infinite;
-}
-.detail {
+ bottom: 0;
display: block;
- margin: 20rpx 30rpx;
- font-size: 30rpx;
-}
-@keyframes bounce-down {
- 25% {transform: translateY(-10rpx);opacity:0.3;}
- 50%{transform: translateY(0);opacity:1;}
- 75% {transform: translateY(10rpx);opacity:1;}
- 100% {transform: translateY(0);opacity:1;}
+ width: 100%;
}
-.title2.title{
- font-size: 36rpx;
- height: 126rpx;
- margin-bottom: 0;
+.mypage {
+ background: #0B898E;
+ min-height: 100vh;
+ position: relative;
}
\ No newline at end of file
diff --git a/pages/pbService/wwcx/info/index.wxml b/pages/pbService/wwcx/info/index.wxml
index 2070dd0..5cb2e54 100644
--- a/pages/pbService/wwcx/info/index.wxml
+++ b/pages/pbService/wwcx/info/index.wxml
@@ -1,41 +1,18 @@
-
-
-
- {{info.name}}
- 藏于:{{info.collection_name}}
- 等级:{{info.level_name}}
- 历史年代:{{info.age}}
-
- 文物介绍
- {{info.introduction}}
+
+
+
+
+ {{info.name}}
+ 年代:{{info.age || "暂无"}}
+
+ 地址:{{info.collection_name || "暂无"}}
-
-
\ No newline at end of file
+
+ 文物介绍:
+ {{info.introduction}}
+
+
+
+
\ No newline at end of file
diff --git a/pages/pbService/wwcx/info/index.wxss b/pages/pbService/wwcx/info/index.wxss
index 3f15aa5..3130835 100644
--- a/pages/pbService/wwcx/info/index.wxss
+++ b/pages/pbService/wwcx/info/index.wxss
@@ -4,99 +4,74 @@
width: 100%;
}
-.content {
- margin: 30rpx;
+.subtitle {
+ display: flex;
+ align-items: center;
color: #333;
- font-size: 30rpx;
+ font-size: 28rpx;
+ height: 70rpx;
}
-.subtitle {
- margin-bottom: 10rpx;
- font-size: 26rpx;
-
+.subtitle image {
+ display: block;
+ width: 30rpx;
+ margin-right: 18rpx;
+ flex-shrink: 0;
}
-.detail {
- margin-top: 40rpx;
- font-size: 26rpx;
+.top-info {
+ position: relative;
+ z-index: 1;
+ margin-top: -20rpx;
+ border-radius: 20rpx 20rpx 0 0;
+ background: white;
+ padding: 30rpx;
}
-/* .bg {
- background: url(https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/info/infobg.png);
- background-size: 100% 100%;
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
-}
-.title {
- display: flex;
- align-items: flex-end;
- height: 190rpx;
+.top-info .title {
color: #0B898E;
font-size: 48rpx;
font-weight: bold;
- margin-left: 40rpx;
- margin-bottom: 20rpx;
+ margin-bottom: 40rpx;
}
-.infoline1 {
- display: block;
- width: 720rpx;
+.logo {
position: absolute;
- left: 0;
- top: 190rpx;
-}
-.page {
- width: 100%;
- height: 100%;
+ right: 49rpx;
+ bottom: 19rpx;
+ width: 204rpx;
+ display: block;
}
-.address {
- display: flex;
- align-items: center;
- font-size: 28rpx;
- color: #333333;
- padding: 18rpx 0;
+.content {
+ position: relative;
+ background: #0B898E;
+ padding: 30rpx;
+ padding-bottom: 50rpx;
+}
+.content .tip {
+ color: #fff;
+ font-size: 32rpx;
+ font-weight: bold;
+ line-height: 80rpx;
}
-.address image {
- display: block;
- flex-shrink: 0;
- margin-left: 38rpx;
- width: 30rpx;
- height: 30rpx;
- margin-right: 16rpx;
+.content .detail {
+ padding: 20rpx;
+ border-radius: 10rpx;
+ background: white;
+ margin-top: 20rpx;
}
-.infoline3,.infoline2,.infoarrow {
+.titleimg {
position: absolute;
- width: 250rpx;
- bottom: 47rpx;
+ left: 0;
display: block;
+ width: 100%;
+ top: 20rpx;
}
-.infoline3 {
- right: 0;
-}
-.infoline2 {
+.bottomimg {
+ position: absolute;
left: 0;
-}
-.infoarrow {
- width: 60rpx;
- bottom: 26rpx;
- left: 50%;
- margin-left: -30rpx;
-
-}
-.infoarrow.ani {
- -webkit-animation: bounce-down 1.6s linear infinite;animation: bounce-down 1.6s linear infinite;
-}
-.detail {
+ bottom: 0;
display: block;
- margin: 20rpx 30rpx;
- font-size: 30rpx;
-}
-@keyframes bounce-down {
- 25% {transform: translateY(-10rpx);opacity:0.3;}
- 50%{transform: translateY(0);opacity:1;}
- 75% {transform: translateY(10rpx);opacity:1;}
- 100% {transform: translateY(0);opacity:1;}
+ width: 100%;
}
-.title2.title{
- font-size: 36rpx;
- height: 126rpx;
- margin-bottom: 0;
-} */
\ No newline at end of file
+.mypage {
+ background: #0B898E;
+ min-height: 100vh;
+ position: relative;
+}
\ No newline at end of file
diff --git a/pages/supplier/apply/index.js b/pages/supplier/apply/index.js
new file mode 100644
index 0000000..d8606fe
--- /dev/null
+++ b/pages/supplier/apply/index.js
@@ -0,0 +1,269 @@
+import https from "../../../utils/https";
+// pages/supplier/apply/index.js
+import util from "../../../utils/util"
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ info:{
+ supplier_name:"",
+ manager_name:"",
+ banner_img:"",
+ licence_img:"",
+ business_license:"",
+ address:"",
+ email:"",
+ manager_tel:"",
+ phone:""
+ },
+ error:{
+ manager_tel:"",
+ phone:"",
+ email:""
+ },
+ submitFlag:false,
+ oldInfo:null
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+ let info = this.data.info;
+ https.user_post("supplierapply/get_supplier_apply",{}).then(res=>{
+ if(res.data){
+ for(let i in info){
+ info[i] = res.data[i];
+ }
+ this.setData({
+ info:info,
+ oldInfo:res.data,
+ submitFlag:true
+ })
+ }
+ })
+ },
+ changeInfo(e){
+ let info = this.data.info,name = e.currentTarget.dataset.name;
+ info[name] = e.detail.value
+ this.setData({
+ info:info
+ })
+ let flag = true;
+ for(let i in info){
+ if(!info[i]){
+ flag = false;
+ break;
+ }
+ else if((i=='phone' || i=='manager_tel') && !util.isTel(info[i])){
+ // 判断手机号
+ flag = false;
+ break;
+ }
+ else if(i=='email' && !util.isMail(info[i])){
+ // 判断手机号
+ flag = false;
+ break;
+ }
+ }
+ let error = this.data.error;
+ if(name=='phone' && util.isTel(info[name])){
+ error[name] = "";
+ }
+ if(name=='manager_tel' && util.isTel(info[name])){
+ error[name] = "";
+ }
+ if(name=='email' && util.isMail(info[name])){
+ error[name] = "";
+ }
+ if(name=='supplier_name' && info[name]){
+ error[name] = "";
+ }
+ if(name=='manager_name' && info[name]){
+ error[name] = "";
+ }
+ if(name=='address' && info[name]){
+ error[name] = "";
+ }
+ this.setData({
+ submitFlag:flag,
+ error:error
+ })
+ },
+ blur:function(e){
+ let error = this.data.error,name = e.currentTarget.dataset.name,info = this.data.info;
+ if(name=='phone' && !util.isTel(info[name])){
+ error[name] = "请输入正确的联系电话";
+ }
+ if(name=='manager_tel' && !util.isTel(info[name])){
+ error[name] = "请输入正确的负责人联系电话";
+ }
+ if(name=='email' && !util.isMail(info[name])){
+ error[name] = "请输入正确的邮箱";
+ }
+ if(name=='supplier_name' && !info[name]){
+ error[name] = "请输入名称";
+ }
+ if(name=='manager_name' && !info[name]){
+ error[name] = "请输入姓名";
+ }
+ if(name=='address' && !info[name]){
+ error[name] = "请输入地址";
+ }
+ this.setData({
+ error:error
+ })
+ },
+ upload(e){
+ let name = e.currentTarget.dataset.name,that = this,info = this.data.info,error=this.data.error;
+
+ wx.chooseImage({
+ count: 1,
+ success:function(res){
+ if(res && res.tempFilePaths && res.tempFilePaths[0]){
+ wx.showLoading({
+ title: '上传中',
+ mask:true
+ })
+ wx.uploadFile({
+ filePath: res.tempFilePaths[0],
+ name: 'file',
+ url: https.baseUrl + 'pbservice.other/upload',
+ header:{
+ token: wx.getStorageSync('jstrip_token'),
+ },
+ success:function(r){
+ var r = JSON.parse(r.data);
+ let img = r.data.url;
+ info[name] = img;
+ error[name]=""
+ that.setData({
+ info:info,
+ error:error
+ })
+ wx.hideLoading();
+ }
+ })
+ }
+ }
+ })
+ },
+ delimg(e){
+ let name = e.currentTarget.dataset.name,info = this.data.info,that=this;
+ wx.showModal({
+ title:"提示",
+ content:"确定删除此照片?",
+ success(res){
+ console.log(res)
+ if(res.confirm){
+ // 确定删除
+ info[name]="";
+ that.setData({
+ info:info
+ })
+ }
+ }
+ })
+ },
+ submit:function(){
+ if(this.data.submitFlag){
+ https.user_post("supplierapply/apply",this.data.info).then(res=>{
+ if(res && res.code==1){
+ wx.showToast({
+ title: '提交成功',
+ icon:'success'
+ })
+ setTimeout(()=>{
+ util.back()
+ },1000)
+ }
+ })
+ }
+ else {
+ let info = this.data.info,error={};
+ for(let name in info){
+ if(name=='phone' && !util.isTel(info[name])){
+ error[name] = "请输入正确的联系电话";
+ }
+ if(name=='manager_tel' && !util.isTel(info[name])){
+ error[name] = "请输入正确的负责人联系电话";
+ }
+ if(name=='email' && !util.isMail(info[name])){
+ error[name] = "请输入正确的邮箱";
+ }
+ if(name=='supplier_name' && !info[name]){
+ error[name] = "请输入名称";
+ }
+ if(name=='manager_name' && !info[name]){
+ error[name] = "请输入姓名";
+ }
+ if(name=='address' && !info[name]){
+ error[name] = "请输入地址";
+ }
+ if(name=='licence_img' && !info[name]){
+ error[name] = "请上传营业执照";
+ }
+ if(name=='business_license' && !info[name]){
+ error[name] = "请上传经营许可证";
+ }
+ if(name=='banner_img' && !info[name]){
+ error[name] = "请上传门头照";
+ }
+ }
+ this.setData({
+ error:error
+ })
+ }
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/supplier/apply/index.json b/pages/supplier/apply/index.json
new file mode 100644
index 0000000..35cf02f
--- /dev/null
+++ b/pages/supplier/apply/index.json
@@ -0,0 +1,5 @@
+{
+ "usingComponents": {
+ "title":"/pages/component/TitleHeader"
+ }
+}
\ No newline at end of file
diff --git a/pages/supplier/apply/index.wxml b/pages/supplier/apply/index.wxml
new file mode 100644
index 0000000..c05cfca
--- /dev/null
+++ b/pages/supplier/apply/index.wxml
@@ -0,0 +1,83 @@
+
+
+
+ {{oldInfo.audit_text}}
+ {{oldInfo.audit==2?oldInfo.refund_msg:"商户"+oldInfo.audit_text}}
+
+
+
+ 名称
+
+
+ {{ error.supplier_name }}
+
+
+
+ 姓名
+
+
+ {{ error.manager_name }}
+
+
+
+ 联系电话
+
+
+ {{ error.phone }}
+
+
+
+ 负责人联系电话
+
+
+ {{ error.manager_tel }}
+
+
+
+ 邮箱
+
+
+ {{ error.email }}
+
+
+
+ 门头照
+
+
+
+
+ 点击上传
+
+ {{ error.banner_img }}
+
+
+
+ 营业执照
+
+
+
+
+ 点击上传
+
+ {{ error.licence_img }}
+
+
+
+ 经营许可证
+
+
+
+
+ 点击上传
+
+ {{ error.business_license }}
+
+
+
+ 地址
+
+
+ {{ error.address }}
+
+
+确定
\ No newline at end of file
diff --git a/pages/supplier/apply/index.wxss b/pages/supplier/apply/index.wxss
new file mode 100644
index 0000000..ed891c8
--- /dev/null
+++ b/pages/supplier/apply/index.wxss
@@ -0,0 +1,98 @@
+/* pages/supplier/apply/index.wxss */
+.input-item {
+ padding: 10rpx 0;
+ margin: 0 20rpx;
+ border-bottom: 1px solid #D8D8D8;
+}
+.input-item-in {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ line-height: 60rpx;
+ padding: 20rpx 0;
+}
+.input-item-in image {
+ width: 200rpx;
+ height: 133rpx;
+ display: block;
+ flex-shrink: 0;
+ border-radius: 13rpx;
+}
+.input-item-in .icon-close {
+ width: 40rpx;
+ line-height: 40rpx;
+ background: #6490F5;
+ border-radius: 50%;
+ text-align: center;
+ color: #fff;
+ margin-left: 40rpx;
+}
+.input-item text {
+ color: #333333;
+ font-size: 31rpx;
+ flex-shrink: 0;
+}
+.input-item input {
+ display: block;
+ width: 400rpx;
+ text-align: right;
+ font-size: 30rpx;
+ flex: 1;
+ margin-left: 20rpx;
+}
+.input-item .btn {
+ width: 173rpx;
+ height: 60rpx;
+ background: linear-gradient(180deg, #749DFC, #4375E7);
+ border-radius: 30rpx;
+ color: #fff;
+ font-size: 31rpx;
+ text-align: center;
+}
+.btnall {
+ position: fixed;
+ left: 20rpx;
+ right: 20rpx;
+ bottom: 30rpx;
+ line-height: 80rpx;
+ background: #BDBFBF;
+ border-radius: 40rpx;
+ text-align: center;
+ color: #fff;
+ text-align: center;
+ z-index: 11;
+}
+.btnall.ok {
+ background: #4375E7;
+}
+.error-tip {
+ text-align: right;
+ color: #FF5555;
+ font-size: 24rpx;
+}
+.error-msg {
+ padding: 10rpx 20rpx;
+ background: #F95440;
+ font-size: 24rpx;
+ color: #F95440;
+}
+.error-box {
+ background: #fff;
+ padding: 0 14rpx;
+ line-height: 36rpx;
+ border-radius: 18rpx;
+ margin-right: 20rpx;
+ flex-shrink: 0;
+}
+.texttype1 {
+ background: #68CB59;
+ color: #68CB59;
+}
+.texttype0 {
+ background: #4375E7;
+ color: #4375E7;
+}
+.error-text {
+ flex: 1;
+ color: #fff;
+}
\ No newline at end of file
diff --git a/pages/supplier/good/index.js b/pages/supplier/good/index.js
new file mode 100644
index 0000000..c8e8bbd
--- /dev/null
+++ b/pages/supplier/good/index.js
@@ -0,0 +1,422 @@
+// pages/supplier/good/index.js
+import https from "../../../utils/https"
+import util from "../../../utils/util"
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ supplierinfo:null,
+ error:{},
+ info:{
+ "product_name":""
+ },
+ sku:[],
+ oldSku:[],
+ submitFlag:false,
+ nameerror:false,
+ skuerror:false,
+ showFlagIndex:-1,
+ flagText:""
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+ https.user_post("supplierapply/get_supplier_apply",{}).then(res=>{
+ if(res.data){
+ this.setData({
+ supplierinfo:res.data
+ })
+ }
+ https.user_post('supplierapply/add_sku',{},'GET').then(res=>{
+ console.log(res.data);
+ if(res.data.length>0){
+ this.setData({
+ info:{
+ product_name:res.data[0].product_name
+ },
+ oldSku:res.data,
+ submitFlag:true
+ })
+ // 初始化规格信息
+ let sku = [];
+ res.data.map(item=>{
+ sku.push({
+ sku_img:{
+ value:item.sku_img
+ },
+ sku_name:{
+ value:item.sku_name
+ },
+ line_desc:{
+ value:item.line_desc
+ },
+ use_desc:{
+ value:item.use_desc
+ },
+ cost_desc:{
+ value:item.cost_desc
+ },
+ mark_price:{
+ value:item.mark_price
+ },
+ cost_price:{
+ value:item.cost_price
+ },
+ reserve_desc:{
+ value:item.reserve_desc
+ },
+ available_time:{
+ value:item.available_time
+ },
+ is_realname:{
+ value:item.is_realname+""
+ },
+ refund_desc:{
+ value:item.refund_desc
+ },
+ stock:{
+ value:item.stock
+ },
+ id:{
+ value:item.id
+ },
+ audit:{
+ value:item.audit
+ },
+ audit_text:{
+ value:item.audit_text
+ },
+ refund_msg:{
+ value:item.refund_msg
+ },
+ show:true
+ })
+ })
+ this.setData({
+ sku:sku
+ })
+ }
+ })
+ });
+ },
+ changeProductName(e){
+ let info = this.data.info;
+ info.product_name = e.detail.value;
+ this.setData({
+ info:info,
+ nameerror:info.product_name==""
+ })
+ this.checkOk()
+ },
+ checkOk:function(){
+ let flag = true,sku=this.data.sku;
+ if(this.data.info.product_name=="" || sku.length==0){
+ flag = false;
+ }
+ if(flag){
+ for(let i=0;i{
+ let skuItem={};
+ for(let key in item){
+ if(key=='sku_img'){
+ skuItem.sku_img = item.sku_img.value.join(",");
+ }
+ else if(key!='show' && key!='audit' && key!='audit_text' && key!='refund_msg'){
+ skuItem[key] = item[key].value;
+ }
+ }
+ sku.push(skuItem);
+ })
+ https.user_post("supplierapply/add_sku",{
+ product_name:this.data.info.product_name,
+ sku:sku
+ }).then(res=>{
+ if(res.code==1){
+ wx.showToast({
+ title: '添加成功',
+ icon:'success',
+ mask:true
+ })
+ setTimeout(()=>{
+ util.back()
+ },1000)
+ }
+ console.log(res)
+ })
+ }
+ else {
+ let sku = this.data.sku;
+ if(sku.length==0){
+ this.setData({
+ skuerror:true,
+ nameerror:this.data.info.product_name==""
+ })
+ return;
+ }
+ sku.map(item=>{
+ for(let key in item){
+ if(key!='show' && (item[key].value=="" || item[key].value.length==0)){
+ item[key].error = true
+ }
+ }
+ })
+ this.setData({
+ sku:sku,
+ nameerror:this.data.info.product_name==""
+ })
+ }
+ },
+ changeInfo(e){
+ let name = e.currentTarget.dataset.name,sku=this.data.sku,index = e.currentTarget.dataset.index;
+ sku[index][name].value = e.detail.value;
+ if(e.detail.value!=""){
+ sku[index][name].error=false;
+ }
+ this.setData({
+ sku:sku
+ })
+ this.checkOk()
+ },
+ blurname(){
+ this.setData({
+ nameerror:this.data.info.product_name==""
+ })
+ },
+ blur(e){
+ let name = e.currentTarget.dataset.name,sku=this.data.sku,index = e.currentTarget.dataset.index;
+ if(sku[index][name].value==""){
+ sku[index][name].error=true;
+ }
+ this.setData({
+ sku:sku
+ })
+ },
+ addSku(){
+ let sku = this.data.sku;
+ sku.push({
+ sku_name:{
+ value:""
+ },
+ sku_img:{
+ value:[]
+ },
+ line_desc:{
+ value:""
+ },
+ use_desc:{
+ value:""
+ },
+ cost_desc:{
+ value:""
+ },
+ mark_price:{
+ value:""
+ },
+ cost_price:{
+ value:""
+ },
+ reserve_desc:{
+ value:""
+ },
+ available_time:{
+ value:""
+ },
+ is_realname:{
+ value:"0"
+ },
+ refund_desc:{
+ value:""
+ },
+ stock:{
+ value:""
+ },
+ show:true
+ })
+ this.setData({
+ sku:sku,
+ skuerror:false,
+ submitFlag:false
+ })
+ },
+ delSku(e){
+ let index = e.currentTarget.dataset.index,sku = this.data.sku,_this=this;
+ wx.showModal({
+ title:"确定删除此规格?",
+ content:"此页面信息不会保存",
+ success(res){
+ if(res.confirm){
+ sku.splice(index,1);
+ _this.setData({
+ sku:sku
+ })
+ _this.checkOk()
+ }
+ }
+ })
+ },
+ delImg(e){
+ let index = e.currentTarget.dataset.index,sku = this.data.sku,_this=this,imgindex = e.currentTarget.dataset.imgindex;
+ wx.showModal({
+ title:"提示",
+ content:"确定删除此照片?",
+ success(res){
+ if(res.confirm){
+ sku[index].sku_img.value.splice(imgindex,1);
+ _this.setData({
+ sku:sku
+ })
+ }
+ }
+ })
+ },
+ arrow(e){
+ let sku = this.data.sku,index = e.currentTarget.dataset.index;
+ sku[index].show = !sku[index].show;
+ this.setData({
+ sku:sku
+ })
+ },
+ realCheck(e){
+ let index = e.currentTarget.dataset.index,value = e.currentTarget.dataset.value,sku=this.data.sku;
+ if(sku[index].audit && sku[index].audit.value<2){
+ return;
+ }
+ sku[index].is_realname.value = value;
+ this.setData({
+ sku:sku
+ })
+ this.checkOk()
+ },
+ upload(e){
+ let index = e.currentTarget.dataset.index,sku=this.data.sku,that=this;
+ wx.chooseImage({
+ count: 3,
+ success:function(res){
+ if(res && res.tempFilePaths && res.tempFilePaths.length>0){
+ wx.showLoading({
+ title: '上传中',
+ mask:true
+ })
+ let ajaxes=[];
+ res.tempFilePaths.map(item=>{
+ let ajax = new Promise((resolve,reject)=>{
+ wx.uploadFile({
+ filePath: item,
+ name: 'file',
+ url: https.baseUrl + 'pbservice.other/upload',
+ header:{
+ token: wx.getStorageSync('jstrip_token'),
+ },
+ success:function(r){
+ var r = JSON.parse(r.data);
+ let img = r.data.url;
+ resolve(img);
+ }
+ })
+ })
+ ajaxes.push(ajax);
+ })
+ Promise.all(ajaxes).then(res=>{
+ sku[index].sku_img.value = sku[index].sku_img.value.concat(res);
+ that.setData({
+ sku:sku
+ })
+ that.checkOk()
+ wx.hideLoading({})
+ }).catch(err=>{
+ console.log(err)
+ wx.showToast({
+ title: '图片上传失败',
+ icon:'none'
+ })
+ })
+ }
+ }
+ })
+ },
+ showMsg(e){
+ let item = e.currentTarget.dataset.item;
+ if(item.audit.value==2){
+ wx.showModal({
+ title:"审核失败",
+ content:item.refund_msg.value,
+ showCancel:false
+ })
+ }
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+ showFlag(e){
+ this.setData({
+ showFlagIndex:e.currentTarget.dataset.index,
+ flagText:e.currentTarget.dataset.text
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/supplier/good/index.json b/pages/supplier/good/index.json
new file mode 100644
index 0000000..35cf02f
--- /dev/null
+++ b/pages/supplier/good/index.json
@@ -0,0 +1,5 @@
+{
+ "usingComponents": {
+ "title":"/pages/component/TitleHeader"
+ }
+}
\ No newline at end of file
diff --git a/pages/supplier/good/index.wxml b/pages/supplier/good/index.wxml
new file mode 100644
index 0000000..7e7c8ba
--- /dev/null
+++ b/pages/supplier/good/index.wxml
@@ -0,0 +1,283 @@
+
+
+
+
+
+ 供应商名称
+
+
+
+
+
+ 商品名称
+
+
+ 请输入商品名称
+
+
+
+
+ 规格{{index+1}}
+
+ {{item.audit_text.value}}
+ 点击查看原因 >>
+
+
+
+
+ 删除
+
+
+
+
+ 规格名称
+
+
+ 请输入规格名称
+
+
+
+
+ 规格图片
+
+
+
+
+
+ 点击上传
+
+ 请上传规格图片
+
+
+
+ 线路详情
+
+
+ 示例
+
+
+
+ 请输入线路详情
+
+
+
+ 使用说明
+
+
+ 示例
+
+
+
+ 请输入使用说明
+
+
+
+ 费用说明
+
+
+ 示例
+
+
+
+ 请输入费用说明
+
+
+
+ 售价
+
+
+ 请输入售价
+
+
+
+ 结算价
+
+
+ 请输入结算价
+
+
+
+ 库存
+
+
+ 请输入库存
+
+
+
+ 预定须知
+
+
+ 示例
+
+
+
+ 请输入预定须知
+
+
+
+ 可售时间
+
+
+ 请输入可售时间
+
+
+
+ 是否实名
+
+
+ 是
+
+
+
+ 否
+
+
+
+
+
+
+ 退款规则
+
+
+ 示例
+
+
+
+ 请输入退款规则
+
+
+
+ {{item.show?'收起':'展开'}}
+
+
+
+
+
+ 点击添加规格
+
+请添加规格
+
+确定
+
+
+
+ {{flagText}}示例
+
+ 产品介绍
+美育:不仅仅是教学生学会唱歌跳舞,学会画画,欣赏音乐,欣赏美术,首先要培养学生的“心灵美”,使青少年具有一颗美好的、善良的、感恩的、爱的心灵,懂得珍惜生命,珍惜美好的事物,懂得帮助他人,懂得爱父母,爱他人,爱祖国山河,爱天地万物。
+
+金鸡湖美术馆:苏州工业园区金鸡湖畔苏州文化艺术中心二楼,共设4个展厅,以研究、策划、展示、收藏国内外优秀的当代艺术作品为主,并兼顾传统艺术研究,注重国际艺术交流和推广。“文脉苏州”:解析江南风土人情的组成要素及绘画表现,解读七个江南系列作品,包含苏州老行当、姑苏风情录、江南小巷、江南古镇、苏州园林、消失的乡土、姑苏人物篇等。
+
+探秘电影放映室:数字放映机如何放映出电影?那个银幕背后的“神秘小黑屋”里究竟隐藏了什么?揭开“神秘小黑屋”之谜,聆听银幕背后的神秘故事,了解“小黑屋”魅力所在。
+
+
+【行程明细】
+08:45-09:00 集合 苏州文化艺术中心东门
+09:00-09:30 开营仪式 文化艺术中心指定场地
+09:30-10:30 参观IMAX影视剧 文化艺术中心放映厅
+10:30-11:00 探秘电影放映室 文化艺术中心放映厅
+11:00-12:00 参观金鸡湖美术馆 金鸡湖美术馆
+12:00-13:00 午餐 文化艺术中心指定餐厅
+13:00-13:30 乘船前往桃花岛 桃花岛
+13:30-15:00 小小考古家DIY 桃花岛
+15:00-16:00 萌宠互动:解锁动物密码 桃花岛
+16:00-16:30 乘船离开桃花岛 桃花岛
+16:30-17:00 结营仪式 家长接孩子 苏州文化艺术中心东门(以上时间为参考时间,具体以当日实际情况而定)
+
+预订须知
+【费用包含】
+①教辅材料:行程中所需教辅材料、IMAX剧场票
+②交通:金鸡湖码头往返游船;
+③保险:旅行社责任险、旅游意外险
+④午餐:荤素搭配,营养均衡
+
+【费用不包含】
+①请自行前往集合起讫地点
+②除包含项外其他费用
+③行程中无二次消费
+
+【人群说明】
+7-13岁在校学生独立参加
+
+【使用说明】
+①会于出行前一天17点前以电话或短信方式与您确认集合时间地点,如国家法定节假日可能会往后顺延至20点之前和您联系,请务必保证预留手机号畅通
+②若出行前无短信、电话或其他方式和您确认出行相关信息,请拨打紧急电话:13338650833
+
+【售卖时间】
+
+【使用有效期】
+
+【取消条款】
+出行前 7日:家长无需任何理由提出,我们全额退款。
+出行前3-7日:收取总团款30%的费用
+出行前1-3日:收取总团款50%的费用
+当天取消:家长自动放弃团款全损
+
+【活动保障】
+①户外活动有风险,我们针对独立参加活动的儿童师资配比约1:8,保证杜绝一切安全隐患做到100%安全,保障孩子户外活动安全权益。
+②我们活动由中国人寿承保,旅行社责任保险+旅游意外险给孩子们双重保障。我们和每一位家长都签署国家旅游局标准合同,全方位保障参与者与家长的保险权益。
+③而作为孩子单独参加,我们主办方作为唯一监护人,具有不可推卸的安全看护责任!对于师资配比、经营资质、保险保障绝对是放在首位。
+④领队老师全程拍照分享,记录孩子们活动当天的全过程。独立参加孩子的家长足不出户实时了解掌握孩子们动态。
+
+【温馨提示】
+①集合地点:苏州文化艺术中心(东门,近停车场)
+②集合时间:周六/周日上午08:45
+③结束时间和地点:下午17:00苏州文化艺术中心(东门)
+④需要徒步,请穿轻便运动鞋
+⑤需要自行准备水杯,笔记本,笔,口罩
+⑥不需要携带:零食,电子产品
+⑦活动开始前24小时截图方式收集学生和家长绿码,家长的行程码,同学身份证信息
+
+售价 388元/人
+结算价
+
+
+ 【使用说明】
+①会于出行前一天17点前以电话或短信方式与您确认集合时间地点,如国家法定节假日可能会往后顺延至20点之前和您联系,请务必保证预留手机号畅通
+②若出行前无短信、电话或其他方式和您确认出行相关信息,请拨打紧急电话:13338650833
+
+ 【费用包含】
+①教辅材料:行程中所需教辅材料、IMAX剧场票
+②交通:金鸡湖码头往返游船;
+③保险:旅行社责任险、旅游意外险
+④午餐:荤素搭配,营养均衡
+
+【费用不包含】
+①请自行前往集合起讫地点
+②除包含项外其他费用
+③行程中无二次消费
+
+ 【人群说明】
+7-13岁在校学生独立参加
+
+【售卖时间】
+2022.1.1-2022.3.9
+【使用有效期】
+2022.1.10、2022.2.10\2022.3.10
+【取消条款】
+出行前 7日:家长无需任何理由提出,我们全额退款。
+出行前3-7日收取总团款30%的费用
+出行前1-3日:收取总团款50%的费用
+当天取消:家长自动放弃团款全损
+
+【活动保障】
+①户外活动有风险,我们针对独立参加活动的儿童师资配比约1:8,保证杜绝一切安全隐患做到100%安全,保障孩子户外活动安全权益。
+②我们活动由中国人寿承保,旅行社责任保险+旅游意外险给孩子们双重保障。我们和每一位家长都签署国家旅游局标准合同,全方位保障参与者与家长的保险权益。
+③而作为孩子单独参加,我们主办方作为唯一监护人,具有不可推卸的安全看护责任!对于师资配比、经营资质、保险保障绝对是放在首位。
+④领队老师全程拍照分享,记录孩子们活动当天的全过程。独立参加孩子的家长足不出户实时了解掌握孩子们动态。
+
+【温馨提示】
+① 本产品需提前一天22点前预定,以便本社进行出团准备工作
+② 集合地点:苏州文化艺术中心(东门,近停车场)
+③ 集合时间:周六/周日上午08:45
+④ 结束时间和地点:下午17:00苏州文化艺术中心(东门)
+⑤ 需要徒步,请穿轻便运动鞋
+⑥ 需要自行准备水杯,笔记本,笔,口罩
+⑦ 不需要携带:零食,电子产品
+⑧活动开始前24小时截图方式收集学生和家长绿码,家长的行程码,同学身份证信息
+
+售价 388元/人
+结算价
+
+
+
\ No newline at end of file
diff --git a/pages/supplier/good/index.wxss b/pages/supplier/good/index.wxss
new file mode 100644
index 0000000..d31c867
--- /dev/null
+++ b/pages/supplier/good/index.wxss
@@ -0,0 +1,209 @@
+/* pages/supplier/good/index.wxss */
+page {
+ background: #f2f2f2;
+}
+.input-item {
+ padding: 10rpx 0;
+ margin: 0 20rpx;
+ border-bottom: 1px solid #D8D8D8;
+}
+.input-item-in {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ line-height: 60rpx;
+ padding: 20rpx 0;
+}
+.input-item text {
+ color: #333333;
+ font-size: 31rpx;
+ flex-shrink: 0;
+}
+.input-item input,.input-item textarea {
+ display: block;
+ width: 400rpx;
+ text-align: right;
+ font-size: 30rpx;
+ flex: 1;
+ margin-left: 20rpx;
+}
+.input-item .btn {
+ width: 173rpx;
+ height: 60rpx;
+ background: linear-gradient(180deg, #749DFC, #4375E7);
+ border-radius: 30rpx;
+ color: #fff;
+ font-size: 31rpx;
+ text-align: center;
+}
+.btnall {
+ position: fixed;
+ left: 20rpx;
+ right: 20rpx;
+ bottom: 30rpx;
+ line-height: 80rpx;
+ background: #BDBFBF;
+ border-radius: 40rpx;
+ text-align: center;
+ color: #fff;
+ text-align: center;
+ z-index: 11;
+}
+.btnall.ok {
+ background: #4375E7;
+}
+.error-tip {
+ text-align: right;
+ color: #FF5555;
+ font-size: 24rpx;
+}
+.add-sku-btn {
+ width: 280rpx;
+ height: 67rpx;
+ background: linear-gradient(180deg, #749DFC, #4375E7);
+ border-radius: 33rpx;
+ color: #fff;
+ font-size: 31rpx;
+ justify-content: center;
+ margin: 40rpx auto;
+}
+.add-sku-btn image {
+ width: 40rpx;
+ display: block;
+ margin-right: 12rpx;
+}
+.sku-box {
+ margin-top: 13rpx;
+ background: white;
+}
+.sku-top {
+ margin: 0 20rpx;
+ border-bottom: 1px solid #D8D8D8;
+ height: 80rpx;
+ color: #4375E7;
+ font-size: 25rpx;
+}
+.sku-top text {
+ font-size: 31rpx;
+}
+.sku-top image {
+ width: 27rpx;
+ display: block;
+ margin-right: 5rpx;
+}
+.input-item-in .img-box {
+ position: relative;
+ margin-left: 40rpx;
+}
+.input-item-in image {
+ width: 133rpx;
+ height: 133rpx;
+ display: block;
+ flex-shrink: 0;
+ border-radius: 13rpx;
+}
+.input-item-in .icon-close {
+ width: 40rpx;
+ line-height: 40rpx;
+ background: #6490F5;
+ border-radius: 50%;
+ text-align: center;
+ color: #fff;
+ position: absolute;
+ top: -10rpx;
+ right: -10rpx;
+ z-index: 1;
+}
+.sl-box text {
+ color: #4375E7;
+ font-size: 24rpx;
+}
+.sl-box image {
+ width: 20rpx;
+ display: block;
+ margin-left: 20rpx;
+ margin-right: 6rpx;
+ border-radius: 0;
+}
+.input-item-in textarea {
+ font-size: 30rpx;
+ line-height: 30rpx;
+ min-height: 30rpx;
+ padding: 15rpx 0;
+ width: 397rpx;
+}
+.icon-quan,.icon-gou {
+ color: #4D7CE8;
+ margin-left: 15rpx;
+ margin-right: 40rpx;
+ font-size: 40rpx;
+}
+.sku-bottom {
+ height: 67rpx;
+ justify-content: center;
+ font-size: 25rpx;
+}
+.sku-bottom image {
+ width: 27rpx;
+ display: block;
+ margin-left: 15rpx;
+}
+.sku-bottom image.rotate {
+ transform: rotate(180deg);
+}
+.sku-status {
+ border: 1px solid;
+ box-sizing: border-box;
+ height: 40rpx;
+ border-radius: 20rpx;
+ font-size: 25rpx;
+ overflow: hidden;
+ margin-left: 70rpx;
+}
+.sku-status-box {
+ background: white;
+ border-radius: 19rpx;
+ line-height: 38rpx;
+ width: 140rpx;
+ text-align: center;
+}
+.sku-status-reject {
+ padding: 0 10rpx;
+ color: #fff;
+}
+.sku-status2 {
+ color: #F95440;
+ background: #F95440;
+}
+.sku-status1 {
+ color: #68CB59;
+}
+.mask-title {
+ text-align: center;
+ color: #4375E7;
+ font-size: 36rpx;
+ font-weight: bold;
+ line-height: 116rpx;
+}
+.icon-close {
+ width: 40rpx;
+ line-height: 40rpx;
+ background: #6490F5;
+ position: absolute;
+ right: 13rpx;
+ top: 30rpx;
+ color: #fff;
+ text-align: center;
+ border-radius: 50%;
+}
+.mask-info {
+ display: block;
+ padding: 0 20rpx;
+ font-size: 28rpx;
+ line-height: 40rpx;
+ padding-bottom: 30rpx;
+}
+.mask-content {
+ max-height: 80%;
+ overflow-y: auto;
+}
\ No newline at end of file
diff --git a/pages/supplier/index.js b/pages/supplier/index.js
new file mode 100644
index 0000000..2dfddb8
--- /dev/null
+++ b/pages/supplier/index.js
@@ -0,0 +1,105 @@
+// pages/supplier/index.js
+import https from "../../utils/https"
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ passFlag:null,
+ supplier_text:['商户信息审核中...','商户审核通过','商户审核失败'],
+ goods_text:['商品信息审核中...','商品审核通过','商品审核失败'],
+ sku:[],
+ audit:0
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+
+ },
+ supplierpage(){
+ wx.navigateTo({
+ url: 'apply/index',
+ })
+ },
+ gotoGood(){
+ wx.navigateTo({
+ url: 'good/index',
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+ https.user_post('supplierapply/get_supplier_apply',{}).then(res=>{
+ this.setData({
+ passFlag:res.data
+ })
+ https.user_post('supplierapply/add_sku',{},'GET').then(res=>{
+ this.setData({
+ sku:res.data
+ })
+ if(res.data.length>0){
+ let audit=0;
+ if(res.data.findIndex(item=>item.audit==0)!=-1){
+ audit=0;
+ }
+ else if(res.data.findIndex(item=>item.audit==2)!=-1){
+ audit=2;
+ }
+ else {
+ audit=1;
+ }
+ this.setData({
+ audit:audit
+ })
+ }
+ })
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/supplier/index.json b/pages/supplier/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/pages/supplier/index.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/pages/supplier/index.wxml b/pages/supplier/index.wxml
new file mode 100644
index 0000000..3e1b809
--- /dev/null
+++ b/pages/supplier/index.wxml
@@ -0,0 +1,41 @@
+
+
+
+
+
+ 点击填写商户信息
+
+
+
+
+ {{supplier_text[passFlag.audit]}}
+
+
+ 点击
+ 查看
+
+
+
+
+ 点击填写商品信息
+
+
+
+ 点击填写商品信息
+
+
+
+
+ {{goods_text[audit]}}
+
+
+ 重新
+ 填写
+
+
+ 点击
+ 查看
+
+
+
+
diff --git a/pages/supplier/index.wxss b/pages/supplier/index.wxss
new file mode 100644
index 0000000..7b98bee
--- /dev/null
+++ b/pages/supplier/index.wxss
@@ -0,0 +1,74 @@
+/* pages/supplier/index.wxss */
+.topimg {
+ display: block;
+ width: 100%;
+ mask-border: 210rpx;
+}
+.content {
+ display: flex;
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+.btn {
+ display: flex;
+ width: 613rpx;
+ height: 107rpx;
+ color: #fff;
+ font-size: 36rpx;
+ font-weight: bold;
+ background: linear-gradient(0deg, #4375E7, #759EFD);
+ border-radius: 53rpx;
+ justify-content: center;
+ margin-top: 94rpx;
+ align-items: center;
+ box-sizing: border-box;
+}
+.line-btn .com-flex {
+ height: 100rpx;
+ margin: 0 2px;
+ width: 520rpx;
+ background: white;
+ border-radius: 50rpx;
+ color: #4375E7;
+ justify-content: center;
+}
+.btnbg2 .com-flex {
+ color: #F95440;
+}
+.btnbg2 {
+ background: #F95440;
+}
+.btnbg1 .com-flex {
+ color: #68CB59;
+}
+.btnbg1 {
+ background: #68CB59;
+}
+.right-btn {
+ flex: 1;
+ font-size: 25rpx;
+ color: #fff;
+ margin-left: 10rpx;
+}
+.btn image {
+ width: 40rpx;
+ margin-right: 26rpx;
+ display: block;
+}
+.btn.disable {
+ background: #BDBFBF;
+}
+.bottomimg {
+ display: block;
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ width: 100%;
+ z-index: -1;
+}
\ No newline at end of file
diff --git a/pages/user/user.wxml b/pages/user/user.wxml
index e4ee9c1..9af4ba4 100644
--- a/pages/user/user.wxml
+++ b/pages/user/user.wxml
@@ -45,6 +45,7 @@
购物车
+
团体订单
@@ -60,6 +61,9 @@
我的收藏
+
+ 商户审核
+