Commit 660fe85c by luyt

feat:开通背景调整

1 parent 8cbb0dbe
...@@ -15,7 +15,7 @@ Page({ ...@@ -15,7 +15,7 @@ Page({
behaviors: [computedBehavior], behaviors: [computedBehavior],
data: { data: {
senceData, senceData,
navStyle, // navStyle,
IMG_URL, IMG_URL,
carObj: { carObj: {
name: '', name: '',
......
...@@ -14,6 +14,9 @@ page { ...@@ -14,6 +14,9 @@ page {
.introduce { .introduce {
height: 360rpx; height: 360rpx;
} }
.content-wrap{
background-image:linear-gradient(to bottom,#D0E5FE,#fff);
}
.content { .content {
margin-left: 24rpx; margin-left: 24rpx;
margin-right: 24rpx; margin-right: 24rpx;
......
...@@ -3,70 +3,67 @@ ...@@ -3,70 +3,67 @@
<navigation-bar showBack="{{true}}" bindnavbarReady="navbarReady" navStyle="{{navStyle}}"> <navigation-bar showBack="{{true}}" bindnavbarReady="navbarReady" navStyle="{{navStyle}}">
申请业务 申请业务
</navigation-bar> </navigation-bar>
<view class="apply"> <view class="apply">
<image class="head" src="{{IMG_URL}}index/apply-title.png" style="height:{{tabBarStyle}}px;" /> <image class="head" src="{{IMG_URL}}index/apply-title.png" style="height:{{tabBarStyle}}px;" />
<image class="introduce" src="{{IMG_URL}}index/new-apply-bg.png" /> <image class="introduce" src="{{IMG_URL}}index/new-apply-bg.png" />
<view class="content" hover-class="none" hover-stop-propagation> <view class="content-wrap">
<view class="top"> <view class="content" hover-class="none" hover-stop-propagation>
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="top">
<view class="title" hover-class="none" hover-stop-propagation="false">开通门店账号</view> <view class="line" hover-class="none" hover-stop-propagation="false" />
</view> <view class="title" hover-class="none" hover-stop-propagation="false">开通门店账号</view>
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">
开店名称
<text class="point">*</text>
</view> </view>
<input class="inp" placeholder-class="inp-placeholder" value="{{carObj.name}}" bindinput="bindinputFn" data-name="name" maxlength="{{30}}" placeholder="营业执照上的公司名称" /> <view class="inp-wrap">
</view> <view class="title" hover-class="none" hover-stop-propagation="false">
<view class="inp-wrap"> 开店名称
<view class="title" hover-class="none" hover-stop-propagation="false">店面车型</view> <text class="point">*</text>
<input class="inp" placeholder-class="inp-placeholder" value="{{carObj.model}}" bindinput="bindinputFn" data-name="model" maxlength="{{30}}" placeholder="主营品牌/车型" /> </view>
</view> <input class="inp" placeholder-class="inp-placeholder" value="{{carObj.name}}" bindinput="bindinputFn" data-name="name" maxlength="{{30}}" placeholder="营业执照上的公司名称" />
<view class="inp-wrap"> </view>
<view class="title" hover-class="none" hover-stop-propagation="false">店面新车销量/基盘客户</view> <view class="inp-wrap">
<input class="inp" placeholder-class="inp-placeholder" value="{{carObj.selNum}}" bindinput="bindinputFn" data-name="selNum" maxlength="{{30}}" placeholder="请输入数字" /> <view class="title" hover-class="none" hover-stop-propagation="false">店面车型</view>
</view> <input class="inp" placeholder-class="inp-placeholder" value="{{carObj.model}}" bindinput="bindinputFn" data-name="model" maxlength="{{30}}" placeholder="主营品牌/车型" />
<view class="inp-wrap"> </view>
<view class="title" hover-class="none" hover-stop-propagation="false">门店联系人</view> <view class="inp-wrap">
<input class="inp" placeholder-class="inp-placeholder" value="{{carObj.contact}}" bindinput="bindinputFn" data-name="contact" placeholder="请输入联系人" /> <view class="title" hover-class="none" hover-stop-propagation="false">店面新车销量/基盘客户</view>
</view> <input class="inp" placeholder-class="inp-placeholder" value="{{carObj.selNum}}" bindinput="bindinputFn" data-name="selNum" maxlength="{{30}}" placeholder="请输入数字" />
<view class="inp-wrap"> </view>
<view class="title" hover-class="none" hover-stop-propagation="false">联系人手机号</view> <view class="inp-wrap">
<input class="inp" placeholder-class="inp-placeholder" value="{{carObj.phone}}" bindinput="bindinputFn" data-name="phone" placeholder="请输入手机号" /> <view class="title" hover-class="none" hover-stop-propagation="false">门店联系人</view>
</view> <input class="inp" placeholder-class="inp-placeholder" value="{{carObj.contact}}" bindinput="bindinputFn" data-name="contact" placeholder="请输入联系人" />
<view class="scene-title" hover-class="none" hover-stop-propagation="false">业务场景</view> </view>
<view class="content-product"> <view class="inp-wrap">
<view class="scene"> <view class="title" hover-class="none" hover-stop-propagation="false">联系人手机号</view>
<!-- wx:if="{{item.sceneStatus == 1}}" --> <input class="inp" placeholder-class="inp-placeholder" value="{{carObj.phone}}" bindinput="bindinputFn" data-name="phone" placeholder="请输入手机号" />
<scroll-view scroll-x="{{true}}"> </view>
<view class="scene-wrap"> <view class="scene-title" hover-class="none" hover-stop-propagation="false">业务场景</view>
<view class="item-wrap {{actNum== index ? 'act':''}}" data-num="{{index}}" data-scenestatus="{{item.sceneStatus}}" bindtap="selectCar" wx:for="{{senceData}}" wx:key="name"> <view class="content-product">
<view class="item"> <view class="scene">
<!-- <image class="open-img" wx:if="{{item.sceneStatus == 1}}" src="{{IMG_URL}}/output/openedIcon.png" /> --> <!-- wx:if="{{item.sceneStatus == 1}}" -->
<image webp class="img" src="{{item.src}}" /> <scroll-view scroll-x="{{true}}">
<view class="name">{{item.name}}</view> <view class="scene-wrap">
<view class="msg">{{item.msg}}</view> <view class="item-wrap {{actNum== index ? 'act':''}}" data-num="{{index}}" data-scenestatus="{{item.sceneStatus}}" bindtap="selectCar" wx:for="{{senceData}}" wx:key="name">
<view class="item">
<!-- <image class="open-img" wx:if="{{item.sceneStatus == 1}}" src="{{IMG_URL}}/output/openedIcon.png" /> -->
<image webp class="img" src="{{item.src}}" />
<view class="name">{{item.name}}</view>
<view class="msg">{{item.msg}}</view>
</view>
</view> </view>
</view> </view>
</view> </scroll-view>
</scroll-view> </view>
</view> </view>
</view> <view class="scene-title" hover-class="none" hover-stop-propagation="false">
<view class="scene-title" hover-class="none" hover-stop-propagation="false"> 业务场景
业务场景 <view class="tip" hover-class="none" hover-stop-propagation="false">(可多选)</view>
<view class="tip" hover-class="none" hover-stop-propagation="false"> </view>
(可多选) <view class="scene-select">
<view class="scene-item {{filter.hasProdAct(item,selectProdArr)?'act':''}}" wx:for="{{senceData[actNum]['productList']}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" bindtap="selectProd">
<glsx-image webp class="act-img" src="index/act-img.png"></glsx-image>
{{item.productName}}
</view>
</view> </view>
</view>
<view class="scene-select">
<view class="scene-item {{filter.hasProdAct(item,selectProdArr)?'act':''}}" wx:for="{{senceData[actNum]['productList']}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" bindtap="selectProd">
<glsx-image webp class="act-img" src="index/act-img.png"></glsx-image>
{{item.productName}}
</view>
</view> </view>
</view> </view>
<button class="btn" bindtap="applyFn">提交开店信息</button> <button class="btn" bindtap="applyFn">提交开店信息</button>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -11,6 +11,7 @@ Page({ ...@@ -11,6 +11,7 @@ Page({
behaviors: [computedBehavior], behaviors: [computedBehavior],
data: { data: {
IMG_URL, IMG_URL,
// navStyle,
prodName:'', prodName:'',
cooperativeStore:'', cooperativeStore:'',
storeShow: false, storeShow: false,
......
...@@ -14,6 +14,9 @@ page { ...@@ -14,6 +14,9 @@ page {
.introduce { .introduce {
height: 360rpx; height: 360rpx;
} }
.content-wrap{
background-image:linear-gradient(to bottom,#D0E5FE,#fff);
}
.content { .content {
margin-left: 24rpx; margin-left: 24rpx;
margin-right: 24rpx; margin-right: 24rpx;
...@@ -22,6 +25,7 @@ page { ...@@ -22,6 +25,7 @@ page {
background: #ffffff; background: #ffffff;
box-shadow: 0 6rpx 24rpx 0 rgba(175, 181, 219, 0.4); box-shadow: 0 6rpx 24rpx 0 rgba(175, 181, 219, 0.4);
border-radius: 16rpx; border-radius: 16rpx;
.item { .item {
} }
.top { .top {
......
...@@ -5,32 +5,36 @@ ...@@ -5,32 +5,36 @@
<view class="apply"> <view class="apply">
<image class="head" src="{{IMG_URL}}index/apply-title.png" style="height:{{tabBarStyle}}px;" /> <image class="head" src="{{IMG_URL}}index/apply-title.png" style="height:{{tabBarStyle}}px;" />
<image class="introduce" src="{{IMG_URL}}index/apply-prod.png" /> <image class="introduce" src="{{IMG_URL}}index/apply-prod.png" />
<view class="content" hover-class="none" hover-stop-propagation> <view class="content-wrap">
<view class="top"> <view class="content" hover-class="none" hover-stop-propagation>
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="top">
<view class="title" hover-class="none" hover-stop-propagation="false">申请合作</view> <view class="line" hover-class="none" hover-stop-propagation="false" />
</view> <view class="title" hover-class="none" hover-stop-propagation="false">申请合作</view>
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">
您的产品名称
<text class="point">*</text>
</view> </view>
<input class="inp" placeholder-class="inp-placeholder" model:value="{{prodName}}" maxlength="{{30}}" placeholder="请输入产品名称" /> <view class="inp-wrap">
</view> <view class="title" hover-class="none" hover-stop-propagation="false">
<view class="inp-wrap"> 您的产品名称
<!-- <view class="title" hover-class="none" hover-stop-propagation="false"> <text class="point">*</text>
</view>
<input class="inp" placeholder-class="inp-placeholder" model:value="{{prodName}}" maxlength="{{30}}" placeholder="请输入产品名称" />
</view>
<view class="inp-wrap">
<!-- <view class="title" hover-class="none" hover-stop-propagation="false">
合作门店 合作门店
<text class="point">*</text> <text class="point">*</text>
</view> --> </view> -->
<!-- <input class="inp" placeholder-class="inp-placeholder" model:value="{{cooperativeStore}}" maxlength="{{30}}" placeholder="营业执照上的公司名称" /> --> <!-- <input class="inp" placeholder-class="inp-placeholder" model:value="{{cooperativeStore}}" maxlength="{{30}}" placeholder="营业执照上的公司名称" /> -->
<view class="out-van-cell"> <view class="out-van-cell">
<van-cell custom-class="inp-van-cell" value="{{selectStoreValue}}" is-link bind:click="selectStore"> <van-cell custom-class="inp-van-cell" value="{{selectStoreValue}}" is-link bind:click="selectStore">
<view slot="title"> <view slot="title">
<view class="van-cell-text">合作门店<text class="point"> *</text></view> <view class="van-cell-text">
</view> 合作门店
</van-cell> <text class="point">*</text>
</view>
</view>
</van-cell>
</view>
</view> </view>
</view> </view>
</view> </view>
<button class="btn" bindtap="applyFn">申请合作产品</button> <button class="btn" bindtap="applyFn">申请合作产品</button>
......
...@@ -17,7 +17,7 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -17,7 +17,7 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false const manual = false
const release = false const release = false
let index = 1 let index = 2
// 判断小程序环境 // 判断小程序环境
// develop:开发版(正常开发工具,测试时) // develop:开发版(正常开发工具,测试时)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!