Commit 5dc04e957e1b179accd5f3c2e7b24fae0398faee

Authored by monkeyhouyi
1 parent 379aff0a

问卷调查

pages.json
@@ -125,7 +125,7 @@ @@ -125,7 +125,7 @@
125 "path": "pages/questionnaire/questionnaire", 125 "path": "pages/questionnaire/questionnaire",
126 "style": { 126 "style": {
127 "navigationBarTitleText": "问卷调查", 127 "navigationBarTitleText": "问卷调查",
128 - "navigationBarBackgroundColor": "#E0E0E0" 128 + "navigationBarBackgroundColor": "#FFFFFF"
129 } 129 }
130 }, 130 },
131 { 131 {
@@ -226,6 +226,36 @@ @@ -226,6 +226,36 @@
226 "navigationBarTitleText": "招商方案", 226 "navigationBarTitleText": "招商方案",
227 "navigationBarBackgroundColor": "#FFFFFF" 227 "navigationBarBackgroundColor": "#FFFFFF"
228 } 228 }
  229 + },
  230 + // 营销推广活动
  231 + {
  232 + "path": "pages/marketing/marketingList/marketingList",
  233 + "style": {
  234 + "navigationBarTitleText": "营销推广活动",
  235 + "navigationBarBackgroundColor": "#FFFFFF"
  236 + }
  237 + },
  238 + {
  239 + "path": "pages/marketing/marketingDetail/marketingDetail",
  240 + "style": {
  241 + "navigationBarTitleText": "详情",
  242 + "navigationBarBackgroundColor": "#FFFFFF"
  243 + }
  244 + },
  245 + // 商务合作
  246 + {
  247 + "path": "pages/business/businessList/businessList",
  248 + "style": {
  249 + "navigationBarTitleText": "商务合作",
  250 + "navigationBarBackgroundColor": "#FFFFFF"
  251 + }
  252 + },
  253 + {
  254 + "path": "pages/business/businessDetail/businessDetail",
  255 + "style": {
  256 + "navigationBarTitleText": "详情",
  257 + "navigationBarBackgroundColor": "#FFFFFF"
  258 + }
229 } 259 }
230 ], 260 ],
231 "globalStyle": { 261 "globalStyle": {
pages/questionnaire/questionnaire.scss
@@ -6,6 +6,28 @@ @@ -6,6 +6,28 @@
6 height: 100%; 6 height: 100%;
7 background-color: #f6f6f6; 7 background-color: #f6f6f6;
8 } 8 }
  9 +.head-search{
  10 + display: flex;
  11 + align-items: center;
  12 + justify-content: space-between;
  13 + position: relative;
  14 + margin: 20rpx 24rpx;
  15 + background-color: #FFFFFF;
  16 + border-radius: 35rpx;
  17 + padding: 0 10rpx;
  18 + border: 2rpx solid #E8E8E8;
  19 + .u-search {
  20 + position: relative;
  21 + }
  22 + .u-btn {
  23 + border: unset;
  24 + border: 0px transparent;
  25 + height: 46rpx;
  26 + width: 88rpx;
  27 + font-size: 24rpx;
  28 + border-radius: 35rpx;
  29 + }
  30 +}
9 .screen-list { 31 .screen-list {
10 display: flex; 32 display: flex;
11 align-items: center; 33 align-items: center;
pages/questionnaire/questionnaire.vue
1 <template> 1 <template>
2 <view class="page"> 2 <view class="page">
  3 + <view class="head-search">
  4 + <u-search bg-color="#fff" placeholder="请输入关键词" v-model="query.keyword" :show-action="false" @search="search"></u-search>
  5 + <u-button type="success" @click="search">搜索</u-button>
  6 + </view>
3 <view class="screen-list"> 7 <view class="screen-list">
4 <view class="list" @click="show = true"> 8 <view class="list" @click="show = true">
5 <text>问卷类型</text> 9 <text>问卷类型</text>
@@ -49,6 +53,7 @@ @@ -49,6 +53,7 @@
49 ], // 区域列表 53 ], // 区域列表
50 query: { 54 query: {
51 type: '', 55 type: '',
  56 + keyword: '',
52 }, 57 },
53 tableData:[ 58 tableData:[
54 { 59 {
@@ -73,6 +78,7 @@ @@ -73,6 +78,7 @@
73 this.query[`${key}`] = val[0].value; 78 this.query[`${key}`] = val[0].value;
74 this.search(); 79 this.search();
75 }, 80 },
  81 + search() {},
76 toAdd() { 82 toAdd() {
77 83
78 }, 84 },